We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The following warnings are seen when compiling with -Wshadow enabled (and break the build when -Werror is active).
/ceph/fast/home/azonenberg/code/scopehal-apps/src/nativefiledialog-extended/src/nfd_gtk.cpp: In constructor ?{anonymous}::NativeWindowParenter::NativeWindowParenter(GtkWidget*, const nfdwindowhandle_t&)?: /ceph/fast/home/azonenberg/code/scopehal-apps/src/nativefiledialog-extended/src/nfd_gtk.cpp:450:37: error: declaration of ?widget? shadows a member of ?{anonymous}::NativeWindowParenter? [-Werror=shadow] 450 | NativeWindowParenter(GtkWidget* widget, const nfdwindowhandle_t& parentWindow) noexcept | ~~~~~~~~~~~^~~~~~ /ceph/fast/home/azonenberg/code/scopehal-apps/src/nativefiledialog-extended/src/nfd_gtk.cpp:472:22: note: shadowed declaration is here 472 | GtkWidget* const widget; | ^~~~~~ /ceph/fast/home/azonenberg/code/scopehal-apps/src/nativefiledialog-extended/src/nfd_gtk.cpp: In constructor ?{anonymous}::NativeWindowParenter::NativeWindowParenter(GtkWidget*, const nfdwindowhandle_t&)?: /ceph/fast/home/azonenberg/code/scopehal-apps/src/nativefiledialog-extended/src/nfd_gtk.cpp:450:37: error: declaration of ?widget? shadows a member of ?{anonymous}::NativeWindowParenter? [-Werror=shadow] 450 | NativeWindowParenter(GtkWidget* widget, const nfdwindowhandle_t& parentWindow) noexcept | ~~~~~~~~~~~^~~~~~ /ceph/fast/home/azonenberg/code/scopehal-apps/src/nativefiledialog-extended/src/nfd_gtk.cpp:472:22: note: shadowed declaration is here 472 | GtkWidget* const widget; | ^~~~~~ /ceph/fast/home/azonenberg/code/scopehal-apps/src/nativefiledialog-extended/src/nfd_gtk.cpp: In constructor ?{anonymous}::NativeWindowParenter::NativeWindowParenter(GtkWidget*, const nfdwindowhandle_t&)?: /ceph/fast/home/azonenberg/code/scopehal-apps/src/nativefiledialog-extended/src/nfd_gtk.cpp:450:37: error: declaration of ?widget? shadows a member of ?{anonymous}::NativeWindowParenter? [-Werror=shadow] 450 | NativeWindowParenter(GtkWidget* widget, const nfdwindowhandle_t& parentWindow) noexcept | ~~~~~~~~~~~^~~~~~ /ceph/fast/home/azonenberg/code/scopehal-apps/src/nativefiledialog-extended/src/nfd_gtk.cpp:472:22: note: shadowed declaration is here 472 | GtkWidget* const widget;
The text was updated successfully, but these errors were encountered:
Thanks for the bug report. Yes, this seems to be a problem.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
The following warnings are seen when compiling with -Wshadow enabled (and break the build when -Werror is active).
The text was updated successfully, but these errors were encountered: