pspp-dev
[Top][All Lists]
Advanced

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

Re: PSPP is not 64 bit clean


From: John Darrington
Subject: Re: PSPP is not 64 bit clean
Date: Fri, 9 Sep 2005 15:10:09 +0800
User-agent: Mutt/1.5.9i

On Thu, Sep 08, 2005 at 10:16:58PM -0700, Ben Pfaff wrote:
     John Darrington <address@hidden> writes:
     
     > The good news is I've recently got my hands on a x86_64 box.  
     >
     > The bad news is that PSPP fails 40 out of 93 tests :(
     
     It's probably not hard to fix.  Have you tried?

I'm working on it.  One of the problems is inappropriate use of size_t ---
more specifically, assuming that sizeof(size_t) == sizeof(int).

IMHO size_t should only  be used for things compatible with the sizeof() 
operator.  Not for measuring the number of items in an array, which much
of the PSPP code has done.

J'



-- 
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://pgp.mit.edu or any PGP keyserver for public key.


Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]