This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13687] -Wmissing-prototypes should not be ignored for C++
- From: "t dot schutter at att dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Jan 2004 22:59:03 -0000
- Subject: [Bug c++/13687] -Wmissing-prototypes should not be ignored for C++
- References: <20040114222156.13687.t.schutter@att.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From t dot schutter at att dot net 2004-01-14 22:59 -------
Let me be more clear. Running:
g++ -c -Wmissing-prototypes gccbug.c
should give:
gccbug.c:19: warning: no previous prototype for `bar'
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13687