Compiler updating user code

Michel Fortin michel.fortin at michelf.ca
Fri Mar 14 06:44:10 PDT 2014


On 2014-03-14 12:46:33 +0000, Andrej Mitrovic 
<andrej.mitrovich at gmail.com> said:

> 2) The feature will only work with the latest compiler. In other
> words, if you want to update a 2.070 codebase to 2.072, you will
> actually need to use two compilers. The porting tool released with DMD
> 2.071 to port 2.070 to 2.071, and the tool released with 2.072 to port
> 2.071 to 2.072.

I see what you mean. The moment the parser can't recognize the old 
thing, you can't migrate.

But it doesn't have to be as you say. You can keep things working in a 
deprecated state for longer than one version. As long as the old thing 
can be parsed, it can be updated.

-- 
Michel Fortin
michel.fortin at michelf.ca
http://michelf.ca



More information about the Digitalmars-d mailing list