From 9cef81ad7a6eaebe4d7266ff04ab58a949403394 Mon Sep 17 00:00:00 2001 From: Konstantin Podshumok Date: Tue, 24 Jul 2018 15:36:30 +0300 Subject: [PATCH] enforce DNOCROSSCONSTRUCTORS until further investigation --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index 06fbd3f..104491b 100644 --- a/setup.py +++ b/setup.py @@ -65,6 +65,7 @@ def build_extensions(self): opts.append( '-DVERSION_INFO="%s"' % self.distribution.get_version() ) + opts.append('-DNOCROSSCONSTRUCTORS=1') opts.append(cpp_flag(self.compiler)) if has_flag(self.compiler, '-fvisibility=hidden'): opts.append('-fvisibility=hidden')