From b3a53563cf235d279bb854bbc68e8423772b5937 Mon Sep 17 00:00:00 2001 From: compyx Date: Mon, 13 May 2024 08:52:23 +0000 Subject: [PATCH] GHA: work around build issue in libieee1284 GCC 14.1 warns about incompatible pointer types in some debug code in libieee1284 and exits with a fatal error because of this. Since this is debug code VICE doesn't use, we disable the warning, allowing libieee1284 to build and install. git-svn-id: https://svn.code.sf.net/p/vice-emu/code/trunk@45157 379a1393-f5fb-40a0-bcee-ef074d9b53f7 --- .github/workflows/build-main-on-push.yml | 2 +- .github/workflows/make-release.yml | 2 +- vice/doc/building/Windows-MinGW-GTK3-Howto.txt | 4 +++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-main-on-push.yml b/.github/workflows/build-main-on-push.yml index 7544936375f..e702102f20d 100644 --- a/.github/workflows/build-main-on-push.yml +++ b/.github/workflows/build-main-on-push.yml @@ -323,7 +323,7 @@ jobs: export XML_CATALOG_FILES="/${{ matrix.arch.prefix }}/etc/xml/catalog" ./bootstrap ./configure --without-python - make + make CFLAGS="-Wno-incompatible-pointer-types" make install cd "$OLDDIR" diff --git a/.github/workflows/make-release.yml b/.github/workflows/make-release.yml index 29bd27ef4b5..8de1db427fa 100644 --- a/.github/workflows/make-release.yml +++ b/.github/workflows/make-release.yml @@ -286,7 +286,7 @@ jobs: export XML_CATALOG_FILES="/${{ matrix.arch.prefix }}/etc/xml/catalog" ./bootstrap ./configure --without-python - make + make CFLAGS="-Wno-incompatible-pointer-types" make install cd "$OLDDIR" diff --git a/vice/doc/building/Windows-MinGW-GTK3-Howto.txt b/vice/doc/building/Windows-MinGW-GTK3-Howto.txt index af1ddeaabcd..5260752d175 100644 --- a/vice/doc/building/Windows-MinGW-GTK3-Howto.txt +++ b/vice/doc/building/Windows-MinGW-GTK3-Howto.txt @@ -212,7 +212,9 @@ $ export XML_CATALOG_FILES="/mingw64/etc/xml/catalog" $ mkdir ~/work && cd ~/work $ git clone https://github.com/twaugh/libieee1284 . -$ ./bootstrap && ./configure --without-python && make -s && make -s install +$ ./bootstrap +$ ./configure --without-python +$ make CFLAGS="-Wno-incompatible-pointer-types" -s && make -s install $ cd .. && rm -rf work reconfigure with --enable-parsid --enable-libieee1284