Debugging D shared libraries

John Colvin via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Sep 22 07:40:43 PDT 2015


On Tuesday, 22 September 2015 at 14:37:11 UTC, Russel Winder 
wrote:
> On Sun, 2015-09-20 at 17:47 +0200, Johannes Pfau via 
> Digitalmars-d -learn wrote:
>> [...]
> […]
>> [...]
>
> Debian Jessie is far too out of date to be useful. I'm on 
> Debian Sid
> (still quite old), and Fedora Rawhide (not quite so old).
>
> Sadly GDC on Debian Sid tells me 5.2.1 20150911 which may well 
> tell Iain which DMD is being used, but I haven't a clue. :-)
>
> […]
>
> The real problem using GDC is:
>
> gdc -I. -O3 -fPIC -c -o processAll_library_d.o 
> processAll_library_d.d
> /usr/include/d/core/stdc/config.d:28:3: error: static if 
> conditional
> cannot be at global scope
>    static if( (void*).sizeof > int.sizeof )
>    ^
>
> I haven't had chance to sit down and see if this is reasonable 
> or not.

seeing as it's an error in core.stdc.config, I'd say it's 
definitely not reasonable


More information about the Digitalmars-d-learn mailing list