We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a48b34 commit 0c9e29aCopy full SHA for 0c9e29a
1 file changed
CMakeLists.txt
@@ -251,6 +251,8 @@ add_gcc_compiler_flags("-Wall -Wextra -Wundef -Wpointer-arith -Wno-long-long")
251
add_gcc_compiler_flags("-Wformat=2 -Wmissing-format-attribute")
252
add_gcc_compiler_flags("-fvisibility=hidden")
253
add_gcc_compiler_cxxflags("-fvisibility-inlines-hidden")
254
+# Qt6 marks these as errors with newer compilers. Treat them as warnings for now.
255
+check_add_gcc_compiler_cxxflag("-Wno-error=sfinae-incomplete" SFINAE_INCOMPLETE_FLAG)
256
257
if(CMAKE_BUILD_TYPE_LOWER STREQUAL "debug")
258
check_add_gcc_compiler_flag("-Wshadow-compatible-local")
0 commit comments