libstdc++ headers and system headers

Benjamin Kosnik bkoz@redhat.com
Thu Feb 15 17:06:00 GMT 2001


> 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



More information about the Gcc mailing list