PATCH: Wno-warning-directives [WasRe: cpplib: Start moving ...]

Neil Booth neil@daikokuya.co.uk
Mon Aug 12 23:08:00 GMT 2002


Richard Henderson wrote:-

> If the argument is that this warning comes from third-party header
> files, the counter-argument is that the third party probably put
> it in there for a reason, and that if you ignore the warning you
> may well not understand the input constraints of the package.

Indeed - we had a PR where someone complained that #warnings were
switched off in system headers, so we changed it so #warning is
an exception to the "no warnings in system headers" rule.

Neil.



More information about the Gcc-patches mailing list