Skip to content

GHA/windows: enable more options in 32-bit jobs - #21227

Closed
vszakats wants to merge 3 commits into
curl:masterfrom
vszakats:ghaw32
Closed

vszakats wants to merge 3 commits into
curl:masterfrom
vszakats:ghaw32

Conversation

@vszakats

@vszakats vszakats commented Apr 5, 2026 •

Copy link
Copy Markdown
Member

c-ares, gnutls, libssh, openssl.

@vszakats vszakats changed the title GHA/windows: enable openssl and libssh in 32-bit jobs GHA/windows: build with openssl and libssh in 32-bit jobs Apr 5, 2026
@github-actions github-actions Bot added Windows Windows-specific CI Continuous Integration labels Apr 5, 2026
vszakats added a commit to vszakats/curl that referenced this pull request Apr 5, 2026
dl-mingw, CM 6.4.0-i686 (mingw-w64 5.0.0) schannel !unity:
```
lib/vssh/libssh.c: In function 'myssh_in_SFTP_QUOTE_STATVFS':
lib/vssh/libssh.c:573:31: error: ISO C does not support the 'I' printf flag [-Werror=format=]
     char *tmp = curl_maprintf("statvfs:\n"
                               ^~~~~~~~~~~~
lib/vssh/libssh.c:573:31: error: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'uint64_t {aka long long unsigned int}' [-Werror=format=]
lib/vssh/libssh.c:573:31: error: ISO C does not support the 'I' printf flag [-Werror=format=]
[...]
```
Ref: https://github.com/curl/curl/actions/runs/24002480364/job/70000685821

Follow-up to 413a0fe curl#12346
Cherry-picked from curl#21227
vszakats added a commit that referenced this pull request Apr 5, 2026
Fixing (dl-mingw, CM 6.4.0-i686 (mingw-w64 5.0.0) schannel !unity):
```
lib/vssh/libssh.c: In function 'myssh_in_SFTP_QUOTE_STATVFS':
lib/vssh/libssh.c:573:31: error: ISO C does not support the 'I' printf flag [-Werror=format=]
     char *tmp = curl_maprintf("statvfs:\n"
                               ^~~~~~~~~~~~
lib/vssh/libssh.c:573:31: error: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'uint64_t {aka long long unsigned int}' [-Werror=format=]
lib/vssh/libssh.c:573:31: error: ISO C does not support the 'I' printf flag [-Werror=format=]
[...]
```
Ref: https://github.com/curl/curl/actions/runs/24002480364/job/70000685821

mingw-w64 <=6.0.0 define `PRIu64` like this:
```
./inttypes.h:#define PRIu64 "I64u"
```

Follow-up to 413a0fe #12346
Cherry-picked from #21227

Closes #21229
@vszakats vszakats changed the title GHA/windows: build with openssl and libssh in 32-bit jobs GHA/windows: enable more options in 32-bit jobs Apr 5, 2026
@vszakats vszakats added the build label Apr 5, 2026
@vszakats vszakats closed this in 8b50c9d Apr 5, 2026
@vszakats
vszakats deleted the ghaw32 branch April 5, 2026 15:42
outcast36 pushed a commit to greearb/curl that referenced this pull request Jun 3, 2026
Fixing (dl-mingw, CM 6.4.0-i686 (mingw-w64 5.0.0) schannel !unity):
```
lib/vssh/libssh.c: In function 'myssh_in_SFTP_QUOTE_STATVFS':
lib/vssh/libssh.c:573:31: error: ISO C does not support the 'I' printf flag [-Werror=format=]
     char *tmp = curl_maprintf("statvfs:\n"
                               ^~~~~~~~~~~~
lib/vssh/libssh.c:573:31: error: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'uint64_t {aka long long unsigned int}' [-Werror=format=]
lib/vssh/libssh.c:573:31: error: ISO C does not support the 'I' printf flag [-Werror=format=]
[...]
```
Ref: https://github.com/curl/curl/actions/runs/24002480364/job/70000685821

mingw-w64 <=6.0.0 define `PRIu64` like this:
```
./inttypes.h:#define PRIu64 "I64u"
```

Follow-up to 413a0fe curl#12346
Cherry-picked from curl#21227

Closes curl#21229
outcast36 pushed a commit to greearb/curl that referenced this pull request Jun 3, 2026
c-ares, gnutls, libssh, openssl.

Closes curl#21227
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build CI Continuous Integration Windows Windows-specific

Development

Successfully merging this pull request may close these issues.

1 participant