Debugging D shared libraries

Russel Winder via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Sep 22 07:36:55 PDT 2015


On Sun, 2015-09-20 at 17:47 +0200, Johannes Pfau via Digitalmars-d
-learn wrote:
> Am Sat, 19 Sep 2015 17:41:41 +0100
> 
[…]
> 
> Have you tried using a newer GDC version? The debian jessie version
> probably uses the 2.064.2 frontend.

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.

-- 
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-learn/attachments/20150922/d9459c77/attachment.sig>


More information about the Digitalmars-d-learn mailing list