Compiling druntime on ldc2 - Win 8 x64
kinke
noone at hotmail.com
Tue May 14 20:30:06 PDT 2013
On Friday, 25 January 2013 at 13:55:59 UTC, Sebastian Graf wrote:
> Done. Yet somehow I still can't get it to link druntime. Both
> in release and debug mode I get
> http://msdn.microsoft.com/en-us/library/t0cs92zx(v=vs.110).aspx
> , because /O2 is combined with /RTC1, although the make file
> defs don't mix anything up. For the exact cl arguments see
> http://pastie.org/5856844.
I got the same error and got rid of it by editing the VS project
files generated by cmake. The debug configurations of druntime,
druntime-debug, phobos and phobos-debug use the /RTC1 switch (set
in XML by something like
<RuntimeChecks>EnableFastChecks</RuntimeChecks>). After removing
these lines, the build works. It's strange though, because the
debug configs disable any optimization (/Od), so the /O2 must be
set somewhere else. Plus I'd expect the release configs to be
built, not the debug ones...
More information about the digitalmars-d-ldc
mailing list