www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - LDC, GDC, DMD different phobos versions

reply Daniel Kozak <kozzi11 gmail.com> writes:
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
Nov 15 2015
next sibling parent Jordi Sayol via Digitalmars-d <digitalmars-d puremagic.com> writes:
El 15/11/15 a les 16:28, Daniel Kozak via Digitalmars-d ha escrit:
 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.
Not on dlang.org, there are some old dmd/phobos doumentation in several formats at d-apt: https://sourceforge.net/projects/d-apt/files/files/dlangspec/ Regards, Jordi
Nov 15 2015
prev sibling parent Daniel =?UTF-8?B?S296w6Fr?= via Digitalmars-d writes:
V Sun, 15 Nov 2015 19:53:53 +0100
Jordi Sayol via Digitalmars-d <digitalmars-d puremagic.com> napsáno:

 El 15/11/15 a les 16:28, Daniel Kozak via Digitalmars-d ha escrit:
 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.  
Not on dlang.org, there are some old dmd/phobos doumentation in several formats at d-apt: https://sourceforge.net/projects/d-apt/files/files/dlangspec/ Regards, Jordi
Thanks :)
Nov 15 2015