LDC, GDC, DMD different phobos versions

Daniel Kozak via Digitalmars-d digitalmars-d at puremagic.com
Sun Nov 15 07:28:36 PST 2015


I primary use dmd for my D development, but for production 
binaries I use ldc or gdc. However because of different version 
of standard library I have errors cause by missing symbols and so 
on.

Generaly many changes of phobos are backward compatible, so I can 
use old version of phobos symbols... But there is only actual 
version of phobos documentation, which makes this hard. OK I 
always can generate old version of doc or use some archive sites. 
But it would be nice to have it on dlang.org.

Another way is what PHP does.
changelog:
http://php.net/manual/en/function.htmlspecialchars.php#refsect1-function.htmlspecialchars-changelog

or

supported version at top of symbol description
http://php.net/manual/en/class.dateinterval.php#class.dateinterval


Ideal would be if this info can be part of ddoc coments




More information about the Digitalmars-d mailing list