This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/48116] -Wreturn-type does not work as advertised


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]