-
-
Notifications
You must be signed in to change notification settings - Fork 290
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
[0.7.4] build failure with GCC 14 due to [-Wincompatible-pointer-types] #473
Comments
To add some specifics: Current signatures in Lines 59 to 60 in 3ff5d83
Signatures according to the libcurl docs for curl_ws_recv and curl_ws_send: CURLcode curl_ws_recv(CURL *curl, void *buffer, size_t buflen, size_t *recv, const struct curl_ws_frame **meta);
CURLcode curl_ws_send(CURL *curl, const void *buffer, size_t buflen, size_t *sent, curl_off_t fragsize, unsigned int flags); CFFI itself has built-in support for https://github.com/python-cffi/cffi/blob/v1.17.1/cffi/backend_ctypes.py#L291-L298 Accordingly, In the case of Then, there's the missing
|
Thanks, but I do recall some issues will appear if I use these aliased types, like |
That's why I didn't mention |
Please check the following items and answer all the questions when reporting a bug,
otherwise it will be closed immediately.
UNLESS it has been verified that the reason is missing pieces in the impersonation.
Describe the bug
Failure to build curl_cffi 0.7.4 with GCC >= 14 (14.2.0):
To Reproduce
Expected behavior
No build failure.
Versions
Additional context
See the GCC 14 porting guide about
-Werror=incompatible-pointer-types
(https://gcc.gnu.org/gcc-14/porting_to.html#incompatible-pointer-types) with GCC 14 the warnings became errors:Complete build log: curl-cffi-0.7.4.build.log
The text was updated successfully, but these errors were encountered: