why to (not) support "older" compiler versions

Johannes Pfau via Digitalmars-d digitalmars-d at puremagic.com
Tue Nov 3 00:22:37 PST 2015


Am Tue, 03 Nov 2015 08:08:26 +0000
schrieb yawniek <dlang at srtnwz.com>:

> i have seen many PR's and also Forum entries that deal with the 
> problem of newer features of the compiler not being able and then 
> patching or working around that to support older compiler 
> versions.
> 
> since it is really easy to keep up with compiler versions and 
> even switch
> (and not many features are being removed from dmd) what are good 
> reasons to keep backward compatiblity?
> 
> the latest example i saw was replacing groupBy by a loop to keep 
> compatiblity with 2.066.
> while not a big thing, it adds up.
> 

I guess it's to be compatible with the latest DMD, LDC and GDC. GDC
currently only provides the 2.066.1 frontend.


More information about the Digitalmars-d mailing list