[PATCH 5/5] msvcr100: Implement invalid_multiple_scheduling exception.
Piotr Caban
piotr.caban at gmail.com
Wed Jul 13 05:15:01 CDT 2022
The patch is causing compilation warning in i386 case:
In file included from ../wine_src/dlls/msvcrt/cxx.h:19,
from ../wine_src/dlls/msvcrt/concurrency.c:28:
../wine_src/dlls/msvcrt/concurrency.c:632:18: error:
‘invalid_multiple_scheduling_exception_type’ defined but not used
[-Werror=unused-const-variable=]
632 | DEFINE_CXX_DATA1(invalid_multiple_scheduling,
&cexception_cxx_type_info, cexception_dtor)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../wine_src/dlls/msvcrt/cppexcept.h:178:33: note: in definition of macro
‘DEFINE_CXX_EXCEPTION’
178 | static const cxx_exception_type type ## _exception_type = { \
| ^~~~
../wine_src/dlls/msvcrt/cppexcept.h:241:5: note: in expansion of macro
‘DEFINE_CXX_DATA’
241 | DEFINE_CXX_DATA(name, 1, cl1, NULL, dtor)
| ^~~~~~~~~~~~~~~
../wine_src/dlls/msvcrt/concurrency.c:632:1: note: in expansion of macro
‘DEFINE_CXX_DATA1’
632 | DEFINE_CXX_DATA1(invalid_multiple_scheduling,
&cexception_cxx_type_info, cexception_dtor)
| ^~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
Thanks,
Piotr
More information about the wine-devel
mailing list