Thread overview | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
March 08, 2005 José, can't you see? | ||||
---|---|---|---|---|
| ||||
Greetings! One of the switches of the dmd compiler is: -d allow deprecated features I just downloaded 116 (very nice, by the way) and I saw that switch there. I asked myself, "Jose, what is depracated and what is not?" I searched a few sites, but right now I am a little PRESSED for time and so I ask, how would a d programmer know what is deprecated and what is not? Right now, v.116 has $ as the length and soon (if all goes well) length will be depracated. Many of my programs have length already. But, that's not a problem, vi is a good editor and I can change that stuff in matter of seconds. But, nonetheless, what is deprecated and what is not? thanks, josé |
March 08, 2005 Re: José, can't you see? (by the dawn's early light...) | ||||
---|---|---|---|---|
| ||||
Posted in reply to jicman | "jicman" <jicman_member@pathlink.com> wrote in message news:d0l5st$db8$1@digitaldaemon.com... > > Greetings! > > One of the switches of the dmd compiler is: > > -d allow deprecated features > > I just downloaded 116 (very nice, by the way) and I saw that switch there. > I > asked myself, "Jose, what is depracated and what is not?" I searched a > few > sites, but right now I am a little PRESSED for time and so I ask, how > would a d > programmer know what is deprecated and what is not? That would be a nice section of the doc, but I don't know of any way get a list of deprecated features. -Ben |
March 08, 2005 Re: José, can't you see? (by the dawn's early light...) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ben Hinkle | >> One of the switches of the dmd compiler is:
>>
>> -d allow deprecated features
>>
>> I just downloaded 116 (very nice, by the way) and I saw that switch
>> there. I
>> asked myself, "Jose, what is depracated and what is not?" I searched
>> a few
>> sites, but right now I am a little PRESSED for time and so I ask, how
>> would a d
>> programmer know what is deprecated and what is not?
>
> That would be a nice section of the doc, but I don't know of any way get a list of deprecated features.
It'd be even better if the compiler would have a verbose "?" mode, and spat out a list. Like Borland's "-h -" mode
|
March 09, 2005 Re: José, can't you see? | ||||
---|---|---|---|---|
| ||||
Posted in reply to jicman | "jicman" <jicman_member@pathlink.com> wrote in message news:d0l5st$db8$1@digitaldaemon.com... > > Greetings! > > One of the switches of the dmd compiler is: > > -d allow deprecated features > > I just downloaded 116 (very nice, by the way) and I saw that switch there. > I > asked myself, "Jose, what is depracated and what is not?" I searched a > few > sites, but right now I am a little PRESSED for time and so I ask, how > would a d > programmer know what is deprecated and what is not? Right now, v.116 has > $ as > the length and soon (if all goes well) length will be depracated. Many of > my > programs have length already. But, that's not a problem, vi is a good > editor > and I can change that stuff in matter of seconds. But, nonetheless, what > is > deprecated and what is not? > > thanks, > > josé > If you try to do something, and the compler complains that it's depricated and refuses to compile, then it is depricated ;) . But if you're trying to get a complete list of depricated features, then I guess that doesn't help... |
March 09, 2005 Re: José, can't you see? | ||||
---|---|---|---|---|
| ||||
Posted in reply to jicman | "jicman" <jicman_member@pathlink.com> wrote in message news:d0l5st$db8$1@digitaldaemon.com... > But, nonetheless, what is > deprecated and what is not? The easiest way at the moment is to grep the provided dmd sources for "deprecated". |
Copyright © 1999-2021 by the D Language Foundation