From 42dededf9d0ddbb165cdfccbd5acdf6e0600cb4b Mon Sep 17 00:00:00 2001 From: Ramakrishnan Muthukrishnan Date: Tue, 26 Jan 2016 17:17:23 +0530 Subject: [PATCH] setup.py: compile C modules with -Wextra warning flag --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index 8a1a5b3..9b48d55 100755 --- 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') -- 2.37.2