-
Notifications
You must be signed in to change notification settings - Fork 882
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
NGHTTP2_NO_SSIZE_T doesn't distinguish the needed to avoid building APIs #2219
Comments
NGHTTP2_NO_SSIZE_T should not be used when building libnghttp2 itself. |
You also misunderstand how NGHTTP2_NO_SSIZE_T works. It hides APIs which use ssize_t, not nghttp2_ssize. |
@tatsuhiro-t what would be the workaround for this compilation problem ? |
If you are upgrading nghttp2 from an older version which does only support ssize_t API, I think you can remove NGHTTP2_NO_SSIZE_T. If that is not possible, do not define NGHTTP2_NO_SSIZE_T when building libnghttp2. I do not know how to to this in cmake. |
We bundled nghttp2 library as a bundled library.
When we tried to upgrade nghttp2 to v1.62.1,
NGHTTP2_NO_SSIZE_T
macro didn't take any effects for disabling APIs which were newly introduced nghttp2_ssize API.When I was specified the
NGHTTP2_NO_SSIZE_T
macro in CMakeLists.txt like as:Then, configure with:
and building with cmake:
Then, 💥
The text was updated successfully, but these errors were encountered: