pgsql: Force use of "%I64d" format for 64 bit ints on MinGW.

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема pgsql: Force use of "%I64d" format for 64 bit ints on MinGW.
Дата
Msg-id E1QF5VU-0003bL-2m@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Force use of "%I64d" format for 64 bit ints on MinGW.

Both this and "%lld" work, but the compiler's format checking doesn't
like "%lld", so we get all sorts of spurious warnings.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/52d01c2f52c462d29ae0fdfa44c3cae129148a6d

Modified Files
--------------
src/include/port/win32.h |   13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: pgsql: Use an explicit format string to keep the compiler happy.
Следующее
От: Andrew Dunstan
Дата:
Сообщение: pgsql: Remove hard coded formats for INT64 and use configured settings