-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to compile with llvm 3.7 #41
Comments
Nevermind, it's actually tango that does not compile |
If you're using DMD 2.068.0 you could try with these patches for Tango: SiegeLord/Tango-D2#85 |
On 09/18/15 at 01:08pm, jacob-carlborg wrote:
Thanks, these patches make tango compile with llvm 3.7, just have two errors dstack/mambo/mambo/core/Array.d(23): Error: undefined identifier 'array' Jelle van der Waa |
It compiles for me. Which version of the compiler are you using? Not sure what LLVM 3.7 has to do with this. |
semi-OT: I have never been able to compile dstep + deps since build system changed to dub, neither with 2.066 nor 2.067 - always various compilation failures in tango. Don't have time to investigate for now thus temporary removing dstep package out of official Arch repos. |
@Dicebot that's weird. It compiles fine for me on OS X, Debian and on Travis CI [1] with DMD 2.067.0. |
I've tried to compile the master with 3.7 but it gives me the following compile error.
dmd -O -m64 -L-ldl -m64 -c tango/math/Probability.d -ofobjs/tango/math/Probability.o tango/math/IEEE.d(858): Deprecation: use std.math.isNaN to deal with NaN operands rather than floating point operator '!<=' dmd -O -m64 -L-ldl -m64 -c tango/math/random/ExpSource.d -ofobjs/tango/math/random/ExpSource.o dmd -O -m64 -L-ldl -m64 -c tango/math/random/Kiss.d -ofobjs/tango/math/random/Kiss.o dmd -O -m64 -L-ldl -m64 -c tango/math/random/NormalSource.d -ofobjs/tango/math/random/NormalSource.o tango.math.BigInt is deprecated. Please use std.bigint instead. tango/io/vfs/ZipFolder.d(302): Error: function tango.io.vfs.ZipFolder.ZipSubFolder.toString cannot have an in contract when overriden function object.Object.toString does not have an in contract tango/io/vfs/ZipFolder.d(977): Error: function tango.io.vfs.ZipFolder.ZipFile.toString cannot have an in contract when overriden function object.Object.toString does not have an in contract dmd -O -m64 -L-ldl -m64 -c tango/math/random/Random.d -ofobjs/tango/math/random/Random.o dmd -O -m64 -L-ldl -m64 -c tango/math/random/Twister.d -ofobjs/tango/math/random/Twister.o dmd -O -m64 -L-ldl -m64 -c tango/math/random/Ziggurat.d -ofobjs/tango/math/random/Ziggurat.o build/Makefile:131: recipe for target 'objs/tango/io/vfs/ZipFolder.o' failed make: *** [objs/tango/io/vfs/ZipFolder.o] Error 1 make: *** Waiting for unfinished jobs.... ==> ERROR: A failure occurred in build().
The text was updated successfully, but these errors were encountered: