This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/8680] g++ doesn't warn when passing a C++ funcptr instead of extern "C" funcptr
- From: "apm35 at student dot open dot ac dot uk" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Aug 2003 20:48:01 -0000
- Subject: [Bug c++/8680] g++ doesn't warn when passing a C++ funcptr instead of extern "C" funcptr
- References: <20021122091602.8680.apm35@student.open.ac.uk>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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!