Thread overview | ||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
November 28, 2007 DMD 1.024 and 2.008 releases | ||||
---|---|---|---|---|
| ||||
New const/invariant in 2.007! http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.024.zip http://www.digitalmars.com/d/changelog.html http://ftp.digitalmars.com/dmd.2.008.zip |
November 28, 2007 Re: DMD 1.024 and 2.008 releases | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | Walter Bright wrote:
> New const/invariant in 2.007!
er, 2.008!
|
November 28, 2007 Re: DMD 1.024 and 2.008 releases | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | Walter Bright wrote:
> New const/invariant in 2.007!
>
> http://www.digitalmars.com/d/1.0/changelog.html
> http://ftp.digitalmars.com/dmd.1.024.zip
>
> http://www.digitalmars.com/d/changelog.html
> http://ftp.digitalmars.com/dmd.2.008.zip
Horray! It also looks like the beginning of an actively developed phobos! Great work Walter and Andrei!
|
November 28, 2007 Re: DMD 1.024 and 2.008 releases | ||||
---|---|---|---|---|
| ||||
Posted in reply to Clay Smith | Clay Smith wrote: > Walter Bright wrote: >> New const/invariant in 2.007! >> >> http://www.digitalmars.com/d/1.0/changelog.html >> http://ftp.digitalmars.com/dmd.1.024.zip >> >> http://www.digitalmars.com/d/changelog.html >> http://ftp.digitalmars.com/dmd.2.008.zip > > Horray! It also looks like the beginning of an actively developed phobos! Great work Walter and Andrei! Yikes! Looks like I've got my work cut out for me updating the std2 backport of phobos. Anyway, is the const article up to date with the "current state of the const"? I mean this one: http://www.digitalmars.com/d/const.html --bb |
November 28, 2007 Re: DMD 1.024 and 2.008 releases | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | Walter Bright wrote: > New const/invariant in 2.007! > > http://www.digitalmars.com/d/1.0/changelog.html > http://ftp.digitalmars.com/dmd.1.024.zip > > http://www.digitalmars.com/d/changelog.html > http://ftp.digitalmars.com/dmd.2.008.zip Oh great! :D Love to see the new std.algorithm. BTW, are std.windows.charset and std.slist new modules too? Seems not mentioned on the changelog, or probably I've missed it in previous versions. -- -- Kenny. |
November 28, 2007 Re: DMD 1.024 and 2.008 releases | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | Walter Bright wrote:
> New const/invariant in 2.007!
>
> http://www.digitalmars.com/d/1.0/changelog.html
> http://ftp.digitalmars.com/dmd.1.024.zip
>
> http://www.digitalmars.com/d/changelog.html
> http://ftp.digitalmars.com/dmd.2.008.zip
Neat!
What does the typeof(return) type specifier do?
|
November 28, 2007 Re: DMD 1.024 and 2.008 releases | ||||
---|---|---|---|---|
| ||||
Posted in reply to Lutger | Lutger wrote:
> Walter Bright wrote:
>> New const/invariant in 2.007!
>>
>> http://www.digitalmars.com/d/1.0/changelog.html
>> http://ftp.digitalmars.com/dmd.1.024.zip
>>
>> http://www.digitalmars.com/d/changelog.html
>> http://ftp.digitalmars.com/dmd.2.008.zip
>
> Neat!
>
> What does the typeof(return) type specifier do?
I found it, nevermind. (inside a function, evaluates to the return type).
That's a pretty convenient addition for generic code.
|
November 28, 2007 Re: DMD 1.024 and 2.008 releases | ||||
---|---|---|---|---|
| ||||
Posted in reply to Lutger | Lutger wrote:
> What does the typeof(return) type specifier do?
It's replaced with the type of the return value of the function you're in.
|
November 28, 2007 Re: DMD 1.024 and 2.008 releases | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | I have found a bug similar to 1665. It only happens when compiling with -O and the error: Internal error: ..\ztc\cgcod.c 1523 I haven't been able to create any sample code... "Walter Bright" <newshound1@digitalmars.com> wrote in message news:fiiu78$1sf5$1@digitalmars.com... > New const/invariant in 2.007! > > http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.024.zip > > http://www.digitalmars.com/d/changelog.html http://ftp.digitalmars.com/dmd.2.008.zip |
November 28, 2007 Re: DMD 1.024 and 2.008 releases | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | Walter Bright Wrote:
> New const/invariant in 2.007!
>
> http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.024.zip
>
> http://www.digitalmars.com/d/changelog.html http://ftp.digitalmars.com/dmd.2.008.zip
Version 2.007 worked fine, but trying to run 2.008 I got :
dmd: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by dmd)
How can i correct that :-s ?
|
Copyright © 1999-2021 by the D Language Foundation