From f2dbcdcce97ffbcbcdbb80cf63dc4728d075dc59 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Wed, 19 Nov 2025 19:36:38 +0000 Subject: [PATCH] github: Use ./configure --enable-werror We should test with compiler warnings turned into errors, to avoid warnings being inadvertently introduced in new code. --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e21393346..d7f2872dc 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -59,7 +59,7 @@ jobs: - name: Compile the code run: | autoreconf -fiv - ./configure --disable-gobject + ./configure --disable-gobject --enable-werror make -j - name: Run the quick test @@ -136,7 +136,7 @@ jobs: run: | su -c ' autoreconf -fiv && - ./configure CFLAGS="-fPIC -g -O2" --disable-gobject && + ./configure CFLAGS="-fPIC -g -O2" --disable-gobject --enable-werror && make -j ' guestfs