Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.10
-
None
-
e3af89f7b (dev), 0bdad95d0 (6.9)
Description
Steps to reproduce:
- build qtbase with one compiler (e.g. Clang)
- build another module with another compiler (e.g. GCC)
Our modules insert options relating to the wrong compiler.
For the combination above, for example:
/home/tjmaciei/bin/c++ -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_QASCONST -DQT_NO_QEXCHANGE -DQT_NO_QSNPRINTF -DQT_NO_STD_FORMAT_SUPPORT -DQT_STRICT_QLIST_ITERATORS -DQT_USE_QSTRINGBUILDER -DSPIRV_CROSS_C_API_GLSL=1 -DSPIRV_CROSS_C_API_HLSL=1 -DSPIRV_CROSS_C_API_MSL=1 -D_GLIBCXX_ASSERTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I/home/tjmaciei/obj/qt/qt6-clang/qtshadertools/src/SPIRV-Cross/BundledSpirv_Cross_autogen/include -isystem /home/tjmaciei/obj/qt/qt6-clang/qtbase/mkspecs/linux-clang -isystem /home/tjmaciei/obj/qt/qt6-clang/qtbase/include -std=gnu++20 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -w -Werror "-Wno-error=#warnings" -Wno-error=deprecated-declarations -Wno-error=deprecated-enum-enum-conversion -Wno-error=deprecated-copy-with-user-provided-copy -Wno-error=unused-but-set-variable -U_FORTIFY_SOURCE -fcf-protection=full -D_FORTIFY_SOURCE=3 -ftrivial-auto-var-init=pattern -fstack-protector-strong -fexceptions -MD -MT src/SPIRV-Cross/CMakeFiles/BundledSpirv_Cross.dir/BundledSpirv_Cross_autogen/mocs_compilation.cpp.o -MF src/SPIRV-Cross/CMakeFiles/BundledSpirv_Cross.dir/BundledSpirv_Cross_autogen/mocs_compilation.cpp.o.d -o src/SPIRV-Cross/CMakeFiles/BundledSpirv_Cross.dir/BundledSpirv_Cross_autogen/mocs_compilation.cpp.o -c /home/tjmaciei/obj/qt/qt6-clang/qtshadertools/src/SPIRV-Cross/BundledSpirv_Cross_autogen/mocs_compilation.cpp cc1plus: error: ‘-Wno-error=#warnings’: no option ‘-W#warnings’; did you mean ‘--no-warnings’? cc1plus: error: ‘-Wno-error=deprecated-copy-with-user-provided-copy’: no option ‘-Wdeprecated-copy-with-user-provided-copy’
Attachments
Issue Links
- split to
-
QTBUG-133333 `qt_internal_set_warnings_are_errors_flags` are not always set
-
- Reported
-
For Gerrit Dashboard: QTBUG-132705 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
619987,16 | Make `qt_internal_set_warnings_are_errors_flags` genex-ed | dev | qt/qtbase | Status: MERGED | +2 | 0 |
629388,2 | Make `qt_internal_set_warnings_are_errors_flags` genex-ed | 6.9 | qt/qtbase | Status: MERGED | +2 | 0 |
629473,4 | Make `qt_internal_set_warnings_are_errors_flags` genex-ed | 6.8 | qt/qtbase | Status: INTEGRATING | +2 | 0 |