Skip to content
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

(8.0) PS-9621: Initialization of std::atomic_flag caller_active_ in Percona Telemetry component is not compliant with the standard #5529

Open
wants to merge 1 commit into
base: 8.0
Choose a base branch
from

Conversation

kamil-holubicki
Copy link
Contributor

https://perconadev.atlassian.net/browse/PS-9621

Initialization of std::atomic_flag in the constructor's initializer list is not compliant with the standard. Gcc allows it, however clang issues a compilation warning which turns into error in maintainer mode build.
(error: braces around scalar initializer [-Werror,-Wbraced-scalar-init])

… Telemetry component is not compliant with the standard

https://perconadev.atlassian.net/browse/PS-9621

Initialization of std::atomic_flag in the constructor's initializer
list is not compliant with the standard. Gcc allows it, however clang
issues a compilation warning which turns into error in maintainer mode
build.
(error: braces around scalar initializer [-Werror,-Wbraced-scalar-init])
@kamil-holubicki kamil-holubicki changed the title PS-9621: Initialization of std::atomic_flag caller_active_ in Percona Telemetry component is not compliant with the standard (8.0) PS-9621: Initialization of std::atomic_flag caller_active_ in Percona Telemetry component is not compliant with the standard Jan 2, 2025
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.

1 participant