July 07, 2007 V2 breaks many V1 programs | ||||
---|---|---|---|---|
| ||||
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. |
July 07, 2007 Re: V2 breaks many V1 programs | ||||
---|---|---|---|---|
| ||||
Posted in reply to Steve Teale | 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 |
Copyright © 1999-2021 by the D Language Foundation