Skip to content
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

gh-108562: fix compiler warnings for bundled libmpdec in the main #114751

Merged

Conversation

skirpichev
Copy link
Member

@skirpichev skirpichev commented Jan 30, 2024

This patch enable (if awailable) -fstrict-overflow for libmpdec and also shut off false positive warnings (-Warray-bounds). The later part was backported from mpdecimal-4.0.0.

@skirpichev

This comment was marked as outdated.

This patch enable (if awailable) -fstrict-overflow for libmpdec and also
shut off false positive warnings (-Warray-bounds).  The later part
was backported from mpdecimal-4.0.0.
Copy link
Contributor

@sethmlarson sethmlarson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for updating the SBOM!

@rhettinger rhettinger removed their request for review January 30, 2024 23:11
@skirpichev
Copy link
Member Author

@erlend-aasland, is this still waiting for review? Maybe I should ask Stefan (However, I think the decimal-related part was actually discussed in the issue)?

@erlend-aasland erlend-aasland merged commit 002a594 into python:main Mar 3, 2024
36 checks passed
@skirpichev skirpichev deleted the enable-strict-overflow-108562 branch March 3, 2024 07:26
woodruffw pushed a commit to woodruffw-forks/cpython that referenced this pull request Mar 4, 2024
If awailable, enable -fstrict-overflow for libmpdec. Also
shut off false positive warnings (-Warray-bounds).

The later was backported from mpdecimal-4.0.0.
adorilson pushed a commit to adorilson/cpython that referenced this pull request Mar 25, 2024
If awailable, enable -fstrict-overflow for libmpdec. Also
shut off false positive warnings (-Warray-bounds).

The later was backported from mpdecimal-4.0.0.
diegorusso pushed a commit to diegorusso/cpython that referenced this pull request Apr 17, 2024
If awailable, enable -fstrict-overflow for libmpdec. Also
shut off false positive warnings (-Warray-bounds).

The later was backported from mpdecimal-4.0.0.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants