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++/2316] g++ fails to overload on language linkage


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 :-)


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