Skip to content

build: delete -Wsign-conversion related FIXMEs#15939

Closed
vszakats wants to merge 4 commits intocurl:masterfrom
vszakats:del-sign-conversion-todos
Closed

build: delete -Wsign-conversion related FIXMEs#15939
vszakats wants to merge 4 commits intocurl:masterfrom
vszakats:del-sign-conversion-todos

Conversation

@vszakats
Copy link
Member

@vszakats vszakats commented Jan 8, 2025

We decided last year not to pursue avoiding this warning, because it
adds noise and friction, while in most cases not revealing actual code
issues. We fixed the interesting portion of them throughout mid-2024.

Conclude this effort by deleting related FIXMEs and temporary comments.

Follow-up to 3829759 #12489

@github-actions github-actions bot added the CI Continuous Integration label Jan 8, 2025
@vszakats vszakats changed the title build: silence sign-conversion warnings globally, drop FIXMEs build: silence -Wsign-conversion globally, drop FIXMEs Jan 8, 2025
@vszakats
Copy link
Member Author

vszakats commented Jan 8, 2025

Hm, giving this another go (this was a patch set aside in a backlog) to just delete the FIXMEs and keep the macro to make these warnings visible. It takes just a few lines and it can be useful if someone is interested in taking a look at these warnings.

@vszakats vszakats force-pushed the del-sign-conversion-todos branch from afdcd46 to d39a646 Compare January 8, 2025 23:35
@vszakats vszakats changed the title build: silence -Wsign-conversion globally, drop FIXMEs build: delete -Wsign-conversion related FIXMEs Jan 8, 2025
@vszakats vszakats closed this in 8a266ac Jan 9, 2025
@vszakats vszakats deleted the del-sign-conversion-todos branch January 9, 2025 01:13
vszakats added a commit to vszakats/curl that referenced this pull request 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
vszakats added a commit to vszakats/curl that referenced this pull request 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 added a commit to vszakats/curl that referenced this pull request 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 added a commit that referenced this pull request 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
Closes #16157
pps83 pushed a commit to pps83/curl that referenced this pull request Apr 26, 2025
We decided last year not to pursue avoiding this warning, because it
adds noise and friction, while in most cases not revealing actual code
issues. We fixed the interesting portion of them throughout mid-2024.

Conclude this effort by deleting related FIXMEs and temporary comments.

Follow-up to 3829759 curl#12489
Closes curl#15939
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