-
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
build: silence mingw32ce C99 format warnings, simplify CI #16492
Conversation
This comment was marked as duplicate.
This comment was marked as duplicate.
After silencing the bogus WinCE warnings, the next question is why does autotools want to detect C11 and C99 in these builds, and not in others:
https://github.com/curl/curl/actions/runs/13534146058/job/37822577315?pr=16492#step:6:74 vs. a normal mingw builds:
https://github.com/curl/curl/actions/runs/13534146058/job/37822579122?pr=16492#step:7:73 |
There's probably something legacy in the compiler that it detects (or, can't detect..) and so it needs to interrogate more than usual. I wouldn't sweat it. |
./configure
mingw32ce builds enable C99 mode automatically, thattriggers compiler warnings in gcc 4.4.0. We initially worked it around
in CI by suppressing the detection of C99 with
ac_cv_prog_cc_c99=no
.Replace it with automatically silencing the bogus warnings in C99 mode,
for all build systems:
Ref: https://github.com/curl/curl/actions/runs/13533841306/job/37821720902?pr=16492#step:9:20
Also: simplify Windows CE job configuration in GHA/windows.
Follow-up to 2a292c3 #15975