mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-07 02:45:22 +00:00
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:
parent
3371925d18
commit
ea949fbaf9
@ -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)
|
||||
|
||||
|
@ -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
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user