cpp: Traditional Mode

1 
1 10 Traditional Mode
1 *******************
1 
1 Traditional (pre-standard) C preprocessing is rather different from the
1 preprocessing specified by the standard.  When the preprocessor is
1 invoked with the '-traditional-cpp' option, it attempts to emulate a
1 traditional preprocessor.
1 
1    This mode is not useful for compiling C code with GCC, but is
1 intended for use with non-C preprocessing applications.  Thus
1 traditional mode semantics are supported only when invoking the
1 preprocessor explicitly, and not in the compiler front ends.
1 
1    The implementation does not correspond precisely to the behavior of
1 early pre-standard versions of GCC, nor to any true traditional
1 preprocessor.  After all, inconsistencies among traditional
1 implementations were a major motivation for C standardization.  However,
1 we intend that it should be compatible with true traditional
1 preprocessors in all ways that actually matter.
1 

Menu