diff options
author | Christoph Reiter <reiter.christoph@gmail.com> | 2018-04-12 15:55:05 +0200 |
---|---|---|
committer | Christoph Reiter <reiter.christoph@gmail.com> | 2018-04-12 16:28:35 +0200 |
commit | 2328523deb75b5415d5e625c80e0d30676999ec2 (patch) | |
tree | fc68a5e1eaaf00fc264843bdc3e60bbb8ffc3d30 /setup.py | |
parent | c3eee13290bf7da2cd9f4f110fd8a1116cebbf66 (diff) | |
download | pygobject-2328523deb75b5415d5e625c80e0d30676999ec2.tar.gz |
Enable -Wcast-align, -Wlogical-op
Diffstat (limited to 'setup.py')
-rwxr-xr-x | setup.py | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -874,11 +874,9 @@ def add_ext_compiler_flags(ext, compiler, _cache={}): args = [ "-Wall", "-Warray-bounds", - # "-Wcast-align", + "-Wcast-align", "-Wdeclaration-after-statement", - # "-Wdouble-promotion", "-Wduplicated-branches", - # "-Wduplicated-cond", "-Wextra", "-Wformat=2", "-Wformat-nonliteral", @@ -887,7 +885,7 @@ def add_ext_compiler_flags(ext, compiler, _cache={}): "-Winit-self", "-Winline", "-Wjump-misses-init", - # "-Wlogical-op", + "-Wlogical-op", "-Wmissing-declarations", "-Wmissing-format-attribute", "-Wmissing-include-dirs", |