This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/48116] -Wreturn-type does not work as advertised
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 14 Mar 2011 17:18:28 +0000
- Subject: [Bug c/48116] -Wreturn-type does not work as advertised
- Auto-submitted: auto-generated
- References: <bug-48116-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48116
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-03-14 17:18:20 UTC ---
apinski@apinskidesktop:~$ gcc t.c -W -Wall -pedantic -S
t.c: In function âyâ:
t.c:2: warning: ISO C forbids âreturnâ with expression, in function returning
void