Skip to content

Fix missing SSIZE_MAX declaration by including <climits>#136

Merged
encounter merged 1 commit into
decompals:mainfrom
miried:fix/ssize-max-missing-climits
Jul 11, 2026
Merged

Fix missing SSIZE_MAX declaration by including <climits>#136
encounter merged 1 commit into
decompals:mainfrom
miried:fix/ssize-max-missing-climits

Conversation

@miried

@miried miried commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

src/files.cpp and src/async_io_epoll.cpp use SSIZE_MAX without including , relying on it being pulled in transitively by other headers. Newer glibc/libstdc++ (e.g. GCC 16 / glibc 2.43) no longer expose SSIZE_MAX this way, breaking the build. Added the explicit include to these files and to src/async_io_kqueue.cpp, which has the same latent issue.

src/files.cpp and src/async_io_epoll.cpp use SSIZE_MAX without
including <climits>, relying on it being pulled in transitively
by other headers. Newer glibc/libstdc++ (e.g. GCC 16 / glibc 2.43)
no longer expose SSIZE_MAX this way, breaking the build. Added
the explicit include to these files and to src/async_io_kqueue.cpp,
which has the same latent issue.
@encounter
encounter merged commit d1b8bec into decompals:main Jul 11, 2026
12 checks passed
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

Successfully merging this pull request may close these issues.

2 participants