Skip to content
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

Fix build #9056

wants to merge 2 commits into from

Fix build #9056

wants to merge 2 commits into from


Copy link

@vvb2060 vvb2060 commented Jun 27, 2022

curl/src/main/native/curl/lib/easy_lock.h:54:7: error: use of undeclared identifier 'asm'
        asm volatile("yield" ::: "memory");
  1 error generated.

when build with -std options

curl/src/main/native/curl/lib/vquic/ngtcp2.c:1081:3: error: incompatible function pointer types initializing 'nghttp3_acked_stream_data' (aka 'int (*)(struct nghttp3_conn *, long long, unsigned long long, void *, void *)') with an expression of type 'int (nghttp3_conn *, int64_t, size_t, void *, void *)' (aka 'int (struct nghttp3_conn *, long long, unsigned int, void *, void *)') [-Werror,-Wincompatible-function-pointer-types]
C/C++:   cb_h3_acked_stream_data, /* acked_stream_data */
C/C++:   ^~~~~~~~~~~~~~~~~~~~~~~
C/C++: 1 error generated.

when build with -Werror options on armeabi-v7a

@bagder bagder added build HTTP/3 h3 or quic related labels Jun 27, 2022
@bagder bagder closed this in 5a1a892 Jun 27, 2022
bagder pushed a commit that referenced this pull request Jun 27, 2022
Copy link

bagder commented Jun 27, 2022


@vvb2060 vvb2060 deleted the fix_build branch June 28, 2022 01:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
build HTTP/3 h3 or quic related

Successfully merging this pull request may close these issues.

None yet

2 participants