This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: handling of warnings


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]