digitalmars.D.announce - DMD 1.028 and 2.012 releases
- Walter Bright (5/5) Mar 06 2008 http://www.digitalmars.com/d/1.0/changelog.html
- BCS (2/9) Mar 06 2008 opImplicitCast (Yummy!! :)
- Walter Bright (2/3) Mar 06 2008 That isn't implemented yet, either :(
- Robert Fraser (3/13) Mar 06 2008 *is flooded with happiness*
- Derek Parnell (8/9) Mar 06 2008 OMG! Thanks for all your efforts. This pace is outstanding. I don't even
- nobody (20/29) Mar 06 2008 Hello,
- Walter Bright (4/25) Mar 06 2008 It works when I try it. I suspect a libphobos2.a mismatch problem on
- =?ISO-8859-1?Q?S=F6nke_Ludwig?= (3/7) Mar 06 2008 I'm getting similar errors (on 32-bit linux, too - haven't tested on win...
- somebody (7/14) Mar 07 2008 I got similar link errors too. Maybe libphobos2.a shipped in 2.012 zip ...
- Walter Bright (3/4) Mar 07 2008 Gak! You're right. I just uploaded a replacement.
- Brad Roberts (14/21) Mar 07 2008 ... twice. The correct version is up and I've verified that it fixes
- nobody (2/27) Mar 07 2008 Thank you. It worked
- Brad Roberts (6/15) Mar 07 2008 I'm seeing this as well, with the released library. My own build works
- =?ISO-8859-1?Q?S=F6nke_Ludwig?= (9/9) Mar 06 2008 Great release! Now that's really a bunch of rough corners less when comp...
- Frank Benoit (4/4) Mar 07 2008 I use dmd 1.028 on linux.
- Max Samukha (2/12) Mar 07 2008 Thanks for the bug fixes!
- Don Clugston (11/21) Mar 07 2008 Missing from the D2 changelog:
- Don Clugston (9/34) Mar 07 2008 Oops, forgot a few other ones:
- jcc7 (10/25) Mar 07 2008 I agree that backwards-compatible improvements to D and Phobos should be...
- Bill Baxter (7/37) Mar 07 2008 Yes, things like not fixing bug 493[1] in D1 have made porting to D1 too...
- Don Clugston (3/25) Mar 07 2008 I intend to move most of these changes into Phobos1, since they are almo...
- Walter Bright (2/4) Mar 07 2008 I agree.
- Chris Miller (4/4) Mar 07 2008 1.028's std.thread sports a private definition of WAIT_TIMEOUT, so now i...
- Robert Fraser (4/8) Mar 07 2008 Yup, that's been a bug for a while (private members being imported). I'm...
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.
Mar 06 2008
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!! :)
Mar 06 2008
BCS wrote:opImplicitCast (Yummy!! :)That isn't implemented yet, either :(
Mar 06 2008
BCS wrote:lol Thanks anyways!opImplicitCast (Yummy!! :)That isn't implemented yet, either :(
Mar 06 2008
Reply to Walter,BCS wrote:Well Dr. Pavlov, what do you expect me to do when you ring the bell? <g>opImplicitCast (Yummy!! :)That isn't implemented yet, either :(
Mar 06 2008
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!
Mar 06 2008
On Thu, 06 Mar 2008 21:35:42 -0800, Walter Bright wrote:http://ftp.digitalmars.com/dmd.2.012.zipOMG! 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
Mar 06 2008
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__T17PrivateFileWriterTaZ17PrivateFi eWriterAxaZv+0xa6): undefined reference to `_D3std6format10FormatInfo6flDashMFbZv' hello.d:(.text._D3std6format80__T14formattedWriteTS3std5stdio25__T17PrivateFileWriterTaZ17PrivateFileWriterTaZ14formattedWriteFKS3std5stdio25__T17PrivateFileWriterTaZ17PrivateFi eWriterAxaZv+0xfe): undefined reference to `_D3std6format10FormatInfo6flDashMFbZv' hello.o: In function `_D3std6format25__T15parseFormatSpecTAxaZ15parseFormatSpecFKAxaZS3std6format10FormatInfo': hello.d:(.text._D3std6format25__T15parseFormatSpecTAxaZ15parseFormatSpecFKAxaZS3std6forma 10FormatInfo+0x73): undefined reference to `_D3std6format10FormatInfo6flDashMFbZv' hello.d:(.text._D3std6format25__T15parseFormatSpecTAxaZ15parseFormatSpecFKAxaZS3std6forma 10FormatInfo+0x82): undefined reference to `_D3std6format10FormatInfo6flPlusMFbZv' hello.d:(.text._D3std6format25__T15parseFormatSpecTAxaZ15parseFormatSpecFKAxaZS3std6forma 10FormatInfo+0x91): undefined reference to `_D3std6format10FormatInfo6flHashMFbZv' hello.d:(.text._D3std6format25__T15parseFormatSpecTAxaZ15parseFormatSpecFKAxaZS3std6forma 10FormatInfo+0xa0): undefined reference to `_D3std6format10FormatInfo6flZeroMFbZv' hello.d:(.text._D3std6format25__T15parseFormatSpecTAxaZ15parseFormatSpecFKAxaZS3std6forma 10FormatInfo+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.
Mar 06 2008
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__T17PrivateFileWriterTaZ17PrivateFi eWriterAxaZv+0xa6): undefined reference to `_D3std6format10FormatInfo6flDashMFbZv' hello.d:(.text._D3std6format80__T14formattedWriteTS3std5stdio25__T17PrivateFileWriterTaZ17PrivateFileWriterTaZ14formattedWriteFKS3std5stdio25__T17PrivateFileWriterTaZ17PrivateFi eWriterAxaZv+0xfe): undefined reference to `_D3std6format10FormatInfo6flDashMFbZv' hello.o: In function `_D3std6format25__T15parseFormatSpecTAxaZ15parseFormatSpecFKAxaZS3std6format10FormatInfo': hello.d:(.text._D3std6format25__T15parseFormatSpecTAxaZ15parseFormatSpecFKAxaZS3std6forma 10FormatInfo+0x73): undefined reference to `_D3std6format10FormatInfo6flDashMFbZv' hello.d:(.text._D3std6format25__T15parseFormatSpecTAxaZ15parseFormatSpecFKAxaZS3std6forma 10FormatInfo+0x82): undefined reference to `_D3std6format10FormatInfo6flPlusMFbZv' hello.d:(.text._D3std6format25__T15parseFormatSpecTAxaZ15parseFormatSpecFKAxaZS3std6forma 10FormatInfo+0x91): undefined reference to `_D3std6format10FormatInfo6flHashMFbZv' hello.d:(.text._D3std6format25__T15parseFormatSpecTAxaZ15parseFormatSpecFKAxaZS3std6forma 10FormatInfo+0xa0): undefined reference to `_D3std6format10FormatInfo6flZeroMFbZv' hello.d:(.text._D3std6format25__T15parseFormatSpecTAxaZ15parseFormatSpecFKAxaZS3std6forma 10FormatInfo+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.
Mar 06 2008
Walter Bright schrieb: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.I'm getting similar errors (on 32-bit linux, too - haven't tested on windows). There are no other libphobos2.a's other than the one from the 2.012 zip.
Mar 06 2008
I got similar link errors too. Maybe libphobos2.a shipped in 2.012 zip is wrong? In function `_D3std6format84__T14formattedWriteTS3std5stdio25__T17PrivateFileWriterTaZ17PrivateFileWriterTaTkTaZ14formattedWriteFKS3std5stdio25__T17PrivateFileWriterTaZ17PrivateFileWriterAxakaZv': inner.d:(.text._D3std6format84__T14formattedWriteTS3std5stdio25__T17PrivateFileWriterTaZ17PrivateFileWriterTaTkTaZ14formattedWriteFKS3std5stdio25__T17PrivateFileWriterTaZ17PrivateFileWriterAxakaZv ... == Quote from Sönke_Ludwig (ludwig informatik_dot_uni-luebeck.de)'s articleWalter Bright schrieb: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.I'm getting similar errors (on 32-bit linux, too - haven't tested on windows). There are no other libphobos2.a's other than the one from the 2.012 zip.
Mar 07 2008
somebody wrote:I got similar link errors too. Maybe libphobos2.a shipped in 2.012 zip is wrong?Gak! You're right. I just uploaded a replacement. Meanwhile, the QA staff has been sacked.
Mar 07 2008
Walter Bright wrote:somebody wrote:... twice. The correct version is up and I've verified that it fixes the problem I could reproduce. I've closed the bug. The relevant info bears repeating since the filename was left the same for the corrected .zip file. To check to make sure you have the right one, here's the relevant info for the fixed files: libphobos.a size: 1669414 md5sum: e90f6bfb31ce9a678a8acbfb206cd1bf dmd.2.012.zip size: 5336394 md5sum: 6e0aae81028e24e6ecc866f1b1f439bd Later, BradI got similar link errors too. Maybe libphobos2.a shipped in 2.012 zip is wrong?Gak! You're right. I just uploaded a replacement. Meanwhile, the QA staff has been sacked.
Mar 07 2008
Brad Roberts Wrote:Walter Bright wrote:Thank you. It workedsomebody wrote:... twice. The correct version is up and I've verified that it fixes the problem I could reproduce. I've closed the bug. The relevant info bears repeating since the filename was left the same for the corrected .zip file. To check to make sure you have the right one, here's the relevant info for the fixed files: libphobos.a size: 1669414 md5sum: e90f6bfb31ce9a678a8acbfb206cd1bf dmd.2.012.zip size: 5336394 md5sum: 6e0aae81028e24e6ecc866f1b1f439bd Later, BradI got similar link errors too. Maybe libphobos2.a shipped in 2.012 zip is wrong?Gak! You're right. I just uploaded a replacement. Meanwhile, the QA staff has been sacked.
Mar 07 2008
Sönke Ludwig wrote:Walter Bright schrieb:I'm seeing this as well, with the released library. My own build works fine. I've opened a bug report so it can be tracked appropriately. http://d.puremagic.com/issues/show_bug.cgi?id=1895 Later, BradIt 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.I'm getting similar errors (on 32-bit linux, too - haven't tested on windows). There are no other libphobos2.a's other than the one from the 2.012 zip.
Mar 07 2008
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.
Mar 06 2008
I use dmd 1.028 on linux. It seems it does not give any error on null literal comparison, and it still seems to print the linker command. Can somebody confirm that, or did i confused something in my installation?
Mar 07 2008
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.Thanks for the bug fixes!
Mar 07 2008
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.Missing from the D2 changelog: std.math: * Support for different CPU IEEE 'real' formats: 64-bit, 80-bit and 128-bit (quadruple) reals, both BigEndian and LittleEndian; partial support for non-IEEE 'doubledouble' reals. * Added implementation of nextafter (Bugzilla 1722) and scalb for DMD-Windows. * Added nextUp(), nextDown() * Bugzilla 1881: feqrel nonsensical for non-real arguments. BTW all these changes can be applied to DMD 1.0 -- at present, nothing in std.math is specific to D2.0.
Mar 07 2008
Don Clugston wrote:Walter Bright wrote:Oops, forgot a few other ones: Merging improvements to Tango.Math into Phobos: * internal functions isPosZero(), isNegZero() removed in favour of the more generally useful isIdentical(). * asm versions of functions which were not implemented by DMD Windows: scalb, lrint. * added creal expi(real y) which is useful for simultaneous calculation of sin + cos.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.Missing from the D2 changelog: std.math: * Support for different CPU IEEE 'real' formats: 64-bit, 80-bit and 128-bit (quadruple) reals, both BigEndian and LittleEndian; partial support for non-IEEE 'doubledouble' reals. * Added implementation of nextafter (Bugzilla 1722) and scalb for DMD-Windows. * Added nextUp(), nextDown() * Bugzilla 1881: feqrel nonsensical for non-real arguments. BTW all these changes can be applied to DMD 1.0 -- at present, nothing in std.math is specific to D2.0.
Mar 07 2008
== Quote from Don Clugston (dac nospam.com.au)'s articleWalter 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.Missing from the D2 changelog: std.math:BTW all these changes can be applied to DMD 1.0 -- at present, nothing in std.math is specific to D2.0.I agree that backwards-compatible improvements to D and Phobos should be eligible for inclusion into D1 (and Phobos1), but Walter disagrees. This issue is related to the "Who favors the current D1 situation?" thread that Bill Baxter started today: http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D&article_id=67313 By the way, some of these kinds of changes to Phobos are available in std2: http://www.dsource.org/projects/std2 (but apparently std2 development has stopped since the port of DMD 2.008).
Mar 07 2008
jcc7 wrote:== Quote from Don Clugston (dac nospam.com.au)'s articleYes, things like not fixing bug 493[1] in D1 have made porting to D1 too difficult. I think if that bug gets fixed then I could get at least std.algorithms D2.012 working in D1. I spent a few hours yesterday trying to port it (despite my message of abandoning std2 on the web page...) [1] http://d.puremagic.com/issues/show_bug.cgi?id=493 --bbWalter 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.Missing from the D2 changelog: std.math:BTW all these changes can be applied to DMD 1.0 -- at present, nothing in std.math is specific to D2.0.I agree that backwards-compatible improvements to D and Phobos should be eligible for inclusion into D1 (and Phobos1), but Walter disagrees. This issue is related to the "Who favors the current D1 situation?" thread that Bill Baxter started today: http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D&article_id=67313 By the way, some of these kinds of changes to Phobos are available in std2: http://www.dsource.org/projects/std2 (but apparently std2 development has stopped since the port of DMD 2.008).
Mar 07 2008
jcc7 wrote:== Quote from Don Clugston (dac nospam.com.au)'s articleI intend to move most of these changes into Phobos1, since they are almost all bugfixes.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.Missing from the D2 changelog: std.math:BTW all these changes can be applied to DMD 1.0 -- at present, nothing in std.math is specific to D2.0.I agree that backwards-compatible improvements to D and Phobos should be eligible for inclusion into D1 (and Phobos1), but Walter disagrees.
Mar 07 2008
Don Clugston wrote:I intend to move most of these changes into Phobos1, since they are almost all bugfixes.I agree.
Mar 07 2008
1.028's std.thread sports a private definition of WAIT_TIMEOUT, so now it causes conflicts in my libraries. It's one thing if it's actually a feature you're adding, but privately defining for local use causing conflicts?
Mar 07 2008
Chris Miller wrote:1.028's std.thread sports a private definition of WAIT_TIMEOUT, so now it causes conflicts in my libraries. It's one thing if it's actually a feature you're adding, but privately defining for local use causing conflicts?Yup, that's been a bug for a while (private members being imported). I'm not even sure if Walter acknowledges it as a bug, and if not we probably won't see it changed for a while.
Mar 07 2008