[Issue 6596] Error message with not extern(C) function

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Sep 22 07:36:15 PDT 2011


http://d.puremagic.com/issues/show_bug.cgi?id=6596


Kenji Hara <k.hara.pg at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch


--- Comment #2 from Kenji Hara <k.hara.pg at gmail.com> 2011-09-22 07:35:46 PDT ---
https://github.com/D-Programming-Language/dmd/pull/404

Implements:

(In reply to comment #1)
> extern (C) int function() pfunc;
> extern (C) int cfunc(){ return 0; }
> 
[snip]
>
> // expect (2)
> static assert(typeof(pfunc).stringof == "extern (C) int function()");
> static assert(typeof(cfunc).stringof == "extern (C) int()");

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


More information about the Digitalmars-d-bugs mailing list