GDC includes from LDC

John Colvin via Digitalmars-d digitalmars-d at puremagic.com
Sun Jan 10 08:51:38 PST 2016


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.


More information about the Digitalmars-d mailing list