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 a77e840 commit 9ccdf72Copy full SHA for 9ccdf72
memcached/CMakeLists.txt
@@ -17,6 +17,13 @@ execute_process(COMMAND ${CMAKE_COMMAND} -E touch_nocreate
17
# ${CMAKE_SOURCE_DIR}/memcached/internal/proto_txt_parser.c
18
# PROPERTIES HEADER_FILE_ONLY true)
19
20
+# Disable certain compiler warnings.
21
+set_source_files_properties(
22
+ ${CMAKE_SOURCE_DIR}/memcached/internal/proto_txt_parser.c
23
+ PROPERTIES COMPILE_FLAGS -Wno-implicit-fallthrough)
24
25
+ ${CMAKE_SOURCE_DIR}/memcached/internal/mc_sasl.c
26
+ PROPERTIES COMPILE_FLAGS -Wno-cast-function-type)
27
28
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-deprecated")
29
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-deprecated")
0 commit comments