[Bug c/54113] -Wmissing-prototypes cries wolf for C99 inline functions
eggert at gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Aug 14 04:08:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54113
--- Comment #1 from eggert at gnu dot org 2012-08-14 04:08:17 UTC ---
In <http://lists.gnu.org/archive/html/bug-gnulib/2012-08/msg00038.html> Jim
Meyering reports that GCC 4.8.0 20120803 issues a different (but still bogus)
warning for this program. It reports "error: no previous declaration for 'FOO'
[-Werror=missing-declarations]" if FOO is an inline function. This warning
should not be emitted either.
More information about the Gcc-bugs
mailing list