predefined_compiler_flags.htm
Navigation: Advanced Topics > Legacy Project System Reference >====== Predefined Compiler Flags ====== | ![]() ![]() ![]() |
Pre-defined Flags
Whenever you #compile a program the project system automatically defines a number of flags to ON or OFF, depending on the target system. You may use these predefined flags to control your make process. Here are the flags that you can use in OMIT and COMPILE statements for conditional compilation:
_ABCDllMode_ | Used by the ABC template chain on all CLASS definitions to indicate that the CLASS is declared in an external .DLL. A project DEFINE is used to toggle the DLL mode. |
_CDD_ | On for Clarion for DOS |
_CW_ | On for Clarion, version 1.0 |
_CWVER_ | Four digit number. The top two digits are the major version of Clarion. The lower two digits are the minor version. For the initial release of Clarion 6.0 this is set to 6000, 6.1, 6100, etc. |
_CLW15_ | On for Clarion, version 1.5 |
_CLW20_ | On for Clarion, version 2.0 |
_CLW21_ | On for Clarion, version 4 |
_C5_ | On for Clarion, version 5 |
_C55_ | On for Clarion, version 5.5 and later |
_C60_ | On for Clarion, version 6 and later |
_C61_ | On for Clarion, version 6.1 and later |
_C62_ | On for Clarion, version 6.2 and later |
_C63_ | On for Clarion, version 6.3 and later |
_C70_ | On for Clarion, version 7.0 and later |
_C71_ | On for Clarion, version 7.1 and later |
_C72_ | On for Clarion, version 7.2 and later |
_C73_ | On for Clarion, version 7.3 and later |
_C80_ | On for Clarion, version 8.0 and lateretcetera |
_DEBUG_ | On for application debug mode |
DLL_MODE | On when compiled to link to the runtime DLLs |
LIB_MODE | On when building a LIB |
_VER_Cxx | Where xx is a specific version number (70,71,80, etc.)_VER_Cxx is either true or non-existent depending on what version of Clarion you are using. Once it exists, it stays in existence for all later versions of Clarion. |
_WIDTH32_ | On for 32-bit applications(deprecated) |
.
predefined_compiler_flags.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1