__cplusplus

Zachary Alexander Weinberg zackw@Stanford.EDU
Wed Nov 1 16:09:00 GMT 2000


Would extending STDC_0_IN_SYSTEM_HEADERS help here?  Presently on
Solaris cpp causes __STDC__ to be 1 in user code and 0 in system headers.
It would be easy to apply that to __cplusplus as well, so it would be
199711L in user code and 1 or 0 in the headers.

(The snippets posted appear to be attempting to be standards compliant,
though - perhaps there is a simple fix.  I bet the parse errors are
coming from a macro definition for getc.)

zw


More information about the Libstdc++ mailing list