John Darrington <[EMAIL PROTECTED]> writes:

> On Thu, Sep 08, 2005 at 10:16:58PM -0700, Ben Pfaff wrote:
>      John Darrington <[EMAIL PROTECTED]> 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.

You'll have to give an example.  size_t should be fine for
counting items in an array.
-- 
"In the PARTIES partition there is a small section called the BEER.
 Prior to turning control over to the PARTIES partition,
 the BIOS must measure the BEER area into PCR[5]."
--TCPA PC Specific Implementation Specification


_______________________________________________
pspp-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/pspp-dev

Reply via email to