From 96cd9ac26367829ce2dead523f87ddec0114368f Mon Sep 17 00:00:00 2001 From: "Stuart D. Gathman" <stuart@gathman.org> Date: Tue, 9 Jan 2018 21:52:39 -0500 Subject: [PATCH] Request compile error on implicit function declarations to save lots of debugging time. --- setup.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 1f9f3d8..aa8103f 100644 --- a/setup.py +++ b/setup.py @@ -38,7 +38,9 @@ sending DSNs or doing CBVs. library_dirs=libdirs, libraries=libs, # set MAX_ML_REPLY to 1 for sendmail < 8.13 - define_macros = [ ('MAX_ML_REPLY',32) ] + define_macros = [ ('MAX_ML_REPLY',32) ], + # save lots of debugging time testing rfc2553 compliance + extra_compile_args = [ "-Werror=implicit-function-declaration" ] ), ], keywords = ['sendmail','milter'], -- GitLab