[winebuild01] Add format printf attributes

Dimitrie O. Paun dpaun at rogers.com
Thu Sep 18 07:51:14 CDT 2003


On September 18, 2003 07:37 am, Richard Cohen wrote:
> +extern void fatal_error( const char *msg, ... )
> +   __attribute__ ((__format__ (__printf__, 1, 2)));
> +extern void fatal_perror( const char *msg, ... )
> +   __attribute__ ((__format__ (__printf__, 1, 2)));
> +extern void error( const char *msg, ... )
> +   __attribute__ ((__format__ (__printf__, 1, 2)));
> +extern void warning( const char *msg, ... )
> +   __attribute__ ((__format__ (__printf__, 1, 2)));

These are too GCC specific use something like __WINE_PRINTF_ATTR
from wine/debug.h

-- 
Dimi.




More information about the wine-devel mailing list