//////////////////// module a; extern void foo( );
void bar( ) { foo( ); } //////////////////// module b; import std.stdio; void foo( ) { writeln( "Hi!" ); } //////////////////// The above does not work (Error 42: Symbol Undefined _D1a3fooFZv). Adding extern to foo in module b changes nothing. extern( C ) works, but seems like a hack. Better ideas? -- Simen