[PATCH 6/6] oleaut32: Move constants referenced by assembly out of function scope.
Alexandre Julliard
julliard at winehq.org
Mon Aug 26 04:59:31 CDT 2019
Jacek Caban <jacek at codeweavers.com> writes:
> To avoid stdcall decorations in symbol names.
>
> Signed-off-by: Jacek Caban <jacek at codeweavers.com>
> ---
> dlls/oleaut32/vartype.c | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
This causes warnings on other platforms:
../../../wine/dlls/oleaut32/vartype.c:3486:29: warning: unused variable 'r8_fpcontrol' [-Wunused-const-variable]
../../../wine/dlls/oleaut32/vartype.c:3487:21: warning: unused variable 'r8_multiplier' [-Wunused-const-variable]
Instead of adding more #ifdefs, it would be probably a good idea to
replace that ugly inline asm by a proper asm function.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list