[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Mac 10.4 compile with gcc 4.0: flip.c error--update
From: |
John Darrington |
Subject: |
Re: Mac 10.4 compile with gcc 4.0: flip.c error--update |
Date: |
Mon, 2 May 2005 08:27:40 +0800 |
User-agent: |
Mutt/1.3.28i |
On Sat, Apr 30, 2005 at 07:32:30PM -0400, Marshall DeBerry wrote:
Checking on some things led to the following info:
The config.log does generates a #define HAVE_OFF_T 1 statement.
Checking in <sys/types.h> shows the following:
#ifndef _OFF_T
typedef __darwin_off_t off_t;
#define _OFF_T
Further checking in <sys/_types.h> finds that
__darwin_off_t is defined as:
typedef __int64_t __darwin_off_t;
So, it looks like off_t is there; but flip.c has the fragment
#ifndef HAVE_OFF_T
#define off_t long int
#endif
But as HAVE_OFF_T is defined, this preprocessor branch will be
skipped.
I've inserted a #include <sys/types.h> at the top of flip.c for
the moment.
I think this is the correct solution. I'll add it to the code.
And failure on match-files.sh
./../tests/command/match-files.sh: line 169: 11971 Abort
trap $SUPERVISOR $here/../src/pspp -o raw-ascii
$name.pspp >/dev/null 2>&1
run ff-ss.pspp
NO RESULT
FAIL: command/match-files.sh
Ben's still working on MATCH FILES so perhaps this problem will get
fixed soon.
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.
pgpdjj_xpo4KK.pgp
Description: PGP signature