Will D2 be backwards compatible with D

Trass3r mrmocool at gmx.de
Thu Apr 2 07:08:25 PDT 2009


Merlin Moncure schrieb:
> Changes to your code.  If you run D1.0 code through D2.0 compiler, what errors will yet get? (not counting library errors)
> 

Most probably you get errors regarding strings, since strings (esp. 
string literals) are invariant(char)[] in D2 and char[] in D1. Thus you 
should get errors  when you pass a string literal to a function that 
wants a char[].



More information about the Digitalmars-d mailing list