On Sunday, 10 January 2016 at 16:23:24 UTC, Russel Winder wrote:
Iain,

Playing with the SCons tests, I am heading to the hypothesis that, at least on Debian Sid, if both gdc and ldc packages are installed, then gdc picks up the D source files from the ldc package in preference to the ones from the gdc package.


scons: Building targets ...
gdc -I. -c -o foo.o foo.d
scons: building terminated because of errors.

STDERR ========================================================================= /usr/include/d/core/stdc/config.d:28:3: error: static if conditional cannot be at global scope
   static if( (void*).sizeof > int.sizeof )
   ^
scons: *** [foo.o] Error 1


|> dpkg -S /usr/include/d/core/stdc/config.d libphobos2-ldc-dev: /usr/include/d/core/stdc/config.d

I think this is the same problem I have on OS X.

Reply via email to