This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/2316] g++ fails to overload on language linkage
- From: "marc.glisse at normalesup dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 30 Aug 2011 18:57:16 +0000
- Subject: [Bug c++/2316] g++ fails to overload on language linkage
- Auto-submitted: auto-generated
- References: <bug-2316-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=2316
Marc Glisse <marc.glisse at normalesup dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #25134|0 |1
is obsolete| |
--- Comment #29 from Marc Glisse <marc.glisse at normalesup dot org> 2011-08-30 18:57:16 UTC ---
Created attachment 25140
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25140
remember linkage of a function type (2)
New version that works with typedefs (I was forgetting extern "C" in the
canonical type...). The patch also includes a workaround for __stoa. There
seems to still be an issue with argument deduction.
For some reason, -fpermissive already allows all conversions :-)