This is the mail archive of the gcc-help@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]
Other format: [Raw text]

Re: How can one disable gcc warnings inline with c code?


On Wednesday 19 March 2003 3:16 pm, Jamie Risk wrote:
> A few system libraries are giving me grief by causing numerous warnings in
> otherwise 'clean' or warning free code.  Without disabling the warning
> checking at the command line is there a way to disable the warnings inline?

Have you tried -Wno-system-headers?

Ben


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