[Issue 2168] New: cast extern enhancement?

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jun 24 08:41:19 PDT 2008


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

           Summary: cast extern enhancement?
           Product: D
           Version: 1.030
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: davidl at 126.com


I'm not sure where this nntp://news.digitalmars.com/digitalmars.D.bugs:2556
links.

But seems this test case gets lost?

http://dstress.kuehne.cn/dstress/trunk/compile/extern_07.d

module dstress.compile.extern_07;

extern(C) void *wglGetProcAddress(char*);
extern(C) int function() glFunctionFoo;

int main(){
        glFunctionFoo = cast(extern(C) int function())
wglGetProcAddress("glFunctionFoo");
        return 0;
}


-- 



More information about the Digitalmars-d-bugs mailing list