Conversation
|
Because of #14624 |
7971abd to
d3efa88
Compare
|
It looks like old-mingw is somehow not understanding the CURL_TEMP_PRINTF() macro in curl/mprintf.h correctly. |
|
@vszakats what does "old-mingw" mean in this CI context? It looks like I might need to add some additional conditions. |
It's a shortcut for edit: Thinking to rename to |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as outdated.
This comment was marked as outdated.
|
I'll look into this, thanks! |
|
[edit: RESOLVED, but unhidden for future reference.] I couldn't confirm that the tests/http/client programs pick up the wrong curl headers. This part looks fine to me. If it was wrong, the 9.5.0 job would also break the same way. If you have logs that suggest otherwise, let me know and I'm happy to look again. Adding more mingw-w64 variants revealed that the cutoff point was mingw-w64 8.0.0, which made things work out of the box, and mingw-w64 7.0.0 and older are breaking by default. (#14633) Example toolchains: This is not bound to the GCC version, but the mingw-w64 package version which pulls the CRT headers, implibs and other things. At build-time this value is in The relevant line in this announcement: Setting the External builds (=someone using this code pattern with these mingw-w64 distros) remain affacted, unless they use the same workaround. Here's the answer why Lines 320 to 329 in 9fff074 I'm not sure, but in case curl publishes the |
|
Analysis of PR #14625: Test 291 failed, which has NOT been flaky recently, so there could be a real issue in the PR. Generated by Testclutch |
Add tweak for mingw-w64 when building tests/http/client programs to avoid a bogus `-Wformat` warning when using mingw-w64 v7.0.0 or older. The warning is bogus because these programs use curl's `printf()` implementation that is guaranteed to support that format spec. Add this for both CMake and autotools. (But only CMake is CI tested with an old toolchain.) Apply the workaround to `docs/examples`, and fix an example to use curl's `printf()` with `CURL_FORMAT_CURL_OFF_T`. Reintroduce curl `printf()` calls into `tests/http/client`, via #14625. Also restore large number masks to a printf, changed earlier in #14382. Follow-up to 232302f #14382 Ref: #14625 (comment) Closes #14640
4edfcd2 to
51baa06
Compare
... in code that previously was not checksrc'ed
This job unconditionally runs checksrc on ALL .c and .h files present in git. checksrc.pl: fixed to look for ".checksrc" in the same directory from where it loads the file to check so that it an be invoked like this Closes #14625
51baa06 to
b7bdc77
Compare
This job unconditionally runs checksrc on ALL .c and .h files present in git. checksrc.pl: fixed to look for ".checksrc" in the same directory from where it loads the file to check so that it an be invoked like this Closes #14625
This job unconditionally runs checksrc on ALL .c and .h files present in git.
checksrc.pl: fixed to look for ".checksrc" in the same directory from where it loads the file to check