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++/8680] g++ doesn't warn when passing a C++ funcptr instead of extern "C" funcptr


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.


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