[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Compiler error on IRIX 6.5
From: |
Shigio Yamaguchi |
Subject: |
Re: Compiler error on IRIX 6.5 |
Date: |
Mon, 19 Mar 2001 20:44:30 +0900 |
Thank you for your report.
> I downloaded global-4.0.1 and received a compile error with IRIX 6.5 and
> gcc.
> libdb/db.h contains a definition for 'typedef u_int32_t pgno_t',
> but /usr/include/sys/types.h has a definition:
> 'typedef long pgno_t'
> This confuses the compiler. I put the definition in db.h in comments,
> and then it compiled flawlessly.
I'm willing to rewrite db.h like this.
[libdb/db.h]
typedef u_int32_t pgno_t;
...
typedef u_int16_t indx_t;
...
typedef u_int32_t recno_t;
|
v
#define pgno_t u_int32_t
...
#define indx_t u_int16_t
...
#define recno_t u_int32_t
Any comments?
--
Shigio Yamaguchi - Tama Communications Corporation
Mail: address@hidden, (Spare mail: address@hidden)