Thrift-1462: add more strict compiler flags
authorJake Farrell <jfarrell@apache.org>
Tue, 13 Dec 2011 20:12:26 +0000 (20:12 +0000)
committerJake Farrell <jfarrell@apache.org>
Tue, 13 Dec 2011 20:12:26 +0000 (20:12 +0000)
Reverting MINGW addition for c+++0x

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1213905 13f79535-47bb-0310-9956-ffa450edef68

compiler/cpp/Makefile.am

index 28813dc..a5723a3 100644 (file)
@@ -86,13 +86,7 @@ thrift_SOURCES += src/generate/t_c_glib_generator.cc \
                   src/generate/t_go_generator.cc
 
 thrift_CPPFLAGS = -I$(srcdir)/src
-
-if MINGW
 thrift_CXXFLAGS = -Wall
-else
-thrift_CXXFLAGS = -Wall -Wextra -std=c++0x -pedantic
-endif
-
 thrift_LDADD = @LEXLIB@ libparse.a
 
 libparse_a_CPPFLAGS = -I$(srcdir)/src