[Bug c++/2316] g++ fails to overload on language linkage
bangerth at gmail dot com
gcc-bugzilla@gcc.gnu.org
Wed Jan 4 12:28:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=2316
Wolfgang Bangerth <bangerth at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bangerth at gmail dot com
--- Comment #41 from Wolfgang Bangerth <bangerth at gmail dot com> 2012-01-04 12:28:13 UTC ---
I would expect a lot of code to trigger this warning. It is quite common
to pass the address of a static member function to pthread_create but since
there is no way to make a static member function 'extern "C"', I can't see
how to do that without major contortions. I'm rather sure that this will
turn out to be an unpopular warning :-)
W.
More information about the Gcc-bugs
mailing list