Compiled with --std=c++17 /usr2/src/lyx/lyx-git/src/frontends/qt/GuiView.cpp: In member function ‘void lyx::frontend::GuiView::updateDialogs()’: /usr2/src/lyx/lyx-git/src/frontends/qt/GuiView.cpp:4903:2: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] for(auto const & dlg_p : d.dialogs_) ^~~ /usr2/src/lyx/lyx-git/src/frontends/qt/GuiView.cpp:4905:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ if (dialog) { ^~ /usr2/src/lyx/lyx-git/src/frontends/qt/GuiView.cpp:4904:12: warning: unused variable ‘dialog’ [-Wunused-variable] Dialog * dialog = dlg_p.second.get(); ^~~~~~ /usr2/src/lyx/lyx-git/src/frontends/qt/GuiView.cpp:4905:7: error: ‘dialog’ was not declared in this scope if (dialog) { ^~~~~~
Kornel
pgpAR9FIxvirs.pgp
Description: Digitale Signatur von OpenPGP
-- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel