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 a1b0157 commit 6d1a765Copy full SHA for 6d1a765
1 file changed
CMakeLists.txt
@@ -58,6 +58,10 @@ elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
58
# TODO: fix these?
59
add_compile_options(-Wno-padded -Wno-sign-conversion -Wno-implicit-int-conversion -Wno-shorten-64-to-32 -Wno-shadow-field-in-constructor)
60
61
+ if (CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang")
62
+ add_compile_options(-Wno-c++11-long-long)
63
+ endif()
64
+
65
if (CMAKE_CXX_COMPILER_VERSION VERSION_EQUAL 14 OR CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 14)
66
# TODO: verify this regression still exists in clang-15
67
if (CMAKE_BUILD_TYPE STREQUAL "Release" OR CMAKE_BUILD_TYPE STREQUAL "RelWithDebInfo")
0 commit comments