Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build failure with gcc14 src/burner/unzip.c:1182:24: error: assignment to ‘const long unsigned int #116

Open
jeandestouches opened this issue May 27, 2024 · 0 comments

Comments

@jeandestouches
Copy link

Hello,
Build failure with GCC14 (no issue with GCC12 using same commit) on my gentoo system.

Log:

x86_64-pc-linux-gnu-gcc -march=bdver2 -O2 -pipe -march=bdver2 -O2 -pipe -DNDEBUG -fPIC -Wno-write-strings -DGIT_VERSION="" b7ac554"" -DINCLUDE_7Z_SUPPORT -DUSE_SPEEDHACKS -D__LIBRETRO__ -D__LIBRETRO_OPTIMIZATIONS__ -DWANT_NEOGEOCD -D__LIBRETRO_OPTIMIZATIONS__ -DFRONTEND_SUPPORTS_RGB565 -c -osrc/burn/snd/ym2151.o src/burn/snd/ym2151.c -march=bdver2 -O2 -pipe -march=bdver2 -O2 -pipe -DNDEBUG -fPIC -Wno-write-strings -DGIT_VERSION="" b7ac554"" -DINCLUDE_7Z_SUPPORT -DUSE_SPEEDHACKS -D__LIBRETRO__ -D__LIBRETRO_OPTIMIZATIONS__ -DWANT_NEOGEOCD -D__LIBRETRO_OPTIMIZATIONS__ -DFRONTEND_SUPPORTS_RGB565 -Isrc/burner/libretro -Isrc/burn -Isrc/cpu -Isrc/burn/snd -Isrc/burn/devices -Isrc/intf -Isrc/intf/input -Isrc/intf/cd -Isrc/burner -Isrc/cpu -Isrc/cpu/i8039 -Isrc/dep/libs/zlib -Isrc/dep/libs/lib7z -Isrc/burn/drv/capcom -Isrc/burn/drv/dataeast -Isrc/burn/drv/cave -Isrc/burn/drv/neogeo -Isrc/burn/drv/psikyo -Isrc/burn/drv/sega -Isrc/burn/drv/toaplan -Isrc/burn/drv/taito -Isrc/dep/generated -Isrc/burner/libretro/libretro-common/include -Isrc/dep/libs
src/burner/unzip.c: In function ‘unzOpenCurrentFile3’:
src/burner/unzip.c:1182:24: error: assignment to ‘const long unsigned int *’ from incompatible pointer type ‘const z_crc_t *’ {aka ‘const unsigned int *’} [-Wincompatible-pointer-types]
1182 | s->pcrc_32_tab = get_crc_table();
| ^
make: *** [makefile.libretro:806: src/burner/unzip.o] Error 1
make: *** Waiting for unfinished jobs....

  • ERROR: games-emulation/libretro-fbalpha2012-9999-r1::localrepo failed (compile phase):
  • emake failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant