[PATCH 1/2] include/wine: suppress subsequent FIXMEs into WARNINGs
Alexandre Julliard
julliard at winehq.org
Mon Oct 25 16:29:13 CDT 2021
David Kahurani <k.kahurani at gmail.com> writes:
> @@ -134,6 +152,16 @@ struct __wine_debug_channel
>
> #else /* !__GNUC__ && !__SUNPRO_C */
>
> +#define __WINE_DPRINTF_ONCE(dbcl,dbc2,dbch) \
> + do { \
> + static BOOL __wine_next_time_level;\
> + const enum __wine_debug_class __dbcl = \
> + __wine_next_time_level ? __WINE_DBCL##dbc2 : __WINE_DBCL##dbc1;\
> + (!__WINE_GET_DEBUGGING(dbcl,(dbch)) || \
> + (wine_dbg_log(__dbcl,(dbch),__FILE__,"%d: ",__LINE__) == -1)) ? \
> + (void)0 : (void)wine_dbg_printf \
> + __wine_next_time_level = TRUE; } while (0)
This cannot possibly work.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list