This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: How can one disable gcc warnings inline with c code?
- From: Ben Davis <bnd25 at cam dot ac dot uk>
- To: "Jamie Risk" <jamie_risk at yahoo dot ca>,gcc-help at gcc dot gnu dot org
- Date: Wed, 19 Mar 2003 15:40:51 +0000
- Subject: Re: How can one disable gcc warnings inline with c code?
- Organization: University of Cambridge
- References: <b5a1j0$qio$1@main.gmane.org>
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