The <version.h> Header File

Constants describing the version number of TIGCC

Constants

__TIGCC__
The TIGCC major version number, like __GNUC__.
__TIGCC_BETA__
The TIGCC beta version number; 0 in the official release.
__TIGCC_MINOR__
The TIGCC minor version number, represented by a two-digit decimal number.
__TIGCC_SP__
The TIGCC service pack number; 0 in most cases.
__TIGCC_VERSION__
The full TIGCC version number, as an integer value concatenating __TIGCC__ and __TIGCC_MINOR__.
__TIGCC_VERSION_STRING__
A string constant describing the TIGCC version number in a unified format.
__TIGCCLIB__
The TIGCC Library major version number.
__TIGCCLIB_MINOR__
The TIGCC Library minor version number, represented by a two-digit decimal number.
__TIGCCLIB_SP__
The TIGCC Library service pack number; 0 in most cases.
__TIGCCLIB_VERSION__
The full TIGCC library version number, as an integer value concatenating __TIGCCLIB__ and __TIGCCLIB_MINOR__.
__TIGCCLIB_VERSION_STRING__
A string constant describing the TIGCC Library version number in a unified format.

You can embed the version strings into your program by defining the preprocessor symbol EMBED_VERSION_STRINGS before including this header file or tigcclib.h.

If you want to check whether a program is compiled with TIGCC, you cannot use the __TIGCC__ macro, since this header file does not exist in other libraries. For this reason, there is a global preprocessor symbol __TIGCC_ENV__, which is defined from TIGCC v0.93 onwards.


__TIGCC__

The TIGCC major version number, like __GNUC__.


__TIGCC_BETA__

The TIGCC beta version number; 0 in the official release.


__TIGCC_MINOR__

The TIGCC minor version number, represented by a two-digit decimal number.


__TIGCC_SP__

The TIGCC service pack number; 0 in most cases.


__TIGCC_VERSION__

The full TIGCC version number, as an integer value concatenating __TIGCC__ and __TIGCC_MINOR__.


__TIGCC_VERSION_STRING__

A string constant describing the TIGCC version number in a unified format.


__TIGCCLIB__

The TIGCC Library major version number.


__TIGCCLIB_MINOR__

The TIGCC Library minor version number, represented by a two-digit decimal number.


__TIGCCLIB_SP__

The TIGCC Library service pack number; 0 in most cases.


__TIGCCLIB_VERSION__

The full TIGCC library version number, as an integer value concatenating __TIGCCLIB__ and __TIGCCLIB_MINOR__.


__TIGCCLIB_VERSION_STRING__

A string constant describing the TIGCC Library version number in a unified format.


Return to the main index