[Python-checkins] r77358 - python/branches/py3k-cdecimal/setup.py

stefan.krah python-checkins at python.org
Thu Jan 7 19:10:21 CET 2010


Author: stefan.krah
Date: Thu Jan  7 19:10:21 2010
New Revision: 77358

Log:
-Wno-missing-field-initializers is not always recognized

Modified:
   python/branches/py3k-cdecimal/setup.py

Modified: python/branches/py3k-cdecimal/setup.py
==============================================================================
--- python/branches/py3k-cdecimal/setup.py	(original)
+++ python/branches/py3k-cdecimal/setup.py	Thu Jan  7 19:10:21 2010
@@ -1659,9 +1659,7 @@
             raise DistutilsError("cdecimal: unsupported architecture")
         # Not recommended: TLS is very slow!
         # define_macros.append(('USE_THREAD_LOCAL_STORAGE', 1))
-        if 'linux' in platform:
-            extra_compile_args.extend(['-Wno-missing-field-initializers'])
-        elif 'solaris' in platform and cc == 'cc': # suncc
+        if 'solaris' in platform and cc == 'cc': # suncc
             extra_compile_args.extend(['-erroff=E_ARGUEMENT_MISMATCH'])
         ext = Extension (
             'cdecimal',


More information about the Python-checkins mailing list