March 07, 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.
March 07, 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
+0xd7):对‘_D3std6format10FormatInfo6flDashMFbZv’

...


== Quote from Sönke_Ludwig (ludwig@informatik_dot_uni-luebeck.de)'s article
> 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.

March 07, 2008
Sönke Ludwig wrote:
> 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.

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,
Brad
March 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.
March 07, 2008
Walter Bright wrote:
> 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.

... 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,
Brad
March 07, 2008
Brad Roberts Wrote:

> Walter Bright wrote:
> > 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.
> 
> ... 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,
> Brad

Thank you.  It worked
March 07, 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?
March 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!
March 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.
March 07, 2008
Don Clugston wrote:
> 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.

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.