This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/66918] New: Disable "inline function declared but never defined" warning
- From: "eugene.zelenko at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 17 Jul 2015 20:11:35 +0000
- Subject: [Bug c/66918] New: Disable "inline function declared but never defined" warning
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66918
Bug ID: 66918
Summary: Disable "inline function declared but never defined"
warning
Product: gcc
Version: 5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: eugene.zelenko at gmail dot com
Target Milestone: ---
It looks like there is no way to disable this warning (at least in 5.2.0).
Part of my code base is built with -Werror, so I usually treat warnings
introduced in new versions of GCC as no errors (-Wno-error). "inline function
declared but never defined" point to -Werror as way to disable it, but I think
will be better to have individual switch.