digitalmars.D.learn - [dub]
I get the following message from dub when using "--build=release": Linking... .dub/build/myprogram-release-linux.posix-x86_64-dmd_2067-C1A5273464ACE9961E3F3BA6AC04084B/abairtts.o:(.data._D65TypeInfo_xC3std5range10interfaces18__T10InputRangeTiZ10Input ange6__initZ+0x10): undefined reference to `_D64TypeInfo_C3std5range10interfaces18__T10InputRangeTiZ10InputRange6__initZ' collect2: error: ld returned 1 exit status --- errorlevel 1 DUB version 0.9.23, built on Apr 3 2015 dmd 2.067.0 Also, if I set the flags manually (dlfags[1]), they are ignored and dub build in debug mode. [1] now -boundscheck=off, instead of -noboundscheck
Apr 14 2015
On Tuesday, 14 April 2015 at 15:22:27 UTC, Chris wrote:I get the following message from dub when using "--build=release": Linking... .dub/build/myprogram-release-linux.posix-x86_64-dmd_2067-C1A5273464ACE9961E3F3BA6AC04084B/abairtts.o:(.data._D65TypeInfo_xC3std5range10interfaces18__T10InputRangeTiZ10Input ange6__initZ+0x10): undefined reference to `_D64TypeInfo_C3std5range10interfaces18__T10InputRangeTiZ10InputRange6__initZ' collect2: error: ld returned 1 exit status --- errorlevel 1 DUB version 0.9.23, built on Apr 3 2015 dmd 2.067.0 Also, if I set the flags manually (dlfags[1]), they are ignored and dub build in debug mode. [1] now -boundscheck=off, instead of -noboundscheckthere is a bug, add the --combined flag and it should work. can't remember which bug.
Apr 15 2015