[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Solaris 9: Progress and new issue for pspp 0.4.0rc3
From: |
John Darrington |
Subject: |
Re: Solaris 9: Progress and new issue for pspp 0.4.0rc3 |
Date: |
Sat, 23 Jul 2005 21:48:13 +0800 |
User-agent: |
Mutt/1.5.9i |
On Sat, Jul 23, 2005 at 08:44:52AM -0400, Marshall DeBerry wrote:
This may be a bit long with C #defines, but hopefully helpful. I'm using
gcc 3.4.2 for Solaris 9.
This box is a Sun V240, with a SPARC V9 (UltraSPARC IIIi)chip, which is a
64
bit chip. Now, under Solaris, here are some things when looking at the
various <include> files:
Second, where does longlong_t get typed in <sys/types.h>:
/*
* The following protects users who use other than Sun compilers
* (eg, GNU C) that don't support long long, and need to include
* this header file.
*/
#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)
typedef long long longlong_t;
typedef unsigned long long u_longlong_t;
#else
/* used to reserve space and generate alignment */
typedef union {
double _d;
int32_t _l[2];
} longlong_t;
typedef union {
double _d;
uint32_t _l[2];
} u_longlong_t;
#endif /* __STDC__ - 0 == 0 && !defined(_NO_LONGLONG) */
So it looks like _NO_LONGLONG is getting defined somewhere, when it shouldn't
be.
Try #undefing it and see what happens.
signature.asc
Description: Digital signature