setup.py: compile C modules with -Wextra warning flag
authorRamakrishnan Muthukrishnan <ram@rkrishnan.org>
Tue, 26 Jan 2016 11:47:23 +0000 (17:17 +0530)
committerRamakrishnan Muthukrishnan <ram@rkrishnan.org>
Tue, 26 Jan 2016 11:47:23 +0000 (17:17 +0530)
setup.py

index 8a1a5b389be584bd088408e6f452c2334c70243d..9b48d5508932f735c51e1e23d2cbb375064f0cb0 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -40,6 +40,7 @@ if DEBUGMODE:
     extra_compile_args.append("-O0")
     extra_compile_args.append("-g")
     extra_compile_args.append("-Wall")
+    extra_compile_args.append("-Wextra")
     extra_link_args.append("-g")
     undef_macros.append('NDEBUG')