Details
-
Bug
-
Resolution: Done
-
P2: Important
-
6.3.0, 6.3.1
-
None
-
MacOS Monterey 12.2
-
-
3df23b1fe4 (qt/qtbase/dev) 3df23b1fe4 (qt/tqtc-qtbase/dev) 2531c9b4f3 (qt/qtbase/6.4) 2531c9b4f3 (qt/tqtc-qtbase/6.4)
Description
Cross-compilation on Mac w/
Apple clang version 13.0.0 (clang-1300.0.27.3)
Target: arm64-apple-darwin21.3.0
fails as there are unused functions and due to -Werror the compiler is strict about warnings.
There are some unused functions that are needed for Unix, but not for WASM. The only block that uses these functions is for Unix, but not for emscripten. Since emscripten is treated as a variant of Unix, we still declare & define the unused functions (qtestcase.cpp:126)