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?
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:
[snip]
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.
Ben