[Bug c/63453] New: Bogus warning for gnu_inline functions
mpolacek at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Oct 3 16:29:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63453
Bug ID: 63453
Summary: Bogus warning for gnu_inline functions
Product: gcc
Version: 5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: mpolacek at gcc dot gnu.org
On
inline int __attribute__ ((gnu_inline)) f (void);
with gnu99/gnu11 we issue:
warning: inline function ‘f’ declared but never defined
even though the function is gnu_inline. In gnu89 or with -fgnu89-inline we
don't warn for this.
More information about the Gcc-bugs
mailing list