------- 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