Skip to content

Avoid warning when copying a partially initialized struct#2437

Merged
lballabio merged 1 commit intomasterfrom
o3-errors
Feb 12, 2026
Merged

Avoid warning when copying a partially initialized struct#2437
lballabio merged 1 commit intomasterfrom
o3-errors

Conversation

@lballabio
Copy link
Copy Markdown
Owner

@lballabio lballabio commented Feb 12, 2026

The uninitialized values are filled in after the copy is made.

The warning only appeared at -O3 optimization level and when selecting C++20 or above.

@lballabio lballabio added this to the Release 1.42 milestone Feb 12, 2026
@lballabio lballabio enabled auto-merge (rebase) February 12, 2026 14:52
@coveralls
Copy link
Copy Markdown

Coverage Status

coverage: 74.16%. remained the same
when pulling e79e179 on o3-errors
into 7b76a7a on master.

@lballabio lballabio merged commit ef7a958 into master Feb 12, 2026
90 checks passed
@lballabio lballabio deleted the o3-errors branch February 12, 2026 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants