` Printed Icetips Article

Icetips Article



Par2: Compiler flags
2003-08-19 -- Kevin Erskine
 
Online help

Pre-defined Flags
Whenever you #compile a program the project system automically 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:
_WIDTH32_ On for 32-bit applications(deprecated)
_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.

_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
_DEBUG_ On for application debug mode
DLL_MODE On when compiled to link to the runtime DLLs
LIB_MODE On when building a LIB



Printed May 1, 2024, 6:38 pm
This article has been viewed/printed 35116 times.