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

gdr at integrable-solutions dot net gcc-bugzilla@gcc.gnu.org
Thu Jan 15 00:19:00 GMT 2004


------- Additional Comments From gdr at integrable-solutions dot net  2004-01-15 00:19 -------
Subject: Re:  -Wmissing-prototypes should not be ignored for C++

"t dot schutter at att dot net" <gcc-bugzilla@gcc.gnu.org> writes:

| Warning that the option is not valid is not the right solution!
| Emitting a warning about functions that use "C" linkange when compiling C++ code
| and -Wmissing-prototypes is specified is what should happen.

I don't understand that argument.  "C" linkage is not a switch  to
write C. There is nothing like a missing prototype in C++.  There that
notion of warning is void os sense.

-- Gaby


-- 


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



More information about the Gcc-bugs mailing list