build failure with gcc14 src/burner/unzip.c:1182:24: error: assignment to ‘const long unsigned int
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 42/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- c
- Domain
- build-system
Research direction
Start with src/burner/unzip.c at line 1182 and inspect the assignment in unzOpenCurrentFile3 alongside the reported GCC14 type error. Reproduce the failure using the makefile.libretro target, then verify that the project compiles successfully with GCC14 without introducing new warnings.
Written by the indexing model from the issue text.
Description
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
- Dominant language
- C++
- Stars
- 31
- Forks
- 55
- PR merge metrics
- No merged PRs in 30d
Getting set up
We have not checked this project's setup files yet. Start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from libretro/fbalpha2012
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
libretro/fbalpha2012#118 ·
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
libretro/fbalpha2012#115 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 25/100
libretro/fbalpha2012#109 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
libretro/fbalpha2012#107 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
libretro/fbalpha2012#103 · 4 comments ·
All issues in libretro/fbalpha2012
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
category:port-update
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
CLI jira shell completion
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day