Repository navigation
Conversation
Follow-up to e70436a curl#20200 Follow-up to 4701a6d curl#19695
|
Weird Windows flaky result (for curiousity): |
In `!ssl` variant. It's useful to catch `uint32_t` mismatches with `unsigned int` or its printf mask. Also add Renovate version bump rule. It takes about 1m (autotools) + 30s (cmake) in CI. Bug: #20199 (comment) Follow-up to 8881a52 #20210 Follow-up to e70436a #20200 Follow-up to 0630e66 #18338 Closes #20204
| if(n != s[i]) { | ||
| curl_mfprintf(stderr, "expected next to be %u, not %u\n", s[i], n); | ||
| curl_mfprintf(stderr, "expected next to be %" PRIu32 | ||
| ", not %" PRIu32 "\n", s[i], n); |
There was a problem hiding this comment.
I am against that we do this everywhere.
There was a problem hiding this comment.
Everywhere meaning around a ~dozen places?
I don't understand. So why using C99 types? Why supporting DJGPP?
There was a problem hiding this comment.
Correct, it's not too bad right now - only a dozen places or so. That's not too bad.
However, we don't need it. And we want to switch to using uint* types on many more places - which then would need many more uses. That is what I'm referring to when I (sloppily) say "everywhere",
So why using C99 types?
For convenience and consistency. And because users are used to them.
Why supporting DJGPP?
You make this into something bigger than my remarks now. I'm not objecting to supporting djgpp. I'm objecting to a warning I consider just in the way.
Fixes MS-DOS DJGPP buidls, possibly others.
Follow-up to e70436a #20200
Follow-up to 4701a6d #19695