Skip to content
Snippets Groups Projects
Commit 9e3e1c4c authored by mio's avatar mio Committed by Natanael Copa
Browse files

community/libretro-mupen64plus: fix build with gcc 14

Fix multiple build errors with gcc 14.

```
mupen64plus-core/subprojects/minizip/zip.c: In function 'zipOpenNewFileInZip4_64':
mupen64plus-core/subprojects/minizip/zip.c:1249:28: error: assignment to 'const long unsigned int *' from incompatible pointer type 'con
st z_crc_t *' {aka 'const unsigned int *'} [-Wincompatible-pointer-types]
 1249 |         zi->ci.pcrc_32_tab = get_crc_table();
      |                            ^
```

```
custom/dependencies/libzlib/gzlib.c: In function 'gz_open':
custom/dependencies/libzlib/gzlib.c:14:17: error: implicit declaration of function 'lseek'; did you mean 'fseek'? [-Wimplicit-function-declaration]
   14 | #  define LSEEK lseek
      |                 ^~~~~
custom/dependencies/libzlib/gzlib.c:256:24: note: in expansion of macro 'LSEEK'
  256 |         state->start = LSEEK(state->fd, 0, SEEK_CUR);
      |                        ^~~~~
```
parent 8e00317f
No related branches found
No related tags found
1 merge request!75489community/libretro-mupen64plus: upgrade to 0_git20241029, fix build with gcc 14
Pipeline #274548 skipped
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment