This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: handling of warnings
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: skaller at ozemail dot com dot au
- Cc: gcc mailing list <gcc at gcc dot gnu dot org>
- Date: 13 Aug 2003 02:57:07 +0200
- Subject: Re: handling of warnings
- Organization: Integrable Solutions
- References: <1060730964.28406.10.camel@localhost.localdomain>
skaller <skaller@ozemail.com.au> writes:
| g++ 3.2.2 doesn't support -Wno-invalid-offsetof
|
| when I use it I get an error:
|
| g++ -Wno-invalid-offsetof -ansi -pedantic -shared -I.
| tut/examples/tut115.cpp -o tut/examples/tut115.so
| cc1plus: unrecognized option `-Wno-invalid-offsetof'
|
| I think this behaviour is inappropriate.
John,
The GCC-3.2.x series is closed. GCC-3.3.x has the option.
| By default, if a warning
| control option is not recognized it should be ignored, or a warning
| produced.
There ought to be a way to tell users that an option is not
recognized. Just ignoring is not appropriate.
-- Gaby