C++ PATCH to warn about inlines which fail to return a value

Jason Merrill jason@redhat.com
Thu Feb 7 06:27:00 GMT 2002


>>>>> "Joseph" == Joseph S Myers <jsm28@cam.ac.uk> writes:

> On Wed, 6 Feb 2002, Jason Merrill wrote:
>> Booted and tested i686-pc-linux-gnu.  There are more exceptions in the C
>> frontend version; we don't warn for implicit int functions, or for main.

> Where are the new testcases for the new warnings and all the details of
> them that you describe here?

Thanks, good catch.  Now in gcc.dg/Wreturn-type{,2}.c.

Jason



More information about the Gcc-patches mailing list