September 07, 2011 [dmd-beta] Migration path for enum Endian? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrei Alexandrescu | +1 On Wed, Sep 7, 2011 at 12:44 AM, Andrei Alexandrescu <andrei at erdani.com>wrote: > Probably a good idea would be to enhance the language to allow "deprecated" in front of single enum values: > > enum Test > { > a, > deprecated b, > c > } > > At this point we should pay a great deal of attention to this language feature. > > > Andrei > > > On 9/6/11 5:39 PM, Jonathan M Davis wrote: > >> Also, I would point out that because you can't deprecate enum values, the >> only >> deprecation path is to have to have soft migration followed by removal. >> So, I >> don't know how much code breakage you're really saving by leaving the old >> enum >> values in temporarily. We can still do it, but the deprecated keyword and >> whatever it brings to the table can't be involved in the process, because >> you >> can't put attributes on enum values. >> >> Fortunately, there weren't all that many enum values in Phobos which >> didn't >> follow the correct naming conventions outside of std.socket, and after >> this >> release, the only enum values with incorrect names should be the ones in >> std.socket, which looks like it's probably going to be revamped anyway. >> >> - Jonathan M Davis >> ______________________________**_________________ >> dmd-beta mailing list >> dmd-beta at puremagic.com >> http://lists.puremagic.com/**mailman/listinfo/dmd-beta<http://lists.puremagic.com/mailman/listinfo/dmd-beta> >> > ______________________________**_________________ > dmd-beta mailing list > dmd-beta at puremagic.com > http://lists.puremagic.com/**mailman/listinfo/dmd-beta<http://lists.puremagic.com/mailman/listinfo/dmd-beta> > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.puremagic.com/pipermail/dmd-beta/attachments/20110907/1ede58d9/attachment-0001.html> |
September 07, 2011 [dmd-beta] rdmd is old, wasn't rebuillt | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrei Alexandrescu | Maybe you could automate the sending of those reminders ;-)
Sent from my iPhone
On Sep 6, 2011, at 8:23 PM, Andrei Alexandrescu <andrei at erdani.com> wrote:
> On 9/6/11 10:00 PM, Walter Bright wrote:
>>
>>
>> On 9/6/2011 7:49 PM, Jonathan M Davis wrote:
>>>
>>> It looks to me like it's probably building against an older version of Phobos.
>>>
>>>
>>
>> Damn, you're right. Even I got caught with that one.
>
> "Automate everything that can be automated."
>
> Andrei the one sounding like a broken record
> _______________________________________________
> dmd-beta mailing list
> dmd-beta at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/dmd-beta
|
September 07, 2011 [dmd-beta] rdmd is old, wasn't rebuillt | ||||
---|---|---|---|---|
| ||||
Posted in reply to Rory McGuire | I can recommend DVM, it lets you easily install and switch between different versions of DMD. Although currently it only supports releases and can not build from git. https://bitbucket.org/doob/dvm On 7 sep 2011, at 10:33, Rory McGuire wrote: > With Linux I use symlinks to manage my dmd version. > > /usr/local/bin/dmd -> /usr/local/lib/d/dmd/bin/dmd > etc... > /usr/local/lib/libphobos.so -> /usr/local/d/dmd/lib/libphobos.so > > /usr/local/lib/d/dmd -> /usr/local/lib/d/dmd2046 > > then just put all dmd2046 stuff in /usr/local/lib/d/dmd2046 and all your other versions in their own directories. > > to change versions you just have to change the /usr/loca/lib/d/dmd symlink. > > > Not sure how you could do this in Windows. > > -Rory > > On Wed, Sep 7, 2011 at 6:09 AM, Benjamin Shropshire <benjamin at precisionsoftware.us> wrote: > On 09/06/2011 08:23 PM, Andrei Alexandrescu wrote: > On 9/6/11 10:00 PM, Walter Bright wrote: > > > On 9/6/2011 7:49 PM, Jonathan M Davis wrote: > > It looks to me like it's probably building against an older version of Phobos. > > > > Damn, you're right. Even I got caught with that one. > > "Automate everything that can be automated." > > Andrei the one sounding like a broken record > > The only down side: anything you work on is then, by definition, broken. > > _______________________________________________ > dmd-beta mailing list > dmd-beta at puremagic.com > http://lists.puremagic.com/mailman/listinfo/dmd-beta > > _______________________________________________ > dmd-beta mailing list > dmd-beta at puremagic.com > http://lists.puremagic.com/mailman/listinfo/dmd-beta -- /Jacob Carlborg -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.puremagic.com/pipermail/dmd-beta/attachments/20110907/2a94219e/attachment.html> |
September 07, 2011 [dmd-beta] rdmd is old, wasn't rebuillt | ||||
---|---|---|---|---|
| ||||
Posted in reply to Rory McGuire | On 7 September 2011 10:33, Rory McGuire <rmcguire at neonova.co.za> wrote:
> With Linux I use symlinks to manage my dmd version.
> /usr/local/bin/dmd -> /usr/local/lib/d/dmd/bin/dmd
> etc...
> /usr/local/lib/libphobos.so -> /usr/local/d/dmd/lib/libphobos.so
> /usr/local/lib/d/dmd -> /usr/local/lib/d/dmd2046
> then just put all dmd2046 stuff in?/usr/local/lib/d/dmd2046 and all your
> other versions in their own directories.
> to change versions you just have to change the /usr/loca/lib/d/dmd symlink.
>
> Not sure how you could do this in Windows.
> -Rory
Exactly the same thing works fine on Windows. I use "junction.exe" from sysinternals to deal with the symlinks. I have one directory for each released version, and one special development directory which contains symlinks to git dmd, phobos and druntime.
|
September 07, 2011 [dmd-beta] rdmd is old, wasn't rebuillt | ||||
---|---|---|---|---|
| ||||
Posted in reply to Don Clugston | Wow, shows how amenable to just kludging things I am. I just have dmd2/<os>/bin in my path and rename the directory for whatever version I want to use to dmd2. On Wed, Sep 7, 2011 at 2:21 PM, Don Clugston <dclugston at googlemail.com>wrote: > On 7 September 2011 10:33, Rory McGuire <rmcguire at neonova.co.za> wrote: > > With Linux I use symlinks to manage my dmd version. > > /usr/local/bin/dmd -> /usr/local/lib/d/dmd/bin/dmd > > etc... > > /usr/local/lib/libphobos.so -> /usr/local/d/dmd/lib/libphobos.so > > /usr/local/lib/d/dmd -> /usr/local/lib/d/dmd2046 > > then just put all dmd2046 stuff in /usr/local/lib/d/dmd2046 and all your > > other versions in their own directories. > > to change versions you just have to change the /usr/loca/lib/d/dmd > symlink. > > > > Not sure how you could do this in Windows. > > -Rory > > Exactly the same thing works fine on Windows. I use "junction.exe" > from sysinternals to deal with the symlinks. I have one directory for > each released version, and one special development directory which > contains symlinks to git dmd, phobos and druntime. > _______________________________________________ > dmd-beta mailing list > dmd-beta at puremagic.com > http://lists.puremagic.com/mailman/listinfo/dmd-beta > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.puremagic.com/pipermail/dmd-beta/attachments/20110907/50477b0b/attachment.html> |
September 08, 2011 [dmd-beta] rdmd is old, wasn't rebuillt | ||||
---|---|---|---|---|
| ||||
Posted in reply to David Simcha | On Thu, Sep 8, 2011 at 4:23 AM, David Simcha <dsimcha at gmail.com> wrote:
> Wow, shows how amenable to just kludging things I am.? I just have dmd2/<os>/bin in my path and rename the directory for whatever version I want to use to dmd2.
>
This is _exactly_ what I do.
|
September 08, 2011 [dmd-beta] rdmd is old, wasn't rebuillt | ||||
---|---|---|---|---|
| ||||
Posted in reply to Don Clugston | Awesome, thanks for the tip. On Wed, Sep 7, 2011 at 8:21 PM, Don Clugston <dclugston at googlemail.com>wrote: > On 7 September 2011 10:33, Rory McGuire <rmcguire at neonova.co.za> wrote: > > With Linux I use symlinks to manage my dmd version. > > /usr/local/bin/dmd -> /usr/local/lib/d/dmd/bin/dmd > > etc... > > /usr/local/lib/libphobos.so -> /usr/local/d/dmd/lib/libphobos.so > > /usr/local/lib/d/dmd -> /usr/local/lib/d/dmd2046 > > then just put all dmd2046 stuff in /usr/local/lib/d/dmd2046 and all your > > other versions in their own directories. > > to change versions you just have to change the /usr/loca/lib/d/dmd > symlink. > > > > Not sure how you could do this in Windows. > > -Rory > > Exactly the same thing works fine on Windows. I use "junction.exe" from sysinternals to deal with the symlinks. I have one directory for each released version, and one special development directory which contains symlinks to git dmd, phobos and druntime. > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.puremagic.com/pipermail/dmd-beta/attachments/20110908/aad114aa/attachment.html> |
September 08, 2011 [dmd-beta] rdmd is old, wasn't rebuillt | ||||
---|---|---|---|---|
| ||||
Posted in reply to Don Clugston | If you use Vista or later there is proper support for symlinks using the "mklink" command. I assume "junction.exe" creates junction points. On 7 sep 2011, at 20:21, Don Clugston wrote: > On 7 September 2011 10:33, Rory McGuire <rmcguire at neonova.co.za> wrote: >> With Linux I use symlinks to manage my dmd version. >> /usr/local/bin/dmd -> /usr/local/lib/d/dmd/bin/dmd >> etc... >> /usr/local/lib/libphobos.so -> /usr/local/d/dmd/lib/libphobos.so >> /usr/local/lib/d/dmd -> /usr/local/lib/d/dmd2046 >> then just put all dmd2046 stuff in /usr/local/lib/d/dmd2046 and all your >> other versions in their own directories. >> to change versions you just have to change the /usr/loca/lib/d/dmd symlink. >> >> Not sure how you could do this in Windows. >> -Rory > > Exactly the same thing works fine on Windows. I use "junction.exe" > from sysinternals to deal with the symlinks. I have one directory for > each released version, and one special development directory which > contains symlinks to git dmd, phobos and druntime. > _______________________________________________ > dmd-beta mailing list > dmd-beta at puremagic.com > http://lists.puremagic.com/mailman/listinfo/dmd-beta -- /Jacob Carlborg |
Copyright © 1999-2021 by the D Language Foundation