mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-07 10:48:51 +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
|
pkgconfig_DATA += thrift-z.pc
|
||||||
endif
|
endif
|
||||||
|
|
||||||
AM_CXXFLAGS = -Wall -Wextra -std=c++0x -pedantic
|
AM_CXXFLAGS = -Wall
|
||||||
AM_CPPFLAGS = $(BOOST_CPPFLAGS) -I$(srcdir)/src
|
AM_CPPFLAGS = $(BOOST_CPPFLAGS) -I$(srcdir)/src
|
||||||
AM_LDFLAGS = $(BOOST_LDFLAGS)
|
AM_LDFLAGS = $(BOOST_LDFLAGS)
|
||||||
|
|
||||||
|
@ -182,7 +182,7 @@ INCLUDES = \
|
|||||||
|
|
||||||
AM_CPPFLAGS = $(BOOST_CPPFLAGS)
|
AM_CPPFLAGS = $(BOOST_CPPFLAGS)
|
||||||
AM_LDFLAGS = $(BOOST_LDFLAGS)
|
AM_LDFLAGS = $(BOOST_LDFLAGS)
|
||||||
AM_CXXFLAGS = -Wall -Wextra -std=c++0x -pedantic
|
AM_CXXFLAGS = -Wall
|
||||||
|
|
||||||
clean-local:
|
clean-local:
|
||||||
$(RM) -r gen-cpp
|
$(RM) -r gen-cpp
|
||||||
|
@ -96,7 +96,7 @@ INCLUDES = \
|
|||||||
-I$(top_srcdir)/lib/cpp/src -Igen-cpp
|
-I$(top_srcdir)/lib/cpp/src -Igen-cpp
|
||||||
|
|
||||||
AM_CPPFLAGS = $(BOOST_CPPFLAGS) $(LIBEVENT_CPPFLAGS)
|
AM_CPPFLAGS = $(BOOST_CPPFLAGS) $(LIBEVENT_CPPFLAGS)
|
||||||
AM_CXXFLAGS = -Wall -Wextra -std=c++0x -pedantic
|
AM_CXXFLAGS = -Wall
|
||||||
AM_LDFLAGS = $(BOOST_LDFLAGS) $(LIBEVENT_LDFLAGS)
|
AM_LDFLAGS = $(BOOST_LDFLAGS) $(LIBEVENT_LDFLAGS)
|
||||||
|
|
||||||
clean-local:
|
clean-local:
|
||||||
|
Loading…
Reference in New Issue
Block a user