handling of warnings
Gabriel Dos Reis
gdr@integrable-solutions.net
Wed Aug 13 14:52:00 GMT 2003
skaller <skaller@ozemail.com.au> writes:
| I'm not talking about options in general as your arguments
| here seem to imply.
I'm saying that the same reasons apply whether the flag are for
controling warnings or not.
[...]
| So I need to turn the warning OFF. But I can't, other than by
| using -w to turn all warnings off, because I don't know which
| gcc variant the client is using, i don't WANT to know,
| and I shouldn't need to know.
It was suggested you test for the presence of a feature before using it.
[...]
| But it is no where *near* as nasty, in my opinion,
| as not being able to use the warning switches at all.
| And that's the position everyone is in if they don't know
| exactly which version of gcc they're using, and that is
It is easy to detect which version of GCC you're using.
-- Gaby
More information about the Gcc
mailing list