Set C standard to C17 explicitely (#70)

GCC 15 uses C23 by default. But `libmilter` is not compatible, yet.
This breaks the build as `bool` is a keyword in C23 (issue #68).
This commit is contained in:
Sandro
2025-03-13 01:05:10 +01:00
committed by GitHub
parent 7197b82ed6
commit 20751ea706
+4 -1
View File
@@ -36,7 +36,10 @@ setup(name = "pymilter", version = '1.0.5',
# set MAX_ML_REPLY to 1 for sendmail < 8.13
define_macros = [ ('MAX_ML_REPLY',32) ],
# save lots of debugging time testing rfc2553 compliance
extra_compile_args = [ "-Werror=implicit-function-declaration" ]
extra_compile_args = [
"-Werror=implicit-function-declaration",
"-std=gnu17",
]
),
],
keywords = ['sendmail','milter'],