From 1a16cdd260d62ef1e8fc525546ea582019f80ad2 Mon Sep 17 00:00:00 2001 From: Iustin Pop Date: Thu, 3 Jan 2013 21:27:03 +0100 Subject: [PATCH] Enable compiler warnings `-Wall -Werror` should make compiler warnings much more obvious, hopefully catching more latent bugs. --- setup.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 1107d70..a2ecc46 100755 --- a/setup.py +++ b/setup.py @@ -28,7 +28,9 @@ setup(name = "pyxattr", license = "LGPL", ext_modules = [Extension("xattr", ["xattr.c"], libraries=["attr"], - define_macros=macros)], + define_macros=macros, + extra_compile_args=["-Wall", "-Werror"], + )], test_suite = "test", platforms = ["Linux"], ) -- 2.39.2