summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2018-11-16 19:49:23 +0000
committerJose <jose@zeroc.com>2018-11-16 19:49:23 +0000
commit81a38089dfa40984f8b68cba89968a7f70daa79d (patch)
treedab7617ce26c3a59fda192728065dc57f1825716 /python
parentUpdate version to 3.7.2 (diff)
downloadice-81a38089dfa40984f8b68cba89968a7f70daa79d.tar.bz2
ice-81a38089dfa40984f8b68cba89968a7f70daa79d.tar.xz
ice-81a38089dfa40984f8b68cba89968a7f70daa79d.zip
Fix build failures with Python 3.7.0
Diffstat (limited to 'python')
-rw-r--r--python/config/Make.rules3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/config/Make.rules b/python/config/Make.rules
index 90be72aec00..94a919e372d 100644
--- a/python/config/Make.rules
+++ b/python/config/Make.rules
@@ -41,7 +41,8 @@ endif
# Remove the -Wstrict-prototypes option which is not valid with C++ and
# -Wunreachable-code which is causing a compilation error with Slice/Parser.cpp
-python_cppflags := $(filter-out -Wunreachable-code -Wstrict-prototypes,$(python_cppflags)) -Wno-missing-field-initializers
+python_cppflags := $(filter-out -Wredundant-decls -Wunreachable-code -Wstrict-prototypes,$(python_cppflags))
+python_cppflags := $(python_cppflags) -Wno-redundant-decls -Wno-missing-field-initializers
#
# Python installation directory