Use a macro variable PG_PRINTF_ATTRIBUTE for the style used for checking printf type functions.

Andrew Dunstan <andrew@dunslane.net>

Commit: c02d5b7c27d740830379244db4b9ef111bbf0fc8
Author: Andrew Dunstan <andrew@dunslane.net>
Date: 2011-04-28T14:56:14Z
Releases: 9.1.0
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.

Files