=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Building for lyx-2.3.2nb13 /usr/pkg/bin/gmake all-recursive gmake[1]: Entering directory '/tmp/pkgbuild/editors/lyx/work.earmv6hf/lyx-2.3.2' Making all in autotests gmake[2]: Entering directory '/tmp/pkgbuild/editors/lyx/work.earmv6hf/lyx-2.3.2/autotests' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/tmp/pkgbuild/editors/lyx/work.earmv6hf/lyx-2.3.2/autotests' Making all in config gmake[2]: Entering directory '/tmp/pkgbuild/editors/lyx/work.earmv6hf/lyx-2.3.2/config' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/tmp/pkgbuild/editors/lyx/work.earmv6hf/lyx-2.3.2/config' Making all in development gmake[2]: Entering directory '/tmp/pkgbuild/editors/lyx/work.earmv6hf/lyx-2.3.2/development' gmake[3]: Entering directory '/tmp/pkgbuild/editors/lyx/work.earmv6hf/lyx-2.3.2/development' gmake[3]: Nothing to be done for 'all-am'. gmake[3]: Leaving directory '/tmp/pkgbuild/editors/lyx/work.earmv6hf/lyx-2.3.2/development' gmake[2]: Leaving directory '/tmp/pkgbuild/editors/lyx/work.earmv6hf/lyx-2.3.2/development' Making all in po gmake[2]: Entering directory '/tmp/pkgbuild/editors/lyx/work.earmv6hf/lyx-2.3.2/po' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/tmp/pkgbuild/editors/lyx/work.earmv6hf/lyx-2.3.2/po' Making all in 3rdparty gmake[2]: Entering directory '/tmp/pkgbuild/editors/lyx/work.earmv6hf/lyx-2.3.2/3rdparty' gmake[3]: Entering directory '/tmp/pkgbuild/editors/lyx/work.earmv6hf/lyx-2.3.2/3rdparty' gmake[3]: Nothing to be done for 'all-am'. gmake[3]: Leaving directory '/tmp/pkgbuild/editors/lyx/work.earmv6hf/lyx-2.3.2/3rdparty' gmake[2]: Leaving directory '/tmp/pkgbuild/editors/lyx/work.earmv6hf/lyx-2.3.2/3rdparty' Making all in src gmake[2]: Entering directory '/tmp/pkgbuild/editors/lyx/work.earmv6hf/lyx-2.3.2/src' CHK lyx_commit_hash.h GEN moc_Compare.cpp GEN moc_PreviewLoader.cpp /usr/pkg/bin/gmake all-recursive gmake[3]: Entering directory '/tmp/pkgbuild/editors/lyx/work.earmv6hf/lyx-2.3.2/src' Making all in support gmake[4]: Entering directory '/tmp/pkgbuild/editors/lyx/work.earmv6hf/lyx-2.3.2/src/support' GEN moc_ConsoleApplicationPrivate.cpp GEN moc_FileMonitor.cpp GEN moc_SystemcallPrivate.cpp /usr/pkg/bin/gmake all-am gmake[5]: Entering directory '/tmp/pkgbuild/editors/lyx/work.earmv6hf/lyx-2.3.2/src/support' CXX FileMonitor.o CXX ConsoleApplication.o CXX convert.o In file included from ConsoleApplication.cpp:15:0: ./../support/ConsoleApplicationPrivate.h: In constructor 'lyx::support::ConsoleApplicationPrivate::ConsoleApplicationPrivate(lyx::support::ConsoleApplication*, const string&, int&, char**)': ./../support/ConsoleApplicationPrivate.h:41:49: warning: 'void qsrand(uint)' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] qsrand(QDateTime::currentDateTime().toTime_t()); ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qcoreapplication.h:43:0, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/QCoreApplication:1, from ./../support/ConsoleApplicationPrivate.h:16, from ConsoleApplication.cpp:15: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qglobal.h:1276:81: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") void qsrand(uint seed); ^~~~~~ CXX debug.o CXX docstream.o CXX docstring.o CXX environment.o CXX FileName.o CXX filetools.o FileName.cpp: In member function 'virtual long unsigned int lyx::support::FileName::checksum() const': FileName.cpp:532:13: warning: 'int QTime::restart()' is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] t.restart(); ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/QDateTime:1:0, from FileName.cpp:25: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qdatetime.h:234:54: note: declared here QT_DEPRECATED_X("Use QElapsedTimer instead") int restart(); ^~~~~~~ In file included from FileName.cpp:16:0: FileName.cpp:596:40: warning: 'int QTime::elapsed() const' is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] << result << " lasted " << t.elapsed() << " ms."); ^ ./../support/debug.h:230:45: note: in definition of macro 'LYXERR' else { lyx::lyxerr << CURRENT_POSITION << msg; lyx::lyxerr.endl(); } \ ^~~ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/QDateTime:1:0, from FileName.cpp:25: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qdatetime.h:235:54: note: declared here QT_DEPRECATED_X("Use QElapsedTimer instead") int elapsed() const; ^~~~~~~ CXX ForkedCalls.o CXX gettext.o CXX gzstream.o CXX kill.o CXX lassert.o CXX lstrings.o CXX lyxtime.o CXX mutex.o CXX Messages.o CXX os.o CXX PathChanger.o CXX Package.o CXX qstring_helpers.o CXX socktools.o CXX Systemcall.o CXX TempFile.o CXX Timeout.o CXX trivstring.o Systemcall.cpp: In member function 'void lyx::support::SystemcallPrivate::startProcess(const QString&, const string&, const string&, bool)': Systemcall.cpp:364:77: warning: 'static bool QProcess::startDetached(const QString&)' is deprecated: Use QProcess::startDetached(const QString &program, const QStringList &arguments) instead [-Wdeprecated-declarations] if (!QProcess::startDetached(toqstr(latexEnvCmdPrefix(path, lpath)) + cmd_)) { ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/QProcess:1:0, from ./../support/SystemcallPrivate.h:16, from Systemcall.cpp:22: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qprocess.h:278:17: note: declared here static bool startDetached(const QString &command); ^~~~~~~~~~~~~ Systemcall.cpp:372:64: warning: 'void QProcess::start(const QString&, QIODevice::OpenMode)' is deprecated: Use QProcess::start(const QString &program, const QStringList &arguments,OpenMode mode = ReadWrite) instead [-Wdeprecated-declarations] process_->start(toqstr(latexEnvCmdPrefix(path, lpath)) + cmd_); ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/QProcess:1:0, from ./../support/SystemcallPrivate.h:16, from Systemcall.cpp:22: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qprocess.h:168:10: note: declared here void start(const QString &command, OpenMode mode = ReadWrite); ^~~~~ Systemcall.cpp: In member function 'bool lyx::support::SystemcallPrivate::waitWhile(lyx::support::SystemcallPrivate::State, bool, int)': Systemcall.cpp:450:14: warning: 'void QTime::start()' is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] timer.start(); ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/QTime:1:0, from Systemcall.cpp:33: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qdatetime.h:233:55: note: declared here QT_DEPRECATED_X("Use QElapsedTimer instead") void start(); ^~~~~ Systemcall.cpp:453:21: warning: 'int QTime::elapsed() const' is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] if (timer.elapsed() > timeout) { ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/QTime:1:0, from Systemcall.cpp:33: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qdatetime.h:235:54: note: declared here QT_DEPRECATED_X("Use QElapsedTimer instead") int elapsed() const; ^~~~~~~ CXX userinfo.o CXX unicode.o AR liblyxsupport.a gmake[5]: Leaving directory '/tmp/pkgbuild/editors/lyx/work.earmv6hf/lyx-2.3.2/src/support' gmake[4]: Leaving directory '/tmp/pkgbuild/editors/lyx/work.earmv6hf/lyx-2.3.2/src/support' Making all in frontends gmake[4]: Entering directory '/tmp/pkgbuild/editors/lyx/work.earmv6hf/lyx-2.3.2/src/frontends' Making all in qt4 gmake[5]: Entering directory '/tmp/pkgbuild/editors/lyx/work.earmv6hf/lyx-2.3.2/src/frontends/qt4' GEN ui_AboutUi.h GEN ui_BibitemUi.h GEN ui_BiblioUi.h GEN ui_BibtexAddUi.h GEN ui_BibtexUi.h GEN ui_BoxUi.h GEN ui_BranchesUnknownUi.h GEN ui_BranchesUi.h GEN ui_BranchUi.h GEN ui_BulletsUi.h GEN ui_ChangesUi.h GEN ui_CharacterUi.h GEN ui_CitationUi.h GEN ui_ColorUi.h GEN ui_CompareUi.h GEN ui_CompareHistoryUi.h GEN ui_DelimiterUi.h GEN ui_DocumentUi.h GEN ui_ErrorListUi.h GEN ui_ERTUi.h GEN ui_ExternalUi.h GEN ui_FindAndReplaceUi.h GEN ui_FloatPlacementUi.h GEN ui_FontUi.h GEN ui_GraphicsUi.h GEN ui_HSpaceUi.h GEN ui_HyperlinkUi.h GEN ui_IncludeUi.h GEN ui_IndexUi.h GEN ui_IndicesUi.h GEN ui_InfoUi.h GEN ui_InsetParamsUi.h GEN ui_LabelUi.h GEN ui_LaTeXUi.h GEN ui_LanguageUi.h GEN ui_LineUi.h GEN ui_ListingsUi.h GEN ui_ListingsSettingsUi.h GEN ui_LocalLayoutUi.h GEN ui_LogUi.h GEN ui_MarginsUi.h GEN ui_MasterChildUi.h GEN ui_MathMatrixUi.h GEN ui_MathsUi.h GEN ui_ModulesUi.h GEN ui_NoteUi.h GEN ui_NomenclUi.h GEN ui_NumberingUi.h GEN ui_OutputUi.h GEN ui_PageLayoutUi.h GEN ui_ParagraphUi.h GEN ui_PDFSupportUi.h GEN ui_PhantomUi.h GEN ui_PreambleUi.h GEN ui_PrefColorsUi.h GEN ui_PrefCompletionUi.h GEN ui_PrefConvertersUi.h GEN ui_PrefDocHandlingUi.h GEN ui_PrefOutputUi.h GEN ui_PrefDisplayUi.h GEN ui_PrefFileformatsUi.h GEN ui_PrefEditUi.h GEN ui_PrefIdentityUi.h GEN ui_PrefInputUi.h GEN ui_PrefLanguageUi.h GEN ui_PrefLatexUi.h GEN ui_PrefPathsUi.h GEN ui_PrefScreenFontsUi.h GEN ui_PrefShortcutsUi.h GEN ui_PrefSpellcheckerUi.h GEN ui_PrefsUi.h GEN ui_PrefUi.h GEN ui_PrintindexUi.h GEN ui_PrintNomenclUi.h GEN ui_ProgressViewUi.h GEN ui_RefUi.h GEN ui_SearchUi.h GEN ui_SendtoUi.h GEN ui_ShowFileUi.h GEN ui_ShortcutUi.h GEN ui_SpellcheckerUi.h GEN ui_SymbolsUi.h GEN ui_TabularCreateUi.h GEN ui_TabularUi.h GEN ui_TexinfoUi.h GEN ui_TextLayoutUi.h GEN ui_ThesaurusUi.h GEN ui_TocUi.h GEN ui_ToggleWarningUi.h GEN ui_ViewSourceUi.h GEN ui_VSpaceUi.h GEN ui_WorkAreaUi.h GEN ui_WrapUi.h GEN moc_Action.cpp GEN moc_BulletsModule.cpp GEN moc_CategorizedCombo.cpp GEN moc_CustomizedWidgets.cpp GEN moc_DialogView.cpp GEN moc_DockView.cpp GEN moc_EmptyTable.cpp GEN moc_FancyLineEdit.cpp GEN moc_FindAndReplace.cpp GEN moc_FloatPlacement.cpp GEN moc_GuiAbout.cpp GEN moc_GuiApplication.cpp GEN moc_GuiBibitem.cpp GEN moc_GuiBibtex.cpp GEN moc_GuiBox.cpp GEN moc_GuiBranches.cpp GEN moc_GuiBranch.cpp GEN moc_GuiChanges.cpp GEN moc_GuiCharacter.cpp GEN moc_GuiCitation.cpp GEN moc_GuiClipboard.cpp GEN moc_GuiCommandBuffer.cpp GEN moc_GuiCommandEdit.cpp GEN moc_GuiCompare.cpp GEN moc_GuiCompareHistory.cpp GEN moc_GuiCompleter.cpp GEN moc_GuiDelimiter.cpp GEN moc_GuiDialog.cpp GEN moc_GuiDocument.cpp GEN moc_GuiErrorList.cpp GEN moc_GuiERT.cpp GEN moc_GuiExternal.cpp GEN moc_GuiGraphics.cpp GEN moc_GuiHSpace.cpp GEN moc_GuiHyperlink.cpp GEN moc_GuiInclude.cpp GEN moc_GuiIndex.cpp GEN moc_GuiIndices.cpp GEN moc_GuiInfo.cpp GEN moc_GuiLabel.cpp GEN moc_GuiLine.cpp GEN moc_GuiListings.cpp GEN moc_GuiLog.cpp GEN moc_GuiMathMatrix.cpp GEN moc_GuiNomenclature.cpp GEN moc_GuiNote.cpp GEN moc_GuiParagraph.cpp GEN moc_GuiPhantom.cpp GEN moc_GuiPrefs.cpp GEN moc_GuiPrintindex.cpp GEN moc_GuiPrintNomencl.cpp GEN moc_GuiProgress.cpp GEN moc_GuiProgressView.cpp GEN moc_GuiRef.cpp GEN moc_GuiSearch.cpp GEN moc_GuiSelection.cpp GEN moc_GuiSelectionManager.cpp GEN moc_GuiSendto.cpp GEN moc_GuiSetBorder.cpp GEN moc_GuiShowFile.cpp GEN moc_GuiSpellchecker.cpp GEN moc_GuiSymbols.cpp GEN moc_GuiTabularCreate.cpp GEN moc_GuiTabular.cpp GEN moc_GuiTexinfo.cpp GEN moc_GuiThesaurus.cpp GEN moc_GuiToc.cpp GEN moc_GuiToolbar.cpp GEN moc_GuiView.cpp GEN moc_GuiViewSource.cpp GEN moc_GuiVSpace.cpp GEN moc_GuiWorkArea.cpp GEN moc_GuiWrap.cpp GEN moc_IconPalette.cpp GEN moc_InGuiThread.cpp GEN moc_InsertTableWidget.cpp GEN moc_InsetParamsDialog.cpp GEN moc_InsetParamsWidget.cpp GEN moc_LayoutBox.cpp GEN moc_LengthCombo.cpp GEN moc_LyXFileDialog.cpp GEN moc_Menus.cpp GEN moc_PanelStack.cpp GEN moc_TocModel.cpp GEN moc_TocWidget.cpp GEN moc_ToolTipFormatter.cpp GEN moc_Validator.cpp GEN Resources.qrc GEN Resources.cpp /usr/pkg/bin/gmake all-am gmake[6]: Entering directory '/tmp/pkgbuild/editors/lyx/work.earmv6hf/lyx-2.3.2/src/frontends/qt4' CXX ButtonPolicy.o CXX Dialog.o CXX Action.o CXX BulletsModule.o CXX ButtonController.o CXX CategorizedCombo.o BulletsModule.cpp: In member function 'void lyx::BulletsModule::selectItem(int, int, bool)': BulletsModule.cpp:162:49: warning: 'void QListWidget::setItemSelected(const QListWidgetItem*, bool)' is deprecated: Use QListWidgetItem::setSelected() instead [-Wdeprecated-declarations] lw->setItemSelected(lw->item(character), select); ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/QListWidget:1:0, from ui_BulletsUi.h:19, from BulletsModule.h:15, from BulletsModule.cpp:13: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qlistwidget.h:263:10: note: declared here void setItemSelected(const QListWidgetItem *item, bool select); ^~~~~~~~~~~~~~~ CXX ColorCache.o CXX CustomizedWidgets.o CategorizedCombo.cpp: In member function 'void lyx::frontend::CCItemDelegate::drawCategoryHeader(QPainter*, const QStyleOptionViewItem&, const QString&) const': CategorizedCombo.cpp:246:27: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] int w = fm.width(category); ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qwidget.h:50:0, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qcombobox.h:44, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/QComboBox:1, from CategorizedCombo.h:22, from CategorizedCombo.cpp:19: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtGui/qfontmetrics.h:106:9: note: declared here int width(const QString &, int len = -1) const; ^~~~~ CXX DialogView.o CXX DockView.o CXX EmptyTable.o CXX FancyLineEdit.o In file included from DockView.cpp:14:0: DockView.h:41:35: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] Qt::WindowFlags flags = 0); ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qglobal.h:1302:0, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qchar.h:43, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qstring.h:49, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/QString:1, from Dialog.h:21, from DockView.h:15, from DockView.cpp:14: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qflags.h:123:80: note: declared here QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} ^~~~~~ CXX FileDialog.o CXX FindAndReplace.o FileDialog.cpp: In member function 'lyx::FileDialog::Result lyx::FileDialog::save(const QString&, const QStringList&, const QString&, QString*)': FileDialog.cpp:105:32: warning: 'void QFileDialog::setConfirmOverwrite(bool)' is deprecated: Use setOption(DontConfirmOverwrite, !enabled) instead [-Wdeprecated-declarations] dlg.setConfirmOverwrite(false); ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/QFileDialog:1:0, from LyXFileDialog.h:17, from FileDialog.cpp:16: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qfiledialog.h:177:10: note: declared here void setConfirmOverwrite(bool enabled); ^~~~~~~~~~~~~~~~~~~ CXX FloatPlacement.o CXX GuiAbout.o In file included from FindAndReplace.h:15:0, from FindAndReplace.cpp:13: DockView.h:41:35: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] Qt::WindowFlags flags = 0); ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qglobal.h:1302:0, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qchar.h:43, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qstring.h:49, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/QString:1, from Dialog.h:21, from DockView.h:15, from FindAndReplace.h:15, from FindAndReplace.cpp:13: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qflags.h:123:80: note: declared here QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} ^~~~~~ In file included from FindAndReplace.cpp:13:0: FindAndReplace.h:79:27: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] Qt::WindowFlags flags = 0); ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qglobal.h:1302:0, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qchar.h:43, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qstring.h:49, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/QString:1, from Dialog.h:21, from DockView.h:15, from FindAndReplace.h:15, from FindAndReplace.cpp:13: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qflags.h:123:80: note: declared here QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} ^~~~~~ FindAndReplace.cpp: In function 'lyx::frontend::Dialog* lyx::frontend::createGuiSearchAdv(lyx::frontend::GuiView&)': FindAndReplace.cpp:622:71: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] FindAndReplace * gui = new FindAndReplace(lv, Qt::RightDockWidgetArea); ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qglobal.h:1302:0, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qchar.h:43, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qstring.h:49, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/QString:1, from Dialog.h:21, from DockView.h:15, from FindAndReplace.h:15, from FindAndReplace.cpp:13: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qflags.h:123:80: note: declared here QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} ^~~~~~ GuiAbout.cpp: In function 'QString lyx::frontend::buildinfo()': GuiAbout.cpp:242:41: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] << " (" << lyx_release_date << ")" << endl; ^~~~ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/QTextStream:1:0, from GuiAbout.cpp:27: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ GuiAbout.cpp:245:50: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] << QString(lyx_git_commit_hash).left(8) << endl; ^~~~ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/QTextStream:1:0, from GuiAbout.cpp:27: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ GuiAbout.cpp:247:29: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] out << lyx_version_info << endl; ^~~~ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/QTextStream:1:0, from GuiAbout.cpp:27: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ CXX GuiAlert.o CXX GuiApplication.o CXX GuiBibitem.o CXX GuiBibtex.o CXX GuiBox.o GuiApplication.cpp: In constructor 'lyx::frontend::GuiApplication::GuiApplication(int&, char**)': GuiApplication.cpp:1030:48: warning: 'void qsrand(uint)' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] qsrand(QDateTime::currentDateTime().toTime_t()); ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtGui/qtguiglobal.h:43:0, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qtwidgetsglobal.h:43, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qapplication.h:43, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/QApplication:1, from GuiApplication.h:19, from GuiApplication.cpp:15: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qglobal.h:1276:81: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") void qsrand(uint seed); ^~~~~~ In file included from GuiBibtex.h:18:0, from GuiBibtex.cpp:16: ui_BibtexUi.h: In member function 'void Ui_BibtexUi::setupUi(QDialog*)': ui_BibtexUi.h:118:40: warning: 'void QComboBox::setAutoCompletion(bool)' is deprecated: Use setCompleter() instead. [-Wdeprecated-declarations] styleCB->setAutoCompletion(true); ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/QComboBox:1:0, from ui_BibtexUi.h:15, from GuiBibtex.h:18, from GuiBibtex.cpp:16: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qcombobox.h:103:10: note: declared here void setAutoCompletion(bool enable); ^~~~~~~~~~~~~~~~~ GuiBibtex.cpp: In member function 'void lyx::frontend::GuiBibtex::addDatabase()': GuiBibtex.cpp:218:39: warning: 'bool QListWidget::isItemSelected(const QListWidgetItem*) const' is deprecated: Use QListWidgetItem::isSelected() instead [-Wdeprecated-declarations] if (add_->bibLW->isItemSelected(item)) { ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/QListWidget:1:0, from ui_BibtexUi.h:21, from GuiBibtex.h:18, from GuiBibtex.cpp:16: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qlistwidget.h:261:10: note: declared here bool isItemSelected(const QListWidgetItem *item) const; ^~~~~~~~~~~~~~ GuiBibtex.cpp:219:44: warning: 'void QListWidget::setItemSelected(const QListWidgetItem*, bool)' is deprecated: Use QListWidgetItem::setSelected() instead [-Wdeprecated-declarations] add_->bibLW->setItemSelected(item, false); ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/QListWidget:1:0, from ui_BibtexUi.h:21, from GuiBibtex.h:18, from GuiBibtex.cpp:16: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qlistwidget.h:263:10: note: declared here void setItemSelected(const QListWidgetItem *item, bool select); ^~~~~~~~~~~~~~~ GuiBox.cpp: In constructor 'lyx::frontend::GuiBox::GuiBox(QWidget*)': GuiBox.cpp:158:61: warning: 'void qSort(RandomAccessIterator, RandomAccessIterator, LessThan) [with RandomAccessIterator = QList::iterator; LessThan = bool (*)(lyx::ColorCode, lyx::ColorCode)]' is deprecated: Use std::sort [-Wdeprecated-declarations] qSort(color_codes_.begin(), color_codes_.end(), ColorSorter); ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qlist.h:43:0, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qobject.h:49, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qwidget.h:45, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qframe.h:44, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qabstractscrollarea.h:44, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qabstractitemview.h:44, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qheaderview.h:44, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/QHeaderView:1, from qt_helpers.h:24, from InsetParamsWidget.h:18, from GuiBox.h:16, from GuiBox.cpp:16: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qalgorithms.h:181:46: note: declared here QT_DEPRECATED_X("Use std::sort") inline void qSort(RandomAccessIterator start, RandomAccessIterator end, LessThan lessThan) ^~~~~ CXX GuiBranch.o CXX GuiBranches.o CXX GuiChanges.o GuiBranches.cpp: In member function 'void lyx::frontend::GuiBranches::updateView()': GuiBranches.cpp:147:45: warning: 'void QTreeWidget::setItemSelected(const QTreeWidgetItem*, bool)' is deprecated: Use QTreeWidgetItem::setSelected() instead [-Wdeprecated-declarations] branchesTW->setItemSelected(newItem, true); ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/QTreeWidget:1:0, from ui_BranchesUi.h:20, from GuiBranches.h:19, from GuiBranches.cpp:14: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qtreewidget.h:322:10: note: declared here void setItemSelected(const QTreeWidgetItem *item, bool select); ^~~~~~~~~~~~~~~ CXX GuiCharacter.o CXX GuiCitation.o CXX GuiClipboard.o GuiCharacter.cpp: In constructor 'lyx::frontend::GuiCharacter::GuiCharacter(lyx::frontend::GuiView&)': GuiCharacter.cpp:235:47: warning: 'void qSort(RandomAccessIterator, RandomAccessIterator, LessThan) [with RandomAccessIterator = QList::iterator; LessThan = bool (*)(lyx::ColorCode, lyx::ColorCode)]' is deprecated: Use std::sort [-Wdeprecated-declarations] qSort(color.begin(), color.end(), ColorSorter); ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qlist.h:43:0, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qobject.h:49, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qwidget.h:45, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qdialog.h:44, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/QDialog:1, from GuiDialog.h:18, from GuiCharacter.h:17, from GuiCharacter.cpp:16: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qalgorithms.h:181:46: note: declared here QT_DEPRECATED_X("Use std::sort") inline void qSort(RandomAccessIterator start, RandomAccessIterator end, LessThan lessThan) ^~~~~ CXX GuiCommandBuffer.o CXX GuiCommandEdit.o CXX GuiCompare.o CXX GuiCompareHistory.o CXX GuiCompleter.o CXX GuiDelimiter.o CXX GuiDialog.o GuiCompleter.cpp: In member function 'virtual QVariant lyx::frontend::GuiCompletionModel::data(const QModelIndex&, int) const': GuiCompleter.cpp:143:54: warning: 'static bool QPixmapCache::find(const QString&, QPixmap&)' is deprecated: Use bool find(const QString &, QPixmap *) instead [-Wdeprecated-declarations] if (!QPixmapCache::find("completion" + name, scaled)) { ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtGui/QPixmapCache:1:0, from GuiCompleter.cpp:36: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtGui/qpixmapcache.h:81:17: note: declared here static bool find(const QString &key, QPixmap &pixmap); ^~~~ CXX GuiDocument.o CXX GuiErrorList.o CXX GuiERT.o GuiDocument.cpp: In constructor 'lyx::frontend::PreambleModule::PreambleModule(QWidget*)': GuiDocument.cpp:480:57: warning: 'int QFontMetrics::width(QChar) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] preambleTE->setTabStopWidth(tabStop * metrics.width(' ')); ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qwidget.h:50:0, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qabstractbutton.h:46, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qcheckbox.h:44, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/QCheckBox:1, from ui_BulletsUi.h:14, from BulletsModule.h:15, from GuiDocument.h:17, from GuiDocument.cpp:14: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtGui/qfontmetrics.h:110:9: note: declared here int width(QChar) const; ^~~~~ GuiDocument.cpp:480:58: warning: 'void QTextEdit::setTabStopWidth(int)' is deprecated [-Wdeprecated-declarations] preambleTE->setTabStopWidth(tabStop * metrics.width(' ')); ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qtextbrowser.h:44:0, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/QTextBrowser:1, from ui_ListingsSettingsUi.h:21, from GuiDocument.h:27, from GuiDocument.cpp:14: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qtextedit.h:203:24: note: declared here QT_DEPRECATED void setTabStopWidth(int width); ^~~~~~~~~~~~~~~ CXX GuiExternal.o CXX GuiFontExample.o GuiFontExample.cpp: In member function 'virtual QSize GuiFontExample::sizeHint() const': GuiFontExample.cpp:32:28: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] return QSize(m.width(text_) + 10, m.ascent() + m.descent() + 6); ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qwidget.h:50:0, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/QWidget:1, from GuiFontExample.h:15, from GuiFontExample.cpp:13: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtGui/qfontmetrics.h:106:9: note: declared here int width(const QString &, int len = -1) const; ^~~~~ CXX GuiFontLoader.o GuiExternal.cpp: In constructor 'lyx::frontend::GuiExternal::GuiExternal(lyx::frontend::GuiView&)': GuiExternal.cpp:210:49: warning: 'void qSort(RandomAccessIterator, RandomAccessIterator, LessThan) [with RandomAccessIterator = QList::iterator; LessThan = bool (*)(const QString&, const QString&)]' is deprecated: Use std::sort [-Wdeprecated-declarations] qSort(keys.begin(), keys.end(), SortLocaleAware); ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qlist.h:43:0, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qobject.h:49, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qwidget.h:45, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qdialog.h:44, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/QDialog:1, from GuiDialog.h:18, from GuiExternal.h:17, from GuiExternal.cpp:15: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qalgorithms.h:181:46: note: declared here QT_DEPRECATED_X("Use std::sort") inline void qSort(RandomAccessIterator start, RandomAccessIterator end, LessThan lessThan) ^~~~~ GuiFontLoader.cpp: In function 'QFont lyx::frontend::{anonymous}::symbolFont(const QString&, bool*)': GuiFontLoader.cpp:224:21: warning: 'void QFont::setRawName(const QString&)' is deprecated [-Wdeprecated-declarations] font.setRawName(raw); ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtGui/QFont:1:0, from GuiFontMetrics.h:20, from GuiFontLoader.cpp:17: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtGui/qfont.h:271:24: note: declared here QT_DEPRECATED void setRawName(const QString &); ^~~~~~~~~~ In file included from GuiFontLoader.cpp:22:0: GuiFontLoader.cpp: In function 'QFont lyx::frontend::{anonymous}::makeQFont(const lyx::FontInfo&)': GuiFontLoader.cpp:364:47: warning: 'QString QFont::rawName() const' is deprecated [-Wdeprecated-declarations] LYXERR(Debug::FONT, "XFLD: " << font.rawName()); ^ ../../../src/support/debug.h:230:45: note: in definition of macro 'LYXERR' else { lyx::lyxerr << CURRENT_POSITION << msg; lyx::lyxerr.endl(); } \ ^~~ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtGui/QFont:1:0, from GuiFontMetrics.h:20, from GuiFontLoader.cpp:17: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtGui/qfont.h:272:27: note: declared here QT_DEPRECATED QString rawName() const; ^~~~~~~ CXX GuiFontMetrics.o CXX GuiGraphics.o GuiFontMetrics.cpp: In member function 'virtual int lyx::frontend::GuiFontMetrics::width(const docstring&) const': GuiFontMetrics.cpp:195:31: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] w = metrics_.width(toqstr(s)); ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtGui/QFontMetrics:1:0, from GuiFontMetrics.h:21, from GuiFontMetrics.cpp:14: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtGui/qfontmetrics.h:106:9: note: declared here int width(const QString &, int len = -1) const; ^~~~~ GuiFontMetrics.cpp: In member function 'virtual int lyx::frontend::GuiFontMetrics::width(lyx::char_type) const': GuiFontMetrics.cpp:502:42: warning: 'int QFontMetrics::width(QChar) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] value = metrics_.width(ucs4_to_qchar(c)); ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtGui/QFontMetrics:1:0, from GuiFontMetrics.h:21, from GuiFontMetrics.cpp:14: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtGui/qfontmetrics.h:110:9: note: declared here int width(QChar) const; ^~~~~ GuiFontMetrics.cpp:504:49: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] value = metrics_.width(toqstr(docstring(1, c))); ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtGui/QFontMetrics:1:0, from GuiFontMetrics.h:21, from GuiFontMetrics.cpp:14: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtGui/qfontmetrics.h:106:9: note: declared here int width(const QString &, int len = -1) const; ^~~~~ CXX GuiHSpace.o CXX GuiHyperlink.o CXX GuiIdListModel.o CXX GuiImage.o In file included from /usr/include/g++/vector:69:0, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qvector.h:53, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qlist.h:48, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qvariant.h:45, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qabstractitemmodel.h:43, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/QAbstractListModel:1, from GuiIdListModel.h:21, from GuiIdListModel.cpp:17: /usr/include/g++/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_fill_insert(std::vector<_Tp, _Alloc>::iterator, std::vector<_Tp, _Alloc>::size_type, const value_type&) [with _Tp = lyx::frontend::GuiIdListModel::OurData; _Alloc = std::allocator]': /usr/include/g++/bits/vector.tcc:458:5: note: parameter passing for argument of type 'std::vector::iterator {aka __gnu_cxx::__normal_iterator >}' changed in GCC 7.1 vector<_Tp, _Alloc>:: ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/g++/vector:64:0, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qvector.h:53, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qlist.h:48, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qvariant.h:45, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qabstractitemmodel.h:43, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/QAbstractListModel:1, from GuiIdListModel.h:21, from GuiIdListModel.cpp:17: /usr/include/g++/bits/stl_vector.h: In member function 'virtual bool lyx::frontend::GuiIdListModel::insertRows(int, int, const QModelIndex&)': /usr/include/g++/bits/stl_vector.h:1087:16: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_fill_insert(begin() + __offset, __n, __x); ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CXX GuiInclude.o CXX GuiIndex.o GuiImage.cpp: In member function 'bool lyx::graphics::GuiImage::rotate(const lyx::graphics::Params&)': GuiImage.cpp:182:36: warning: 'QImage QImage::transformed(const QMatrix&, Qt::TransformationMode) const' is deprecated: Use transformed(const QTransform &matrix, Qt::TransformationMode mode) [-Wdeprecated-declarations] transformed_ = image.transformed(m); ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtGui/QImage:1:0, from GuiImage.h:18, from GuiImage.cpp:15: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtGui/qimage.h:288:12: note: declared here QImage transformed(const QMatrix &matrix, Qt::TransformationMode mode = Qt::FastTransformation) const; ^~~~~~~~~~~ GuiImage.cpp: In member function 'bool lyx::graphics::GuiImage::scale(const lyx::graphics::Params&)': GuiImage.cpp:211:62: warning: 'QImage QImage::transformed(const QMatrix&, Qt::TransformationMode) const' is deprecated: Use transformed(const QTransform &matrix, Qt::TransformationMode mode) [-Wdeprecated-declarations] transformed_ = image.transformed(m, Qt::SmoothTransformation); ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtGui/QImage:1:0, from GuiImage.h:18, from GuiImage.cpp:15: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtGui/qimage.h:288:12: note: declared here QImage transformed(const QMatrix &matrix, Qt::TransformationMode mode = Qt::FastTransformation) const; ^~~~~~~~~~~ CXX GuiIndices.o CXX GuiInfo.o GuiIndices.cpp: In member function 'void lyx::frontend::GuiIndices::updateView()': GuiIndices.cpp:149:44: warning: 'void QTreeWidget::setItemSelected(const QTreeWidgetItem*, bool)' is deprecated: Use QTreeWidgetItem::setSelected() instead [-Wdeprecated-declarations] indicesTW->setItemSelected(newItem, true); ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/QTreeWidget:1:0, from ui_IndicesUi.h:25, from GuiIndices.h:18, from GuiIndices.cpp:15: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qtreewidget.h:322:10: note: declared here void setItemSelected(const QTreeWidgetItem *item, bool select); ^~~~~~~~~~~~~~~ CXX GuiKeySymbol.o CXX GuiLabel.o CXX GuiLine.o CXX GuiListings.o CXX GuiLog.o CXX GuiMathMatrix.o In file included from GuiListings.h:16:0, from GuiListings.cpp:14: ui_ListingsUi.h: In member function 'void Ui_ListingsUi::setupUi(QDialog*)': ui_ListingsUi.h:177:49: warning: 'void QComboBox::setAutoCompletion(bool)' is deprecated: Use setCompleter() instead. [-Wdeprecated-declarations] numberFontSizeCO->setAutoCompletion(true); ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/QComboBox:1:0, from ui_ListingsUi.h:15, from GuiListings.h:16, from GuiListings.cpp:14: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qcombobox.h:103:10: note: declared here void setAutoCompletion(bool enable); ^~~~~~~~~~~~~~~~~ In file included from GuiListings.h:16:0, from GuiListings.cpp:14: ui_ListingsUi.h:200:43: warning: 'void QComboBox::setAutoCompletion(bool)' is deprecated: Use setCompleter() instead. [-Wdeprecated-declarations] fontsizeCO->setAutoCompletion(true); ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/QComboBox:1:0, from ui_ListingsUi.h:15, from GuiListings.h:16, from GuiListings.cpp:14: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qcombobox.h:103:10: note: declared here void setAutoCompletion(bool enable); ^~~~~~~~~~~~~~~~~ In file included from GuiListings.h:16:0, from GuiListings.cpp:14: ui_ListingsUi.h:216:44: warning: 'void QComboBox::setAutoCompletion(bool)' is deprecated: Use setCompleter() instead. [-Wdeprecated-declarations] fontstyleCO->setAutoCompletion(true); ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/QComboBox:1:0, from ui_ListingsUi.h:15, from GuiListings.h:16, from GuiListings.cpp:14: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qcombobox.h:103:10: note: declared here void setAutoCompletion(bool enable); ^~~~~~~~~~~~~~~~~ CXX GuiNomenclature.o CXX GuiNote.o CXX GuiPainter.o CXX GuiParagraph.o CXX GuiPhantom.o GuiPainter.cpp: In member function 'void lyx::frontend::GuiPainter::text(int, int, const docstring&, const lyx::FontInfo&, lyx::frontend::GuiPainter::Direction, double, double)': GuiPainter.cpp:421:33: warning: 'static bool QPixmapCache::find(const QString&, QPixmap&)' is deprecated: Use bool find(const QString &, QPixmap *) instead [-Wdeprecated-declarations] if (QPixmapCache::find(key, pm)) { ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtGui/QPixmapCache:1:0, from GuiPainter.cpp:32: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtGui/qpixmapcache.h:81:17: note: declared here static bool find(const QString &key, QPixmap &pixmap); ^~~~ CXX GuiPrefs.o CXX GuiPrintindex.o CXX GuiPrintNomencl.o GuiPrefs.cpp: In constructor 'lyx::frontend::PrefColors::PrefColors(lyx::frontend::GuiPreferences*)': GuiPrefs.cpp:1220:53: warning: 'void qSort(RandomAccessIterator, RandomAccessIterator, LessThan) [with RandomAccessIterator = __gnu_cxx::__normal_iterator >; LessThan = bool (*)(lyx::ColorCode, lyx::ColorCode)]' is deprecated: Use std::sort [-Wdeprecated-declarations] qSort(lcolors_.begin(), lcolors_.end(), ColorSorter); ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qlist.h:43:0, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qobject.h:49, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qwidget.h:45, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qdialog.h:44, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/QDialog:1, from GuiDialog.h:18, from GuiPrefs.h:17, from GuiPrefs.cpp:14: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qalgorithms.h:181:46: note: declared here QT_DEPRECATED_X("Use std::sort") inline void qSort(RandomAccessIterator start, RandomAccessIterator end, LessThan lessThan) ^~~~~ GuiPrefs.cpp: In member function 'void lyx::frontend::PrefShortcuts::on_searchLE_textEdited()': GuiPrefs.cpp:3237:56: warning: 'void QTreeWidget::setItemHidden(const QTreeWidgetItem*, bool)' is deprecated: Use QTreeWidgetItem::setHidden() instead [-Wdeprecated-declarations] shortcutsTW->setItemHidden(*it, isAlwaysHidden(**it)); ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/QTreeWidget:1:0, from ui_PrefShortcutsUi.h:21, from GuiPrefs.h:37, from GuiPrefs.cpp:14: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qtreewidget.h:332:10: note: declared here void setItemHidden(const QTreeWidgetItem *item, bool hide); ^~~~~~~~~~~~~ GuiPrefs.cpp:3252:41: warning: 'void QTreeWidget::setItemHidden(const QTreeWidgetItem*, bool)' is deprecated: Use QTreeWidgetItem::setHidden() instead [-Wdeprecated-declarations] shortcutsTW->setItemHidden(*it++, true); ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/QTreeWidget:1:0, from ui_PrefShortcutsUi.h:21, from GuiPrefs.h:37, from GuiPrefs.cpp:14: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qtreewidget.h:332:10: note: declared here void setItemHidden(const QTreeWidgetItem *item, bool hide); ^~~~~~~~~~~~~ GuiPrefs.cpp:3256:48: warning: 'void QTreeWidget::setItemHidden(const QTreeWidgetItem*, bool)' is deprecated: Use QTreeWidgetItem::setHidden() instead [-Wdeprecated-declarations] shortcutsTW->setItemHidden(matched[i], false); ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/QTreeWidget:1:0, from ui_PrefShortcutsUi.h:21, from GuiPrefs.h:37, from GuiPrefs.cpp:14: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qtreewidget.h:332:10: note: declared here void setItemHidden(const QTreeWidgetItem *item, bool hide); ^~~~~~~~~~~~~ GuiPrefs.cpp:3257:59: warning: 'void QTreeWidget::setItemExpanded(const QTreeWidgetItem*, bool)' is deprecated: Use QTreeWidgetItem::setExpanded() instead [-Wdeprecated-declarations] shortcutsTW->setItemExpanded(matched[i]->parent(), true); ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/QTreeWidget:1:0, from ui_PrefShortcutsUi.h:21, from GuiPrefs.h:37, from GuiPrefs.cpp:14: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qtreewidget.h:337:10: note: declared here void setItemExpanded(const QTreeWidgetItem *item, bool expand); ^~~~~~~~~~~~~~~ GuiPrefs.cpp: In member function 'void lyx::frontend::PrefShortcuts::shortcutOkPressed()': GuiPrefs.cpp:3364:52: warning: 'void QTreeWidget::setItemExpanded(const QTreeWidgetItem*, bool)' is deprecated: Use QTreeWidgetItem::setExpanded() instead [-Wdeprecated-declarations] shortcutsTW->setItemExpanded(item->parent(), true); ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/QTreeWidget:1:0, from ui_PrefShortcutsUi.h:21, from GuiPrefs.h:37, from GuiPrefs.cpp:14: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qtreewidget.h:337:10: note: declared here void setItemExpanded(const QTreeWidgetItem *item, bool expand); ^~~~~~~~~~~~~~~ CXX GuiProgress.o CXX GuiProgressView.o CXX GuiRef.o In file included from GuiProgressView.h:18:0, from GuiProgressView.cpp:16: DockView.h:41:35: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] Qt::WindowFlags flags = 0); ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qglobal.h:1302:0, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qatomic.h:41, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qvariant.h:43, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/QVariant:1, from ui_ProgressViewUi.h:12, from GuiProgressView.h:16, from GuiProgressView.cpp:16: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qflags.h:123:80: note: declared here QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} ^~~~~~ In file included from GuiProgressView.cpp:16:0: GuiProgressView.h:50:27: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] Qt::WindowFlags flags = 0); ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qglobal.h:1302:0, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qatomic.h:41, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qvariant.h:43, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/QVariant:1, from ui_ProgressViewUi.h:12, from GuiProgressView.h:16, from GuiProgressView.cpp:16: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qflags.h:123:80: note: declared here QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} ^~~~~~ GuiProgressView.cpp: In function 'lyx::frontend::Dialog* lyx::frontend::createGuiProgressView(lyx::frontend::GuiView&)': GuiProgressView.cpp:270:62: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] return new GuiProgressView(guiview, Qt::BottomDockWidgetArea); ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qglobal.h:1302:0, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qatomic.h:41, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qvariant.h:43, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/QVariant:1, from ui_ProgressViewUi.h:12, from GuiProgressView.h:16, from GuiProgressView.cpp:16: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qflags.h:123:80: note: declared here QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} ^~~~~~ GuiRef.cpp: In member function 'void lyx::frontend::GuiRef::refHighlighted(QTreeWidgetItem*)': GuiRef.cpp:209:59: warning: 'bool QTreeWidget::isItemSelected(const QTreeWidgetItem*) const' is deprecated: Use QTreeWidgetItem::isSelected() instead [-Wdeprecated-declarations] bool const cur_item_selected = refsTW->isItemSelected(sel); ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/QTreeWidget:1:0, from ui_RefUi.h:24, from GuiRef.h:16, from GuiRef.cpp:14: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qtreewidget.h:320:10: note: declared here bool isItemSelected(const QTreeWidgetItem *item) const; ^~~~~~~~~~~~~~ GuiRef.cpp: In member function 'void lyx::frontend::GuiRef::refSelected(QTreeWidgetItem*)': GuiRef.cpp:245:59: warning: 'bool QTreeWidget::isItemSelected(const QTreeWidgetItem*) const' is deprecated: Use QTreeWidgetItem::isSelected() instead [-Wdeprecated-declarations] bool const cur_item_selected = refsTW->isItemSelected(sel); ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/QTreeWidget:1:0, from ui_RefUi.h:24, from GuiRef.h:16, from GuiRef.cpp:14: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qtreewidget.h:320:10: note: declared here bool isItemSelected(const QTreeWidgetItem *item) const; ^~~~~~~~~~~~~~ GuiRef.cpp: In member function 'void lyx::frontend::GuiRef::redoRefs()': GuiRef.cpp:475:49: warning: 'void qSort(RandomAccessIterator, RandomAccessIterator, LessThan) [with RandomAccessIterator = QList::iterator; LessThan = bool (*)(const QString&, const QString&)]' is deprecated: Use std::sort [-Wdeprecated-declarations] caseInsensitiveLessThan /*defined above*/); ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qlist.h:43:0, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qobject.h:49, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qwidget.h:45, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qdialog.h:44, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/QDialog:1, from GuiDialog.h:18, from GuiRef.h:15, from GuiRef.cpp:14: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qalgorithms.h:181:46: note: declared here QT_DEPRECATED_X("Use std::sort") inline void qSort(RandomAccessIterator start, RandomAccessIterator end, LessThan lessThan) ^~~~~ GuiRef.cpp:484:50: warning: 'void qSort(RandomAccessIterator, RandomAccessIterator, LessThan) [with RandomAccessIterator = QList::iterator; LessThan = bool (*)(const QString&, const QString&)]' is deprecated: Use std::sort [-Wdeprecated-declarations] caseInsensitiveLessThan /*defined above*/); ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qlist.h:43:0, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qobject.h:49, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qwidget.h:45, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qdialog.h:44, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/QDialog:1, from GuiDialog.h:18, from GuiRef.h:15, from GuiRef.cpp:14: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qalgorithms.h:181:46: note: declared here QT_DEPRECATED_X("Use std::sort") inline void qSort(RandomAccessIterator start, RandomAccessIterator end, LessThan lessThan) ^~~~~ GuiRef.cpp:486:47: warning: 'void qSort(RandomAccessIterator, RandomAccessIterator) [with RandomAccessIterator = QList::iterator]' is deprecated: Use std::sort [-Wdeprecated-declarations] qSort(refsStrings.begin(), refsStrings.end()); ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qlist.h:43:0, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qobject.h:49, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qwidget.h:45, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qdialog.h:44, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/QDialog:1, from GuiDialog.h:18, from GuiRef.h:15, from GuiRef.cpp:14: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qalgorithms.h:174:46: note: declared here QT_DEPRECATED_X("Use std::sort") inline void qSort(RandomAccessIterator start, RandomAccessIterator end) ^~~~~ GuiRef.cpp:529:38: warning: 'void QTreeWidget::setItemSelected(const QTreeWidgetItem*, bool)' is deprecated: Use QTreeWidgetItem::setSelected() instead [-Wdeprecated-declarations] refsTW->setItemSelected(*it, true); ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/QTreeWidget:1:0, from ui_RefUi.h:24, from GuiRef.h:16, from GuiRef.cpp:14: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qtreewidget.h:322:10: note: declared here void setItemSelected(const QTreeWidgetItem *item, bool select); ^~~~~~~~~~~~~~~ CXX GuiSearch.o CXX GuiSelection.o In file included from GuiSearch.h:17:0, from GuiSearch.cpp:21: ui_SearchUi.h: In member function 'void Ui_SearchUi::setupUi(QDialog*)': ui_SearchUi.h:72:40: warning: 'void QComboBox::setAutoCompletion(bool)' is deprecated: Use setCompleter() instead. [-Wdeprecated-declarations] findCO->setAutoCompletion(false); ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/QComboBox:1:0, from ui_SearchUi.h:15, from GuiSearch.h:17, from GuiSearch.cpp:21: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qcombobox.h:103:10: note: declared here void setAutoCompletion(bool enable); ^~~~~~~~~~~~~~~~~ In file included from GuiSearch.h:17:0, from GuiSearch.cpp:21: ui_SearchUi.h:89:43: warning: 'void QComboBox::setAutoCompletion(bool)' is deprecated: Use setCompleter() instead. [-Wdeprecated-declarations] replaceCO->setAutoCompletion(false); ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/QComboBox:1:0, from ui_SearchUi.h:15, from GuiSearch.h:17, from GuiSearch.cpp:21: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qcombobox.h:103:10: note: declared here void setAutoCompletion(bool enable); ^~~~~~~~~~~~~~~~~ CXX GuiSelectionManager.o CXX GuiSendto.o In file included from GuiSendto.h:17:0, from GuiSendto.cpp:14: ui_SendtoUi.h: In member function 'void Ui_SendtoUi::setupUi(QDialog*)': ui_SendtoUi.h:68:42: warning: 'void QComboBox::setAutoCompletion(bool)' is deprecated: Use setCompleter() instead. [-Wdeprecated-declarations] commandCO->setAutoCompletion(true); ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/QComboBox:1:0, from ui_SendtoUi.h:14, from GuiSendto.h:17, from GuiSendto.cpp:14: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qcombobox.h:103:10: note: declared here void setAutoCompletion(bool enable); ^~~~~~~~~~~~~~~~~ CXX GuiSetBorder.o CXX GuiShowFile.o CXX GuiSpellchecker.o In file included from GuiSetBorder.cpp:14:0: GuiSetBorder.h:29:58: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] GuiSetBorder(QWidget * parent = 0, Qt::WindowFlags fl = 0); ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qglobal.h:1302:0, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtGui/qtguiglobal.h:43, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qtwidgetsglobal.h:43, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qwidget.h:43, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/QWidget:1, from GuiSetBorder.h:16, from GuiSetBorder.cpp:14: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qflags.h:123:80: note: declared here QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} ^~~~~~ CXX GuiSymbols.o CXX GuiTabular.o In file included from GuiSpellchecker.h:18:0, from GuiSpellchecker.cpp:15: DockView.h:41:35: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] Qt::WindowFlags flags = 0); ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qglobal.h:1302:0, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qchar.h:43, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qstring.h:49, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/QString:1, from Dialog.h:21, from DockView.h:15, from GuiSpellchecker.h:18, from GuiSpellchecker.cpp:15: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qflags.h:123:80: note: declared here QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} ^~~~~~ In file included from GuiSpellchecker.cpp:15:0: GuiSpellchecker.h:68:27: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] Qt::WindowFlags flags = 0); ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qglobal.h:1302:0, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qchar.h:43, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qstring.h:49, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/QString:1, from Dialog.h:21, from DockView.h:15, from GuiSpellchecker.h:18, from GuiSpellchecker.cpp:15: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qflags.h:123:80: note: declared here QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} ^~~~~~ In file included from GuiSpellchecker.cpp:20:0: ui_SpellcheckerUi.h: In member function 'void Ui_SpellcheckerUi::setupUi(QWidget*)': ui_SpellcheckerUi.h:114:42: warning: 'void QComboBox::setAutoCompletion(bool)' is deprecated: Use setCompleter() instead. [-Wdeprecated-declarations] replaceCO->setAutoCompletion(true); ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/QComboBox:1:0, from ui_SpellcheckerUi.h:14, from GuiSpellchecker.cpp:20: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qcombobox.h:103:10: note: declared here void setAutoCompletion(bool enable); ^~~~~~~~~~~~~~~~~ GuiSpellchecker.cpp: In function 'lyx::frontend::Dialog* lyx::frontend::createGuiSpellchecker(lyx::frontend::GuiView&)': GuiSpellchecker.cpp:618:73: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] GuiSpellchecker * gui = new GuiSpellchecker(lv, Qt::RightDockWidgetArea); ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qglobal.h:1302:0, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qchar.h:43, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qstring.h:49, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/QString:1, from Dialog.h:21, from DockView.h:15, from GuiSpellchecker.h:18, from GuiSpellchecker.cpp:15: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qflags.h:123:80: note: declared here QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} ^~~~~~ In file included from ui_TabularUi.h:28:0, from GuiTabular.h:19, from GuiTabular.cpp:16: GuiSetBorder.h:29:58: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] GuiSetBorder(QWidget * parent = 0, Qt::WindowFlags fl = 0); ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qglobal.h:1302:0, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtGui/qtguiglobal.h:43, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qtwidgetsglobal.h:43, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qheaderview.h:43, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/QHeaderView:1, from qt_helpers.h:24, from InsetParamsWidget.h:18, from GuiTabular.h:18, from GuiTabular.cpp:16: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qflags.h:123:80: note: declared here QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} ^~~~~~ CXX GuiTabularCreate.o In file included from GuiTabular.h:19:0, from GuiTabular.cpp:16: ui_TabularUi.h: In member function 'void Ui_TabularUi::setupUi(QWidget*)': ui_TabularUi.h:540:44: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] borders = new GuiSetBorder(bordersF); ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qglobal.h:1302:0, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtGui/qtguiglobal.h:43, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qtwidgetsglobal.h:43, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qheaderview.h:43, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/QHeaderView:1, from qt_helpers.h:24, from InsetParamsWidget.h:18, from GuiTabular.h:18, from GuiTabular.cpp:16: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qflags.h:123:80: note: declared here QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} ^~~~~~ CXX GuiTexinfo.o CXX GuiThesaurus.o CXX GuiToc.o CXX GuiToolbar.o In file included from GuiToc.h:18:0, from GuiToc.cpp:15: DockView.h:41:35: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] Qt::WindowFlags flags = 0); ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qglobal.h:1302:0, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qchar.h:43, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qstring.h:49, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/QString:1, from Dialog.h:21, from DockView.h:15, from GuiToc.h:18, from GuiToc.cpp:15: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qflags.h:123:80: note: declared here QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} ^~~~~~ In file included from GuiToc.cpp:15:0: GuiToc.h:35:27: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] Qt::WindowFlags flags = 0); ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qglobal.h:1302:0, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qchar.h:43, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qstring.h:49, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/QString:1, from Dialog.h:21, from DockView.h:15, from GuiToc.h:18, from GuiToc.cpp:15: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qflags.h:123:80: note: declared here QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} ^~~~~~ CXX GuiView.o GuiToc.cpp: In function 'lyx::frontend::Dialog* lyx::frontend::createGuiToc(lyx::frontend::GuiView&)': GuiToc.cpp:94:22: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] return new GuiToc(lv); ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qglobal.h:1302:0, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qchar.h:43, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qstring.h:49, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/QString:1, from Dialog.h:21, from DockView.h:15, from GuiToc.h:18, from GuiToc.cpp:15: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qflags.h:123:80: note: declared here QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} ^~~~~~ CXX GuiViewSource.o CXX GuiVSpace.o In file included from GuiViewSource.h:20:0, from GuiViewSource.cpp:16: DockView.h:41:35: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] Qt::WindowFlags flags = 0); ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qglobal.h:1302:0, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtGui/qtguiglobal.h:43, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qtwidgetsglobal.h:43, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qapplication.h:43, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/QApplication:1, from GuiApplication.h:19, from GuiViewSource.cpp:15: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qflags.h:123:80: note: declared here QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} ^~~~~~ In file included from GuiViewSource.cpp:16:0: GuiViewSource.h:103:27: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] Qt::WindowFlags flags = 0); ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qglobal.h:1302:0, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtGui/qtguiglobal.h:43, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qtwidgetsglobal.h:43, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qapplication.h:43, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/QApplication:1, from GuiApplication.h:19, from GuiViewSource.cpp:15: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qflags.h:123:80: note: declared here QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} ^~~~~~ In file included from GuiToc.h:18:0, from GuiView.cpp:25: DockView.h:41:35: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] Qt::WindowFlags flags = 0); ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qglobal.h:1302:0, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtGui/qtguiglobal.h:43, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qtwidgetsglobal.h:43, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qmainwindow.h:43, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/QMainWindow:1, from GuiView.h:22, from GuiView.cpp:16: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qflags.h:123:80: note: declared here QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} ^~~~~~ In file included from GuiView.cpp:25:0: GuiToc.h:35:27: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] Qt::WindowFlags flags = 0); ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qglobal.h:1302:0, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtGui/qtguiglobal.h:43, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qtwidgetsglobal.h:43, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qmainwindow.h:43, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/QMainWindow:1, from GuiView.h:22, from GuiView.cpp:16: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qflags.h:123:80: note: declared here QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} ^~~~~~ GuiViewSource.cpp: In function 'lyx::frontend::Dialog* lyx::frontend::createGuiViewSource(lyx::frontend::GuiView&)': GuiViewSource.cpp:480:29: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] return new GuiViewSource(lv); ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qglobal.h:1302:0, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtGui/qtguiglobal.h:43, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qtwidgetsglobal.h:43, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qapplication.h:43, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/QApplication:1, from GuiApplication.h:19, from GuiViewSource.cpp:15: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qflags.h:123:80: note: declared here QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} ^~~~~~ CXX GuiWorkArea.o CXX GuiWrap.o GuiView.cpp: In member function 'bool lyx::frontend::GuiView::lfunUiToggle(const string&)': GuiView.cpp:4364:36: warning: 'void QWidget::getContentsMargins(int*, int*, int*, int*) const' is deprecated: use contentsMargins() [-Wdeprecated-declarations] getContentsMargins(&l, &t, &r, &b); ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qmainwindow.h:44:0, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/QMainWindow:1, from GuiView.h:22, from GuiView.cpp:16: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qwidget.h:530:10: note: declared here void getContentsMargins(int *left, int *top, int *right, int *bottom) const; ^~~~~~~~~~~~~~~~~~ CXX IconPalette.o GuiWorkArea.cpp: In constructor 'lyx::frontend::DisplayPath::DisplayPath(int, const lyx::support::FileName&)': GuiWorkArea.cpp:1875:38: warning: 'QStringList QString::split(const QString&, QString::SplitBehavior, Qt::CaseSensitivity) const' is deprecated: Use Qt::SplitBehavior variant instead [-Wdeprecated-declarations] split("/", QString::SkipEmptyParts); ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qhashfunctions.h:44:0, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qlist.h:47, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qvariant.h:45, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/QVariant:1, from ui_WorkAreaUi.h:12, from GuiWorkArea.h:16, from GuiWorkArea.cpp:14: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qstring.h:604:17: note: declared here QStringList split(const QString &sep, SplitBehavior behavior, ^~~~~ GuiWorkArea.cpp: In member function 'virtual void lyx::frontend::DragTabBar::mouseMoveEvent(QMouseEvent*)': GuiWorkArea.cpp:2147:39: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::KeyboardModifier; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] event->button(), event->buttons(), 0); ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qglobal.h:1302:0, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qatomic.h:41, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qvariant.h:43, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/QVariant:1, from ui_WorkAreaUi.h:12, from GuiWorkArea.h:16, from GuiWorkArea.cpp:14: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qflags.h:123:80: note: declared here QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} ^~~~~~ CXX InGuiThread.o CXX InsertTableWidget.o CXX InsetParamsDialog.o CXX InsetParamsWidget.o In file included from ui_TabularUi.h:28:0, from GuiTabular.h:19, from InsetParamsDialog.cpp:26: GuiSetBorder.h:29:58: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] GuiSetBorder(QWidget * parent = 0, Qt::WindowFlags fl = 0); ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qglobal.h:1302:0, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qchar.h:43, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qstring.h:49, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/QString:1, from Dialog.h:21, from DialogView.h:15, from InsetParamsDialog.h:15, from InsetParamsDialog.cpp:13: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qflags.h:123:80: note: declared here QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} ^~~~~~ In file included from GuiTabular.h:19:0, from InsetParamsDialog.cpp:26: ui_TabularUi.h: In member function 'void Ui_TabularUi::setupUi(QWidget*)': ui_TabularUi.h:540:44: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] borders = new GuiSetBorder(bordersF); ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qglobal.h:1302:0, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qchar.h:43, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qstring.h:49, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/QString:1, from Dialog.h:21, from DialogView.h:15, from InsetParamsDialog.h:15, from InsetParamsDialog.cpp:13: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qflags.h:123:80: note: declared here QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} ^~~~~~ CXX LengthCombo.o CXX LyXFileDialog.o CXX LaTeXHighlighter.o CXX LayoutBox.o CXX Menus.o CXX PanelStack.o LayoutBox.cpp: In member function 'void lyx::frontend::LayoutItemDelegate::drawCategoryHeader(QPainter*, const QStyleOptionViewItem&, const QString&) const': LayoutBox.cpp:295:27: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] int w = fm.width(category); ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qwidget.h:50:0, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qcombobox.h:44, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/QComboBox:1, from LayoutBox.h:21, from LayoutBox.cpp:18: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtGui/qfontmetrics.h:106:9: note: declared here int width(const QString &, int len = -1) const; ^~~~~ CXX qt_helpers.o PanelStack.cpp: In member function 'void lyx::frontend::PanelStack::addCategory(const QString&, const QString&)': PanelStack.cpp:124:35: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] int itemsize = fm.width(qt_(name)) + 10 + list_->indentation() * depth; ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qwidget.h:50:0, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qframe.h:44, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qlineedit.h:44, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/QLineEdit:1, from FancyLineEdit.h:17, from PanelStack.h:16, from PanelStack.cpp:13: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtGui/qfontmetrics.h:106:9: note: declared here int width(const QString &, int len = -1) const; ^~~~~ PanelStack.cpp: In function 'void lyx::frontend::setTreeItemStatus(QTreeWidgetItem*, bool)': PanelStack.cpp:216:74: warning: 'void QTreeWidgetItem::setTextColor(int, const QColor&)' is deprecated: Use QTreeWidgetItem::setForeground() instead [-Wdeprecated-declarations] QPalette::Text)); ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/QTreeWidget:1:0, from PanelStack.cpp:37: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qtreewidget.h:156:17: note: declared here inline void setTextColor(int column, const QColor &color) ^~~~~~~~~~~~ CXX TocModel.o qt_helpers.cpp: In function 'QStringList lyx::texFileList(const QString&)': qt_helpers.cpp:339:25: warning: 'static QList QList::fromSet(const QSet&) [with T = QString]' is deprecated: Use QList(set.begin(), set.end()) instead. [-Wdeprecated-declarations] return QList::fromSet(set); ^~~~~~~ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qobject.h:49:0, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qwidget.h:45, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qframe.h:44, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qabstractscrollarea.h:44, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qabstractitemview.h:44, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qheaderview.h:44, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/QHeaderView:1, from qt_helpers.h:24, from qt_helpers.cpp:15: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qlist.h:411:21: note: declared here static QList fromSet(const QSet &set); ^~~~~~~ qt_helpers.cpp:339:36: warning: 'static QList QList::fromSet(const QSet&) [with T = QString]' is deprecated: Use QList(set.begin(), set.end()) instead. [-Wdeprecated-declarations] return QList::fromSet(set); ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qitemselectionmodel.h:45:0, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qabstractitemview.h:46, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qheaderview.h:44, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/QHeaderView:1, from qt_helpers.h:24, from qt_helpers.cpp:15: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qset.h:418:10: note: declared here QList QList::fromSet(const QSet &set) ^~~~~~~~ qt_helpers.cpp: In function 'QString lyx::formatToolTip(QString, int)': qt_helpers.cpp:643:56: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] int const px_width = em * QFontMetrics(font).width("M"); ^ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qwidget.h:50:0, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qframe.h:44, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qabstractscrollarea.h:44, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qabstractitemview.h:44, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qheaderview.h:44, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/QHeaderView:1, from qt_helpers.h:24, from qt_helpers.cpp:15: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtGui/qfontmetrics.h:106:9: note: declared here int width(const QString &, int len = -1) const; ^~~~~ In file included from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qitemselectionmodel.h:45:0, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qabstractitemview.h:46, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/qheaderview.h:44, from /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtWidgets/QHeaderView:1, from qt_helpers.h:24, from qt_helpers.cpp:15: /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qset.h: In instantiation of 'static QList QList::fromSet(const QSet&) [with T = QString]': qt_helpers.cpp:339:25: required from here /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qset.h:420:23: warning: 'QList QSet::toList() const [with T = QString]' is deprecated: Use values() instead. [-Wdeprecated-declarations] return set.toList(); ^ /tmp/pkgbuild/editors/lyx/work.earmv6hf/.buildlink/qt5/include/QtCore/qset.h:265:14: note: declared here QList toList() const { return values(); } ^~~~~~ CXX TocWidget.o CXX Toolbars.o CXX ToolTipFormatter.o CXX Validator.o CXX Resources.o AR liblyxqt4.a gmake[6]: Leaving directory '/tmp/pkgbuild/editors/lyx/work.earmv6hf/lyx-2.3.2/src/frontends/qt4' gmake[5]: Leaving directory '/tmp/pkgbuild/editors/lyx/work.earmv6hf/lyx-2.3.2/src/frontends/qt4' Making all in . gmake[5]: Entering directory '/tmp/pkgbuild/editors/lyx/work.earmv6hf/lyx-2.3.2/src/frontends' CXX WorkAreaManager.o AR liblyxfrontends.a gmake[5]: Leaving directory '/tmp/pkgbuild/editors/lyx/work.earmv6hf/lyx-2.3.2/src/frontends' gmake[4]: Leaving directory '/tmp/pkgbuild/editors/lyx/work.earmv6hf/lyx-2.3.2/src/frontends' Making all in . gmake[4]: Entering directory '/tmp/pkgbuild/editors/lyx/work.earmv6hf/lyx-2.3.2/src' CXX Author.o CXX boost.o CXX BranchList.o CXX Buffer.o CXX buffer_funcs.o CXX BufferList.o CXX BufferParams.o CXX BufferView.o CXX Bullet.o CXX Changes.o In file included from /usr/include/g++/set:60:0, from ./support/FileName.h:19, from support/FileNameList.h:15, from Buffer.h:20, from Buffer.cpp:14: /usr/include/g++/bits/stl_tree.h: In member function 'std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_emplace_hint_unique(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator, _Args&& ...) [with _Args = {const std::piecewise_construct_t&, std::tuple, std::tuple<>}; _Key = lyx::support::FileName; _Val = std::pair; _KeyOfValue = std::_Select1st >; _Compare = std::less; _Alloc = std::allocator >]': /usr/include/g++/bits/stl_tree.h:2395:7: note: parameter passing for argument of type 'std::_Rb_tree, std::_Select1st >, std::less, std::allocator > >::const_iterator {aka std::_Rb_tree_const_iterator >}' changed in GCC 7.1 _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/g++/vector:69:0, from Changes.h:24, from Changes.cpp:16: /usr/include/g++/bits/vector.tcc: In member function 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::_M_erase(std::vector<_Tp, _Alloc>::iterator) [with _Tp = lyx::Changes::ChangeRange; _Alloc = std::allocator]': /usr/include/g++/bits/vector.tcc:153:5: note: parameter passing for argument of type 'std::vector::iterator {aka __gnu_cxx::__normal_iterator >}' changed in GCC 7.1 vector<_Tp, _Alloc>:: ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/g++/vector:64:0, from Changes.h:24, from Changes.cpp:16: /usr/include/g++/bits/stl_vector.h: In member function 'void lyx::Changes::merge()': /usr/include/g++/bits/stl_vector.h:1180:58: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 { return _M_erase(begin() + (__position - cbegin())); } ^ /usr/include/g++/bits/stl_vector.h:1180:58: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 { return _M_erase(begin() + (__position - cbegin())); } ^ In file included from /usr/include/g++/vector:69:0, from Changes.h:24, from Changes.cpp:16: /usr/include/g++/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {lyx::Changes::ChangeRange}; _Tp = lyx::Changes::ChangeRange; _Alloc = std::allocator]': /usr/include/g++/bits/vector.tcc:394:7: note: parameter passing for argument of type 'std::vector::iterator {aka __gnu_cxx::__normal_iterator >}' changed in GCC 7.1 vector<_Tp, _Alloc>:: ^~~~~~~~~~~~~~~~~~~ /usr/include/g++/bits/vector.tcc: In member function 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::_M_insert_rval(std::vector<_Tp, _Alloc>::const_iterator, std::vector<_Tp, _Alloc>::value_type&&) [with _Tp = lyx::Changes::ChangeRange; _Alloc = std::allocator]': /usr/include/g++/bits/vector.tcc:313:5: note: parameter passing for argument of type 'std::vector::const_iterator {aka __gnu_cxx::__normal_iterator >}' changed in GCC 7.1 vector<_Tp, _Alloc>:: ^~~~~~~~~~~~~~~~~~~ /usr/include/g++/bits/vector.tcc:327:19: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(begin() + __n, std::move(__v)); ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/g++/vector:64:0, from Changes.h:24, from Changes.cpp:16: /usr/include/g++/bits/stl_vector.h: In member function 'void lyx::Changes::set(const lyx::Change&, lyx::pos_type, lyx::pos_type)': /usr/include/g++/bits/stl_vector.h:1043:57: note: parameter passing for argument of type 'std::vector::const_iterator {aka __gnu_cxx::__normal_iterator >}' changed in GCC 7.1 { return _M_insert_rval(__position, std::move(__x)); } ^ /usr/include/g++/bits/stl_vector.h:1043:57: note: parameter passing for argument of type 'std::vector::const_iterator {aka __gnu_cxx::__normal_iterator >}' changed in GCC 7.1 { return _M_insert_rval(__position, std::move(__x)); } ^ /usr/include/g++/bits/stl_vector.h:1180:58: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 { return _M_erase(begin() + (__position - cbegin())); } ^ CXX Chktex.o CXX CiteEnginesList.o In file included from /usr/include/g++/map:61:0, from Buffer.h:22, from Buffer.cpp:14: /usr/include/g++/bits/stl_map.h: In member function 'void lyx::Buffer::checkIfBibInfoCacheIsValid() const': /usr/include/g++/bits/stl_map.h:493:4: note: parameter passing for argument of type 'std::_Rb_tree, std::_Select1st >, std::less, std::allocator > >::const_iterator {aka std::_Rb_tree_const_iterator >}' changed in GCC 7.1 __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, ^~~ /usr/include/g++/bits/stl_map.h:493:4: note: parameter passing for argument of type 'std::_Rb_tree, std::_Select1st >, std::less, std::allocator > >::const_iterator {aka std::_Rb_tree_const_iterator >}' changed in GCC 7.1 __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, ^~~ CXX CmdDef.o CXX Color.o CXX ConverterCache.o CXX Converter.o CXX CoordCache.o CXX Counters.o CXX Cursor.o CXX CursorSlice.o CXX CutAndPaste.o CXX DepTable.o In file included from /usr/include/g++/set:60:0, from support/FileName.h:19, from DepTable.h:16, from DepTable.cpp:15: /usr/include/g++/bits/stl_tree.h: In member function 'std::pair std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_get_insert_hint_unique_pos(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator, const key_type&) [with _Key = lyx::support::FileName; _Val = std::pair; _KeyOfValue = std::_Select1st >; _Compare = std::less; _Alloc = std::allocator >]': /usr/include/g++/bits/stl_tree.h:2130:5: note: parameter passing for argument of type 'std::_Rb_tree, std::_Select1st >, std::less, std::allocator > >::const_iterator {aka std::_Rb_tree_const_iterator >}' changed in GCC 7.1 _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/g++/bits/stl_tree.h: In member function 'std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_emplace_hint_unique(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator, _Args&& ...) [with _Args = {const std::piecewise_construct_t&, std::tuple, std::tuple<>}; _Key = lyx::support::FileName; _Val = std::pair; _KeyOfValue = std::_Select1st >; _Compare = std::less; _Alloc = std::allocator >]': /usr/include/g++/bits/stl_tree.h:2395:7: note: parameter passing for argument of type 'std::_Rb_tree, std::_Select1st >, std::less, std::allocator > >::const_iterator {aka std::_Rb_tree_const_iterator >}' changed in GCC 7.1 _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/g++/bits/stl_tree.h:2395:7: note: parameter passing for argument of type 'std::_Rb_tree, std::_Select1st >, std::less, std::allocator > >::const_iterator {aka std::_Rb_tree_const_iterator >}' changed in GCC 7.1 In file included from /usr/include/g++/map:61:0, from DepTable.h:18, from DepTable.cpp:15: /usr/include/g++/bits/stl_map.h: In member function 'void lyx::DepTable::insert(const lyx::support::FileName&, bool)': /usr/include/g++/bits/stl_map.h:493:4: note: parameter passing for argument of type 'std::_Rb_tree, std::_Select1st >, std::less, std::allocator > >::const_iterator {aka std::_Rb_tree_const_iterator >}' changed in GCC 7.1 __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, ^~~ In file included from /usr/include/g++/set:60:0, from support/FileName.h:19, from DepTable.h:16, from DepTable.cpp:15: /usr/include/g++/bits/stl_tree.h: In member function 'void std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_erase_aux(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator) [with _Key = lyx::support::FileName; _Val = std::pair; _KeyOfValue = std::_Select1st >; _Compare = std::less; _Alloc = std::allocator >]': /usr/include/g++/bits/stl_tree.h:2470:5: note: parameter passing for argument of type 'std::_Rb_tree, std::_Select1st >, std::less, std::allocator > >::const_iterator {aka std::_Rb_tree_const_iterator >}' changed in GCC 7.1 _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/g++/bits/stl_tree.h:2470:5: note: parameter passing for argument of type 'std::_Rb_tree, std::_Select1st >, std::less, std::allocator > >::const_iterator {aka std::_Rb_tree_const_iterator >}' changed in GCC 7.1 /usr/include/g++/bits/stl_tree.h: In member function 'void lyx::DepTable::update()': /usr/include/g++/bits/stl_tree.h:1125:14: note: parameter passing for argument of type 'std::_Rb_tree, std::_Select1st >, std::less, std::allocator > >::const_iterator {aka std::_Rb_tree_const_iterator >}' changed in GCC 7.1 _M_erase_aux(__position); ~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/g++/bits/stl_tree.h: In member function 'void lyx::DepTable::remove_files_with_extension(const string&)': /usr/include/g++/bits/stl_tree.h:1125:14: note: parameter passing for argument of type 'std::_Rb_tree, std::_Select1st >, std::less, std::allocator > >::const_iterator {aka std::_Rb_tree_const_iterator >}' changed in GCC 7.1 _M_erase_aux(__position); ~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/g++/bits/stl_tree.h: In member function 'void lyx::DepTable::remove_file(const lyx::support::FileName&)': /usr/include/g++/bits/stl_tree.h:1125:14: note: parameter passing for argument of type 'std::_Rb_tree, std::_Select1st >, std::less, std::allocator > >::const_iterator {aka std::_Rb_tree_const_iterator >}' changed in GCC 7.1 _M_erase_aux(__position); ~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/g++/bits/stl_tree.h: In member function 'std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_emplace_hint_unique(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator, _Args&& ...) [with _Args = {const std::piecewise_construct_t&, std::tuple, std::tuple<>}; _Key = lyx::support::FileName; _Val = std::pair; _KeyOfValue = std::_Select1st >; _Compare = std::less; _Alloc = std::allocator >]': /usr/include/g++/bits/stl_tree.h:2395:7: note: parameter passing for argument of type 'std::_Rb_tree, std::_Select1st >, std::less, std::allocator > >::const_iterator {aka std::_Rb_tree_const_iterator >}' changed in GCC 7.1 _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/g++/map:61:0, from DepTable.h:18, from DepTable.cpp:15: /usr/include/g++/bits/stl_map.h: In member function 'bool lyx::DepTable::read(const lyx::support::FileName&)': /usr/include/g++/bits/stl_map.h:512:4: note: parameter passing for argument of type 'std::_Rb_tree, std::_Select1st >, std::less, std::allocator > >::const_iterator {aka std::_Rb_tree_const_iterator >}' changed in GCC 7.1 __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, ^~~ CXX DocIterator.o CXX Encoding.o CXX BufferEncodings.o CXX ErrorList.o CXX Exporter.o CXX factory.o CXX Floating.o CXX FloatList.o CXX FontInfo.o CXX FontList.o CXX Font.o CXX Format.o CXX FuncRequest.o CXX FuncStatus.o CXX Graph.o CXX IndicesList.o CXX InsetIterator.o CXX InsetList.o CXX Intl.o CXX KeyMap.o CXX KeySequence.o CXX Language.o CXX LaTeX.o CXX LaTeXFeatures.o CXX LaTeXPackages.o CXX LayoutFile.o CXX LayoutModuleList.o CXX Length.o CXX lengthcommon.o CXX Lexer.o CXX LyX.o CXX LyXAction.o CXX lyxfind.o CXX LyXRC.o CXX LyXVC.o CXX MetricsInfo.o CXX ModuleList.o CXX Mover.o CXX output_docbook.o CXX output.o CXX output_latex.o CXX output_xhtml.o CXX OutputParams.o CXX output_plaintext.o CXX Paragraph.o CXX ParagraphMetrics.o CXX ParagraphParameters.o CXX ParIterator.o CXX PDFOptions.o CXX Row.o CXX RowPainter.o In file included from /usr/include/g++/vector:69:0, from Changes.h:24, from Row.h:18, from Row.cpp:19: /usr/include/g++/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const lyx::Row::Element&}; _Tp = lyx::Row::Element; _Alloc = std::allocator]': /usr/include/g++/bits/vector.tcc:394:7: note: parameter passing for argument of type 'std::vector::iterator {aka __gnu_cxx::__normal_iterator >}' changed in GCC 7.1 vector<_Tp, _Alloc>:: ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/g++/vector:64:0, from Changes.h:24, from Row.h:18, from Row.cpp:19: /usr/include/g++/bits/stl_vector.h: In member function 'void lyx::Row::add(lyx::pos_type, lyx::char_type, const lyx::Font&, const lyx::Change&)': /usr/include/g++/bits/stl_vector.h:948:21: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(end(), __x); ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/g++/bits/stl_vector.h: In member function 'void lyx::Row::addSpace(lyx::pos_type, int, const lyx::Font&, const lyx::Change&)': /usr/include/g++/bits/stl_vector.h:948:21: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(end(), __x); ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/g++/bits/stl_vector.h: In member function 'void lyx::Row::add(lyx::pos_type, const lyx::Inset*, const lyx::Dimension&, const lyx::Font&, const lyx::Change&)': /usr/include/g++/bits/stl_vector.h:948:21: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(end(), __x); ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/g++/bits/stl_vector.h: In member function 'void lyx::Row::addVirtual(lyx::pos_type, const docstring&, const lyx::Font&, const lyx::Change&)': /usr/include/g++/bits/stl_vector.h:948:21: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(end(), __x); ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /usr/include/g++/vector:69:0, from Changes.h:24, from Row.h:18, from Row.cpp:19: /usr/include/g++/bits/vector.tcc: In member function 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::_M_erase(std::vector<_Tp, _Alloc>::iterator, std::vector<_Tp, _Alloc>::iterator) [with _Tp = lyx::Row::Element; _Alloc = std::allocator]': /usr/include/g++/bits/vector.tcc:165:5: note: parameter passing for argument of type 'std::vector::iterator {aka __gnu_cxx::__normal_iterator >}' changed in GCC 7.1 vector<_Tp, _Alloc>:: ^~~~~~~~~~~~~~~~~~~ /usr/include/g++/bits/vector.tcc:165:5: note: parameter passing for argument of type 'std::vector::iterator {aka __gnu_cxx::__normal_iterator >}' changed in GCC 7.1 In file included from /usr/include/g++/vector:64:0, from Changes.h:24, from Row.h:18, from Row.cpp:19: /usr/include/g++/bits/stl_vector.h: In member function 'bool lyx::Row::shortenIfNeeded(lyx::pos_type, int, int)': /usr/include/g++/bits/stl_vector.h:1210:71: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 return _M_erase(__beg + (__first - __cbeg), __beg + (__last - __cbeg)); ^ /usr/include/g++/bits/stl_vector.h:1210:71: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 return _M_erase(__beg + (__first - __cbeg), __beg + (__last - __cbeg)); ^ /usr/include/g++/bits/stl_vector.h:1210:71: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 return _M_erase(__beg + (__first - __cbeg), __beg + (__last - __cbeg)); ^ CXX Server.o CXX ServerSocket.o CXX sgml.o CXX Session.o CXX Spacing.o CXX TexRow.o CXX texstream.o CXX Text.o CXX Text2.o CXX Text3.o CXX TextClass.o CXX TextMetrics.o In file included from /usr/include/g++/algorithm:62:0, from TextClass.cpp:42: /usr/include/g++/bits/stl_algo.h: In function '_IIter std::find_if(_IIter, _IIter, _Predicate) [with _IIter = std::_List_iterator; _Predicate = lyx::{anonymous}::LayoutNamesEqual]': /usr/include/g++/bits/stl_algo.h:3923:5: note: parameter passing for argument of type 'std::_List_iterator' changed in GCC 7.1 find_if(_InputIterator __first, _InputIterator __last, ^~~~~~~ /usr/include/g++/bits/stl_algo.h:3923:5: note: parameter passing for argument of type 'std::_List_iterator' changed in GCC 7.1 In file included from /usr/include/g++/vector:69:0, from InsetList.h:19, from TextMetrics.h:18, from TextMetrics.cpp:20: /usr/include/g++/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {lyx::Row}; _Tp = lyx::Row; _Alloc = std::allocator]': /usr/include/g++/bits/vector.tcc:394:7: note: parameter passing for argument of type 'std::vector::iterator {aka __gnu_cxx::__normal_iterator >}' changed in GCC 7.1 vector<_Tp, _Alloc>:: ^~~~~~~~~~~~~~~~~~~ /usr/include/g++/bits/vector.tcc: In member function 'bool lyx::TextMetrics::redoParagraph(lyx::pit_type)': /usr/include/g++/bits/vector.tcc:105:21: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(end(), std::forward<_Args>(__args)...); ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/g++/list:63:0, from LayoutModuleList.h:15, from TextClass.h:20, from TextClass.cpp:17: /usr/include/g++/bits/stl_list.h: In member function 'void std::__cxx11::list<_Tp, _Alloc>::_M_insert(std::__cxx11::list<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {lyx::Layout}; _Tp = lyx::Layout; _Alloc = std::allocator]': /usr/include/g++/bits/stl_list.h:1799:8: note: parameter passing for argument of type 'std::__cxx11::list::iterator {aka std::_List_iterator}' changed in GCC 7.1 _M_insert(iterator __position, _Args&&... __args) ^~~~~~~~~ CXX TocBackend.o TextClass.cpp: In member function 'lyx::Layout& lyx::TextClass::operator[](const docstring&)': TextClass.cpp:1481:62: note: parameter passing for argument of type 'std::_List_iterator' changed in GCC 7.1 iterator it = find_if(begin(), end(), LayoutNamesEqual(name)); ^ In file included from /usr/include/g++/list:63:0, from LayoutModuleList.h:15, from TextClass.h:20, from TextClass.cpp:17: /usr/include/g++/bits/stl_list.h:1123:9: note: parameter passing for argument of type 'std::_List_iterator' changed in GCC 7.1 { this->_M_insert(end(), std::move(__x)); } ^~~~ TextClass.cpp:1493:6: note: parameter passing for argument of type 'std::_List_iterator' changed in GCC 7.1 it = find_if(begin(), end(), LayoutNamesEqual(name)); ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/g++/list:63:0, from LayoutModuleList.h:15, from TextClass.h:20, from TextClass.cpp:17: /usr/include/g++/bits/stl_list.h: In member function 'bool lyx::DocumentClass::addLayoutIfNeeded(const docstring&) const': /usr/include/g++/bits/stl_list.h:1123:9: note: parameter passing for argument of type 'std::_List_iterator' changed in GCC 7.1 { this->_M_insert(end(), std::move(__x)); } ^~~~ CXX TocBuilder.o /usr/include/g++/bits/stl_list.h: In member function 'lyx::TextClass::ReturnValues lyx::TextClass::readWithoutConv(const lyx::support::FileName&, lyx::TextClass::ReadType)': /usr/include/g++/bits/stl_list.h:1123:9: note: parameter passing for argument of type 'std::_List_iterator' changed in GCC 7.1 { this->_M_insert(end(), std::move(__x)); } ^~~~ CXX Trans.o CXX Undo.o CXX VCBackend.o CXX version.o CXX VSpace.o CXX WordList.o CXX Layout.o CXX main.o CXX AspellChecker.o CXX BiblioInfo.o CXX Box.o CXX Compare.o CXX Dimension.o CXX PersonalWordList.o CXX LaTeXFonts.o CXX PrinterParams.o CXX Thesaurus.o AR liblyxcore.a CXX graphics/epstools.o CXX graphics/GraphicsCache.o CXX graphics/GraphicsCacheItem.o CXX graphics/GraphicsConverter.o CXX graphics/GraphicsLoader.o CXX graphics/GraphicsParams.o CXX graphics/PreviewImage.o CXX graphics/PreviewLoader.o CXX mathed/InsetMathAMSArray.o CXX mathed/InsetMathArray.o CXX mathed/InsetMathBig.o CXX mathed/InsetMathBoldSymbol.o CXX mathed/InsetMathBox.o CXX mathed/InsetMathBrace.o CXX mathed/InsetMath.o CXX mathed/InsetMathCancel.o CXX mathed/InsetMathCancelto.o CXX mathed/InsetMathCases.o CXX mathed/InsetMathChar.o CXX mathed/InsetMathClass.o CXX mathed/InsetMathColor.o CXX mathed/InsetMathCommand.o CXX mathed/InsetMathComment.o CXX mathed/InsetMathDecoration.o CXX mathed/InsetMathDelim.o CXX mathed/InsetMathDiagram.o CXX mathed/InsetMathDiff.o CXX mathed/InsetMathDots.o CXX mathed/InsetMathEnsureMath.o CXX mathed/InsetMathEnv.o CXX mathed/InsetMathExFunc.o CXX mathed/InsetMathExInt.o CXX mathed/InsetMathFont.o CXX mathed/InsetMathFontOld.o CXX mathed/InsetMathFrac.o CXX mathed/InsetMathGrid.o CXX mathed/InsetMathHull.o CXX mathed/InsetMathKern.o CXX mathed/InsetMathLefteqn.o In file included from /usr/include/g++/vector:69:0, from ./support/FileNameList.h:17, from ./insets/Inset.h:26, from mathed/InsetMath.h:18, from mathed/InsetMathNest.h:15, from mathed/InsetMathGrid.h:15, from mathed/InsetMathGrid.cpp:14: /usr/include/g++/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {lyx::InsetMathGrid::RowInfo}; _Tp = lyx::InsetMathGrid::RowInfo; _Alloc = std::allocator]': /usr/include/g++/bits/vector.tcc:394:7: note: parameter passing for argument of type 'std::vector::iterator {aka __gnu_cxx::__normal_iterator >}' changed in GCC 7.1 vector<_Tp, _Alloc>:: ^~~~~~~~~~~~~~~~~~~ CXX mathed/InsetMathLim.o /usr/include/g++/bits/vector.tcc: In member function 'virtual void lyx::InsetMathGrid::addRow(lyx::Inset::row_type)': /usr/include/g++/bits/vector.tcc:327:19: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(begin() + __n, std::move(__v)); ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CXX mathed/InsetMathMacro.o CXX mathed/InsetMathMacroArgument.o CXX mathed/InsetMathMacroTemplate.o CXX mathed/InsetMathMatrix.o CXX mathed/InsetMathNest.o CXX mathed/InsetMathNumber.o CXX mathed/InsetMathOverset.o CXX mathed/InsetMathPar.o CXX mathed/InsetMathPhantom.o CXX mathed/InsetMathRef.o CXX mathed/InsetMathRoot.o CXX mathed/InsetMathScript.o CXX mathed/InsetMathSideset.o CXX mathed/InsetMathSize.o CXX mathed/InsetMathSpace.o CXX mathed/InsetMathSpecialChar.o CXX mathed/InsetMathSplit.o CXX mathed/InsetMathSqrt.o CXX mathed/InsetMathStackrel.o CXX mathed/InsetMathString.o CXX mathed/InsetMathSubstack.o CXX mathed/InsetMathSymbol.o CXX mathed/InsetMathTabular.o CXX mathed/InsetMathUnderset.o CXX mathed/InsetMathUnknown.o CXX mathed/InsetMathXArrow.o CXX mathed/InsetMathXYMatrix.o CXX mathed/MacroTable.o CXX mathed/MathAtom.o CXX mathed/MathAutoCorrect.o CXX mathed/MathClass.o CXX mathed/MathData.o CXX mathed/MathExtern.o CXX mathed/MathFactory.o CXX mathed/MathParser.o CXX mathed/MathRow.o CXX mathed/MathStream.o CXX mathed/MathSupport.o CXX mathed/TextPainter.o CXX insets/ExternalSupport.o CXX insets/ExternalTemplate.o insets/ExternalTemplate.cpp: In member function 'void lyx::external::Template::dumpFormats(std::ostream&) const': insets/ExternalTemplate.cpp:194:2: error: 'for_each' was not declared in this scope for_each(formats.begin(), formats.end(), DumpFormat(os)); ^~~~~~~~ insets/ExternalTemplate.cpp:194:2: note: suggested alternative: 'formats' for_each(formats.begin(), formats.end(), DumpFormat(os)); ^~~~~~~~ formats insets/ExternalTemplate.cpp: In member function 'void lyx::external::TemplateManager::dumpPreambleDefs(std::ostream&) const': insets/ExternalTemplate.cpp:200:2: error: 'for_each' was not declared in this scope for_each(preambledefs.begin(), preambledefs.end(), DumpPreambleDef(os)); ^~~~~~~~ insets/ExternalTemplate.cpp:200:2: note: suggested alternative: 'fread' for_each(preambledefs.begin(), preambledefs.end(), DumpPreambleDef(os)); ^~~~~~~~ fread insets/ExternalTemplate.cpp: In member function 'void lyx::external::TemplateManager::dumpTemplates(std::ostream&) const': insets/ExternalTemplate.cpp:206:2: error: 'for_each' was not declared in this scope for_each(templates.begin(), templates.end(), DumpTemplate(os)); ^~~~~~~~ insets/ExternalTemplate.cpp:206:2: note: suggested alternative: 'fread' for_each(templates.begin(), templates.end(), DumpTemplate(os)); ^~~~~~~~ fread gmake[4]: *** [Makefile:2389: insets/ExternalTemplate.o] Error 1 gmake[4]: *** Waiting for unfinished jobs.... gmake[4]: Leaving directory '/tmp/pkgbuild/editors/lyx/work.earmv6hf/lyx-2.3.2/src' gmake[3]: *** [Makefile:2467: all-recursive] Error 1 gmake[3]: Leaving directory '/tmp/pkgbuild/editors/lyx/work.earmv6hf/lyx-2.3.2/src' gmake[2]: *** [Makefile:1703: all] Error 2 gmake[2]: Leaving directory '/tmp/pkgbuild/editors/lyx/work.earmv6hf/lyx-2.3.2/src' gmake[1]: *** [Makefile:575: all-recursive] Error 1 gmake[1]: Leaving directory '/tmp/pkgbuild/editors/lyx/work.earmv6hf/lyx-2.3.2' gmake: *** [Makefile:470: all] Error 2 *** Error code 2 Stop. make[1]: stopped in /usr/pkgsrc/editors/lyx *** Error code 1 Stop. make: stopped in /usr/pkgsrc/editors/lyx