Incomprehensible compiler errors

Dmitry Olshansky dmitry.olsh at gmail.com
Mon Jul 30 12:03:10 PDT 2012


On 30-Jul-12 22:43, Stuart wrote:
> I notice nobody so far seems to have any idea why I'm getting these errors.

Everybody knows it's a linker error.

Your particular message means you have link-in module dfl.internal.winapi.

e.g. by passing all files to dmd:

dmd you_module.d dfl\internal\winapi.d

Why would you use internal module of library is beyond me but 
regardless, a better way would be (if DFL is compiled to dfl.lib file):

dmd your_module.d dfl.lib


-- 
Dmitry Olshansky


More information about the Digitalmars-d mailing list