[Issue 12055] Error: basic type expected, not extern when using 'alias = function'

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Feb 1 05:40:20 PST 2014


https://d.puremagic.com/issues/show_bug.cgi?id=12055



--- Comment #2 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2014-02-01 05:40:20 PST ---
(In reply to comment #1)
> Known bug, not sure if it was filed before. The workaround is to mark the alias
> as extern(C):
> 
> extern(C) alias _Unwind_Exception_Cleanup_Fn
>   = void function(_Unwind_Reason_Code, _Unwind_Exception *);

Heh, I missed your OK sample there where you say the same thing. Sorry for the
noise..

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list