This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

Re: -isystem vs. #pragma system_header


Nathan Myers wrote:
> 
> On Thu, May 18, 2000 at 07:44:15AM +0200, Branko ?ibej wrote:
> > 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.
> 
> I'm interested.
> 
> I can see two reasons why it wasn't useful back then.  First, -isystem
> wasn't usable in C++, and the default (IMHO) wasn't right.

Well, I've updated the patch and sent it to gcc-patches.
(but it's taking a loooong time to show up in the archive...)

    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

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