summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorChristoph Reiter <reiter.christoph@gmail.com>2018-04-12 15:55:05 +0200
committerChristoph Reiter <reiter.christoph@gmail.com>2018-04-12 16:28:35 +0200
commit2328523deb75b5415d5e625c80e0d30676999ec2 (patch)
treefc68a5e1eaaf00fc264843bdc3e60bbb8ffc3d30 /setup.py
parentc3eee13290bf7da2cd9f4f110fd8a1116cebbf66 (diff)
downloadpygobject-2328523deb75b5415d5e625c80e0d30676999ec2.tar.gz
Enable -Wcast-align, -Wlogical-op
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/setup.py b/setup.py
index 6e012acc..f1d443dc 100755
--- a/setup.py
+++ b/setup.py
@@ -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",