Re: CVS compile on AIX 4.3.2

From: Stephan Szabo <sszabo(at)megazone(dot)bigpanda(dot)com>
To: Sean Chittenden <sean(at)chittenden(dot)org>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Samuel A Horwitz <horwitz(at)argoscomp(dot)com>, <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: CVS compile on AIX 4.3.2
Date: 2003-07-15 18:02:31
Message-ID: 20030715105721.F97691-100000@megazone.bigpanda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, 15 Jul 2003, Sean Chittenden wrote:

> > > I am getting the following error
> > > ../../../../src/include/libpq/pqcomm.h:60: `int64_t' undeclared here (not
> > > in a function)
> >
> > There's a patch floating around the list to remove use of int64_t, which
> > is evidently not too portable. I'll try to get it applied soon.
>
> int64_t is a C99 data type that hasn't existed prior to recent
> versions of gcc, but is quite valid/correct. I'd think that int64_t

It's also not guaranteed to exist on any given machine if there isn't a
native exactly 64 bit integer type. I'd think that if you're going to use
one of the C99 integer types, int_least64_t or int_fast64_t would be a
better choice unless you really must guarantee 64 bits since those appear
to be required.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jenny - 2003-07-15 18:20:09 locking mechanism
Previous Message Tom Lane 2003-07-15 17:59:34 Re: CVS compile on AIX 4.3.2