From ea949fbaf915f04b584efe24a9706586b53193a5 Mon Sep 17 00:00:00 2001 From: Jake Farrell Date: Tue, 13 Dec 2011 20:02:33 +0000 Subject: [PATCH] Thrift-1462: add more strict compiler flags Reverting patch due to it breaking compilers older than 4.4 (os x, centos 5.x, etc) git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1213901 13f79535-47bb-0310-9956-ffa450edef68 --- lib/cpp/Makefile.am | 2 +- lib/cpp/test/Makefile.am | 2 +- test/cpp/Makefile.am | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/cpp/Makefile.am b/lib/cpp/Makefile.am index 55124acb..f8093ba2 100644 --- a/lib/cpp/Makefile.am +++ b/lib/cpp/Makefile.am @@ -40,7 +40,7 @@ lib_LTLIBRARIES += libthriftz.la pkgconfig_DATA += thrift-z.pc endif -AM_CXXFLAGS = -Wall -Wextra -std=c++0x -pedantic +AM_CXXFLAGS = -Wall AM_CPPFLAGS = $(BOOST_CPPFLAGS) -I$(srcdir)/src AM_LDFLAGS = $(BOOST_LDFLAGS) diff --git a/lib/cpp/test/Makefile.am b/lib/cpp/test/Makefile.am index a428cd99..1626c6e9 100644 --- a/lib/cpp/test/Makefile.am +++ b/lib/cpp/test/Makefile.am @@ -182,7 +182,7 @@ INCLUDES = \ AM_CPPFLAGS = $(BOOST_CPPFLAGS) AM_LDFLAGS = $(BOOST_LDFLAGS) -AM_CXXFLAGS = -Wall -Wextra -std=c++0x -pedantic +AM_CXXFLAGS = -Wall clean-local: $(RM) -r gen-cpp diff --git a/test/cpp/Makefile.am b/test/cpp/Makefile.am index b7ef15bf..95574fc5 100755 --- a/test/cpp/Makefile.am +++ b/test/cpp/Makefile.am @@ -96,7 +96,7 @@ INCLUDES = \ -I$(top_srcdir)/lib/cpp/src -Igen-cpp AM_CPPFLAGS = $(BOOST_CPPFLAGS) $(LIBEVENT_CPPFLAGS) -AM_CXXFLAGS = -Wall -Wextra -std=c++0x -pedantic +AM_CXXFLAGS = -Wall AM_LDFLAGS = $(BOOST_LDFLAGS) $(LIBEVENT_LDFLAGS) clean-local: -- 2.17.1