Skip to content

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

Merged
erlend-aasland merged 1 commit into
python:mainfrom
skirpichev:enable-strict-overflow-108562
Mar 3, 2024
Merged

gh-108562: fix compiler warnings for bundled libmpdec in the main#114751
erlend-aasland merged 1 commit into
python:mainfrom
skirpichev:enable-strict-overflow-108562

Conversation

@skirpichev

@skirpichevskirpichev commented Jan 30, 2024

Copy link
Copy Markdown
Member

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.

@sethmlarsonsethmlarson left a comment

Copy link
Copy Markdown
Contributor

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
Copy Markdown
MemberAuthor

@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:mainMar 3, 2024
@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 freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@skirpichev@erlend-aasland@sethmlarson