mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-01 21:43:41 +00:00
![]() 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. |
||
---|---|---|
.. | ||
gitlab | ||
sfnt2fon | ||
widl | ||
winapi | ||
winebuild | ||
winedump | ||
winegcc | ||
winemaker | ||
wmc | ||
wrc | ||
buildimage | ||
config.guess | ||
config.sub | ||
examine-relay | ||
findfunc | ||
install-sh | ||
make_announce | ||
make_makefiles | ||
make_requests | ||
make_specfiles | ||
make_unicode | ||
make_xftmpl.c | ||
makedep.c | ||
Makefile.in | ||
runtest | ||
tools.h | ||
wineapploader.in | ||
winewrapper |