public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/36195] New: Add warnings for useless static functions prototypes in -Wredundant-decls
@ 2008-05-09 21:02 eugene dot zelenko at gmail dot com
2010-04-12 15:17 ` [Bug c/36195] " jakub at gcc dot gnu dot org
0 siblings, 1 reply; 2+ messages in thread
From: eugene dot zelenko at gmail dot com @ 2008-05-09 21:02 UTC (permalink / raw)
To: gcc-bugs
Sometimes static function prototype declared with static function definition,
but function is never called before definition. So prototype in such cases are
definitely useless.
I think will be good idea to enhance -Wredundant-decls with reporting such
situation.
PS
May be this is already implemented in versions never then 4.1.2, but 4.3.0
manual is not mention such possibility.
--
Summary: Add warnings for useless static functions prototypes in
-Wredundant-decls
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: enhancement
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: eugene dot zelenko at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36195
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-04-12 15:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-09 21:02 [Bug c/36195] New: Add warnings for useless static functions prototypes in -Wredundant-decls eugene dot zelenko at gmail dot com
2010-04-12 15:17 ` [Bug c/36195] " jakub at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).