This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ project.
Re: -isystem vs. #pragma system_header
Zack Weinberg wrote:
>
> On Wed, May 17, 2000 at 06:48:40PM -0700, Nathan Myers wrote:
> > This can be solved using something like the above suggested feature, or
> > by adding (yet) another "-W" option to control how the compiler emits
> > warnings for system headers.
>
> I could trivially add a -fno-system-headers or something like that
> that shut off all special treatment for system headers. Anything more
> complex than that is going to need careful discussion.
I did that two years ago, see
http://gcc.gnu.org/ml/gcc/1998-06/msg01120.html
but it never went in. I can dust it off, if you're interested.
Brane
--
Branko Čibej <branko.cibej@hermes.si>
HERMES SoftLab, Litijska 51, 1000 Ljubljana, Slovenia
voice: (+386 1) 586 53 49 fax: (+386 1) 586 52 70