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

Remove -Wshadow suppression which leaked into global namespace #48737

Merged
merged 1 commit into from
Apr 13, 2023

Conversation

rschu1ze
Copy link
Member

See "Dictionaries/DictionaryStructure.h", noticed when working on #48671

Changelog category (leave one):

  • Not for changelog (changelog entry is not required)

@robot-clickhouse-ci-2 robot-clickhouse-ci-2 added the pr-not-for-changelog This PR should not be mentioned in the changelog label Apr 13, 2023
@serxa serxa self-assigned this Apr 13, 2023
@@ -16,9 +16,6 @@
#include <Interpreters/IExternalLoadable.h>


/// Clang mistakenly warns about the names in enum class.
#pragma clang diagnostic ignored "-Wshadow"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

omg, great finding!

@rschu1ze
Copy link
Member Author

Finding this was actually pure luck 😄

@rschu1ze rschu1ze changed the title Remove -Wshadow suppression which leaked into global namespace Remove -Wshadow suppression which leaked into global namespace Apr 13, 2023
@rschu1ze rschu1ze merged commit 43b8cbc into master Apr 13, 2023
137 of 140 checks passed
@rschu1ze rschu1ze deleted the rs/fix-wshadow branch April 13, 2023 19:18
yokofly added a commit to timeplus-io/proton that referenced this pull request Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-not-for-changelog This PR should not be mentioned in the changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants