• Alex Henrie's avatar
    include: Provide a definition of NOP_FUNCTION that works on GCC. · 3ad4def4
    Alex Henrie authored
    NOP_FUNCTION is a drop-in function replacement that ignores its
    arguments but also suppresses compiler warnings about them being unused.
    For example, on MSVC, 0(foo, bar, baz()); or __noop(foo, bar, baz());
    would suppress warnings about foo and bar being unused and not call baz
    at all. Neither of those syntaxes is supported on GCC, which provides no
    similar way to suppress unused variable warnings, but we can at least
    allow such code to compile by defining NOP_FUNCTION to be an empty
    variadic macro.
    Signed-off-by: 's avatarAlex Henrie <alexhenrie24@gmail.com>
    Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
    3ad4def4
Name
Last commit
Last update
dlls Loading commit data...
documentation Loading commit data...
fonts Loading commit data...
include Loading commit data...
libs Loading commit data...
loader Loading commit data...
nls Loading commit data...
po Loading commit data...
programs Loading commit data...
server Loading commit data...
tools Loading commit data...
.editorconfig Loading commit data...
.mailmap Loading commit data...
ANNOUNCE Loading commit data...
AUTHORS Loading commit data...
COPYING.LIB Loading commit data...
LICENSE Loading commit data...
LICENSE.OLD Loading commit data...
MAINTAINERS Loading commit data...
Makefile.in Loading commit data...
README Loading commit data...
VERSION Loading commit data...
aclocal.m4 Loading commit data...
configure Loading commit data...
configure.ac Loading commit data...