-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
copying an object of non-trivial type error #2970
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR but please revert unrelated changes.
Also could you post the full diagnostic to see where the problematic call comes from? |
you are right. Sorry, I messed up the commits.
from: |
Please provide a reproduction code and compiler options. On godbolt without error: |
One more thing: do you by any chance have a godbolt repro for this warning? I tried to make one in https://godbolt.org/z/7Ybn5zrr9 but to no avail. |
unfortunately, I cannot expose much as the code comes from an internal build pipeline. I also tried it on my side on the nearest configurations Arm64 GCC-8.5.0 and x86-64 GCC-8.3.0 and I'm not able to reproduce the error. Maybe it is an issue specifically related to Arm64 GCC-8.3-2019.03 Linux-GNU. If you think that this fix is not relevant, please discard it. I see that |
Yeah, considering that |
I ended up suppressing the warning since it appears to be more wide spread (see e.g. #3000). |
The fix addresses the following error related to fmt-9.0.0
uint128_fallback
, reproducible with GCC-8.3.0