GDC includes from LDC

Russel Winder via Digitalmars-d digitalmars-d at puremagic.com
Sun Jan 10 08:23:24 PST 2016


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

-- 
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder at ekiga.net
41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel at winder.org.uk
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20160110/56fa36e8/attachment.sig>


More information about the Digitalmars-d mailing list