diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2022-05-31 19:41:43 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2022-05-31 20:21:07 +0300 |
commit | b21d309092c7a5bdff406f8baed650279e206c59 (patch) | |
tree | ea0aeb8cf9c5c39986a7c0f51f5a2012f44ea49c | |
parent | 7422951e9bf82d036ecef2341de868838d2e1ce1 (diff) | |
download | libmicrohttpd-b21d309092c7a5bdff406f8baed650279e206c59.tar.gz libmicrohttpd-b21d309092c7a5bdff406f8baed650279e206c59.zip |
configure: disabled one more warning on clang
-rw-r--r-- | configure.ac | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 389d4861..8b37c19f 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -209,7 +209,7 @@ AS_CASE([${enable_build_type}],[debug|debugger], | |||
209 | MHD_CHECK_ADD_CC_CFLAGS([-Wanon-enum-enum-conversion -Warray-bounds-pointer-arithmetic -Wassign-enum], [CFLAGS_ac]) | 209 | MHD_CHECK_ADD_CC_CFLAGS([-Wanon-enum-enum-conversion -Warray-bounds-pointer-arithmetic -Wassign-enum], [CFLAGS_ac]) |
210 | MHD_CHECK_ADD_CC_CFLAGS([-Wbit-int-extension -Wbitfield-enum-conversion -Wparentheses -Wbool-operation], [CFLAGS_ac]) | 210 | MHD_CHECK_ADD_CC_CFLAGS([-Wbit-int-extension -Wbitfield-enum-conversion -Wparentheses -Wbool-operation], [CFLAGS_ac]) |
211 | MHD_CHECK_ADD_CC_CFLAGS([-Wcast-function-type -Wcomma -Wcomment -Wcompound-token-split], [CFLAGS_ac]) | 211 | MHD_CHECK_ADD_CC_CFLAGS([-Wcast-function-type -Wcomma -Wcomment -Wcompound-token-split], [CFLAGS_ac]) |
212 | MHD_CHECK_ADD_CC_CFLAGS([-Wconditional-uninitialized -Wdeprecated -Wdisabled-macro-expansion], [CFLAGS_ac]) | 212 | MHD_CHECK_ADD_CC_CFLAGS([-Wconditional-uninitialized -Wdeprecated], [CFLAGS_ac]) |
213 | MHD_CHECK_ADD_CC_CFLAGS([-Wdocumentation-pedantic -Wempty-init-stmt -Wenum-conversion -Wexpansion-to-defined], [CFLAGS_ac]) | 213 | MHD_CHECK_ADD_CC_CFLAGS([-Wdocumentation-pedantic -Wempty-init-stmt -Wenum-conversion -Wexpansion-to-defined], [CFLAGS_ac]) |
214 | MHD_CHECK_ADD_CC_CFLAGS([-Wflexible-array-extensions -Wloop-analysis -Wformat-pedantic], [CFLAGS_ac]) | 214 | MHD_CHECK_ADD_CC_CFLAGS([-Wflexible-array-extensions -Wloop-analysis -Wformat-pedantic], [CFLAGS_ac]) |
215 | MHD_CHECK_ADD_CC_CFLAGS([-Wformat-type-confusion -Wfour-char-constants], [CFLAGS_ac]) | 215 | MHD_CHECK_ADD_CC_CFLAGS([-Wformat-type-confusion -Wfour-char-constants], [CFLAGS_ac]) |
@@ -222,6 +222,10 @@ AS_CASE([${enable_build_type}],[debug|debugger], | |||
222 | MHD_CHECK_ADD_CC_CFLAGS([-Wnewline-eof -Wover-aligned -Wredundant-parens], [CFLAGS_ac]) | 222 | MHD_CHECK_ADD_CC_CFLAGS([-Wnewline-eof -Wover-aligned -Wredundant-parens], [CFLAGS_ac]) |
223 | MHD_CHECK_ADD_CC_CFLAGS([-Wshift-sign-overflow -Wtautological-compare -Wunaligned-access], [CFLAGS_ac]) | 223 | MHD_CHECK_ADD_CC_CFLAGS([-Wshift-sign-overflow -Wtautological-compare -Wunaligned-access], [CFLAGS_ac]) |
224 | MHD_CHECK_ADD_CC_CFLAGS([-Wunused -Wused-but-marked-unused -Wzero-as-null-pointer-constant -Wzero-length-array], [CFLAGS_ac]) | 224 | MHD_CHECK_ADD_CC_CFLAGS([-Wunused -Wused-but-marked-unused -Wzero-as-null-pointer-constant -Wzero-length-array], [CFLAGS_ac]) |
225 | # | ||
226 | # Removed flags: | ||
227 | # | ||
228 | # -Wdisabled-macro-expansion - warns about macros from system headers | ||
225 | 229 | ||
226 | CFLAGS="${CFLAGS_ac} ${user_CFLAGS}" | 230 | CFLAGS="${CFLAGS_ac} ${user_CFLAGS}" |
227 | LDFLAGS="${user_LDFLAGS}" | 231 | LDFLAGS="${user_LDFLAGS}" |