Repository: qpid-cpp Updated Branches: refs/heads/master 2a3fd5630 -> 874ecfaa2
QPID-7714: Suppress very verbose warnings Project: http://git-wip-us.apache.org/repos/asf/qpid-cpp/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-cpp/commit/874ecfaa Tree: http://git-wip-us.apache.org/repos/asf/qpid-cpp/tree/874ecfaa Diff: http://git-wip-us.apache.org/repos/asf/qpid-cpp/diff/874ecfaa Branch: refs/heads/master Commit: 874ecfaa2c168e211ee1f250d880e9d06cbad8ef Parents: 93dfd39 Author: Justin Ross <jr...@apache.org> Authored: Wed Mar 22 05:41:08 2017 -0700 Committer: Justin Ross <jr...@apache.org> Committed: Wed Mar 22 05:41:13 2017 -0700 ---------------------------------------------------------------------- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-cpp/blob/874ecfaa/CMakeLists.txt ---------------------------------------------------------------------- diff --git a/CMakeLists.txt b/CMakeLists.txt index 990c200..180b41d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -147,7 +147,7 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL GNU) # -Wunreachable-code -Wpadded -Winline # -Wshadow - warns about boost headers. set (WARNING_FLAGS - "-Werror -pedantic -Wall -Wextra -Wno-shadow -Wpointer-arith -Wcast-qual -Wcast-align -Wno-long-long -Wvolatile-register-var -Winvalid-pch -Wno-system-headers -Woverloaded-virtual -Wno-error=deprecated-declarations") + "-Werror -pedantic -Wall -Wextra -Wno-shadow -Wpointer-arith -Wcast-qual -Wcast-align -Wno-long-long -Wvolatile-register-var -Winvalid-pch -Wno-system-headers -Woverloaded-virtual -Wno-deprecated-declarations") if (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 7) message("FIXME FLAGGING") @@ -160,7 +160,7 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL GNU) set (CATCH_UNDEFINED "") endif (CMAKE_SYSTEM_NAME STREQUAL SunOS) set (NOSTRICT_ALIASING "-fno-strict-aliasing") - set (COMPILER_FLAGS "-fvisibility-inlines-hidden -std=gnu++03") + set (COMPILER_FLAGS "-fvisibility-inlines-hidden") # gcc 4.1.2 on RHEL 5 needs -Wno-attributes to avoid an error that's fixed # in later gcc versions. execute_process(COMMAND ${CMAKE_CXX_COMPILER} -dumpversion --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org For additional commands, e-mail: commits-h...@qpid.apache.org