We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
-Wc++11-long-long
1 parent 9f80d71 commit 1d314a8Copy full SHA for 1d314a8
1 file changed
CMakeLists.txt
@@ -39,6 +39,10 @@ elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
39
# TODO: fix these?
40
add_compile_options(-Wno-padded -Wno-sign-conversion -Wno-implicit-int-conversion -Wno-shorten-64-to-32 -Wno-shadow-field-in-constructor)
41
42
+ if (CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang")
43
+ add_compile_options(-Wno-c++11-long-long)
44
+ endif()
45
+
46
if (CMAKE_CXX_COMPILER_VERSION VERSION_EQUAL 14 OR CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 14)
47
# TODO: verify this regression still exists in clang-15
48
if (CMAKE_BUILD_TYPE STREQUAL "Release" OR CMAKE_BUILD_TYPE STREQUAL "RelWithDebInfo")
0 commit comments