As develop32 mention earlier in this, running the build with the -g option causes this linker error:

D:\projects\dcd\DCD>dmd actypes.d conversion/astconverter.d conversion/first.d conversion/second.d conversion/third.d au tocomplete.d constants.d messages.d modulecache.d semantic.d server.d stupidlog.d dscanner/stdx/d/ast.d dscanner/stdx/d/ entities.d dscanner/stdx/d/lexer.d dscanner/stdx/d/parser.d dscanner/stdx/lexer.d dscanner/stdx/allocator.d dscanner/for matter.d msgpack-d/src/msgpack.d -Imsgpack-d/src -Idscanner -wi -O -release -noboundscheck -inline -g -ofdcd-server.exe
    OPTLINK (R) for Win32  Release 8.00.15
    Copyright (C) Digital Mars 1989-2013  All rights reserved.
    http://www.digitalmars.com/ctg/optlink.html
    dcd-server.obj(dcd-server)
     Error 42: Symbol Undefined __aligned_malloc
    dcd-server.obj(dcd-server)
     Error 42: Symbol Undefined __aligned_free
    dcd-server.obj(dcd-server)
     Error 42: Symbol Undefined __aligned_realloc
    --- errorlevel 3

Without the -g option the link goes fine:

D:\projects\dcd\DCD>dmd actypes.d conversion/astconverter.d conversion/first.d conversion/second.d conversion/third.d au tocomplete.d constants.d messages.d modulecache.d semantic.d server.d stupidlog.d dscanner/stdx/d/ast.d dscanner/stdx/d/ entities.d dscanner/stdx/d/lexer.d dscanner/stdx/d/parser.d dscanner/stdx/lexer.d dscanner/stdx/allocator.d dscanner/for matter.d msgpack-d/src/msgpack.d -Imsgpack-d/src -Idscanner -wi -O -release -noboundscheck -inline -ofdcd-server.exe

Cheers Jussi

Reply via email to