[Bug c++/13687] -Wmissing-prototypes should not be ignored for C++

t dot schutter at att dot net gcc-bugzilla@gcc.gnu.org
Wed Jan 14 23:10:00 GMT 2004


------- Additional Comments From t dot schutter at att dot net  2004-01-14 23:10 -------
C++ does not need prototypes before calling the function if the function is
declared as having "C" linkage instead of "C++" linkage.

The point of this bug is to change a static link-time errors or dynamic run-time
errors into compile-time warnings.  That is not useless.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|enhancement                 |normal


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13687



More information about the Gcc-bugs mailing list