Le 03/10/2020 à 13:19, Jean-Marc Lasgouttes a écrit :
Le 02/10/2020 à 19:53, Yuriy Skalko a écrit :
Here is an updated patch.
Yes, there are more places to add the `override`. I'll try to change the
rest on the second step. Is it OK to commit the patch in its current
state?
Thanks a lot. It is in now.
And now clang++ 10 complains a lot...
JMarc
In file included from ../../../../master/src/frontends/qt/DialogView.cpp:14:
../../../../master/src/frontends/qt/DialogView.h:47:7: warning: 'closeEvent' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void closeEvent(QCloseEvent * ev);
^
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qdialog.h:105:10: note: overridden virtual function is here
void closeEvent(QCloseEvent *) override;
^
In file included from ../../../../master/src/frontends/qt/DialogView.cpp:14:
../../../../master/src/frontends/qt/DialogView.h:49:7: warning: 'hideEvent' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void hideEvent(QHideEvent * ev);
^
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:647:18: note: overridden virtual function is here
virtual void hideEvent(QHideEvent *event);
^
2 warnings generated.
In file included from ../../../../master/src/frontends/qt/DockView.cpp:14:
../../../../master/src/frontends/qt/DockView.h:51:7: warning: 'keyPressEvent' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void keyPressEvent(QKeyEvent * ev);
^
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:619:18: note: overridden virtual function is here
virtual void keyPressEvent(QKeyEvent *event);
^
1 warning generated.
In file included from ../../../../master/src/frontends/qt/FindAndReplace.cpp:13:
In file included from ../../../../master/src/frontends/qt/FindAndReplace.h:15:
../../../../master/src/frontends/qt/DockView.h:51:7: warning: 'keyPressEvent' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void keyPressEvent(QKeyEvent * ev);
^
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:619:18: note: overridden virtual function is here
virtual void keyPressEvent(QKeyEvent *event);
^
In file included from ../../../../master/src/frontends/qt/GuiAbout.cpp:13:
In file included from ../../../../master/src/frontends/qt/GuiAbout.h:15:
../../../../master/src/frontends/qt/DialogView.h:47:7: warning: 'closeEvent' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void closeEvent(QCloseEvent * ev);
^
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qdialog.h:105:10: note: overridden virtual function is here
void closeEvent(QCloseEvent *) override;
^
In file included from ../../../../master/src/frontends/qt/GuiAbout.cpp:13:
In file included from ../../../../master/src/frontends/qt/GuiAbout.h:15:
../../../../master/src/frontends/qt/DialogView.h:49:7: warning: 'hideEvent' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void hideEvent(QHideEvent * ev);
^
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:647:18: note: overridden virtual function is here
virtual void hideEvent(QHideEvent *event);
^
2 warnings generated.
1 warning generated.
In file included from ../../../../master/src/frontends/qt/GuiBibtex.cpp:16:
In file included from ../../../../master/src/frontends/qt/GuiBibtex.h:16:
../../../../master/src/frontends/qt/GuiDialog.h:65:7: warning: 'closeEvent' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void closeEvent(QCloseEvent * e);
^
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qdialog.h:105:10: note: overridden virtual function is here
void closeEvent(QCloseEvent *) override;
^
1 warning generated.
In file included from ../../../../master/src/frontends/qt/GuiChanges.cpp:14:
In file included from ../../../../master/src/frontends/qt/GuiChanges.h:16:
../../../../master/src/frontends/qt/GuiDialog.h:65:7: warning: 'closeEvent' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void closeEvent(QCloseEvent * e);
^
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qdialog.h:105:10: note: overridden virtual function is here
void closeEvent(QCloseEvent *) override;
^
In file included from ../../../../master/src/frontends/qt/GuiCharacter.cpp:16:
In file included from ../../../../master/src/frontends/qt/GuiCharacter.h:17:
../../../../master/src/frontends/qt/GuiDialog.h:65:7: warning: 'closeEvent' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void closeEvent(QCloseEvent * e);
^
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qdialog.h:105:10: note: overridden virtual function is here
void closeEvent(QCloseEvent *) override;
^
1 warning generated.
In file included from ../../../../master/src/frontends/qt/GuiCitation.cpp:17:
In file included from ../../../../master/src/frontends/qt/GuiCitation.h:18:
../../../../master/src/frontends/qt/DialogView.h:47:7: warning: 'closeEvent' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void closeEvent(QCloseEvent * ev);
^
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qdialog.h:105:10: note: overridden virtual function is here
void closeEvent(QCloseEvent *) override;
^
In file included from ../../../../master/src/frontends/qt/GuiCitation.cpp:17:
In file included from ../../../../master/src/frontends/qt/GuiCitation.h:18:
../../../../master/src/frontends/qt/DialogView.h:49:7: warning: 'hideEvent' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void hideEvent(QHideEvent * ev);
^
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:647:18: note: overridden virtual function is here
virtual void hideEvent(QHideEvent *event);
^
In file included from ../../../../master/src/frontends/qt/GuiCitation.cpp:17:
../../../../master/src/frontends/qt/GuiCitation.h:90:7: warning: 'showEvent' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void showEvent(QShowEvent * e);
^
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qdialog.h:106:10: note: overridden virtual function is here
void showEvent(QShowEvent *) override;
^
In file included from ../../../../master/src/frontends/qt/GuiCitation.cpp:17:
../../../../master/src/frontends/qt/GuiCitation.h:92:7: warning: 'closeEvent' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void closeEvent(QCloseEvent * e);
^
../../../../master/src/frontends/qt/DialogView.h:47:7: note: overridden virtual function is here
void closeEvent(QCloseEvent * ev);
^
1 warning generated.
In file included from ../../../../master/src/frontends/qt/GuiCompare.cpp:13:
In file included from ../../../../master/src/frontends/qt/GuiCompare.h:15:
../../../../master/src/frontends/qt/GuiDialog.h:65:7: warning: 'closeEvent' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void closeEvent(QCloseEvent * e);
^
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qdialog.h:105:10: note: overridden virtual function is here
void closeEvent(QCloseEvent *) override;
^
In file included from ../../../../master/src/frontends/qt/GuiCompareHistory.cpp:15:
In file included from ../../../../master/src/frontends/qt/GuiCompareHistory.h:15:
../../../../master/src/frontends/qt/GuiDialog.h:65:7: warning: 'closeEvent' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void closeEvent(QCloseEvent * e);
^
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qdialog.h:105:10: note: overridden virtual function is here
void closeEvent(QCloseEvent *) override;
^
In file included from ../../../../master/src/frontends/qt/GuiCompare.cpp:13:
../../../../master/src/frontends/qt/GuiCompare.h:35:7: warning: 'closeEvent' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void closeEvent(QCloseEvent *);
^
../../../../master/src/frontends/qt/GuiDialog.h:65:7: note: overridden virtual function is here
void closeEvent(QCloseEvent * e);
^
1 warning generated.
2 warnings generated.
In file included from ../../../../master/src/frontends/qt/GuiDelimiter.cpp:13:
In file included from ../../../../master/src/frontends/qt/GuiDelimiter.h:15:
../../../../master/src/frontends/qt/GuiDialog.h:65:7: warning: 'closeEvent' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void closeEvent(QCloseEvent * e);
^
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qdialog.h:105:10: note: overridden virtual function is here
void closeEvent(QCloseEvent *) override;
^
In file included from ../../../../master/src/frontends/qt/GuiDialog.cpp:13:
../../../../master/src/frontends/qt/GuiDialog.h:65:7: warning: 'closeEvent' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void closeEvent(QCloseEvent * e);
^
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qdialog.h:105:10: note: overridden virtual function is here
void closeEvent(QCloseEvent *) override;
^
1 warning generated.
1 warning generated.
In file included from ../../../../master/src/frontends/qt/GuiDocument.cpp:14:
In file included from ../../../../master/src/frontends/qt/GuiDocument.h:18:
../../../../master/src/frontends/qt/GuiDialog.h:65:7: warning: 'closeEvent' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void closeEvent(QCloseEvent * e);
^
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qdialog.h:105:10: note: overridden virtual function is here
void closeEvent(QCloseEvent *) override;
^
In file included from ../../../../master/src/frontends/qt/GuiErrorList.cpp:13:
In file included from ../../../../master/src/frontends/qt/GuiErrorList.h:15:
../../../../master/src/frontends/qt/GuiDialog.h:65:7: warning: 'closeEvent' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void closeEvent(QCloseEvent * e);
^
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qdialog.h:105:10: note: overridden virtual function is here
void closeEvent(QCloseEvent *) override;
^
In file included from ../../../../master/src/frontends/qt/GuiErrorList.cpp:13:
../../../../master/src/frontends/qt/GuiErrorList.h:41:7: warning: 'showEvent' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void showEvent(QShowEvent *);
^
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qdialog.h:106:10: note: overridden virtual function is here
void showEvent(QShowEvent *) override;
^
2 warnings generated.
In file included from ../../../../master/src/frontends/qt/GuiExternal.cpp:15:
In file included from ../../../../master/src/frontends/qt/GuiExternal.h:17:
../../../../master/src/frontends/qt/GuiDialog.h:65:7: warning: 'closeEvent' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void closeEvent(QCloseEvent * e);
^
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qdialog.h:105:10: note: overridden virtual function is here
void closeEvent(QCloseEvent *) override;
^
4 warnings generated.
In file included from ../../../../master/src/frontends/qt/GuiGraphics.cpp:17:
In file included from ../../../../master/src/frontends/qt/GuiGraphics.h:18:
../../../../master/src/frontends/qt/GuiDialog.h:65:7: warning: 'closeEvent' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void closeEvent(QCloseEvent * e);
^
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qdialog.h:105:10: note: overridden virtual function is here
void closeEvent(QCloseEvent *) override;
^
1 warning generated.
1 warning generated.
In file included from ../../../../master/src/frontends/qt/GuiInclude.cpp:15:
In file included from ../../../../master/src/frontends/qt/GuiInclude.h:17:
../../../../master/src/frontends/qt/GuiDialog.h:65:7: warning: 'closeEvent' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void closeEvent(QCloseEvent * e);
^
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qdialog.h:105:10: note: overridden virtual function is here
void closeEvent(QCloseEvent *) override;
^
In file included from ../../../../master/src/frontends/qt/GuiIndex.cpp:15:
In file included from ../../../../master/src/frontends/qt/GuiIndex.h:17:
../../../../master/src/frontends/qt/GuiDialog.h:65:7: warning: 'closeEvent' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void closeEvent(QCloseEvent * e);
^
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qdialog.h:105:10: note: overridden virtual function is here
void closeEvent(QCloseEvent *) override;
^
1 warning generated.
1 warning generated.
In file included from ../../../../master/src/frontends/qt/GuiListings.cpp:14:
In file included from ../../../../master/src/frontends/qt/GuiListings.h:15:
../../../../master/src/frontends/qt/GuiDialog.h:65:7: warning: 'closeEvent' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void closeEvent(QCloseEvent * e);
^
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qdialog.h:105:10: note: overridden virtual function is here
void closeEvent(QCloseEvent *) override;
^
In file included from ../../../../master/src/frontends/qt/GuiLog.cpp:15:
In file included from ../../../../master/src/frontends/qt/GuiLog.h:16:
../../../../master/src/frontends/qt/GuiDialog.h:65:7: warning: 'closeEvent' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void closeEvent(QCloseEvent * e);
^
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qdialog.h:105:10: note: overridden virtual function is here
void closeEvent(QCloseEvent *) override;
^
In file included from ../../../../master/src/frontends/qt/GuiLyXFiles.cpp:13:
In file included from ../../../../master/src/frontends/qt/GuiLyXFiles.h:15:
../../../../master/src/frontends/qt/GuiDialog.h:65:7: warning: 'closeEvent' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void closeEvent(QCloseEvent * e);
^
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qdialog.h:105:10: note: overridden virtual function is here
void closeEvent(QCloseEvent *) override;
^
1 warning generated.
In file included from ../../../../master/src/frontends/qt/GuiMathMatrix.cpp:14:
In file included from ../../../../master/src/frontends/qt/GuiMathMatrix.h:17:
../../../../master/src/frontends/qt/GuiDialog.h:65:7: warning: 'closeEvent' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void closeEvent(QCloseEvent * e);
^
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qdialog.h:105:10: note: overridden virtual function is here
void closeEvent(QCloseEvent *) override;
^
1 warning generated.
1 warning generated.
1 warning generated.
In file included from ../../../../master/src/frontends/qt/GuiNote.cpp:14:
In file included from ../../../../master/src/frontends/qt/GuiNote.h:15:
../../../../master/src/frontends/qt/GuiDialog.h:65:7: warning: 'closeEvent' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void closeEvent(QCloseEvent * e);
^
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qdialog.h:105:10: note: overridden virtual function is here
void closeEvent(QCloseEvent *) override;
^
1 warning generated.
1 warning generated.
In file included from ../../../../master/src/frontends/qt/GuiParagraph.cpp:16:
In file included from ../../../../master/src/frontends/qt/GuiParagraph.h:17:
../../../../master/src/frontends/qt/DialogView.h:47:7: warning: 'closeEvent' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void closeEvent(QCloseEvent * ev);
^
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qdialog.h:105:10: note: overridden virtual function is here
void closeEvent(QCloseEvent *) override;
^
In file included from ../../../../master/src/frontends/qt/GuiParagraph.cpp:16:
In file included from ../../../../master/src/frontends/qt/GuiParagraph.h:17:
../../../../master/src/frontends/qt/DialogView.h:49:7: warning: 'hideEvent' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void hideEvent(QHideEvent * ev);
^
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:647:18: note: overridden virtual function is here
virtual void hideEvent(QHideEvent *event);
^
In file included from ../../../../master/src/frontends/qt/GuiPhantom.cpp:13:
In file included from ../../../../master/src/frontends/qt/GuiPhantom.h:15:
../../../../master/src/frontends/qt/GuiDialog.h:65:7: warning: 'closeEvent' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void closeEvent(QCloseEvent * e);
^
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qdialog.h:105:10: note: overridden virtual function is here
void closeEvent(QCloseEvent *) override;
^
In file included from ../../../../master/src/frontends/qt/GuiPrefs.cpp:14:
In file included from ../../../../master/src/frontends/qt/GuiPrefs.h:17:
../../../../master/src/frontends/qt/GuiDialog.h:65:7: warning: 'closeEvent' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void closeEvent(QCloseEvent * e);
^
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qdialog.h:105:10: note: overridden virtual function is here
void closeEvent(QCloseEvent *) override;
^
1 warning generated.
In file included from ../../../../master/src/frontends/qt/GuiPrintindex.cpp:15:
In file included from ../../../../master/src/frontends/qt/GuiPrintindex.h:17:
../../../../master/src/frontends/qt/GuiDialog.h:65:7: warning: 'closeEvent' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void closeEvent(QCloseEvent * e);
^
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qdialog.h:105:10: note: overridden virtual function is here
void closeEvent(QCloseEvent *) override;
^
2 warnings generated.
1 warning generated.
In file included from ../../../../master/src/frontends/qt/GuiRef.cpp:14:
In file included from ../../../../master/src/frontends/qt/GuiRef.h:15:
../../../../master/src/frontends/qt/GuiDialog.h:65:7: warning: 'closeEvent' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void closeEvent(QCloseEvent * e);
^
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qdialog.h:105:10: note: overridden virtual function is here
void closeEvent(QCloseEvent *) override;
^
In file included from ../../../../master/src/frontends/qt/GuiProgressView.cpp:16:
In file included from ../../../../master/src/frontends/qt/GuiProgressView.h:18:
../../../../master/src/frontends/qt/DockView.h:51:7: warning: 'keyPressEvent' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void keyPressEvent(QKeyEvent * ev);
^
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:619:18: note: overridden virtual function is here
virtual void keyPressEvent(QKeyEvent *event);
^
In file included from ../../../../master/src/frontends/qt/GuiProgressView.cpp:16:
../../../../master/src/frontends/qt/GuiProgressView.h:80:7: warning: 'showEvent' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void showEvent(QShowEvent*);
^
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:646:18: note: overridden virtual function is here
virtual void showEvent(QShowEvent *event);
^
In file included from ../../../../master/src/frontends/qt/GuiProgressView.cpp:16:
../../../../master/src/frontends/qt/GuiProgressView.h:81:7: warning: 'hideEvent' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void hideEvent(QHideEvent*);
^
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:647:18: note: overridden virtual function is here
virtual void hideEvent(QHideEvent *event);
^
In file included from ../../../../master/src/frontends/qt/GuiRef.cpp:14:
../../../../master/src/frontends/qt/GuiRef.h:66:7: warning: 'closeEvent' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void closeEvent(QCloseEvent * e);
^
../../../../master/src/frontends/qt/GuiDialog.h:65:7: note: overridden virtual function is here
void closeEvent(QCloseEvent * e);
^
3 warnings generated.
In file included from ../../../../master/src/frontends/qt/GuiSearch.cpp:21:
In file included from ../../../../master/src/frontends/qt/GuiSearch.h:16:
../../../../master/src/frontends/qt/GuiDialog.h:65:7: warning: 'closeEvent' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void closeEvent(QCloseEvent * e);
^
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qdialog.h:105:10: note: overridden virtual function is here
void closeEvent(QCloseEvent *) override;
^
In file included from ../../../../master/src/frontends/qt/GuiSearch.cpp:21:
../../../../master/src/frontends/qt/GuiSearch.h:36:7: warning: 'showEvent' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void showEvent(QShowEvent * e);
^
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qdialog.h:106:10: note: overridden virtual function is here
void showEvent(QShowEvent *) override;
^
2 warnings generated.
2 warnings generated.
In file included from ../../../../master/src/frontends/qt/GuiSendto.cpp:14:
In file included from ../../../../master/src/frontends/qt/GuiSendto.h:16:
../../../../master/src/frontends/qt/GuiDialog.h:65:7: warning: 'closeEvent' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void closeEvent(QCloseEvent * e);
^
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qdialog.h:105:10: note: overridden virtual function is here
void closeEvent(QCloseEvent *) override;
^
1 warning generated.
In file included from ../../../../master/src/frontends/qt/GuiShowFile.cpp:14:
In file included from ../../../../master/src/frontends/qt/GuiShowFile.h:16:
../../../../master/src/frontends/qt/GuiDialog.h:65:7: warning: 'closeEvent' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void closeEvent(QCloseEvent * e);
^
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qdialog.h:105:10: note: overridden virtual function is here
void closeEvent(QCloseEvent *) override;
^
In file included from ../../../../master/src/frontends/qt/GuiSpellchecker.cpp:15:
In file included from ../../../../master/src/frontends/qt/GuiSpellchecker.h:18:
../../../../master/src/frontends/qt/DockView.h:51:7: warning: 'keyPressEvent' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void keyPressEvent(QKeyEvent * ev);
^
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:619:18: note: overridden virtual function is here
virtual void keyPressEvent(QKeyEvent *event);
^
In file included from ../../../../master/src/frontends/qt/GuiSymbols.cpp:13:
In file included from ../../../../master/src/frontends/qt/GuiSymbols.h:15:
../../../../master/src/frontends/qt/DialogView.h:47:7: warning: 'closeEvent' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void closeEvent(QCloseEvent * ev);
^
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qdialog.h:105:10: note: overridden virtual function is here
void closeEvent(QCloseEvent *) override;
^
In file included from ../../../../master/src/frontends/qt/GuiSymbols.cpp:13:
In file included from ../../../../master/src/frontends/qt/GuiSymbols.h:15:
../../../../master/src/frontends/qt/DialogView.h:49:7: warning: 'hideEvent' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void hideEvent(QHideEvent * ev);
^
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:647:18: note: overridden virtual function is here
virtual void hideEvent(QHideEvent *event);
^
1 warning generated.
In file included from ../../../../master/src/frontends/qt/GuiTabular.cpp:16:
In file included from ../../../../master/src/frontends/qt/GuiTabular.h:20:
../../../../master/src/insets/InsetTabular.h:1035:15: warning: 'allowParagraphCustomization' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual bool allowParagraphCustomization(idx_type cell = 0) const;
^
../../../../master/src/insets/Inset.h:431:15: note: overridden virtual function is here
virtual bool allowParagraphCustomization(idx_type = 0) const
^
In file included from ../../../../master/src/frontends/qt/GuiTabular.cpp:16:
In file included from ../../../../master/src/frontends/qt/GuiTabular.h:20:
../../../../master/src/insets/InsetTabular.h:1037:15: warning: 'forcePlainLayout' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual bool forcePlainLayout(idx_type cell = 0) const;
^
../../../../master/src/insets/Inset.h:428:15: note: overridden virtual function is here
virtual bool forcePlainLayout(idx_type = 0) const { return false; }
^
1 warning generated.
2 warnings generated.
In file included from ../../../../master/src/frontends/qt/GuiTabularCreate.cpp:13:
In file included from ../../../../master/src/frontends/qt/GuiTabularCreate.h:15:
../../../../master/src/frontends/qt/GuiDialog.h:65:7: warning: 'closeEvent' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void closeEvent(QCloseEvent * e);
^
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qdialog.h:105:10: note: overridden virtual function is here
void closeEvent(QCloseEvent *) override;
^
In file included from ../../../../master/src/frontends/qt/GuiTexinfo.cpp:14:
In file included from ../../../../master/src/frontends/qt/GuiTexinfo.h:16:
../../../../master/src/frontends/qt/GuiDialog.h:65:7: warning: 'closeEvent' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void closeEvent(QCloseEvent * e);
^
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qdialog.h:105:10: note: overridden virtual function is here
void closeEvent(QCloseEvent *) override;
^
1 warning generated.
1 warning generated.
2 warnings generated.
In file included from ../../../../master/src/frontends/qt/GuiThesaurus.cpp:14:
In file included from ../../../../master/src/frontends/qt/GuiThesaurus.h:15:
../../../../master/src/frontends/qt/GuiDialog.h:65:7: warning: 'closeEvent' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void closeEvent(QCloseEvent * e);
^
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qdialog.h:105:10: note: overridden virtual function is here
void closeEvent(QCloseEvent *) override;
^
In file included from ../../../../master/src/frontends/qt/GuiToc.cpp:15:
In file included from ../../../../master/src/frontends/qt/GuiToc.h:18:
../../../../master/src/frontends/qt/DockView.h:51:7: warning: 'keyPressEvent' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void keyPressEvent(QKeyEvent * ev);
^
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:619:18: note: overridden virtual function is here
virtual void keyPressEvent(QKeyEvent *event);
^
In file included from ../../../../master/src/frontends/qt/GuiToc.cpp:15:
../../../../master/src/frontends/qt/GuiToc.h:42:7: warning: 'closeEvent' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void closeEvent(QCloseEvent * event);
^
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qdockwidget.h:117:10: note: overridden virtual function is here
void closeEvent(QCloseEvent *event) override;
^
1 warning generated.
2 warnings generated.
1 warning generated.
In file included from ../../../../master/src/frontends/qt/GuiView.cpp:26:
In file included from ../../../../master/src/frontends/qt/GuiToc.h:18:
../../../../master/src/frontends/qt/DockView.h:51:7: warning: 'keyPressEvent' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void keyPressEvent(QKeyEvent * ev);
^
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:619:18: note: overridden virtual function is here
virtual void keyPressEvent(QKeyEvent *event);
^
In file included from ../../../../master/src/frontends/qt/GuiView.cpp:26:
../../../../master/src/frontends/qt/GuiToc.h:42:7: warning: 'closeEvent' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void closeEvent(QCloseEvent * event);
^
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qdockwidget.h:117:10: note: overridden virtual function is here
void closeEvent(QCloseEvent *event) override;
^
In file included from ../../../../master/src/frontends/qt/GuiViewSource.cpp:16:
In file included from ../../../../master/src/frontends/qt/GuiViewSource.h:20:
../../../../master/src/frontends/qt/DockView.h:51:7: warning: 'keyPressEvent' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void keyPressEvent(QKeyEvent * ev);
^
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:619:18: note: overridden virtual function is here
virtual void keyPressEvent(QKeyEvent *event);
^
1 warning generated.
In file included from ../../../../master/src/frontends/qt/GuiWrap.cpp:13:
In file included from ../../../../master/src/frontends/qt/GuiWrap.h:15:
../../../../master/src/frontends/qt/GuiDialog.h:65:7: warning: 'closeEvent' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void closeEvent(QCloseEvent * e);
^
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qdialog.h:105:10: note: overridden virtual function is here
void closeEvent(QCloseEvent *) override;
^
1 warning generated.
../../../../master/src/frontends/qt/GuiWorkArea.cpp:1414:8: warning: unused variable 'cur_r' [-Wunused-variable]
QRect cur_r(0, 0, 0, 0);
^
In file included from ../../../../master/src/frontends/qt/InsetParamsDialog.cpp:13:
In file included from ../../../../master/src/frontends/qt/InsetParamsDialog.h:15:
../../../../master/src/frontends/qt/DialogView.h:47:7: warning: 'closeEvent' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void closeEvent(QCloseEvent * ev);
^
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qdialog.h:105:10: note: overridden virtual function is here
void closeEvent(QCloseEvent *) override;
^
In file included from ../../../../master/src/frontends/qt/InsetParamsDialog.cpp:13:
In file included from ../../../../master/src/frontends/qt/InsetParamsDialog.h:15:
../../../../master/src/frontends/qt/DialogView.h:49:7: warning: 'hideEvent' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void hideEvent(QHideEvent * ev);
^
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:647:18: note: overridden virtual function is here
virtual void hideEvent(QHideEvent *event);
^
In file included from ../../../../master/src/frontends/qt/InsetParamsDialog.cpp:27:
In file included from ../../../../master/src/frontends/qt/GuiTabular.h:20:
../../../../master/src/insets/InsetTabular.h:1035:15: warning: 'allowParagraphCustomization' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual bool allowParagraphCustomization(idx_type cell = 0) const;
^
../../../../master/src/insets/Inset.h:431:15: note: overridden virtual function is here
virtual bool allowParagraphCustomization(idx_type = 0) const
^
In file included from ../../../../master/src/frontends/qt/InsetParamsDialog.cpp:27:
In file included from ../../../../master/src/frontends/qt/GuiTabular.h:20:
../../../../master/src/insets/InsetTabular.h:1037:15: warning: 'forcePlainLayout' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual bool forcePlainLayout(idx_type cell = 0) const;
^
../../../../master/src/insets/Inset.h:428:15: note: overridden virtual function is here
virtual bool forcePlainLayout(idx_type = 0) const { return false; }
^
4 warnings generated.
1 warning generated.
2 warnings generated.
In file included from ../../master/src/Buffer.cpp:75:
../../master/src/insets/InsetTabular.h:1035:15: warning: 'allowParagraphCustomization' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual bool allowParagraphCustomization(idx_type cell = 0) const;
^
../../master/src/insets/Inset.h:431:15: note: overridden virtual function is here
virtual bool allowParagraphCustomization(idx_type = 0) const
^
In file included from ../../master/src/Buffer.cpp:75:
../../master/src/insets/InsetTabular.h:1037:15: warning: 'forcePlainLayout' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual bool forcePlainLayout(idx_type cell = 0) const;
^
../../master/src/insets/Inset.h:428:15: note: overridden virtual function is here
virtual bool forcePlainLayout(idx_type = 0) const { return false; }
^
2 warnings generated.
In file included from ../../master/src/Cursor.cpp:43:
../../master/src/insets/InsetTabular.h:1035:15: warning: 'allowParagraphCustomization' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual bool allowParagraphCustomization(idx_type cell = 0) const;
^
../../master/src/insets/Inset.h:431:15: note: overridden virtual function is here
virtual bool allowParagraphCustomization(idx_type = 0) const
^
In file included from ../../master/src/Cursor.cpp:43:
../../master/src/insets/InsetTabular.h:1037:15: warning: 'forcePlainLayout' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual bool forcePlainLayout(idx_type cell = 0) const;
^
../../master/src/insets/Inset.h:428:15: note: overridden virtual function is here
virtual bool forcePlainLayout(idx_type = 0) const { return false; }
^
In file included from ../../master/src/Cursor.cpp:49:
../../master/src/mathed/InsetMathScript.h:53:12: warning: 'lastIdx' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
size_type lastIdx() const { return 0; }
^
../../master/src/mathed/InsetMathNest.h:68:19: note: overridden virtual function is here
virtual idx_type lastIdx() const { return nargs() - 1; }
^
In file included from ../../master/src/CutAndPaste.cpp:50:
../../master/src/insets/InsetTabular.h:1035:15: warning: 'allowParagraphCustomization' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual bool allowParagraphCustomization(idx_type cell = 0) const;
^
../../master/src/insets/Inset.h:431:15: note: overridden virtual function is here
virtual bool allowParagraphCustomization(idx_type = 0) const
^
In file included from ../../master/src/CutAndPaste.cpp:50:
../../master/src/insets/InsetTabular.h:1037:15: warning: 'forcePlainLayout' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual bool forcePlainLayout(idx_type cell = 0) const;
^
../../master/src/insets/Inset.h:428:15: note: overridden virtual function is here
virtual bool forcePlainLayout(idx_type = 0) const { return false; }
^
3 warnings generated.
In file included from ../../master/src/DocIterator.cpp:30:
../../master/src/insets/InsetTabular.h:1035:15: warning: 'allowParagraphCustomization' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual bool allowParagraphCustomization(idx_type cell = 0) const;
^
../../master/src/insets/Inset.h:431:15: note: overridden virtual function is here
virtual bool allowParagraphCustomization(idx_type = 0) const
^
In file included from ../../master/src/DocIterator.cpp:30:
../../master/src/insets/InsetTabular.h:1037:15: warning: 'forcePlainLayout' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual bool forcePlainLayout(idx_type cell = 0) const;
^
../../master/src/insets/Inset.h:428:15: note: overridden virtual function is here
virtual bool forcePlainLayout(idx_type = 0) const { return false; }
^
2 warnings generated.
2 warnings generated.
In file included from ../../master/src/factory.cpp:58:
../../master/src/insets/InsetTabular.h:1035:15: warning: 'allowParagraphCustomization' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual bool allowParagraphCustomization(idx_type cell = 0) const;
^
../../master/src/insets/Inset.h:431:15: note: overridden virtual function is here
virtual bool allowParagraphCustomization(idx_type = 0) const
^
In file included from ../../master/src/factory.cpp:58:
../../master/src/insets/InsetTabular.h:1037:15: warning: 'forcePlainLayout' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual bool forcePlainLayout(idx_type cell = 0) const;
^
../../master/src/insets/Inset.h:428:15: note: overridden virtual function is here
virtual bool forcePlainLayout(idx_type = 0) const { return false; }
^
2 warnings generated.
In file included from ../../master/src/Text.cpp:60:
../../master/src/insets/InsetTabular.h:1035:15: warning: 'allowParagraphCustomization' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual bool allowParagraphCustomization(idx_type cell = 0) const;
^
../../master/src/insets/Inset.h:431:15: note: overridden virtual function is here
virtual bool allowParagraphCustomization(idx_type = 0) const
^
In file included from ../../master/src/Text.cpp:60:
../../master/src/insets/InsetTabular.h:1037:15: warning: 'forcePlainLayout' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual bool forcePlainLayout(idx_type cell = 0) const;
^
../../master/src/insets/Inset.h:428:15: note: overridden virtual function is here
virtual bool forcePlainLayout(idx_type = 0) const { return false; }
^
2 warnings generated.
In file included from ../../master/src/mathed/InsetMathBig.cpp:13:
../../master/src/mathed/InsetMathBig.h:42:7: warning: 'infoize2' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void infoize2(odocstream & os) const;
^
../../master/src/insets/Inset.h:334:15: note: overridden virtual function is here
virtual void infoize2(odocstream &) const {}
^
1 warning generated.
In file included from ../../master/src/mathed/InsetMathCancelto.cpp:13:
../../master/src/mathed/InsetMathCancelto.h:25:7: warning: 'idxUpDown' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
bool idxUpDown(Cursor & cur, bool up) const;
^
../../master/src/insets/Inset.h:262:15: note: overridden virtual function is here
virtual bool idxUpDown(Cursor & cur, bool up) const;
^
1 warning generated.
In file included from ../../master/src/mathed/InsetMathDecoration.cpp:14:
../../master/src/mathed/InsetMathDecoration.h:31:7: warning: 'draw' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void draw(PainterInfo &, int x, int y) const;
^
../../master/src/mathed/InsetMathNest.h:39:7: note: overridden virtual function is here
void draw(PainterInfo & pi, int x, int y) const override;
^
In file included from ../../master/src/mathed/InsetMathDelim.cpp:14:
../../master/src/mathed/InsetMathDelim.h:46:7: warning: 'draw' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void draw(PainterInfo &, int x, int y) const;
^
../../master/src/mathed/InsetMathNest.h:39:7: note: overridden virtual function is here
void draw(PainterInfo & pi, int x, int y) const override;
^
1 warning generated.
1 warning generated.
In file included from ../../master/src/mathed/InsetMathExInt.cpp:13:
../../master/src/mathed/InsetMathExInt.h:44:7: warning: 'draw' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void draw(PainterInfo &, int x, int y) const;
^
../../master/src/mathed/InsetMathNest.h:39:7: note: overridden virtual function is here
void draw(PainterInfo & pi, int x, int y) const override;
^
In file included from ../../master/src/mathed/InsetMathExInt.cpp:19:
../../master/src/mathed/InsetMathSymbol.h:34:7: warning: 'draw' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void draw(PainterInfo &, int x, int y) const;
^
../../master/src/insets/Inset.h:219:15: note: overridden virtual function is here
virtual void draw(PainterInfo & pi, int x, int y) const = 0;
^
In file included from ../../master/src/mathed/InsetMathExInt.cpp:19:
../../master/src/mathed/InsetMathSymbol.h:77:7: warning: 'infoize2' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void infoize2(odocstream & os) const;
^
../../master/src/insets/Inset.h:334:15: note: overridden virtual function is here
virtual void infoize2(odocstream &) const {}
^
3 warnings generated.
In file included from ../../master/src/mathed/InsetMathKern.cpp:13:
../../master/src/mathed/InsetMathKern.h:47:7: warning: 'infoize2' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void infoize2(odocstream & os) const;
^
../../master/src/insets/Inset.h:334:15: note: overridden virtual function is here
virtual void infoize2(odocstream &) const {}
^
In file included from ../../master/src/mathed/InsetMathHull.cpp:19:
../../master/src/mathed/InsetMathScript.h:53:12: warning: 'lastIdx' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
size_type lastIdx() const { return 0; }
^
../../master/src/mathed/InsetMathNest.h:68:19: note: overridden virtual function is here
virtual idx_type lastIdx() const { return nargs() - 1; }
^
1 warning generated.
In file included from ../../master/src/mathed/InsetMathMacro.cpp:18:
../../master/src/mathed/InsetMathScript.h:53:12: warning: 'lastIdx' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
size_type lastIdx() const { return 0; }
^
../../master/src/mathed/InsetMathNest.h:68:19: note: overridden virtual function is here
virtual idx_type lastIdx() const { return nargs() - 1; }
^
In file included from ../../master/src/mathed/InsetMathMacroArgument.cpp:14:
../../master/src/mathed/InsetMathMacroArgument.h:31:7: warning: 'draw' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void draw(PainterInfo &, int x, int y) const;
^
../../master/src/insets/Inset.h:219:15: note: overridden virtual function is here
virtual void draw(PainterInfo & pi, int x, int y) const = 0;
^
1 warning generated.
In file included from ../../master/src/mathed/InsetMathMacroTemplate.cpp:19:
../../master/src/mathed/InsetMathSqrt.h:28:7: warning: 'draw' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void draw(PainterInfo &, int x, int y) const;
^
../../master/src/mathed/InsetMathNest.h:39:7: note: overridden virtual function is here
void draw(PainterInfo & pi, int x, int y) const override;
^
In file included from ../../master/src/mathed/InsetMathMacroTemplate.cpp:21:
../../master/src/mathed/InsetMathMacroArgument.h:31:7: warning: 'draw' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void draw(PainterInfo &, int x, int y) const;
^
../../master/src/insets/Inset.h:219:15: note: overridden virtual function is here
virtual void draw(PainterInfo & pi, int x, int y) const = 0;
^
1 warning generated.
In file included from ../../master/src/mathed/InsetMathNest.cpp:17:
../../master/src/mathed/InsetMathBig.h:42:7: warning: 'infoize2' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void infoize2(odocstream & os) const;
^
../../master/src/insets/Inset.h:334:15: note: overridden virtual function is here
virtual void infoize2(odocstream &) const {}
^
In file included from ../../master/src/mathed/InsetMathNest.cpp:23:
../../master/src/mathed/InsetMathDelim.h:46:7: warning: 'draw' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void draw(PainterInfo &, int x, int y) const;
^
../../master/src/mathed/InsetMathNest.h:39:7: note: overridden virtual function is here
void draw(PainterInfo & pi, int x, int y) const override;
^
In file included from ../../master/src/mathed/InsetMathNest.cpp:27:
../../master/src/mathed/InsetMathScript.h:53:12: warning: 'lastIdx' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
size_type lastIdx() const { return 0; }
^
../../master/src/mathed/InsetMathNest.h:68:19: note: overridden virtual function is here
virtual idx_type lastIdx() const { return nargs() - 1; }
^
In file included from ../../master/src/mathed/InsetMathNest.cpp:29:
../../master/src/mathed/InsetMathSymbol.h:34:7: warning: 'draw' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void draw(PainterInfo &, int x, int y) const;
^
../../master/src/insets/Inset.h:219:15: note: overridden virtual function is here
virtual void draw(PainterInfo & pi, int x, int y) const = 0;
^
In file included from ../../master/src/mathed/InsetMathNest.cpp:29:
../../master/src/mathed/InsetMathSymbol.h:77:7: warning: 'infoize2' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void infoize2(odocstream & os) const;
^
../../master/src/insets/Inset.h:334:15: note: overridden virtual function is here
virtual void infoize2(odocstream &) const {}
^
In file included from ../../master/src/mathed/InsetMathNest.cpp:36:
../../master/src/mathed/InsetMathMacroArgument.h:31:7: warning: 'draw' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void draw(PainterInfo &, int x, int y) const;
^
../../master/src/insets/Inset.h:219:15: note: overridden virtual function is here
virtual void draw(PainterInfo & pi, int x, int y) const = 0;
^
In file included from ../../master/src/mathed/InsetMathNumber.cpp:13:
../../master/src/mathed/InsetMathNumber.h:31:7: warning: 'draw' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void draw(PainterInfo &, int x, int y) const;
^
../../master/src/insets/Inset.h:219:15: note: overridden virtual function is here
virtual void draw(PainterInfo & pi, int x, int y) const = 0;
^
1 warning generated.
In file included from ../../master/src/mathed/InsetMathOverset.cpp:13:
../../master/src/mathed/InsetMathOverset.h:31:7: warning: 'idxUpDown' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
bool idxUpDown(Cursor & cur, bool up) const;
^
../../master/src/mathed/InsetMathFrac.h:30:7: note: overridden virtual function is here
bool idxUpDown(Cursor &, bool up) const override;
^
2 warnings generated.
1 warning generated.
1 warning generated.
In file included from ../../master/src/mathed/InsetMathScript.cpp:13:
../../master/src/mathed/InsetMathScript.h:53:12: warning: 'lastIdx' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
size_type lastIdx() const { return 0; }
^
../../master/src/mathed/InsetMathNest.h:68:19: note: overridden virtual function is here
virtual idx_type lastIdx() const { return nargs() - 1; }
^
In file included from ../../master/src/mathed/InsetMathRoot.cpp:14:
../../master/src/mathed/InsetMathRoot.h:28:7: warning: 'idxUpDown' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
bool idxUpDown(Cursor & cur, bool up) const;
^
../../master/src/insets/Inset.h:262:15: note: overridden virtual function is here
virtual bool idxUpDown(Cursor & cur, bool up) const;
^
In file included from ../../master/src/mathed/InsetMathRoot.cpp:14:
../../master/src/mathed/InsetMathRoot.h:30:7: warning: 'idxForward' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
bool idxForward(Cursor & cur) const;
^
../../master/src/mathed/InsetMathNest.h:58:7: note: overridden virtual function is here
bool idxForward(Cursor &) const override;
^
In file included from ../../master/src/mathed/InsetMathRoot.cpp:14:
../../master/src/mathed/InsetMathRoot.h:32:7: warning: 'idxBackward' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
bool idxBackward(Cursor & cur) const;
^
../../master/src/mathed/InsetMathNest.h:56:7: note: overridden virtual function is here
bool idxBackward(Cursor &) const override;
^
3 warnings generated.
In file included from ../../master/src/mathed/InsetMathSideset.cpp:16:
../../master/src/mathed/InsetMathSymbol.h:34:7: warning: 'draw' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void draw(PainterInfo &, int x, int y) const;
^
../../master/src/insets/Inset.h:219:15: note: overridden virtual function is here
virtual void draw(PainterInfo & pi, int x, int y) const = 0;
^
In file included from ../../master/src/mathed/InsetMathSideset.cpp:16:
../../master/src/mathed/InsetMathSymbol.h:77:7: warning: 'infoize2' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void infoize2(odocstream & os) const;
^
../../master/src/insets/Inset.h:334:15: note: overridden virtual function is here
virtual void infoize2(odocstream &) const {}
^
In file included from ../../master/src/mathed/InsetMathSize.cpp:13:
../../master/src/mathed/InsetMathSize.h:34:7: warning: 'draw' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void draw(PainterInfo &, int x, int y) const;
^
../../master/src/mathed/InsetMathNest.h:39:7: note: overridden virtual function is here
void draw(PainterInfo & pi, int x, int y) const override;
^
6 warnings generated.
1 warning generated.
1 warning generated.
2 warnings generated.
In file included from ../../master/src/mathed/InsetMathSqrt.cpp:13:
../../master/src/mathed/InsetMathSqrt.h:28:7: warning: 'draw' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void draw(PainterInfo &, int x, int y) const;
^
../../master/src/mathed/InsetMathNest.h:39:7: note: overridden virtual function is here
void draw(PainterInfo & pi, int x, int y) const override;
^
In file included from ../../master/src/mathed/InsetMathSqrt.cpp:15:
../../master/src/mathed/InsetMathRoot.h:28:7: warning: 'idxUpDown' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
bool idxUpDown(Cursor & cur, bool up) const;
^
../../master/src/insets/Inset.h:262:15: note: overridden virtual function is here
virtual bool idxUpDown(Cursor & cur, bool up) const;
^
In file included from ../../master/src/mathed/InsetMathSqrt.cpp:15:
../../master/src/mathed/InsetMathRoot.h:30:7: warning: 'idxForward' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
bool idxForward(Cursor & cur) const;
^
../../master/src/mathed/InsetMathNest.h:58:7: note: overridden virtual function is here
bool idxForward(Cursor &) const override;
^
In file included from ../../master/src/mathed/InsetMathSqrt.cpp:15:
../../master/src/mathed/InsetMathRoot.h:32:7: warning: 'idxBackward' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
bool idxBackward(Cursor & cur) const;
^
../../master/src/mathed/InsetMathNest.h:56:7: note: overridden virtual function is here
bool idxBackward(Cursor &) const override;
^
In file included from ../../master/src/mathed/InsetMathStackrel.cpp:13:
../../master/src/mathed/InsetMathStackrel.h:25:7: warning: 'idxUpDown' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
bool idxUpDown(Cursor &, bool up) const;
^
../../master/src/mathed/InsetMathFrac.h:30:7: note: overridden virtual function is here
bool idxUpDown(Cursor &, bool up) const override;
^
4 warnings generated.
1 warning generated.
In file included from ../../master/src/mathed/InsetMathSymbol.cpp:13:
../../master/src/mathed/InsetMathSymbol.h:34:7: warning: 'draw' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void draw(PainterInfo &, int x, int y) const;
^
../../master/src/insets/Inset.h:219:15: note: overridden virtual function is here
virtual void draw(PainterInfo & pi, int x, int y) const = 0;
^
In file included from ../../master/src/mathed/InsetMathSymbol.cpp:13:
../../master/src/mathed/InsetMathSymbol.h:77:7: warning: 'infoize2' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void infoize2(odocstream & os) const;
^
../../master/src/insets/Inset.h:334:15: note: overridden virtual function is here
virtual void infoize2(odocstream &) const {}
^
2 warnings generated.
In file included from ../../master/src/mathed/MacroTable.cpp:13:
../../master/src/mathed/InsetMathSqrt.h:28:7: warning: 'draw' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void draw(PainterInfo &, int x, int y) const;
^
../../master/src/mathed/InsetMathNest.h:39:7: note: overridden virtual function is here
void draw(PainterInfo & pi, int x, int y) const override;
^
In file included from ../../master/src/mathed/MacroTable.cpp:16:
../../master/src/mathed/InsetMathMacroArgument.h:31:7: warning: 'draw' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void draw(PainterInfo &, int x, int y) const;
^
../../master/src/insets/Inset.h:219:15: note: overridden virtual function is here
virtual void draw(PainterInfo & pi, int x, int y) const = 0;
^
In file included from ../../master/src/mathed/MathData.cpp:18:
../../master/src/mathed/InsetMathScript.h:53:12: warning: 'lastIdx' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
size_type lastIdx() const { return 0; }
^
../../master/src/mathed/InsetMathNest.h:68:19: note: overridden virtual function is here
virtual idx_type lastIdx() const { return nargs() - 1; }
^
In file included from ../../master/src/mathed/MathExtern.cpp:22:
../../master/src/mathed/InsetMathDelim.h:46:7: warning: 'draw' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void draw(PainterInfo &, int x, int y) const;
^
../../master/src/mathed/InsetMathNest.h:39:7: note: overridden virtual function is here
void draw(PainterInfo & pi, int x, int y) const override;
^
In file included from ../../master/src/mathed/MathExtern.cpp:25:
../../master/src/mathed/InsetMathExInt.h:44:7: warning: 'draw' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void draw(PainterInfo &, int x, int y) const;
^
../../master/src/mathed/InsetMathNest.h:39:7: note: overridden virtual function is here
void draw(PainterInfo & pi, int x, int y) const override;
^
In file included from ../../master/src/mathed/MathExtern.cpp:30:
../../master/src/mathed/InsetMathNumber.h:31:7: warning: 'draw' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void draw(PainterInfo &, int x, int y) const;
^
../../master/src/insets/Inset.h:219:15: note: overridden virtual function is here
virtual void draw(PainterInfo & pi, int x, int y) const = 0;
^
In file included from ../../master/src/mathed/MathExtern.cpp:31:
../../master/src/mathed/InsetMathScript.h:53:12: warning: 'lastIdx' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
size_type lastIdx() const { return 0; }
^
../../master/src/mathed/InsetMathNest.h:68:19: note: overridden virtual function is here
virtual idx_type lastIdx() const { return nargs() - 1; }
^
In file included from ../../master/src/mathed/MathExtern.cpp:33:
../../master/src/mathed/InsetMathSymbol.h:34:7: warning: 'draw' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void draw(PainterInfo &, int x, int y) const;
^
../../master/src/insets/Inset.h:219:15: note: overridden virtual function is here
virtual void draw(PainterInfo & pi, int x, int y) const = 0;
^
In file included from ../../master/src/mathed/MathExtern.cpp:33:
../../master/src/mathed/InsetMathSymbol.h:77:7: warning: 'infoize2' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void infoize2(odocstream & os) const;
^
../../master/src/insets/Inset.h:334:15: note: overridden virtual function is here
virtual void infoize2(odocstream &) const {}
^
2 warnings generated.
In file included from ../../master/src/mathed/MathFactory.cpp:20:
../../master/src/mathed/InsetMathCancelto.h:25:7: warning: 'idxUpDown' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
bool idxUpDown(Cursor & cur, bool up) const;
^
../../master/src/insets/Inset.h:262:15: note: overridden virtual function is here
virtual bool idxUpDown(Cursor & cur, bool up) const;
^
In file included from ../../master/src/mathed/MathFactory.cpp:24:
../../master/src/mathed/InsetMathDecoration.h:31:7: warning: 'draw' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void draw(PainterInfo &, int x, int y) const;
^
../../master/src/mathed/InsetMathNest.h:39:7: note: overridden virtual function is here
void draw(PainterInfo & pi, int x, int y) const override;
^
In file included from ../../master/src/mathed/MathFactory.cpp:30:
../../master/src/mathed/InsetMathKern.h:47:7: warning: 'infoize2' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void infoize2(odocstream & os) const;
^
../../master/src/insets/Inset.h:334:15: note: overridden virtual function is here
virtual void infoize2(odocstream &) const {}
^
In file included from ../../master/src/mathed/MathFactory.cpp:32:
../../master/src/mathed/InsetMathOverset.h:31:7: warning: 'idxUpDown' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
bool idxUpDown(Cursor & cur, bool up) const;
^
../../master/src/mathed/InsetMathFrac.h:30:7: note: overridden virtual function is here
bool idxUpDown(Cursor &, bool up) const override;
^
In file included from ../../master/src/mathed/MathFactory.cpp:35:
../../master/src/mathed/InsetMathRoot.h:28:7: warning: 'idxUpDown' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
bool idxUpDown(Cursor & cur, bool up) const;
^
../../master/src/insets/Inset.h:262:15: note: overridden virtual function is here
virtual bool idxUpDown(Cursor & cur, bool up) const;
^
In file included from ../../master/src/mathed/MathFactory.cpp:35:
../../master/src/mathed/InsetMathRoot.h:30:7: warning: 'idxForward' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
bool idxForward(Cursor & cur) const;
^
../../master/src/mathed/InsetMathNest.h:58:7: note: overridden virtual function is here
bool idxForward(Cursor &) const override;
^
In file included from ../../master/src/mathed/MathFactory.cpp:35:
../../master/src/mathed/InsetMathRoot.h:32:7: warning: 'idxBackward' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
bool idxBackward(Cursor & cur) const;
^
../../master/src/mathed/InsetMathNest.h:56:7: note: overridden virtual function is here
bool idxBackward(Cursor &) const override;
^
In file included from ../../master/src/mathed/MathFactory.cpp:37:
../../master/src/mathed/InsetMathSize.h:34:7: warning: 'draw' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void draw(PainterInfo &, int x, int y) const;
^
../../master/src/mathed/InsetMathNest.h:39:7: note: overridden virtual function is here
void draw(PainterInfo & pi, int x, int y) const override;
^
In file included from ../../master/src/mathed/MathFactory.cpp:41:
../../master/src/mathed/InsetMathSqrt.h:28:7: warning: 'draw' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void draw(PainterInfo &, int x, int y) const;
^
../../master/src/mathed/InsetMathNest.h:39:7: note: overridden virtual function is here
void draw(PainterInfo & pi, int x, int y) const override;
^
In file included from ../../master/src/mathed/MathFactory.cpp:42:
../../master/src/mathed/InsetMathStackrel.h:25:7: warning: 'idxUpDown' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
bool idxUpDown(Cursor &, bool up) const;
^
../../master/src/mathed/InsetMathFrac.h:30:7: note: overridden virtual function is here
bool idxUpDown(Cursor &, bool up) const override;
^
In file included from ../../master/src/mathed/MathFactory.cpp:44:
../../master/src/mathed/InsetMathSymbol.h:34:7: warning: 'draw' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void draw(PainterInfo &, int x, int y) const;
^
../../master/src/insets/Inset.h:219:15: note: overridden virtual function is here
virtual void draw(PainterInfo & pi, int x, int y) const = 0;
^
In file included from ../../master/src/mathed/MathFactory.cpp:44:
../../master/src/mathed/InsetMathSymbol.h:77:7: warning: 'infoize2' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void infoize2(odocstream & os) const;
^
../../master/src/insets/Inset.h:334:15: note: overridden virtual function is here
virtual void infoize2(odocstream &) const {}
^
In file included from ../../master/src/mathed/MathFactory.cpp:54:
../../master/src/mathed/InsetMathMacroArgument.h:31:7: warning: 'draw' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void draw(PainterInfo &, int x, int y) const;
^
../../master/src/insets/Inset.h:219:15: note: overridden virtual function is here
virtual void draw(PainterInfo & pi, int x, int y) const = 0;
^
In file included from ../../master/src/mathed/MathParser.cpp:43:
../../master/src/mathed/InsetMathBig.h:42:7: warning: 'infoize2' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void infoize2(odocstream & os) const;
^
../../master/src/insets/Inset.h:334:15: note: overridden virtual function is here
virtual void infoize2(odocstream &) const {}
^
In file included from ../../master/src/mathed/MathParser.cpp:45:
../../master/src/mathed/InsetMathCancelto.h:25:7: warning: 'idxUpDown' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
bool idxUpDown(Cursor & cur, bool up) const;
^
../../master/src/insets/Inset.h:262:15: note: overridden virtual function is here
virtual bool idxUpDown(Cursor & cur, bool up) const;
^
In file included from ../../master/src/mathed/MathParser.cpp:49:
../../master/src/mathed/InsetMathDelim.h:46:7: warning: 'draw' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void draw(PainterInfo &, int x, int y) const;
^
../../master/src/mathed/InsetMathNest.h:39:7: note: overridden virtual function is here
void draw(PainterInfo & pi, int x, int y) const override;
^
In file included from ../../master/src/mathed/MathParser.cpp:53:
../../master/src/mathed/InsetMathKern.h:47:7: warning: 'infoize2' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void infoize2(odocstream & os) const;
^
../../master/src/insets/Inset.h:334:15: note: overridden virtual function is here
virtual void infoize2(odocstream &) const {}
^
In file included from ../../master/src/mathed/MathParser.cpp:57:
../../master/src/mathed/InsetMathRoot.h:28:7: warning: 'idxUpDown' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
bool idxUpDown(Cursor & cur, bool up) const;
^
../../master/src/insets/Inset.h:262:15: note: overridden virtual function is here
virtual bool idxUpDown(Cursor & cur, bool up) const;
^
In file included from ../../master/src/mathed/MathParser.cpp:57:
../../master/src/mathed/InsetMathRoot.h:30:7: warning: 'idxForward' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
bool idxForward(Cursor & cur) const;
^
../../master/src/mathed/InsetMathNest.h:58:7: note: overridden virtual function is here
bool idxForward(Cursor &) const override;
^
In file included from ../../master/src/mathed/MathParser.cpp:57:
../../master/src/mathed/InsetMathRoot.h:32:7: warning: 'idxBackward' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
bool idxBackward(Cursor & cur) const;
^
../../master/src/mathed/InsetMathNest.h:56:7: note: overridden virtual function is here
bool idxBackward(Cursor &) const override;
^
In file included from ../../master/src/mathed/MathParser.cpp:58:
../../master/src/mathed/InsetMathScript.h:53:12: warning: 'lastIdx' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
size_type lastIdx() const { return 0; }
^
../../master/src/mathed/InsetMathNest.h:68:19: note: overridden virtual function is here
virtual idx_type lastIdx() const { return nargs() - 1; }
^
In file included from ../../master/src/mathed/MathParser.cpp:62:
../../master/src/mathed/InsetMathSqrt.h:28:7: warning: 'draw' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void draw(PainterInfo &, int x, int y) const;
^
../../master/src/mathed/InsetMathNest.h:39:7: note: overridden virtual function is here
void draw(PainterInfo & pi, int x, int y) const override;
^
In file included from ../../master/src/mathed/MathParser.cpp:63:
../../master/src/mathed/InsetMathStackrel.h:25:7: warning: 'idxUpDown' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
bool idxUpDown(Cursor &, bool up) const;
^
../../master/src/mathed/InsetMathFrac.h:30:7: note: overridden virtual function is here
bool idxUpDown(Cursor &, bool up) const override;
^
In file included from ../../master/src/mathed/MathParser.cpp:69:
../../master/src/mathed/InsetMathMacroArgument.h:31:7: warning: 'draw' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void draw(PainterInfo &, int x, int y) const;
^
../../master/src/insets/Inset.h:219:15: note: overridden virtual function is here
virtual void draw(PainterInfo & pi, int x, int y) const = 0;
^
1 warning generated.
13 warnings generated.
In file included from ../../master/src/mathed/MathSupport.cpp:17:
../../master/src/mathed/InsetMathSymbol.h:34:7: warning: 'draw' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void draw(PainterInfo &, int x, int y) const;
^
../../master/src/insets/Inset.h:219:15: note: overridden virtual function is here
virtual void draw(PainterInfo & pi, int x, int y) const = 0;
^
In file included from ../../master/src/mathed/MathSupport.cpp:17:
../../master/src/mathed/InsetMathSymbol.h:77:7: warning: 'infoize2' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void infoize2(odocstream & os) const;
^
../../master/src/insets/Inset.h:334:15: note: overridden virtual function is here
virtual void infoize2(odocstream &) const {}
^
6 warnings generated.
2 warnings generated.
11 warnings generated.
In file included from ../../master/src/insets/InsetCommand.cpp:42:
../../master/src/insets/InsetTabular.h:1035:15: warning: 'allowParagraphCustomization' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual bool allowParagraphCustomization(idx_type cell = 0) const;
^
../../master/src/insets/Inset.h:431:15: note: overridden virtual function is here
virtual bool allowParagraphCustomization(idx_type = 0) const
^
In file included from ../../master/src/insets/InsetCommand.cpp:42:
../../master/src/insets/InsetTabular.h:1037:15: warning: 'forcePlainLayout' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual bool forcePlainLayout(idx_type cell = 0) const;
^
../../master/src/insets/Inset.h:428:15: note: overridden virtual function is here
virtual bool forcePlainLayout(idx_type = 0) const { return false; }
^
2 warnings generated.
In file included from ../../master/src/insets/InsetTabular.cpp:23:
../../master/src/insets/InsetTabular.h:1035:15: warning: 'allowParagraphCustomization' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual bool allowParagraphCustomization(idx_type cell = 0) const;
^
../../master/src/insets/Inset.h:431:15: note: overridden virtual function is here
virtual bool allowParagraphCustomization(idx_type = 0) const
^
In file included from ../../master/src/insets/InsetTabular.cpp:23:
../../master/src/insets/InsetTabular.h:1037:15: warning: 'forcePlainLayout' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual bool forcePlainLayout(idx_type cell = 0) const;
^
../../master/src/insets/Inset.h:428:15: note: overridden virtual function is here
virtual bool forcePlainLayout(idx_type = 0) const { return false; }
^
2 warnings generated.
--
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel