------- Comment #2 from redi at gcc dot gnu dot org 2010-04-29 20:36 -------
that should be -Werror=return-type
but spelling aside, this is not a bug now
the compiler MUST NOT reject it by default, since a function with a missing
return is valid as long as the caller does not use the (missing) return value.
making this an unconditional error would be non-conforming
if you want that behaviour, use -Werror=return-type
--
redi at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |WORKSFORME
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43943