fixing INT64_FORMAT warnings on Mingw

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема fixing INT64_FORMAT warnings on Mingw
Дата
Msg-id 4DB79524.6050403@dunslane.net
обсуждение исходный текст
Ответы Re: fixing INT64_FORMAT warnings on Mingw  (Peter Eisentraut <peter_e@gmx.net>)
Список 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 по дате отправления:

Предыдущее
От: Dmitry Fefelov
Дата:
Сообщение: Fail to search in array, produced by subquery - is it a bug?
Следующее
От: Andrew Dunstan
Дата:
Сообщение: unknown conversion %m