Compilation errors

Kornel Benko kornel at lyx.org
Fri Nov 20 15:34:12 UTC 2020


Am Fri, 20 Nov 2020 16:24:32 +0100
schrieb Kornel Benko <kornel at lyx.org>:

> 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

Fixed at 5474c3fb

	Kornel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20201120/71297063/attachment.asc>


More information about the lyx-devel mailing list