Add -Wno-variadic-macros to warning list
We effectively require a C++ compiler anyway, and the warnings originate
from the few C modules we have remaining
Tested-by: buildbot
@@ -22,7 +22,8 @@ ENDMACRO(list2args)
LIST(APPEND LCB_GNUC_CPP_WARNINGS
-Wall -pedantic -Wshadow -fdiagnostics-show-option -Wformat
- -Wno-strict-aliasing -Wextra -Winit-self -Wno-missing-field-initializers)
+ -Wno-strict-aliasing -Wextra -Winit-self -Wno-missing-field-initializers
+ -Wno-variadic-macros)
IF("${CMAKE_C_COMPILER_ID}" STREQUAL "Clang")
LIST(APPEND LCB_GNUC_CPP_WARNINGS -Wno-cast-align -Wno-dollar-in-identifier-extension)
