[pypy-commit] pypy default: remove -O3 command line switch on windows (removes lots of compiler warnings)

plan_rich pypy.commits at gmail.com
Thu Mar 30 17:01:20 EDT 2017


Author: Richard Plangger <planrichi at gmail.com>
Branch: 
Changeset: r90880:c572d115dfc7
Date: 2017-03-30 17:00 -0400
http://bitbucket.org/pypy/pypy/changeset/c572d115dfc7/

Log:	remove -O3 command line switch on windows (removes lots of compiler
	warnings)

diff --git a/rpython/rlib/rvmprof/cintf.py b/rpython/rlib/rvmprof/cintf.py
--- a/rpython/rlib/rvmprof/cintf.py
+++ b/rpython/rlib/rvmprof/cintf.py
@@ -42,7 +42,7 @@
     _libs = []
 else:
     # windows
-    compile_extra += ['-DVMPROF_WINDOWS']
+    compile_extra = ['-DRPYTHON_VMPROF', '-DVMPROF_WINDOWS']
     separate_module_files = [SHARED.join('vmprof_main_win32.c')]
     _libs = []
 


More information about the pypy-commit mailing list