Tools.h++ Manual
104011 Tandem Computers Incorporated B-1
Header file compiler.h B
This header file is the repository for all information about compiler related
capabilities and limitations. It is included by Tools.h++ libraries.
The general philosophy of the various macros defined in
<rw/compiler.h>
is
that an ARM compliant compiler does not have any of these macros defined.
That is, macros characterize a compiler ’s limitations, rather than its abilities.
Table B-1 Summary of preprocessor macros found in
<rw/compiler.h>.
Macro Defined if ...
RW_BROKEN_TEMPLATES
Supports only cfront 3.0 style templates
RW_CRLF_CONVENTION
Newlines marked by
<CR><LF>
RW_GLOBAL_ENUMS
Nested enums have global scope
RW_INLINE86_ASSEMBLY
Compiler supports inline 80x86 assembly
RW_IOS_XALLOC_BROKEN ios::xalloc()
does not zero initialize.
RW_KR_ONLY
No function prototypes
RW_NO_ACCESS_ADJUSTMENT
Does not allow adjustment of visibility of base
class
RW_NO_ANSI_SPRINTF sprintf()
does not return string length
RW_NO_CLOCK
Does not have
clock()
RW_NO_CONST_OVERLOAD
Cannot overload on const
RW_NO_CPP_RECURSION
Preprocessor does not detect recursions properly