You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe your environment Describe any aspect of your environment relevant to the problem, including your platform, build system, version numbers of installed dependencies, etc. If you're reporting a problem with a specific version of a library in this repo, please check whether the problem has been fixed on main branch.
Issue exists in the main branch too, when building we see this warning pop up on using otlp metrics related code;
SaiHarshaK
changed the title
Multiple assignment operators specified for SpinLockMutex
Warning: Multiple assignment operators specified for SpinLockMutex
Jan 22, 2024
Which MSVC compiler version, as this seems to be a false warning for perfectly legal code? However, we may also discuss whether we really need a volatile specifier for the synchronization mechanism. One use-case could be to prevent the use/creation of synchronization object outside the scope of program flow.
Describe your environment Describe any aspect of your environment relevant to the problem, including your platform, build system, version numbers of installed dependencies, etc. If you're reporting a problem with a specific version of a library in this repo, please check whether the problem has been fixed on main branch.
Issue exists in the main branch too, when building we see this warning pop up on using otlp metrics related code;
Steps to reproduce
Describe exactly how to reproduce the error. Include a code sample if applicable.
Build with this sample code:
What is the expected behavior?
No such warning is thrown
What is the actual behavior?
Warning C4522 is thrown.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: