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
This commit is contained in:
Jake Farrell 2011-12-13 20:02:33 +00:00
parent 3371925d18
commit ea949fbaf9
3 changed files with 3 additions and 3 deletions

View File

@ -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)

View File

@ -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

View File

@ -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: