15 Jul
2022
15 Jul
'22
4:03 p.m.
Piotr Caban (@piotr) commented about dlls/msvcrt/concurrency.c:
DEFINE_CXX_DATA1(improper_lock, &cexception_cxx_type_info, cexception_dtor) DEFINE_CXX_DATA1(improper_scheduler_attach, &cexception_cxx_type_info, cexception_dtor) DEFINE_CXX_DATA1(improper_scheduler_detach, &cexception_cxx_type_info, cexception_dtor) +DEFINE_CXX_DATA1(invalid_multiple_scheduling, &cexception_cxx_type_info, cexception_dtor) It's still causing compilation warnings in 32-bit 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)
| ^~~~~~~~~~~~~~~
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/463#note_4403