]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[3449] Compilation workaround for Python 3.4
authorTomek Mrugalski <tomasz@isc.org>
Sat, 10 May 2014 10:03:40 +0000 (12:03 +0200)
committerTomek Mrugalski <tomasz@isc.org>
Sat, 10 May 2014 10:03:40 +0000 (12:03 +0200)
src/lib/dns/python/Makefile.am
src/lib/python/isc/log/Makefile.am
src/lib/python/isc/util/cio/Makefile.am

index c3af3684c8dc2713e37bf8bc817c6a743cf93c9f..383191076f56a6fc495c3a7a208480b1ed464c57 100644 (file)
@@ -4,6 +4,13 @@ AM_CPPFLAGS = -I$(top_srcdir)/src/lib -I$(top_builddir)/src/lib
 AM_CPPFLAGS += $(BOOST_INCLUDES)
 AM_CXXFLAGS = $(B10_CXXFLAGS)
 
+# There is a build problem with python3.4 (a new field tp_finalize) has been
+# added and now compiler complains about it not being properly initialized in
+# construtor. Since the whole python thing goes away, it's counter-productive
+# to spend any time on making this work on both python3.3 and 3.4, so
+# ingoring the warning seems the way to go.
+AM_CXXFLAGS += -Wno-error
+
 lib_LTLIBRARIES = libkea-pydnspp.la
 libkea_pydnspp_la_SOURCES = pydnspp_common.cc pydnspp_common.h
 libkea_pydnspp_la_SOURCES += pydnspp_config.h pydnspp_towire.h
index be1c265caac57d755070c42a6351b9c51705257b..5cbd42a2cda20aa0400e5ae8f814b6aede70a902 100644 (file)
@@ -4,6 +4,13 @@ AM_CPPFLAGS = -I$(top_srcdir)/src/lib -I$(top_builddir)/src/lib
 AM_CPPFLAGS += $(BOOST_INCLUDES)
 AM_CXXFLAGS = $(B10_CXXFLAGS)
 
+# There is a build problem with python3.4 (a new field tp_finalize) has been
+# added and now compiler complains about it not being properly initialized in
+# construtor. Since the whole python thing goes away, it's counter-productive
+# to spend any time on making this work on both python3.3 and 3.4, so
+# ingoring the warning seems the way to go.
+AM_CXXFLAGS += -Wno-error
+
 pythondir = $(pyexecdir)/isc
 python_LTLIBRARIES = log.la
 log_la_SOURCES = log.cc
index c2b2d18f5fcb40f176bc24b93459dc2a08faa0ea..713f0380f633f8f50ec826667a16e7d8d4d9942c 100644 (file)
@@ -4,6 +4,13 @@ AM_CPPFLAGS = -I$(top_srcdir)/src/lib -I$(top_builddir)/src/lib
 AM_CPPFLAGS += $(BOOST_INCLUDES)
 AM_CXXFLAGS = $(B10_CXXFLAGS)
 
+# There is a build problem with python3.4 (a new field tp_finalize) has been
+# added and now compiler complains about it not being properly initialized in
+# construtor. Since the whole python thing goes away, it's counter-productive
+# to spend any time on making this work on both python3.3 and 3.4, so
+# ingoring the warning seems the way to go.
+AM_CXXFLAGS += -Wno-error
+
 python_PYTHON = __init__.py
 pythondir = $(PYTHON_SITEPKG_DIR)/isc/util/cio