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

Fix clang handling of new C23 modifiers %w and %wf #71740

Open
ZijunZhaoCCK opened this issue Nov 8, 2023 · 1 comment
Open

Fix clang handling of new C23 modifiers %w and %wf #71740

ZijunZhaoCCK opened this issue Nov 8, 2023 · 1 comment
Labels
c23 clang:diagnostics New/improved warning or error message in Clang, but not in clang-tidy or static analyzer

Comments

@ZijunZhaoCCK
Copy link
Contributor

Bionic adds C23's %wf but clang reports a false-positive -Wformat warning. E.g. https://godbolt.org/z/rEazMv7sb

-Wformat should accept %w and %wf when applicable.

@ZijunZhaoCCK ZijunZhaoCCK added the clang Clang issues not falling into any other category label Nov 8, 2023
@EugeneZelenko EugeneZelenko added clang:diagnostics New/improved warning or error message in Clang, but not in clang-tidy or static analyzer and removed clang Clang issues not falling into any other category labels Nov 8, 2023
@ZijunZhaoCCK
Copy link
Contributor Author

Blocked by #74509

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c23 clang:diagnostics New/improved warning or error message in Clang, but not in clang-tidy or static analyzer
Projects
None yet
Development

No branches or pull requests

3 participants