You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This project builds with gcc-13 but fails with gcc-14. Tested using Linux Mint 22.
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);
| ^~~~~
make: *** [Makefile:690: custom/dependencies/libzlib/gzlib.o] Error 1
make: *** Waiting for unfinished jobs....
custom/dependencies/libzlib/gzwrite.c: In function 'gz_comp':
custom/dependencies/libzlib/gzwrite.c:84:15: error: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration]
84 | got = write(state->fd, strm->next_in, strm->avail_in);
| ^~~~~
| fwrite
custom/dependencies/libzlib/gzwrite.c: In function 'gzclose_w':
custom/dependencies/libzlib/gzwrite.c:573:9: error: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration]
573 | if (close(state->fd) == -1)
| ^~~~~
| pclose
make: *** [Makefile:690: custom/dependencies/libzlib/gzwrite.o] Error 1
custom/dependencies/libzlib/gzread.c: In function 'gz_load':
custom/dependencies/libzlib/gzread.c:30:15: error: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration]
30 | ret = read(state->fd, buf + *have, len - *have);
| ^~~~
| fread
custom/dependencies/libzlib/gzread.c: In function 'gzclose_r':
custom/dependencies/libzlib/gzread.c:591:11: error: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration]
591 | ret = close(state->fd);
| ^~~~~
| pclose
make: *** [Makefile:690: custom/dependencies/libzlib/gzread.o] Error 1
@fmahnke hoping you have some ideas here since you fixed gcc-13?
The text was updated successfully, but these errors were encountered:
This project builds with gcc-13 but fails with gcc-14. Tested using Linux Mint 22.
@fmahnke hoping you have some ideas here since you fixed gcc-13?
The text was updated successfully, but these errors were encountered: