This is the mail archive of the gcc-patches@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: [patch] New flag -Wsystem-headers


Neil Booth wrote:
> Could you also update the various places in cpplib where the check for
> system headers is made in the main code?  We'd just be duplicating
> checks otherwise, and possibly not emitting warnings in system headers
> even if they were requested.

I assume you mean CPP_PEDANTIC, CPP_WTRADITIONAL and the // comment
stuff? O.K., I can do that.

BTW, why are these macros defined in cpphash.h instead of cpplib.h?

    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]