Use a macro variable PG_PRINTF_ATTRIBUTE for the style used for checking printf type functions.
The style is set to "printf" for backwards compatibility everywhere except
on Windows, where it is set to "gnu_printf", which eliminates hundreds of
false error messages from modern versions of gcc arising from %m and %ll{d,u}
formats.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/c02d5b7c27d740830379244db4b9ef111bbf0fc8
Modified Files
--------------
src/backend/utils/adt/format_type.c | 2 +-
src/bin/pg_ctl/pg_ctl.c | 2 +-
src/bin/pg_dump/pg_backup.h | 4 ++--
src/bin/pg_dump/pg_backup_archiver.h | 10 +++++-----
src/bin/psql/common.h | 2 +-
src/bin/psql/large_obj.c | 2 +-
src/include/c.h | 2 +-
src/include/lib/stringinfo.h | 2 +-
src/include/pg_config_manual.h | 15 +++++++++++++++
src/include/port.h | 8 ++++----
src/include/utils/elog.h | 26 +++++++++++++-------------
src/interfaces/ecpg/preproc/extern.h | 2 +-
src/interfaces/libpq/libpq-int.h | 2 +-
src/interfaces/libpq/pqexpbuffer.h | 4 ++--
src/pl/plpython/plpython.c | 8 ++++----
src/test/regress/pg_regress.c | 6 +++---
16 files changed, 56 insertions(+), 41 deletions(-)