... since it no longer acknowledges the comment markup we use for that
purpose.
Reported-by: Younes El-karama
Fixes #7295
Closes #7307
CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [alloc-zero])
tmp_CFLAGS="$tmp_CFLAGS -Wformat-overflow=2"
tmp_CFLAGS="$tmp_CFLAGS -Wformat-truncation=2"
- tmp_CFLAGS="$tmp_CFLAGS -Wimplicit-fallthrough=4"
+ if test "$compiler_num" -lt "1200"; then
+ dnl gcc 12 doesn't acknowledge our comment markups
+ tmp_CFLAGS="$tmp_CFLAGS -Wimplicit-fallthrough=4"
+ fi
fi
#
fi