http://d.puremagic.com/issues/show_bug.cgi?id=5577
Summary: Incorrectly generated di file with extern (C) and alias Product: D Version: D1 Platform: Other OS/Version: Mac OS X Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: d...@me.com --- Comment #0 from Jacob Carlborg <d...@me.com> 2011-02-14 11:52:15 PST --- The following D file: module main; void main () { alias extern (C) void function () f; } Compiled with "dmd -H main.d" produces this D interface file: // D import file generated from 'main.d' module main; void main() { extern (C) alias void function() f; } When compiling the interface file I get the following errors: main.di(5): basic type expected, not alias main.di(5): no identifier for declarator int main.di(5): semicolon expected to close declaration, not 'alias' This is using dmd 1.066. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------