From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: Michael Paquier <michael.paquier@gmail.com>
Cc: pgsql-hackers@postgreSQL.org
Subject: Re: [COMMITTERS] pgsql: Centralize definition of integer limits.
Date: Mon, 30 Mar 2015 15:38:16 -0400
Message-ID: <10996.1427744296@sss.pgh.pa.us> (raw)
In-Reply-To: <CAB7nPqRRLOX_e13L1VagWJJNLHY3uzEo4wdNbQTvRQHZ7rbSKQ@mail.gmail.com>
References: <E1YatAv-0007cu-KW@gemulon.postgresql.org>
<CAB7nPqRqce4hd7UXRw08TGaDsDz04DbecNiU3c0O_7S4YrAdaQ@mail.gmail.com>
<20150330104825.GE4878@alap3.anarazel.de>
<CAB7nPqRRLOX_e13L1VagWJJNLHY3uzEo4wdNbQTvRQHZ7rbSKQ@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>
Michael Paquier <michael.paquier@gmail.com> writes:
> On Mon, Mar 30, 2015 at 7:48 PM, Andres Freund <andres@anarazel.de> wrote:
>> On 2015-03-30 14:01:25 +0900, Michael Paquier wrote:
>>> My OSX dev box is generating a couple of warnings since this commit:
>>> pg_dump.c:14548:45: warning: format specifies type 'long' but the
>>> argument has type 'long long' [-Wformat]
FWIW, I'm seeing the same thing on my OSX laptop. I think the explanation
is simple: both "long" and "long long" are 64 bits on this machine.
Our configure chooses the former to be "int64", but stdint.h is using
the latter. I'm not sure there's any good way to know what stdint.h
thinks is int64, but we can't do a half-baked integration job like this.
Either we revert 83ff1618b altogether, or we make int64/uint64 depend
on definitions from stdint.h rather than being chosen independently by
configure.
regards, tom lane
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: tgl@sss.pgh.pa.us, andres@anarazel.de, michael.paquier@gmail.com, pgsql-hackers@postgreSQL.org
Subject: Re: [COMMITTERS] pgsql: Centralize definition of integer limits.
In-Reply-To: <10996.1427744296@sss.pgh.pa.us>
References: <E1YatAv-0007cu-KW@gemulon.postgresql.org> <CAB7nPqRqce4hd7UXRw08TGaDsDz04DbecNiU3c0O_7S4YrAdaQ@mail.gmail.com> <20150330104825.GE4878@alap3.anarazel.de> <CAB7nPqRRLOX_e13L1VagWJJNLHY3uzEo4wdNbQTvRQHZ7rbSKQ@mail.gmail.com> <10996.1427744296@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox