This is the mail archive of the gcc-bugs@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]

[Bug c++/19291] Warning "cannot pass objects of non-POD type" should be an error



------- Comment #2 from faure at kde dot org  2005-10-20 10:25 -------
Could a -W option be added so that, if I want gcc to abort on such errors, it
can be asked to do that? (without aborting on all other warnings, of course)

This 'undefined behavior' does crash at runtime, so it is really important to
catch such mistakes at compile time, and simple warnings often go unnoticed...


-- 

faure at kde dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |faure at kde dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19291


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