From 8356645d0a508e4097d0192623d24fabb32c561c Mon Sep 17 00:00:00 2001 From: "Gustavo J. A. M. Carneiro" Date: Fri, 11 Jul 2008 19:32:22 +0100 Subject: [PATCH] Make sure we don't trigger deprecation warnings while compiling the python bindings. --- bindings/python/wscript | 1 + 1 file changed, 1 insertion(+) diff --git a/bindings/python/wscript b/bindings/python/wscript index d13ebeeba..9ad0fb18f 100644 --- a/bindings/python/wscript +++ b/bindings/python/wscript @@ -348,6 +348,7 @@ def build(bld): pymod.target = 'ns3/_ns3' pymod.name = 'ns3module' pymod.uselib_local = "ns3" + pymod.env.append_value('CXXDEFINES', ['NS_DEPRECATED=""', 'NS3_DEPRECATED_H']) # copy the __init__.py file to the build dir waf can't handle # this, it's against waf's principles to have build dir files