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 conflict with std::ignore #4356

Merged
merged 1 commit into from
Feb 20, 2025
Merged

Fix conflict with std::ignore #4356

merged 1 commit into from
Feb 20, 2025

Conversation

dinomight
Copy link
Contributor

In situations where using namespace std; is used, compiler warnings can be generated because of local variables named ignore. This renames those variables to something else to address the name conflict.

#4302

In situations where `using namespace std;` is used, compiler warnings
can be generated because of local variables named `ignore`. This renames
those variables to something else to address the name conflict.
@vitaut vitaut merged commit 7f76955 into fmtlib:master Feb 20, 2025
45 checks passed
@vitaut
Copy link
Contributor

vitaut commented Feb 20, 2025

Thinking more of it, I'm willing to accept this PR because the proposed name is actually better. But for similar issues in the future you'll need to provide a repro demonstrating that the problem is worth solving.

@dinomight dinomight deleted the fix-ignore branch February 21, 2025 01:16
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.

2 participants