Skip to content

Commit c1d7cd9

Browse files
committed
tests: integration: json-c: Fix configure step
Don't treat calloc-transposed-args and implicit-function-declaration lints as an errors. Issue encountered on Ubuntu 26.04/GCC 15.
1 parent 9ab2eef commit c1d7cd9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/integration/tests/json-c/configure.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ set -e; set -o pipefail
33

44
SCRIPT_DIR="$(cd "$(dirname "$0" )" && pwd)"
55

6+
export CFLAGS="-Wno-calloc-transposed-args -Wno-implicit-function-declaration"
67
export LDFLAGS="-pthread -lquadmath -Wl,--no-as-needed -ldl"
78

89
(cd "${SCRIPT_DIR}/repo" && ./configure --disable-shared 2>&1 \

0 commit comments

Comments
 (0)