diff options
author | Stefan Krah <skrah@bytereef.org> | 2013-01-16 13:45:16 (GMT) |
---|---|---|
committer | Stefan Krah <skrah@bytereef.org> | 2013-01-16 13:45:16 (GMT) |
commit | ce55f089fbb025f5dbf1c9f461f0f9ab580fdd53 (patch) | |
tree | 06388a5d8bd3b55a30bf99ef7e0680179e793a6e /setup.py | |
parent | be0d70751c85b1d59d8e8f15edb950244b0c8979 (diff) | |
download | cpython-ce55f089fbb025f5dbf1c9f461f0f9ab580fdd53.zip cpython-ce55f089fbb025f5dbf1c9f461f0f9ab580fdd53.tar.gz cpython-ce55f089fbb025f5dbf1c9f461f0f9ab580fdd53.tar.bz2 |
Increase warning level for _decimal.so and libmpdec build when using gcc.
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1995,6 +1995,11 @@ class PyBuildExt(build_ext): if not sysconfig.get_config_var('WITH_THREAD'): define_macros.append(('WITHOUT_THREADS', 1)) + # Increase warning level for gcc: + if 'gcc' in cc: + extra_compile_args.extend(['-Wextra', + '-Wno-missing-field-initializers']) + # Uncomment for extra functionality: #define_macros.append(('EXTRA_FUNCTIONALITY', 1)) ext = Extension ( |