Re: [HACKERS] fixing INT64_FORMAT warnings on Mingw

2011-04-27 Thread Peter Eisentraut
On Wed, 2011-04-27 at 00:01 -0400, Andrew Dunstan wrote: Both %lld and %I64d can be used with mingw to print 64 bit integers. However, modern versions of gcc spit warnings with the former, and not the latter. However, since %lld works, it is chosen by our config setup since it comes first

Re: [HACKERS] fixing INT64_FORMAT warnings on Mingw

2011-04-27 Thread Andrew Dunstan
On 04/27/2011 09:00 AM, Peter Eisentraut wrote: On Wed, 2011-04-27 at 00:01 -0400, Andrew Dunstan wrote: Both %lld and %I64d can be used with mingw to print 64 bit integers. However, modern versions of gcc spit warnings with the former, and not the latter. However, since %lld works, it is

[HACKERS] fixing INT64_FORMAT warnings on Mingw

2011-04-26 Thread Andrew Dunstan
Both %lld and %I64d can be used with mingw to print 64 bit integers. However, modern versions of gcc spit warnings with the former, and not the latter. However, since %lld works, it is chosen by our config setup since it comes first in the list of formats tried. Therefore, to keep the