opAddAssign still works
Jesse Phillips
jessekphillips+D at gmail.com
Tue May 11 07:07:31 PDT 2010
bearophile wrote:
> Pelle:
>> Not yet, it's not. To compile something that's deprecated, you will need
>> the -d switch.
>
> That's for user code marked with 'deprecated':
> http://www.digitalmars.com/d/2.0/attribute.html#deprecated
> I don't think it is designed to work with compiler/language features too.
>
> The D1 compiler has a switch (-v1), that's missing in D2, for deprecated compiler features, maybe something similar will be put back.
>
> Bye,
> bearophile
Actually the switch has nothing to do with deprecation. Originally D2
was developed and released as the same binary as D1. If you wanted to
compile for version 1 you passed the -v1 switch, otherwise you were
compiling version 2.
Don't ask me why the switch is still there.
More information about the Digitalmars-d-learn
mailing list