You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by ro...@apache.org on 2011/12/12 23:00:24 UTC

svn commit: r1213459 - in /thrift/trunk: compiler/cpp/Makefile.am lib/cpp/Makefile.am lib/cpp/test/Makefile.am test/cpp/Makefile.am

Author: roger
Date: Mon Dec 12 22:00:23 2011
New Revision: 1213459

URL: http://svn.apache.org/viewvc?rev=1213459&view=rev
Log:
THRIFT-1462 add more strict compiler flags(-Wall -Wextra -std=c++0x -pedantic)

Modified:
    thrift/trunk/compiler/cpp/Makefile.am
    thrift/trunk/lib/cpp/Makefile.am
    thrift/trunk/lib/cpp/test/Makefile.am
    thrift/trunk/test/cpp/Makefile.am

Modified: thrift/trunk/compiler/cpp/Makefile.am
URL: http://svn.apache.org/viewvc/thrift/trunk/compiler/cpp/Makefile.am?rev=1213459&r1=1213458&r2=1213459&view=diff
==============================================================================
--- thrift/trunk/compiler/cpp/Makefile.am (original)
+++ thrift/trunk/compiler/cpp/Makefile.am Mon Dec 12 22:00:23 2011
@@ -86,7 +86,7 @@ thrift_SOURCES += src/generate/t_c_glib_
                   src/generate/t_go_generator.cc
 
 thrift_CPPFLAGS = -I$(srcdir)/src
-thrift_CXXFLAGS = -Wall
+thrift_CXXFLAGS = -Wall -Wextra -std=c++0x -pedantic
 thrift_LDADD = @LEXLIB@ libparse.a
 
 libparse_a_CPPFLAGS = -I$(srcdir)/src

Modified: thrift/trunk/lib/cpp/Makefile.am
URL: http://svn.apache.org/viewvc/thrift/trunk/lib/cpp/Makefile.am?rev=1213459&r1=1213458&r2=1213459&view=diff
==============================================================================
--- thrift/trunk/lib/cpp/Makefile.am (original)
+++ thrift/trunk/lib/cpp/Makefile.am Mon Dec 12 22:00:23 2011
@@ -40,7 +40,7 @@ lib_LTLIBRARIES += libthriftz.la
 pkgconfig_DATA += thrift-z.pc
 endif
 
-AM_CXXFLAGS = -Wall
+AM_CXXFLAGS = -Wall -Wextra -std=c++0x -pedantic
 AM_CPPFLAGS = $(BOOST_CPPFLAGS) -I$(srcdir)/src
 AM_LDFLAGS = $(BOOST_LDFLAGS)
 

Modified: thrift/trunk/lib/cpp/test/Makefile.am
URL: http://svn.apache.org/viewvc/thrift/trunk/lib/cpp/test/Makefile.am?rev=1213459&r1=1213458&r2=1213459&view=diff
==============================================================================
--- thrift/trunk/lib/cpp/test/Makefile.am (original)
+++ thrift/trunk/lib/cpp/test/Makefile.am Mon Dec 12 22:00:23 2011
@@ -182,7 +182,7 @@ INCLUDES = \
 
 AM_CPPFLAGS = $(BOOST_CPPFLAGS)
 AM_LDFLAGS = $(BOOST_LDFLAGS)
-AM_CXXFLAGS = -Wall
+AM_CXXFLAGS = -Wall -Wextra -std=c++0x -pedantic
 
 clean-local:
 	$(RM) -r gen-cpp

Modified: thrift/trunk/test/cpp/Makefile.am
URL: http://svn.apache.org/viewvc/thrift/trunk/test/cpp/Makefile.am?rev=1213459&r1=1213458&r2=1213459&view=diff
==============================================================================
--- thrift/trunk/test/cpp/Makefile.am (original)
+++ thrift/trunk/test/cpp/Makefile.am Mon Dec 12 22:00:23 2011
@@ -96,7 +96,7 @@ INCLUDES = \
 	-I$(top_srcdir)/lib/cpp/src -Igen-cpp
 
 AM_CPPFLAGS = $(BOOST_CPPFLAGS) $(LIBEVENT_CPPFLAGS)
-AM_CXXFLAGS = -Wall
+AM_CXXFLAGS = -Wall -Wextra -std=c++0x -pedantic
 AM_LDFLAGS = $(BOOST_LDFLAGS) $(LIBEVENT_LDFLAGS)
 
 clean-local: