Kai Tietz wrote:

> Your test-program is invalid.  You should use here at:
> 
> #if __GNUC__
> static inline void
> exit_if_true (int test, const char *format, ...)
>        __attribute__ ((format (gnu_printf, 2, 3))) ;
> #endif
> 
> instead.  The issue is that format(printf)  remains for mingw-targets
> the MS printf-formatting check.  But actually you want to check for
> the gnu-one.

Thanks Kai, that fixed it.

Cheers,
Erik
-- 
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to