From 743fb12aa8271c46bce3ec35c3a61834088c7522 Mon Sep 17 00:00:00 2001 From: Philippe Antoine Date: Sat, 23 Oct 2021 12:25:39 +0200 Subject: [PATCH] ci: adds default warning flag about float conversions --- .github/workflows/builds.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml index 07c7ef12e..158c47f34 100644 --- a/.github/workflows/builds.yml +++ b/.github/workflows/builds.yml @@ -465,7 +465,7 @@ jobs: chmod 755 $HOME/.cargo/bin/cbindgen echo "$HOME/.cargo/bin" >> $GITHUB_PATH - run: ./autogen.sh - - run: CC="clang" CFLAGS="$DEFAULT_CFLAGS -Wshadow -fsanitize=address -fno-omit-frame-pointer" ./configure --enable-debug --enable-unittests --disable-shared --enable-rust-strict --enable-hiredis + - run: CC="clang" CFLAGS="$DEFAULT_CFLAGS -Wshadow -fsanitize=address -fno-omit-frame-pointer -Wimplicit-int-float-conversion" ./configure --enable-debug --enable-unittests --disable-shared --enable-rust-strict --enable-hiredis env: LDFLAGS: "-fsanitize=address" ac_cv_func_realloc_0_nonnull: "yes" -- 2.47.3