From 876dc9b045db3e87fc7921afeeebf5aaae1f987d Mon Sep 17 00:00:00 2001 From: wcdolphin Date: Sun, 13 Apr 2014 14:20:26 -0400 Subject: [PATCH 1/2] Add -Wunused-command-line-argument-hard-error-in-future to setup --- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 023e821..4a0f8f4 100644 --- a/setup.py +++ b/setup.py @@ -26,7 +26,8 @@ if __name__ == '__main__': bcrypt = Extension('bcrypt._bcrypt', - sources = ['bcrypt/bcrypt_python.c', 'bcrypt/blowfish.c','bcrypt/bcrypt.c']) + sources = ['bcrypt/bcrypt_python.c', 'bcrypt/blowfish.c','bcrypt/bcrypt.c'], + extra_compile_args=['-Wunused-command-line-argument-hard-error-in-future']) setup(name = "python-bcrypt", version = VERSION, author = "Damien Miller, maintained by @wcdolphin", From 29476f9b02752641df1b80a9dab8b963d524f64b Mon Sep 17 00:00:00 2001 From: wcdolphin Date: Sun, 13 Apr 2014 19:29:52 -0400 Subject: [PATCH 2/2] Fix flag --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 4a0f8f4..576a20f 100644 --- a/setup.py +++ b/setup.py @@ -27,7 +27,7 @@ if __name__ == '__main__': bcrypt = Extension('bcrypt._bcrypt', sources = ['bcrypt/bcrypt_python.c', 'bcrypt/blowfish.c','bcrypt/bcrypt.c'], - extra_compile_args=['-Wunused-command-line-argument-hard-error-in-future']) + extra_compile_args=['-Wno-error=unused-command-line-argument-hard-error-in-future']) setup(name = "python-bcrypt", version = VERSION, author = "Damien Miller, maintained by @wcdolphin",