From 91c4354f61b14cbdab6a2f1922f4ffca23acaf22 Mon Sep 17 00:00:00 2001 From: jsdelfino Date: Mon, 26 Aug 2013 05:18:15 +0000 Subject: Fix build errors with latest GCC and CLang compilers. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1517422 13f79535-47bb-0310-9956-ffa450edef68 --- sca-cpp/trunk/configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sca-cpp/trunk/configure.ac') diff --git a/sca-cpp/trunk/configure.ac b/sca-cpp/trunk/configure.ac index b0992a58b1..041c83a384 100644 --- a/sca-cpp/trunk/configure.ac +++ b/sca-cpp/trunk/configure.ac @@ -121,7 +121,7 @@ if test "${want_maintainer_mode}" = "true"; then if test "${cxxtype}" = "clang"; then cxxflags="${cxxflags} -O1 -stdlib=libc++ -Qunused-arguments -Wno-return-type-c-linkage" else - cxxflags="${cxxflags} -O2 -Wlogical-op -Wconversion" + cxxflags="${cxxflags} -O2 -Wlogical-op -Wconversion -Wno-attributes" fi AM_CONDITIONAL([WANT_MAINTAINER_MODE], true) AC_DEFINE([WANT_MAINTAINER_MODE], 1, [compile with debugging and compile-time warnings]) -- cgit v1.2.3