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: "pinskia at physics dot uc dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Aug 2003 18:19:46 -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
pinskia at physics dot uc dot edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Keywords| |diagnostic
Resolution| |WONTFIX
------- Additional Comments From pinskia at physics dot uc dot edu 2003-08-02 18:19 -------
Actually I think this warning message is useless as the standard does not talk about the
difference between C and C++ function (except for mangling).
Also ICC 6.0 in strict mode does not warn about this.
And EDG 2.40 (Mar 22 2001 17:35:55) does not warn either.
So closing as will not fix.