This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/50134] -Wmissing-prototypes doesn't work for C++
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 30 Sep 2011 08:04:38 +0000
- Subject: [Bug c++/50134] -Wmissing-prototypes doesn't work for C++
- Auto-submitted: auto-generated
- References: <bug-50134-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50134
--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-09-30 08:04:38 UTC ---
C++ doesn't have prototypes, it has declarations and definitions, so the
different names makes sense.
I'm not sure what "Do so even if the definition itself provides a prototype."
means in the context of C++.