 --- setup.py
-+++ setup.py                
-@@ -105,7 +105,7 @@
++++ setup.py
+@@ -119,7 +119,7 @@ libstan = ('stan', {'sources': libstan_sources,
                      'macros': stan_macros})
  
  ## extensions

+extensions_extra_compile_args = ['/EHsc', '/Ox', '-DBOOST_DATE_TIME_NO_LIB']
 
 stanc_sources = [
     "pystan/stan/src/stan/gm/grammars/var_decls_grammar_inst.cpp",

--- pystan\model.py
+++ pystan\model.py

         distutils.log.set_verbosity(verbose)
         extension = Extension(name=module_name,
                               language="c++",
