-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
C++20 and deprecation some uses of volatile
#45072
Comments
assign DataFormats/Math, CondCore/Utilities |
New categories assigned: reconstruction,db @jfernan2,@mandrenguyen,@francescobrivio,@saumyaphor4252,@perrotta,@consuegs you have been requested to review this Pull request/Issue and eventually sign? Thanks |
cms-bot internal usage |
A new Issue was created by @iarspider. @antoniovilela, @Dr15Jones, @smuzaffar, @makortel, @rappoccio, @sextonkennedy can you please review it and eventually sign/assign? Thanks. cms-bot commands are listed here |
[CPP20] remove depracated use of volatile as for #45072
Now that we capture CUDA warnings, there are some more uses of |
According to the CUDA documentation:
So, if
Interestingly, the alpaka version does not use |
|
So we will care about it in 2030. |
Actually, are you sure ?
CWG2654 says that compound-assignment statements have been un-deprecated in C++ 23. |
I've read that they only decided to un-deprecate bitwise compound operators. Then yes, we can silence this warning. |
so as suggested by the compiler
we can add |
I see that 14_2_X does not have yet the -diag-suppress |
No objections, but wasn't cms-sw/cmsdist#9252 already merged in 14.1.x ? |
In C++20, many uses of
volatile
keyword are deprecated, see Proposal 1152. This creates warnings in C++20 IBs:The text was updated successfully, but these errors were encountered: