Skip to content

Fix build#9056

Closed
vvb2060 wants to merge 2 commits intocurl:masterfrom
vvb2060:fix_build
Closed

Fix build#9056
vvb2060 wants to merge 2 commits intocurl:masterfrom
vvb2060:fix_build

Conversation

@vvb2060
Copy link
Copy Markdown
Contributor

@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
ngtcp2/nghttp3@68fbf05

@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
@bagder
Copy link
Copy Markdown
Member

bagder commented Jun 27, 2022

Thanks!

@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

Labels

build HTTP/3 h3 or quic related

Development

Successfully merging this pull request may close these issues.

2 participants