[Python-checkins] cpython: Suppress unknown pragma warning (STDC FENV_ACCESS).

stefan.krah python-checkins at python.org
Sun Sep 30 21:21:28 CEST 2012


http://hg.python.org/cpython/rev/5cfe8af7abb2
changeset:   79340:5cfe8af7abb2
user:        Stefan Krah <skrah at bytereef.org>
date:        Sun Sep 30 21:12:53 2012 +0200
summary:
  Suppress unknown pragma warning (STDC FENV_ACCESS).

files:
  setup.py |  1 +
  1 files changed, 1 insertions(+), 0 deletions(-)


diff --git a/setup.py b/setup.py
--- a/setup.py
+++ b/setup.py
@@ -1985,6 +1985,7 @@
                 # solaris: problems with register allocation.
                 # icc >= 11.0 works as well.
                 define_macros = config['ppro']
+                extra_compile_args.append('-Wno-unknown-pragmas')
             else:
                 define_macros = config['ansi32']
         else:

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list