View mode: basic / threaded / horizontal-split · Log in · Help
March 07, 2008
DMD 1.028 and 2.012 releases
http://www.digitalmars.com/d/1.0/changelog.html
http://ftp.digitalmars.com/dmd.1.028.zip

http://www.digitalmars.com/d/2.0/changelog.html
http://ftp.digitalmars.com/dmd.2.012.zip

Yes, you read that right, struct destructors but no struct constructors yet.
March 07, 2008
Re: DMD 1.028 and 2.012 releases
Reply to Walter,

> http://www.digitalmars.com/d/1.0/changelog.html
> http://ftp.digitalmars.com/dmd.1.028.zip
> http://www.digitalmars.com/d/2.0/changelog.html
> http://ftp.digitalmars.com/dmd.2.012.zip
> Yes, you read that right, struct destructors but no struct
> constructors yet.
> 

opImplicitCast (Yummy!! :)
March 07, 2008
Re: DMD 1.028 and 2.012 releases
BCS wrote:
> opImplicitCast (Yummy!! :)

That isn't implemented yet, either :(
March 07, 2008
Re: DMD 1.028 and 2.012 releases
> BCS wrote:
>> opImplicitCast (Yummy!! :)
>
> That isn't implemented yet, either :(

lol
Thanks anyways!
March 07, 2008
Re: DMD 1.028 and 2.012 releases
Reply to Walter,

> BCS wrote:
> 
>> opImplicitCast (Yummy!! :)
>> 
> That isn't implemented yet, either :(
> 

Well Dr. Pavlov, what do you expect me to do when you ring the bell? <g>
March 07, 2008
Re: DMD 1.028 and 2.012 releases
Walter Bright wrote:
> 
> 
> http://www.digitalmars.com/d/1.0/changelog.html
> http://ftp.digitalmars.com/dmd.1.028.zip
> 
> http://www.digitalmars.com/d/2.0/changelog.html
> http://ftp.digitalmars.com/dmd.2.012.zip
> 
> Yes, you read that right, struct destructors but no struct constructors 
> yet.

*is flooded with happiness*

Thank you; this release is awesome!
March 07, 2008
Re: DMD 1.028 and 2.012 releases
On Thu, 06 Mar 2008 21:35:42 -0800, Walter Bright wrote:

> http://ftp.digitalmars.com/dmd.2.012.zip

OMG! Thanks for all your efforts. This pace is outstanding. I don't even
mind regression testing again this weekend ;-)

-- 
Derek
(skype: derek.j.parnell)
Melbourne, Australia
7/03/2008 6:29:29 PM
March 07, 2008
Re: DMD 1.028 and 2.012 releases
Walter Bright Wrote:

> 
> 
> http://www.digitalmars.com/d/1.0/changelog.html
> http://ftp.digitalmars.com/dmd.1.028.zip
> 
> http://www.digitalmars.com/d/2.0/changelog.html
> http://ftp.digitalmars.com/dmd.2.012.zip
> 
> Yes, you read that right, struct destructors but no struct constructors yet.


Hello,

i can't compile programs with writef under Linux.

import std.stdio;
void main() {
   writef("Hello World\n");
}

