From cede52db83615fb615ff9bf087eec50131402da2 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 28 Feb 2018 12:27:08 +0000 Subject: Fix complaints about warnings on OS X. --- wscript | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'wscript') diff --git a/wscript b/wscript index ab86865b2..c5134f3c2 100644 --- a/wscript +++ b/wscript @@ -81,8 +81,6 @@ def configure(conf): '-Wcast-align', '-Wextra', '-Wwrite-strings', - '-Wunsafe-loop-optimizations', - '-Wlogical-op', # Remove auto_ptr warnings from libxml++-2.6 '-Wno-deprecated-declarations', '-D_FILE_OFFSET_BITS=64']) @@ -140,6 +138,7 @@ def configure(conf): # POSIX if conf.env.TARGET_LINUX or conf.env.TARGET_OSX: conf.env.append_value('CXXFLAGS', '-DDCPOMATIC_POSIX') + conf.env.append_value('CXXFLAGS', ['-Wunsafe-loop-optimizations', '-Wlogical-op']) boost_lib_suffix = '' boost_thread = 'boost_thread' conf.env.append_value('LINKFLAGS', '-pthread') -- cgit v1.2.3