Enable -Wreturn-type by default ?

Jonathan Wakely jwakely.gcc@gmail.com
Sun Nov 17 16:47:00 GMT 2013


On 17 November 2013 15:40, Sylvestre Ledru wrote:
> For "control reaches end of non-void function", I haven't activated by
> default and I called the option -Wfalloff-nonvoid-function
> Of course, that is just a proposal! :) Better names are welcome.

It was nearly called -Wmissing-return a decade ago, but got bundled
with -Wreturn-type, see
http://gcc.gnu.org/ml/gcc-patches/2002-02/msg02002.html



More information about the Gcc mailing list