D-Scanner 0.1.0-beta3 and DCD 0.3.0-beta4

Jussi Jumppanen jussij at zeusedit.com
Sun Mar 9 00:21:58 PST 2014


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


More information about the Digitalmars-d-announce mailing list