portable-file-dialogs icon indicating copy to clipboard operation
portable-file-dialogs copied to clipboard

Minor compilation warning

Open Lecrapouille opened this issue 3 years ago • 0 comments

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
      |                ^~~~

Lecrapouille avatar Aug 21 '22 14:08 Lecrapouille