Repository navigation
Conversation
The nghttp2 package is not installed, isn't that the reason? |
No. I intentionally not install it. When I will add it, it will create a compilation error. |
Yep, I don't know much about MSH3 (tried building it once on non-Windows and failed), but on a quick glance it looks like a library that is a QUIC/H3 backend but not a general TLS backend, for H2 or H1 to use. So it seems by design, but someone please correct me if wrong. |
I can build it with vcpkg on non windows platform as well (linux, osx, other ...) |
|
Ah OK, thanks, it's always useful to include the actual failures. ...these ones are known, and pending fixes in this PR: #14815 |
Thanks! I added as depend PR. |
msh3 is a HTTP/3 library (that uses msquic). It does no other HTTP version. |
- fix MSH3 static symbol clash.
- fix Quiche static symbol clash.
- fix local macro clash with BearSSL header.
- fix local macro clash with OmniOS system header.
```
In file included from ../../lib/urldata.h:197,
from ../../lib/altsvc.c:32,
from libcurlall.c:2:
../../lib/cf-socket.h:55:25: error: expected ':', ',', ';', '}' or '__attribute__' before '.' token
55 | #define sa_addr _sa_ex_u.addr
| ^
In file included from ../../lib/urldata.h:197,
from ../../lib/altsvc.c:32,
from libcurlall.c:2:
../../lib/cf-socket.h:55:25: error: expected ':', ',', ';', '}' or '__attribute__' before '.' token
55 | #define sa_addr _sa_ex_u.addr
| ^
```
Ref: https://github.com/curl/curl/actions/runs/10738314933/job/29781644299?pr=14772#step:3:6115
Discovered while adding support for "unity" builds for autotools.
Required-by: #14922
Cherry-picked from #14815
Closes #14932
|
Dang, I was wrong, the unreachable code issue in unit1660 still needs one of the open PRs. Yep, that's in https://github.com/curl/curl/pull/14772/files#diff-aa6618147822be7a9ddb938893eaa6c9e8e7216a9e875147eb1bd1e5708143cd. |
``` C:\projects\curl\tests\unit\unit1660.c(46,1): error C2220: the following warning is treated as an error [C:\projects\curl\_bld\tests\unit\units.vcxproj] C:\projects\curl\tests\unit\unit1660.c(46,1): warning C4702: unreachable code ``` Ref: https://ci.appveyor.com/project/curlorg/curl/builds/50531210/job/cjewvo9agavthr3o#L216 Required-by: curl#14922 Cherry-picked from curl#14772
|
Split that patch off to #14971. |
Can you make a PR only fix the test? |
Not until I figure out what the problem is. |
Or no-HTTP, no-HSTS builds, also MSH3 builds. CMake, VS2022, Debug, x64, no SSL, Static, Build-only: ``` C:\projects\curl\tests\unit\unit1660.c(46,1): error C2220: the following warning is treated as an error C:\projects\curl\tests\unit\unit1660.c(46,1): warning C4702: unreachable code ``` Ref: https://ci.appveyor.com/project/curlorg/curl/builds/50531210/job/cjewvo9agavthr3o#L216 Required-by: #14922 Cherry-picked from #14772 Closes #14971
|
unit1660 fix is merged. |
I don't understand what problem are you referring to? I was refer to unreachable code compilation error, and you already create a seperate PR for it, as I requested. |
|
All dependencies solved. |
Okay, by the time you "requested" this, the PR was already made, that's why I didn't understand your question. |
|
ok. I didn't notice. Sorry for the confusion. |
|
@vszakats Are you thinking also to create msh3 with vcpkg in other os? (linux, osx) |
|
I tend to think this MSH3 job is enough to cover it for curl. Perhaps a mingw-w64 vcpg build-only job, would be a combination interesting, if doable without too much hassle and runs fast in CI. But my plate is totally full, so not so keen on breaking new grounds now. |
|
Thanks! |
- fix MSH3 static symbol clash.
- fix Quiche static symbol clash.
- fix local macro clash with BearSSL header.
- fix local macro clash with OmniOS system header.
```
In file included from ../../lib/urldata.h:197,
from ../../lib/altsvc.c:32,
from libcurlall.c:2:
../../lib/cf-socket.h:55:25: error: expected ':', ',', ';', '}' or '__attribute__' before '.' token
55 | #define sa_addr _sa_ex_u.addr
| ^
In file included from ../../lib/urldata.h:197,
from ../../lib/altsvc.c:32,
from libcurlall.c:2:
../../lib/cf-socket.h:55:25: error: expected ':', ',', ';', '}' or '__attribute__' before '.' token
55 | #define sa_addr _sa_ex_u.addr
| ^
```
Ref: https://github.com/curl/curl/actions/runs/10738314933/job/29781644299?pr=14772#step:3:6115
Discovered while adding support for "unity" builds for autotools.
Required-by: curl#14922
Cherry-picked from curl#14815
Closes curl#14932
Or no-HTTP, no-HSTS builds, also MSH3 builds. CMake, VS2022, Debug, x64, no SSL, Static, Build-only: ``` C:\projects\curl\tests\unit\unit1660.c(46,1): error C2220: the following warning is treated as an error C:\projects\curl\tests\unit\unit1660.c(46,1): warning C4702: unreachable code ``` Ref: https://ci.appveyor.com/project/curlorg/curl/builds/50531210/job/cjewvo9agavthr3o#L216 Required-by: curl#14922 Cherry-picked from curl#14772 Closes curl#14971
Add msvc msh3 job
Fix compilation warning / error on test: Unreachable code.
Test 1014 failing. Should fix.
Http2 don't compile with msh3. Is it by design?
Compilation error:
Depends:
Refs: #14927 #14932 #14971