BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bslscm_patchversion

Macros

#define BSLSCM_PATCHVERSION_PATCH   0
 Provide the patch version number of the current (latest) BSL release.
 

Detailed Description

Outline

Purpose

Provide common patch versioning information.

See also
bslscm_version, bslscm_versiontag

Description

This component provides patch versioning information for the bsl package group (and any other package groups released atomically with bsl). The BSLSCM_PATCHVERSION_PATCH macro this component defines is of limited standalone utility.

This header should only be included by implementation files, to avoid unnecessary recompilations of client code.

Usage

At compile time, the patch version of bsl can be examined.

#if BSLSCM_PATCHVERSION_PATCH > 0
printf("This is a patch release\n");
#else
printf("This is a \".0\" initial release\n");
#endif

Macro Definition Documentation

◆ BSLSCM_PATCHVERSION_PATCH

#define BSLSCM_PATCHVERSION_PATCH   0