summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorChristoph Reiter <reiter.christoph@gmail.com>2018-04-12 15:29:17 +0200
committerChristoph Reiter <reiter.christoph@gmail.com>2018-04-12 16:28:35 +0200
commitc3eee13290bf7da2cd9f4f110fd8a1116cebbf66 (patch)
treeb2b78603a58eb529f96fa4ddeda0019f3016c552 /setup.py
parentfc1678cd1af5e814903d01776136d0417aef6695 (diff)
downloadpygobject-c3eee13290bf7da2cd9f4f110fd8a1116cebbf66.tar.gz
Enable -Wnull-dereference
Add some asserts to silence the warnings
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index c6cdb1a7..6e012acc 100755
--- a/setup.py
+++ b/setup.py
@@ -894,7 +894,7 @@ def add_ext_compiler_flags(ext, compiler, _cache={}):
"-Wmissing-noreturn",
"-Wmissing-prototypes",
"-Wnested-externs",
- # "-Wnull-dereference",
+ "-Wnull-dereference",
"-Wold-style-definition",
"-Wpacked",
"-Wpointer-arith",