[Bug c/11369] too relaxed checking with -Wstrict-prototypes
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-11-20 07:16 -------
This is invalid as the documentation talks about "prototypes" non existant:
Warn about unprototyped function declarations
In this case foo is prototyped.
The flag you want is -Wold-style-definition instead but this only added for 3.4, closing as
fixed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Target Milestone|--- |3.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11369
------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.
Reply to: