diff --git a/setup.py b/setup.py index 0257df597..08b9f8ddb 100644 --- a/setup.py +++ b/setup.py @@ -164,6 +164,7 @@ if not OS == "win": sysconfig.get_config_vars()["OPT"] = ' '.join(cv_opt.split()) else: EXTRA_COMPILE_ARGS = [ '-O2', '-DBOOST_WINDOWS', + '-fno-strict-aliasing', '-Wno-missing-braces', '-DWIN32_LEAN_AND_MEAN', '-D_WIN32_WINNT=0x0500',