handling of warnings

Gabriel Dos Reis gdr@integrable-solutions.net
Wed Aug 13 04:18:00 GMT 2003


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



More information about the Gcc mailing list