Re: OSF build broken - Mailing list pgsql-hackers

From Tom Lane
Subject Re: OSF build broken
Date
Msg-id 13326.1057556781@sss.pgh.pa.us
Whole thread Raw
In response to Re: OSF build broken  (Philip Yarra <philip@utiba.com>)
Responses Re: OSF build broken  (Kurt Roeckx <Q@ping.be>)
List pgsql-hackers
Philip Yarra <philip@utiba.com> writes:
> And on RedHat 7.3 it's in stdint.h - they must move it around to keep the 
> snipers guessing.

Sometimes it seems that way :-(

> What's the best (most portable) way to fix this?

My vote is to rip out every last reference to int64_t and other
system-header-dependent datatypes.  These were added in the recent
IPv6 changes, and I thought at the time that they'd not stand the
test of portability, but I kept quiet for lack of evidence.  Now
there is some.  I recommend sending in a patch that replaces int64_t
with int64, and likewise for anything you don't see defined or used
in src/include/c.h.  The stuff in c.h has been through the wars
already, the IPv6 code has not.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Philip Yarra
Date:
Subject: Re: OSF build broken
Next
From: Tom Lane
Date:
Subject: Re: regressions tests on freebsd/alpha: failure