[Bug c++/8680] g++ doesn't warn when passing a C++ funcptr instead of extern "C" funcptr

apm35 at student dot open dot ac dot uk gcc-bugzilla@gcc.gnu.org
Sun Aug 3 20:48:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From apm35 at student dot open dot ac dot uk  2003-08-03 20:47 -------
Subject: Re:  g++ doesn't warn when passing a C++ funcptr instead of extern

gcc-bugzilla@gcc.gnu.org writes:
>PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
[snip]
>So closing as will not fix.
I will have to find the relevant section of the std that says a diagnostic
is required in this case. Stay tuned.

Regards,

Andrew Marlow
----
There is an emerald here the size of a plover's egg!



More information about the Gcc-bugs mailing list