[PATCH] Warn about return with a void expression with -Wreturn-type.

Bernd Schmidt bschmidt@redhat.com
Fri Jun 3 09:36:00 GMT 2016


On 06/02/2016 12:03 PM, Marcin Baczyński wrote:
> 2016-06-02 4:51 GMT+02:00 Martin Sebor <msebor@gmail.com>:
>> As a disclaimer, someone else endowed with those special powers
>> will need to approve your final patch.  If you don't get a timely
>> approval please ping the patch weekly.

>    * doc/invoke.texi (-Wreturn-type): Mention not warning on return with
>     a void expression in a void function.

If Martin is happy with this then OK.


Bernd



More information about the Gcc-patches mailing list