------- Comment #5 from bangerth at gmail dot com 2010-03-08 04:26 ------- What I'm saying is that this entire discussion is already present in PR13687 and that there is nothing more to say. The warning exists in C because it can lead to hard-to-find bugs in C code because you can call a function without a prototype in C. You can't do that in C++, and on top of that you can overload functions in C++ which makes it impossible to determine for a compiler whether a prototype matches a definition.
Warnings are not generally meant to make programming simpler (as in the case you are making) but to warn about cases that can lead the compiler to generate code that may not have been intended that way but that compiles cleanly anyway. This isn't the case here, and the community has decided in PR 13687 that it doesn't want to support this feature in C++. W. *** This bug has been marked as a duplicate of 13687 *** -- bangerth at gmail dot com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |DUPLICATE http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43272