From ec75b4ddc97ab10f73ae84b612ca7c8056afcc45 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 24 Jul 2013 14:30:34 +0100 Subject: Revert attempt to reduce win32 warnings. --- wscript | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'wscript') diff --git a/wscript b/wscript index 09e70454e..2c1dbaae7 100644 --- a/wscript +++ b/wscript @@ -35,7 +35,7 @@ def configure(conf): conf.env.TARGET_LINUX = not conf.env.TARGET_WINDOWS and not conf.env.TARGET_OSX # Common CXXFLAGS - conf.env.append_value('CXXFLAGS', ['-D__STDC_CONSTANT_MACROS', '-msse', '-mfpmath=sse', '-ffast-math', '-fno-strict-aliasing', + conf.env.append_value('CXXFLAGS', ['-D__STDC_CONSTANT_MACROS', '-D__STDC_LIMIT_MACROS', '-msse', '-mfpmath=sse', '-ffast-math', '-fno-strict-aliasing', '-Wall', '-Wno-attributes', '-Wextra', '-D_FILE_OFFSET_BITS=64']) if conf.options.enable_debug: @@ -64,7 +64,6 @@ def configure(conf): conf.env.append_value('CXXFLAGS', '-DDCPOMATIC_POSIX') conf.env.append_value('CXXFLAGS', '-DPOSIX_LOCALE_PREFIX="%s/share/locale"' % conf.env['PREFIX']) conf.env.append_value('CXXFLAGS', '-DPOSIX_ICON_PREFIX="%s/share/dcpomatic"' % conf.env['PREFIX']) - conf.env.append_value('CXXFLAGS', '-D__STDC_LIMIT_MACROS') boost_lib_suffix = '' boost_thread = 'boost_thread' conf.env.append_value('LINKFLAGS', '-pthread') -- cgit v1.2.3