This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: libstdc++ headers and system headers
- To: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- Subject: Re: libstdc++ headers and system headers
- From: Benjamin Kosnik <bkoz at redhat dot com>
- Date: Thu, 15 Feb 2001 17:06:24 -0800 (PST)
- cc: gcc at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org, Jason Merrill <jason at redhat dot com>
> 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