http://d.puremagic.com/issues/show_bug.cgi?id=1731
------- Comment #1 from ma...@pochta.ru 2009-04-06 06:05 ------- For dmd 2.023 alias uint DWORD; MY_API_FUNCTION lpStartAddress; // <-- comment this line to remove error extern (Windows) alias DWORD function(void*) MY_API_FUNCTION; static assert(MY_API_FUNCTION.stringof == "uintWindows function(void*)", MY_API_FUNCTION.stringof); --