fixing INT64_FORMAT warnings on Mingw - Mailing list pgsql-hackers

From Andrew Dunstan
Subject fixing INT64_FORMAT warnings on Mingw
Date
Msg-id 4DB79524.6050403@dunslane.net
Whole thread Raw
Responses Re: fixing INT64_FORMAT warnings on Mingw  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
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 compiler happy I proposed to rearrange that so that "%I64d" is 
preferred if it's found to work.

Thoughts?

cheers

andrew


pgsql-hackers by date:

Previous
From: Dmitry Fefelov
Date:
Subject: Fail to search in array, produced by subquery - is it a bug?
Next
From: Andrew Dunstan
Date:
Subject: unknown conversion %m