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:
@@ -36,7 +36,10 @@ setup(name = "pymilter", version = '1.0.5',
|
|||||||
# set MAX_ML_REPLY to 1 for sendmail < 8.13
|
# 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
|
# 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'],
|
keywords = ['sendmail','milter'],
|
||||||
|
|||||||
Reference in New Issue
Block a user