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: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Jan 2004 23:15:50 -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 pinskia at gcc dot gnu dot org 2004-01-14 23:15 -------
No you are wrong, no diagnostic is required for this miss-matching and the only thing extern "C"
does is change the calling conventions and the name mangling, it does not effect C++ code any
other way like name lookup.
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13687