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