Skip to content

Commit

Permalink
GHA: work around build issue in libieee1284
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Compyx committed May 13, 2024
1 parent a719676 commit b3a5356
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-main-on-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/make-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 3 additions & 1 deletion vice/doc/building/Windows-MinGW-GTK3-Howto.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b3a5356

Please sign in to comment.