include/wine/debug.h: ... and uses of '_ONCE' variants.

Max TenEyck Woodbury max at mtew.isa-geek.net
Wed Jul 21 20:35:46 CDT 2010


Please discard this series of patches. They will not work with
compilers that do not support macros with variable numbers of arguments.

While most modern compilers do provide variadic macros, some older
compilers do not. To do this right a non-intuitive syntax would be
required. (i.e. 'FIXME_ONCE((...));'.)

Also, the current implementation is imperfect. There should be a test
in 'configure' for the various kinds of variadic macro support and the
conditionals should be based on what configure finds, not on the use of
any particular compiler.

-Max



More information about the wine-devel mailing list