This is the mail archive of the libstdc++@sources.redhat.com mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: __cplusplus



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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]