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 050b928 commit 7d5f537Copy full SHA for 7d5f537
CMake/HPHPCompiler.cmake
@@ -123,6 +123,10 @@ if (${CMAKE_CXX_COMPILER_ID} STREQUAL "Clang" OR ${CMAKE_CXX_COMPILER_ID} STREQU
123
if(CLANG_FORCE_LIBCPP)
124
list(APPEND GENERAL_CXX_OPTIONS "stdlib=libc++")
125
endif()
126
+
127
+ if(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 20)
128
+ list(APPEND GENERAL_OPTIONS "Wno-nontrivial-memcall")
129
+ endif()
130
else() # using GCC
131
list(APPEND DISABLED_NAMED_WARNINGS
132
"deprecated-declarations"
0 commit comments