[Bug c++/50134] -Wmissing-prototypes doesn't work for C++

2012-06-01 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50134 Paolo Carlini changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug c++/50134] -Wmissing-prototypes doesn't work for C++

2012-06-01 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50134 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |4.8.0 --- Comment #19 from Jonathan Wak

[Bug c++/50134] -Wmissing-prototypes doesn't work for C++

2012-06-01 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50134 --- Comment #18 from Jonathan Wakely 2012-06-01 08:47:11 UTC --- Author: redi Date: Fri Jun 1 08:47:06 2012 New Revision: 188103 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=188103 Log: 2012-06-01 Manuel López-Ibáñez Jon

[Bug c++/50134] -Wmissing-prototypes doesn't work for C++

2012-05-31 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50134 --- Comment #17 from Jonathan Wakely 2012-06-01 00:38:41 UTC --- Updated patch at http://gcc.gnu.org/ml/gcc-patches/2012-06/msg1.html

[Bug c++/50134] -Wmissing-prototypes doesn't work for C++

2012-05-30 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50134 --- Comment #16 from Manuel López-Ibáñez 2012-05-30 18:58:29 UTC --- (In reply to comment #15) > This bug results in real warnings being introduced unnoticed, see: > http://gcc.gnu.org/ml/gcc-patches/2012-05/msg02005.html I think somebody tried

[Bug c++/50134] -Wmissing-prototypes doesn't work for C++

2012-05-30 Thread steven at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50134 --- Comment #15 from Steven Bosscher 2012-05-30 18:52:18 UTC --- This bug results in real warnings being introduced unnoticed, see: http://gcc.gnu.org/ml/gcc-patches/2012-05/msg02005.html

[Bug c++/50134] -Wmissing-prototypes doesn't work for C++

2012-05-28 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50134 Jonathan Wakely changed: What|Removed |Added Status|NEW |ASSIGNED AssignedTo|unassigned

[Bug c++/50134] -Wmissing-prototypes doesn't work for C++

2012-05-28 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50134 Paolo Carlini changed: What|Removed |Added CC||redi at gcc dot gnu.org --- Comment #13 f

[Bug c++/50134] -Wmissing-prototypes doesn't work for C++

2012-05-24 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50134 Manuel López-Ibáñez changed: What|Removed |Added Keywords||patch Status|ASSIGNED

[Bug c++/50134] -Wmissing-prototypes doesn't work for C++

2012-05-24 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50134 --- Comment #11 from Paolo Carlini 2012-05-24 15:29:42 UTC --- Manuel, what happened to this, out of curiosity? I see an Assigned status (but the Assigned To field still blank) and a documentation patchlet of yours in the audit trail?!

[Bug c++/50134] -Wmissing-prototypes doesn't work for C++

2012-05-15 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50134 --- Comment #10 from Manuel López-Ibáñez 2012-05-15 12:23:50 UTC --- Nonetheless, this is a patch that explains the current situation: --- gcc/doc/invoke.texi (revision 187462) +++ gcc/doc/invoke.texi (working copy) @@ -4413,21 +4413,26 @@ This

[Bug c++/50134] -Wmissing-prototypes doesn't work for C++

2012-05-15 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50134 --- Comment #9 from Manuel López-Ibáñez 2012-05-15 12:21:36 UTC --- (In reply to comment #6) > > int f(); > int f(void) { return 0; } > > gets a warning with -Wmissing-prototypes but not -Wmissing-declarations, > because "int f();" is a non-pr

[Bug c++/50134] -Wmissing-prototypes doesn't work for C++

2012-05-15 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50134 Manuel López-Ibáñez changed: What|Removed |Added Status|RESOLVED|ASSIGNED Last reconfirmed|

[Bug c++/50134] -Wmissing-prototypes doesn't work for C++

2011-09-30 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50134 --- Comment #7 from Jonathan Wakely 2011-09-30 14:29:18 UTC --- (In reply to comment #6) > On Fri, 30 Sep 2011, redi at gcc dot gnu.org wrote: > > > I'm not sure what "Do so even if the definition itself provides a > > prototype." > > means in

[Bug c++/50134] -Wmissing-prototypes doesn't work for C++

2011-09-30 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50134 --- Comment #6 from joseph at codesourcery dot com 2011-09-30 14:16:40 UTC --- On Fri, 30 Sep 2011, redi at gcc dot gnu.org wrote: > I'm not sure what "Do so even if the definition itself provides a prototype." > means in the context of C++. Tha

[Bug c++/50134] -Wmissing-prototypes doesn't work for C++

2011-09-30 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50134 --- Comment #5 from Jonathan Wakely 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." m

[Bug c++/50134] -Wmissing-prototypes doesn't work for C++

2011-09-30 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50134 --- Comment #4 from Manuel López-Ibáñez 2011-09-30 07:00:40 UTC --- So Joseph, Jason, what is the difference between Wmissing-prototypes and Wmissing-declarations? Can't you just make one a synonym for the other and make one of them the canonica

[Bug c++/50134] -Wmissing-prototypes doesn't work for C++

2011-09-29 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50134 Manuel López-Ibáñez changed: What|Removed |Added CC||manu at gcc dot gnu.org --- Comment

[Bug c++/50134] -Wmissing-prototypes doesn't work for C++

2011-09-29 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50134 Paolo Carlini changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug c++/50134] -Wmissing-prototypes doesn't work for C++

2011-08-20 Thread sch...@linux-m68k.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50134 --- Comment #1 from Andreas Schwab 2011-08-20 08:37:21 UTC --- -Wmissing-declaration should do what you want.