July 07, 2007
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
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