This is the mail archive of the libstdc++@sourceware.cygnus.com 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: -isystem vs. #pragma system_header


Nathan Myers wrote:
> 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.

O.K., I'll clean up the patch.

Regarding the default ... I have no strong opinion either way.
I probably made -Wsystem-headers the default so as not to change
the compiler's behaviour. But I guess warnings from system headers
are interesting only for implementers of system headers, anyway :)

    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]