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

Minor compilation warning #77

Open
Lecrapouille opened this issue Aug 21, 2022 · 0 comments
Open

Minor compilation warning #77

Lecrapouille opened this issue Aug 21, 2022 · 0 comments

Comments

@Lecrapouille
Copy link

Always nice to compile with -Wshadow to catch some silent error (not the case here):

FileDialogs.hpp:1768:25: warning: declaration of ‘flag’ shadows a member of ‘pfd::message’ [-Wshadow]
 1768 |             std::string flag = "--";
      |                         ^~~~
In file included from XXX.cpp:
FileDialogs.hpp:138:16: note: shadowed declaration is here
  138 |     enum class flag
      |                ^~~~
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

No branches or pull requests

1 participant