On Mon, 13 Jun 2011 23:01:53 +0200
Stefan Weil wrote:
> The declaration of function error_set() should use macro GCC_FMT_ATTR
> instead of gcc's format printf attribute.
>
> For w32/w64, both declarations are different and GCC_FMT_ATTR is needed.
> Compilation for w64 even failed with the origin
The declaration of function error_set() should use macro GCC_FMT_ATTR
instead of gcc's format printf attribute.
For w32/w64, both declarations are different and GCC_FMT_ATTR is needed.
Compilation for w64 even failed with the original code because mingw64
defines a macro for printf.
GCC_FMT_ATTR