pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/41170: pkgsrc/x11/xplanet build fails on solaris (patch included)



The following reply was made to PR pkg/41170; it has been noted by GNATS.

From: Joerg Sonnenberger <joerg%britannica.bec.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/41170: pkgsrc/x11/xplanet build fails on solaris (patch
        included)
Date: Wed, 8 Apr 2009 14:44:16 +0200

 On Wed, Apr 08, 2009 at 12:35:02PM +0000, Tim Zingelman wrote:
 >  I figured I should put in the complete solution in case someone copies
 >  this fix into some other place.  (I didn't write that, it is from the
 >  c99 math header file.)
 
 The c99 math headers assume IEEE 754 double format. This is not true for
 example on the VAX.
 
 >  I read a report that a fix using < 0 resulted in wrong operation of
 >  xplanet... perhaps it needs to be < 0.0 ?  It's been too many years
 >  since I thought about implicit type conversions in c++.
 
 Might be that explicit 0.0 is better to avoid an implicit cast, but I
 can't think of a situation where it matters.
 
 Joerg
 


Home | Main Index | Thread Index | Old Index