V2 breaks many V1 programs
torhu
fake at address.dude
Sat Jul 7 13:24:19 PDT 2007
Steve Teale wrote:
> If the V1 program has
>
> char[] x = any.std.string.StringFunctionFromV1();
>
> it won't compile because it complains about the type conversion.
>
> Also, because a version block has to be syntactically correct, you can't isolate v1/v2 differences because the syntax has changed.
Both problems have solutions, look here:
http://www.digitalmars.com/d/archives/digitalmars/D/supporting_DMD-1.016_and_DMD-2.000_with_the_same_source_code_54628.html#N54628
More information about the Digitalmars-d-bugs
mailing list