This is the mail archive of the libstdc++@gcc.gnu.org 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: libstdc++ headers and system headers


> g++ -E test.c -o test.ii -I /usr/local/include/g++-v3/

You shouldn't need to explicitly include this directory. I'm assuming 
you're doing this just to expose a bug?

> #pragma GCC system_header

> I don't know why libstdc++ uses the pragma, but that's another issue.

so we don't get errors on system headers. (Think non-gnu headers.)

-benjamin


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