Repository: qpid-proton Updated Branches: refs/heads/master 8f4e31f6c -> 85af446f2
PROTON-780: Fix "variadic macro" compiler errors under GNU C++ compiler. Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/85af446f Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/85af446f Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/85af446f Branch: refs/heads/master Commit: 85af446f2fa24f825087f64db8cdefa7dc1feb63 Parents: 8f4e31f Author: Alan Conway <[email protected]> Authored: Wed Dec 17 14:59:06 2014 -0500 Committer: Alan Conway <[email protected]> Committed: Wed Dec 17 15:02:28 2014 -0500 ---------------------------------------------------------------------- proton-c/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/85af446f/proton-c/CMakeLists.txt ---------------------------------------------------------------------- diff --git a/proton-c/CMakeLists.txt b/proton-c/CMakeLists.txt index 93e9895..7e58b4c 100644 --- a/proton-c/CMakeLists.txt +++ b/proton-c/CMakeLists.txt @@ -225,8 +225,8 @@ if (CMAKE_COMPILER_IS_GNUCC) set (COMPILE_WARNING_FLAGS "${COMPILE_WARNING_FLAGS} -Wc++-compat -Wvla -Wsign-compare -Wwrite-strings") endif (${GCC_VERSION} VERSION_LESS "4.3.0") else (NOT BUILD_WITH_CXX) - # allow "%z" format specifier - set (COMPILE_WARNING_FLAGS "${COMPILE_WARNING_FLAGS} -Wno-format") + # allow "%z" format specifier and variadic macros + set (COMPILE_WARNING_FLAGS "${COMPILE_WARNING_FLAGS} -Wno-format -Wno-variadic-macros") endif (NOT BUILD_WITH_CXX) if (ENABLE_UNDEFINED_ERROR) --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
