• Zebediah Figura's avatar
    widl: Generate "static inline" instead of "static FORCEINLINE" for COM inline wrappers. · e654b631
    Zebediah Figura authored
    mingw-w64 defines __forceinline (and therefore FORCEINLINE) as
    "extern __inline__ __attribute__((__always_inline__,__gnu_inline__)). This means
    that COM inline wrappers specify multiple storage classes and hence cannot be
    compiled.
    
    Wine defines FORCEINLINE simply as "inline" (and uses "static" everywhere), so
    this is a non-issue for Wine. However, since Wine and mingw-w64 share the source
    code of widl and of most IDL headers, this patch changes the definition for both
    projects.
    
    There's no reason to force inlining here, especially since the wrappers need to
    be manually enabled, and we don't need to match PSDK semantics where these
    wrappers don't even exist.
    
    In practice, use "__inline__" instead of "inline" for GNU C targets, to preserve
    compatibility with C89 in mingw-w64 headers.
    e654b631
Name
Last commit
Last update
..
gitlab Loading commit data...
sfnt2fon Loading commit data...
widl Loading commit data...
winapi Loading commit data...
winebuild Loading commit data...
winedump Loading commit data...
winegcc Loading commit data...
winemaker Loading commit data...
wmc Loading commit data...
wrc Loading commit data...
Makefile.in Loading commit data...
buildimage Loading commit data...
config.guess Loading commit data...
config.sub Loading commit data...
examine-relay Loading commit data...
findfunc Loading commit data...
install-sh Loading commit data...
make_announce Loading commit data...
make_makefiles Loading commit data...
make_requests Loading commit data...
make_specfiles Loading commit data...
make_unicode Loading commit data...
make_xftmpl.c Loading commit data...
makedep.c Loading commit data...
runtest Loading commit data...
tools.h Loading commit data...
wineapploader.in Loading commit data...
winewrapper Loading commit data...