digitalmars.D.bugs - V2 breaks many V1 programs
- Steve Teale (4/4) Jul 07 2007 If the V1 program has
- torhu (3/10) Jul 07 2007 Both problems have solutions, look here:
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.
Jul 07 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
Jul 07 2007