dmd linker (OPTLINK) gives Error 42: Symbol Undefined when using extern

Andrej Mitrovic andrej.mitrovich at
Sun Dec 25 13:17:17 PST 2011

You can't prototype D functions like that, they belong to a module.
test is built as _D1b4testFZAya, not _D1a4testFZAya (notice the module
names, a and b after _D1).

What exactly are you trying to do? DLLs?

More information about the Digitalmars-d-learn mailing list