From 957effd7960434ee8749b996fea0e4b876a7c28c Mon Sep 17 00:00:00 2001 From: Iustin Pop Date: Sat, 2 May 2015 01:20:52 +0200 Subject: [PATCH] Always enable -Wsign-compare The code is clean, and this is an important warning (due to extensive use of both signed and unsigned integers), so let's enable it. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index edcf5ae..599f5b7 100755 --- a/setup.py +++ b/setup.py @@ -29,7 +29,7 @@ setup(name = "pyxattr", ext_modules = [Extension("xattr", ["xattr.c"], libraries=["attr"], define_macros=macros, - extra_compile_args=["-Wall", "-Werror"], + extra_compile_args=["-Wall", "-Werror", "-Wsign-compare"], )], test_suite = "test", platforms = ["Linux"], -- 2.39.2