How can one disable gcc warnings inline with c code?

Ben Davis
Wed Mar 19 15:57:00 GMT 2003

On Wednesday 19 March 2003 3:47 pm, LLeweLLyn Reese wrote:
> -Wno-system-headers is the default. However, gcc needs some way to
>     determine if a header is a system header. That way is:

I definitely remember needing to specify -Wno-system-headers in one case. I 
can't remember when it was, but it was an early 3.x. Perhaps there was a 
rogue GCC version in which -Wno-system-headers wasn't the default.


More information about the Gcc-help mailing list