Skip to content

build: drop macro used to enable -Wsign-conversion warnings in CI#16157

Closed
vszakats wants to merge 1 commit intocurl:masterfrom
vszakats:drop-sign-conversion-enable
Closed

build: drop macro used to enable -Wsign-conversion warnings in CI#16157
vszakats wants to merge 1 commit intocurl:masterfrom
vszakats:drop-sign-conversion-enable

Conversation

@vszakats
Copy link
Member

@vszakats vszakats commented Feb 3, 2025

We don't pursue this, and the necessary #pragma got in the way of
compiling curl with gcc 4.2 and older. Drop the logic completely.

Follow-up to 8a266ac #15939

Reported-by: prpr19xx on Github
Fixes #16152

@github-actions github-actions bot added the CI Continuous Integration label Feb 3, 2025
We don't pursue this, and the necessary `#pragma` got in the way of
compiling curl with gcc 4.2 and older. Drop the logic completely.

Follow-up to 8a266ac curl#15939

Reported-by: prpr19xx on Github
Fixes curl#16152
@vszakats vszakats force-pushed the drop-sign-conversion-enable branch from f3b26f6 to fb3dead Compare February 3, 2025 19:06
@vszakats vszakats closed this in 2ed232a Feb 3, 2025
@vszakats vszakats deleted the drop-sign-conversion-enable branch February 3, 2025 21:28
@vszakats
Copy link
Member Author

vszakats commented Feb 3, 2025

That done, it'd be nice to have the ability to override/tweak picky warnings with custom CFLAGS. This doesn't seem possible with either CMake or autotools.

pps83 pushed a commit to pps83/curl that referenced this pull request Apr 26, 2025
We don't pursue this, and the necessary `#pragma` got in the way of
compiling curl with gcc 4.2 and older. Drop the logic completely.

Follow-up to 8a266ac curl#15939

Reported-by: prpr19xx on Github
Fixes curl#16152
Closes curl#16157
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build CI Continuous Integration tidy-up

Development

Successfully merging this pull request may close these issues.

1 participant