1
0
mirror of https://git.savannah.gnu.org/git/gperf.git synced 2025-12-02 13:09:22 +00:00

Fix "make extracheck" failure (regression 2016-11-27).

* tests/validate (KR-C): Remove the test against ' const ', since the
input files jstest*.gperf now contain 'const' keywords.
This commit is contained in:
Bruno Haible
2023-09-07 13:20:52 +02:00
parent ce5106eb19
commit a02b4653ee
2 changed files with 6 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
2023-09-07 Bruno Haible <bruno@clisp.org>
Fix "make extracheck" failure (regression 2016-11-27).
* tests/validate (KR-C): Remove the test against ' const ', since the
input files jstest*.gperf now contain 'const' keywords.
2023-09-07 Bruno Haible <bruno@clisp.org> 2023-09-07 Bruno Haible <bruno@clisp.org>
Avoid "clang -Wimplicit-fallthrough" warnings also in C mode. Avoid "clang -Wimplicit-fallthrough" warnings also in C mode.

View File

@@ -24,7 +24,6 @@ for lang in `echo $languages | sed -e 's/,/ /g'`; do
KR-C ) KR-C )
echo "${GPERF} -I -L KR-C $@ > valitest.c" echo "${GPERF} -I -L KR-C $@ > valitest.c"
${GPERF} -I -L KR-C "$@" > valitest.c ${GPERF} -I -L KR-C "$@" > valitest.c
grep -n ' const ' valitest.c /dev/null && exit 1
if test $use_traditional = true; then if test $use_traditional = true; then
verbose ${CC} ${CFLAGS} ${CPPFLAGS} -traditional valitest.c -o valitest verbose ${CC} ${CFLAGS} ${CPPFLAGS} -traditional valitest.c -o valitest
./valitest ./valitest