dmd hello.d
hello.o: In function `_D3std6format80__T14formattedWriteTS3std5stdio25__T17PrivateFileWriterTaZ17PrivateFileWriterTaZ14formattedWriteFKS3std5stdio25__T17PrivateFileWriterTaZ17PrivateFileWriterAxaZv':
hello.d:(.text._D3std6format80__T14formattedWriteTS3std5stdio25__T17PrivateFileWriterTaZ17PrivateFileWriterTaZ14formattedWriteFKS3std5stdio25__T17PrivateFileWriterTaZ17PrivateFileWriterAxaZv+0xa6): undefined reference to `_D3std6format10FormatInfo6flDashMFbZv'
hello.d:(.text._D3std6format80__T14formattedWriteTS3std5stdio25__T17PrivateFileWriterTaZ17PrivateFileWriterTaZ14formattedWriteFKS3std5stdio25__T17PrivateFileWriterTaZ17PrivateFileWriterAxaZv+0xfe): undefined reference to `_D3std6format10FormatInfo6flDashMFbZv'
hello.o: In function `_D3std6format25__T15parseFormatSpecTAxaZ15parseFormatSpecFKAxaZS3std6format10FormatInfo':
hello.d:(.text._D3std6format25__T15parseFormatSpecTAxaZ15parseFormatSpecFKAxaZS3std6format10FormatInfo+0x73): undefined reference to `_D3std6format10FormatInfo6flDashMFbZv'
hello.d:(.text._D3std6format25__T15parseFormatSpecTAxaZ15parseFormatSpecFKAxaZS3std6format10FormatInfo+0x82): undefined reference to `_D3std6format10FormatInfo6flPlusMFbZv'
hello.d:(.text._D3std6format25__T15parseFormatSpecTAxaZ15parseFormatSpecFKAxaZS3std6format10FormatInfo+0x91): undefined reference to `_D3std6format10FormatInfo6flHashMFbZv'
hello.d:(.text._D3std6format25__T15parseFormatSpecTAxaZ15parseFormatSpecFKAxaZS3std6format10FormatInfo+0xa0): undefined reference to `_D3std6format10FormatInfo6flZeroMFbZv'
hello.d:(.text._D3std6format25__T15parseFormatSpecTAxaZ15parseFormatSpecFKAxaZS3std6format10FormatInfo+0xaf): undefined reference to `_D3std6format10FormatInfo7flSpaceMFbZv'
collect2: ld gab 1 als Ende-Status zurück
--- errorlevel 1

Switch i back to 2.0.10, all compiles fine.
March 07, 2008
Re: DMD 1.028 and 2.012 releases
Great release! Now that's really a bunch of rough corners less when comparing to 
2.007/8. The const system should now be fully usable, which is really nice. 
(I'll keep my mouth shut about tail-const class references ;)

And indeed a few 'o == null' errors were just catched by the compiler :). 
Considering that most of this happened in parts of the project which were 
written by a 'D newbie' coming from a C++ background, an error message like 
"Cannot compare contents of 'null'. Use 'is' instead of '==' when comparing for 
identity." might be a good instrument to educate such users.

I'm getting some linker errors, too - but that will have to wait until tonight.
March 07, 2008
Re: DMD 1.028 and 2.012 releases
nobody wrote:
> i can't compile programs with writef under Linux.
> 
> import std.stdio;
> void main() {
>     writef("Hello World\n");
>  }
> 
> dmd hello.d
> hello.o: In function `_D3std6format80__T14formattedWriteTS3std5stdio25__T17PrivateFileWriterTaZ17PrivateFileWriterTaZ14formattedWriteFKS3std5stdio25__T17PrivateFileWriterTaZ17PrivateFileWriterAxaZv':
> hello.d:(.text._D3std6format80__T14formattedWriteTS3std5stdio25__T17PrivateFileWriterTaZ17PrivateFileWriterTaZ14formattedWriteFKS3std5stdio25__T17PrivateFileWriterTaZ17PrivateFileWriterAxaZv+0xa6): undefined reference to `_D3std6format10FormatInfo6flDashMFbZv'
> hello.d:(.text._D3std6format80__T14formattedWriteTS3std5stdio25__T17PrivateFileWriterTaZ17PrivateFileWriterTaZ14formattedWriteFKS3std5stdio25__T17PrivateFileWriterTaZ17PrivateFileWriterAxaZv+0xfe): undefined reference to `_D3std6format10FormatInfo6flDashMFbZv'
> hello.o: In function `_D3std6format25__T15parseFormatSpecTAxaZ15parseFormatSpecFKAxaZS3std6format10FormatInfo':
> hello.d:(.text._D3std6format25__T15parseFormatSpecTAxaZ15parseFormatSpecFKAxaZS3std6format10FormatInfo+0x73): undefined reference to `_D3std6format10FormatInfo6flDashMFbZv'
> hello.d:(.text._D3std6format25__T15parseFormatSpecTAxaZ15parseFormatSpecFKAxaZS3std6format10FormatInfo+0x82): undefined reference to `_D3std6format10FormatInfo6flPlusMFbZv'
> hello.d:(.text._D3std6format25__T15parseFormatSpecTAxaZ15parseFormatSpecFKAxaZS3std6format10FormatInfo+0x91): undefined reference to `_D3std6format10FormatInfo6flHashMFbZv'
> hello.d:(.text._D3std6format25__T15parseFormatSpecTAxaZ15parseFormatSpecFKAxaZS3std6format10FormatInfo+0xa0): undefined reference to `_D3std6format10FormatInfo6flZeroMFbZv'
> hello.d:(.text._D3std6format25__T15parseFormatSpecTAxaZ15parseFormatSpecFKAxaZS3std6format10FormatInfo+0xaf): undefined reference to `_D3std6format10FormatInfo7flSpaceMFbZv'
> collect2: ld gab 1 als Ende-Status zurück
> --- errorlevel 1
> 
> Switch i back to 2.0.10, all compiles fine.

It works when I try it. I suspect a libphobos2.a mismatch problem on 
your system. Try blowing away every libphobos2.a on your system and 
reinstall.
« First   ‹ Prev
1 2 3
Top | Discussion index | About this forum | D home