This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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

"pinskia at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> writes:

| No you are wrong, no diagnostic is required for this miss-matching and the only thing extern "C" 

No.  A linkage spacification is a declaration.  There simply is no way
to declare a function in C++ without declaring its signature.

-- Gaby


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]