[pypy-commit] pypy default: Add -Wno-address on Linux to reduce a bit the warnings flood

arigo pypy.commits at gmail.com
Sun Mar 5 09:00:07 EST 2017


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r90567:b6744bb01d61
Date: 2017-03-05 14:58 +0100
http://bitbucket.org/pypy/pypy/changeset/b6744bb01d61/

Log:	Add -Wno-address on Linux to reduce a bit the warnings flood

diff --git a/rpython/translator/platform/linux.py b/rpython/translator/platform/linux.py
--- a/rpython/translator/platform/linux.py
+++ b/rpython/translator/platform/linux.py
@@ -14,7 +14,7 @@
     extra_libs = ('-lrt',)
     cflags = tuple(
              ['-O3', '-pthread', '-fomit-frame-pointer',
-              '-Wall', '-Wno-unused']
+              '-Wall', '-Wno-unused', '-Wno-address']
              + os.environ.get('CFLAGS', '').split())
     standalone_only = ()
     shared_only = ('-fPIC',)


More information about the pypy-commit mailing list