Fetching source from mirror: http://download.kde.org/stable/release-service/24.12.2/src/kmplot-24.12.2.tar.xz
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_LD_FLAGS
    ECM_MKSPECS_INSTALL_DIR


Note: Writing kmplot.1
Note: Writing kmplot.1
Note: Writing kmplot.1
Warn: AUTHOR sect.: no personblurb|contrib for Ben Burton          kmplot
Note: AUTHOR sect.: see http://www.docbook.org/tdg5/en/html/contr  kmplot
Note: AUTHOR sect.: see http://www.docbook.org/tdg5/en/html/perso  kmplot
Note: Writing kmplot.1
Warn: AUTHOR sect.: no personblurb|contrib for Ben Burton          kmplot
Note: AUTHOR sect.: see http://www.docbook.org/tdg5/en/html/contr  kmplot
Note: AUTHOR sect.: see http://www.docbook.org/tdg5/en/html/perso  kmplot
Note: Writing kmplot.1
Warn: AUTHOR sect.: no personblurb|contrib for Ben Burton          kmplot
Note: AUTHOR sect.: see http://www.docbook.org/tdg5/en/html/contr  kmplot
Note: AUTHOR sect.: see http://www.docbook.org/tdg5/en/html/perso  kmplot
Note: Writing kmplot.1
Note: Writing kmplot.1
Note: Writing kmplot.1
Warn: AUTHOR sect.: no personblurb|contrib for Ben Burton          kmplot
Note: AUTHOR sect.: see http://www.docbook.org/tdg5/en/html/contr  kmplot
Note: AUTHOR sect.: see http://www.docbook.org/tdg5/en/html/perso  kmplot
Note: Writing kmplot.1
Warn: AUTHOR sect.: no personblurb|contrib for Ben Burton          kmplot
Note: AUTHOR sect.: see http://www.docbook.org/tdg5/en/html/contr  kmplot
Note: AUTHOR sect.: see http://www.docbook.org/tdg5/en/html/perso  kmplot
Note: Writing kmplot.1
I/O warning : failed to load external entity "/usr/share/kf6/kdoctools/customization/xsl/pt-BR.xml"
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
Note: Writing kmplot.1
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
Note: Writing kmplot.1
Note: Writing kmplot.1
Note: Writing kmplot.1
Note: Writing kmplot.1
Note: Writing kmplot.1
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/functioneditor.cpp: In constructor ‘FunctionEditor::FunctionEditor(QMenu*, QWidget*)’:
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/functioneditor.cpp:113:33: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList; typename std::add_const<_Tp>::type = const QList]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
  113 |         for (name * w : qAsConst(widgets))                                                                                                                     \
      |                         ~~~~~~~~^~~~~~~~~
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/functioneditor.cpp:117:5: note: in expansion of macro ‘CONNECT_WIDGETS’
  117 |     CONNECT_WIDGETS(QLineEdit, editingFinished());
      |     ^~~~~~~~~~~~~~~
In file included from /usr/include/qt6/QtCore/qforeach.h:11,
                 from /usr/include/qt6/QtCore/qglobal.h:57,
                 from /usr/include/qt6/QtCore/qchar.h:7,
                 from /usr/include/qt6/QtCore/qstring.h:14,
                 from /usr/include/qt6/QtCore/qhashfunctions.h:9,
                 from /usr/include/qt6/QtCore/qmap.h:8,
                 from /usr/include/qt6/QtCore/QMap:1,
                 from /var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/parser.h:20,
                 from /var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/functioneditor.h:18,
                 from /var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/functioneditor.cpp:15:
/usr/include/qt6/QtCore/qttypetraits.h:36:45: note: declared here
   36 | constexpr typename std::add_const::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/functioneditor.cpp:113:33: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList; typename std::add_const<_Tp>::type = const QList]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
  113 |         for (name * w : qAsConst(widgets))                                                                                                                     \
      |                         ~~~~~~~~^~~~~~~~~
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/functioneditor.cpp:118:5: note: in expansion of macro ‘CONNECT_WIDGETS’
  118 |     CONNECT_WIDGETS(EquationEdit, editingFinished());
      |     ^~~~~~~~~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:36:45: note: declared here
   36 | constexpr typename std::add_const::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/functioneditor.cpp:113:33: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList; typename std::add_const<_Tp>::type = const QList]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
  113 |         for (name * w : qAsConst(widgets))                                                                                                                     \
      |                         ~~~~~~~~^~~~~~~~~
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/functioneditor.cpp:119:5: note: in expansion of macro ‘CONNECT_WIDGETS’
  119 |     CONNECT_WIDGETS(QCheckBox, stateChanged(int));
      |     ^~~~~~~~~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:36:45: note: declared here
   36 | constexpr typename std::add_const::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/functioneditor.cpp:113:33: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList; typename std::add_const<_Tp>::type = const QList]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
  113 |         for (name * w : qAsConst(widgets))                                                                                                                     \
      |                         ~~~~~~~~^~~~~~~~~
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/functioneditor.cpp:120:5: note: in expansion of macro ‘CONNECT_WIDGETS’
  120 |     CONNECT_WIDGETS(KColorButton, changed(const QColor &));
      |     ^~~~~~~~~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:36:45: note: declared here
   36 | constexpr typename std::add_const::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/functioneditor.cpp:113:33: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList; typename std::add_const<_Tp>::type = const QList]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
  113 |         for (name * w : qAsConst(widgets))                                                                                                                     \
      |                         ~~~~~~~~^~~~~~~~~
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/functioneditor.cpp:121:5: note: in expansion of macro ‘CONNECT_WIDGETS’
  121 |     CONNECT_WIDGETS(QRadioButton, toggled(bool));
      |     ^~~~~~~~~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:36:45: note: declared here
   36 | constexpr typename std::add_const::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/functioneditor.cpp:113:33: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList; typename std::add_const<_Tp>::type = const QList]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
  113 |         for (name * w : qAsConst(widgets))                                                                                                                     \
      |                         ~~~~~~~~^~~~~~~~~
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/functioneditor.cpp:122:5: note: in expansion of macro ‘CONNECT_WIDGETS’
  122 |     CONNECT_WIDGETS(QComboBox, currentIndexChanged(int));
      |     ^~~~~~~~~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:36:45: note: declared here
   36 | constexpr typename std::add_const::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/functioneditor.cpp:113:33: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList; typename std::add_const<_Tp>::type = const QList]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
  113 |         for (name * w : qAsConst(widgets))                                                                                                                     \
      |                         ~~~~~~~~^~~~~~~~~
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/functioneditor.cpp:123:5: note: in expansion of macro ‘CONNECT_WIDGETS’
  123 |     CONNECT_WIDGETS(ParametersWidget, parameterListChanged());
      |     ^~~~~~~~~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:36:45: note: declared here
   36 | constexpr typename std::add_const::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/functioneditor.cpp:113:33: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList; typename std::add_const<_Tp>::type = const QList]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
  113 |         for (name * w : qAsConst(widgets))                                                                                                                     \
      |                         ~~~~~~~~^~~~~~~~~
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/functioneditor.cpp:124:5: note: in expansion of macro ‘CONNECT_WIDGETS’
  124 |     CONNECT_WIDGETS(KGradientButton, gradientChanged(const QGradient &));
      |     ^~~~~~~~~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:36:45: note: declared here
   36 | constexpr typename std::add_const::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/functioneditor.cpp: In member function ‘void FunctionEditor::syncFunctionList()’:
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/functioneditor.cpp:209:43: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList; typename std::add_const<_Tp>::type = const QList]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
  209 |     for (FunctionListItem *item : qAsConst(currentFunctionItems)) {
      |                                   ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:36:45: note: declared here
   36 | constexpr typename std::add_const::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/functioneditor.cpp: In member function ‘void FunctionEditor::saveFunction(Function*)’:
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/functioneditor.cpp:673:33: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList; typename std::add_const<_Tp>::type = const QList]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
  673 |     for (Equation *eq : qAsConst(f->eq))
      |                         ~~~~~~~~^~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:36:45: note: declared here
   36 | constexpr typename std::add_const::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/functioneditor.cpp: In member function ‘virtual QMimeData* FunctionListWidget::mimeData(const QList&) const’:
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/functioneditor.cpp:716:42: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = const QList; typename std::add_const<_Tp>::type = const QList]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
  716 |     for (QListWidgetItem *item : qAsConst(items)) {
      |                                  ~~~~~~~~^~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:36:45: note: declared here
   36 | constexpr typename std::add_const::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/parser.cpp: In destructor ‘virtual Parser::~Parser()’:
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/parser.cpp:150:39: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QMap; typename std::add_const<_Tp>::type = const QMap]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
  150 |     for (Function *function : qAsConst(m_ufkt))
      |                               ~~~~~~~~^~~~~~~~
In file included from /usr/include/qt6/QtCore/qforeach.h:11,
                 from /usr/include/qt6/QtCore/qglobal.h:57,
                 from /usr/include/qt6/QtCore/qchar.h:7,
                 from /usr/include/qt6/QtCore/qstring.h:14,
                 from /usr/include/qt6/QtCore/qhashfunctions.h:9,
                 from /usr/include/qt6/QtCore/qmap.h:8,
                 from /usr/include/qt6/QtCore/QMap:1,
                 from /var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/parser.h:20,
                 from /var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/parser.cpp:15:
/usr/include/qt6/QtCore/qttypetraits.h:36:45: note: declared here
   36 | constexpr typename std::add_const::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/parser.cpp: In member function ‘QStringList Parser::userFunctions() const’:
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/parser.cpp:177:32: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = const QMap; typename std::add_const<_Tp>::type = const QMap]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
  177 |     for (Function *f : qAsConst(m_ufkt)) {
      |                        ~~~~~~~~^~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:36:45: note: declared here
   36 | constexpr typename std::add_const::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/parser.cpp:178:37: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList; typename std::add_const<_Tp>::type = const QList]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
  178 |         for (Equation *eq : qAsConst(f->eq)) {
      |                             ~~~~~~~~^~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:36:45: note: declared here
   36 | constexpr typename std::add_const::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/parser.cpp: In member function ‘bool Parser::removeFunction(Function*)’:
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/parser.cpp:599:44: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QMap; typename std::add_const<_Tp>::type = const QMap]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
  599 |             for (Function *other : qAsConst(m_ufkt)) {
      |                                    ~~~~~~~~^~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:36:45: note: declared here
   36 | constexpr typename std::add_const::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/parser.cpp:628:32: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList; typename std::add_const<_Tp>::type = const QList]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
  628 |     for (Function *f : qAsConst(toRemove)) {
      |                        ~~~~~~~~^~~~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:36:45: note: declared here
   36 | constexpr typename std::add_const::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/parser.cpp: In member function ‘bool Parser::tryVariable()’:
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/parser.cpp:894:39: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QMultiMap; typename std::add_const<_Tp>::type = const QMultiMap]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
  894 |     for (const QString &var : qAsConst(sorted)) {
      |                               ~~~~~~~~^~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:36:45: note: declared here
   36 | constexpr typename std::add_const::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/parser.cpp: In member function ‘bool Parser::tryUserFunction()’:
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/parser.cpp:907:33: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QMap; typename std::add_const<_Tp>::type = const QMap]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
  907 |     for (Function *it : qAsConst(m_ufkt)) {
      |                         ~~~~~~~~^~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:36:45: note: declared here
   36 | constexpr typename std::add_const::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/parser.cpp: In member function ‘int Parser::fnameToID(const QString&)’:
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/parser.cpp:1074:33: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QMap; typename std::add_const<_Tp>::type = const QMap]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
 1074 |     for (Function *it : qAsConst(m_ufkt)) {
      |                         ~~~~~~~~^~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:36:45: note: declared here
   36 | constexpr typename std::add_const::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/parser.cpp:1075:37: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList; typename std::add_const<_Tp>::type = const QList]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
 1075 |         for (Equation *eq : qAsConst(it->eq)) {
      |                             ~~~~~~~~^~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:36:45: note: declared here
   36 | constexpr typename std::add_const::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/parser.cpp: In member function ‘void ExpressionSanitizer::fixExpression(QString*)’:
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/parser.cpp:1474:33: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QMap; typename std::add_const<_Tp>::type = const QMap]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
 1474 |     for (Function *it : qAsConst(m_parser->m_ufkt)) {
      |                         ~~~~~~~~^~~~~~~~~~~~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:36:45: note: declared here
   36 | constexpr typename std::add_const::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/parser.cpp:1475:37: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList; typename std::add_const<_Tp>::type = const QList]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
 1475 |         for (Equation *eq : qAsConst(it->eq))
      |                             ~~~~~~~~^~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:36:45: note: declared here
   36 | constexpr typename std::add_const::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/xparser.cpp: In member function ‘QString XParser::findFunctionName(const QString&, int, const QStringList&)’:
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/xparser.cpp:182:41: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QMap; typename std::add_const<_Tp>::type = const QMap]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
  182 |             for (Function *it : qAsConst(m_ufkt)) {
      |                                 ~~~~~~~~^~~~~~~~
In file included from /usr/include/qt6/QtCore/qforeach.h:11,
                 from /usr/include/qt6/QtCore/qglobal.h:57,
                 from /usr/include/qt6/QtCore/qiodevicebase.h:7,
                 from /usr/include/qt6/QtCore/qtextstream.h:7,
                 from /usr/include/qt6/QtCore/qdebug.h:13,
                 from /usr/include/qt6/QtCore/QDebug:1,
                 from /var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/xparser.h:19,
                 from /var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/xparser.cpp:14:
/usr/include/qt6/QtCore/qttypetraits.h:36:45: note: declared here
   36 | constexpr typename std::add_const::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/xparser.cpp:186:45: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList; typename std::add_const<_Tp>::type = const QList]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
  186 |                 for (Equation *eq : qAsConst(it->eq)) {
      |                                     ~~~~~~~~^~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:36:45: note: declared here
   36 | constexpr typename std::add_const::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/xparser.cpp: In member function ‘void XParser::fixFunctionName(QString&, Equation::Type, int)’:
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/xparser.cpp:222:33: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QMap; typename std::add_const<_Tp>::type = const QMap]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
  222 |     for (Function *it : qAsConst(m_ufkt)) {
      |                         ~~~~~~~~^~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:36:45: note: declared here
   36 | constexpr typename std::add_const::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/xparser.cpp:226:37: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList; typename std::add_const<_Tp>::type = const QList]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
  226 |         for (Equation *eq : qAsConst(it->eq)) {
      |                             ~~~~~~~~^~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:36:45: note: declared here
   36 | constexpr typename std::add_const::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/xparser.cpp: In member function ‘QStringList XParser::functionParameterList(uint)’:
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/xparser.cpp:605:36: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList; typename std::add_const<_Tp>::type = const QList]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
  605 |     for (const Value &it : qAsConst(item->m_parameters.list))
      |                            ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:36:45: note: declared here
   36 | constexpr typename std::add_const::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/xparser.cpp: In member function ‘bool XParser::functionAddParameter(uint, const QString&)’:
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/xparser.cpp:616:36: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList; typename std::add_const<_Tp>::type = const QList]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
  616 |     for (const Value &it : qAsConst(tmp_ufkt->m_parameters.list)) {
      |                            ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:36:45: note: declared here
   36 | constexpr typename std::add_const::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/function.cpp: In destructor ‘Function::~Function()’:
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/function.cpp:544:32: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList; typename std::add_const<_Tp>::type = const QList]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
  544 |     for (Equation *e : qAsConst(eq))
      |                        ~~~~~~~~^~~~
In file included from /usr/include/qt6/QtCore/qforeach.h:11,
                 from /usr/include/qt6/QtCore/qglobal.h:57,
                 from /usr/include/qt6/QtCore/qpair.h:8,
                 from /usr/include/qt6/QtCore/qarraydata.h:8,
                 from /usr/include/qt6/QtCore/qarraydataops.h:8,
                 from /usr/include/qt6/QtCore/qarraydatapointer.h:7,
                 from /usr/include/qt6/QtCore/qlist.h:8,
                 from /usr/include/qt6/QtCore/qvector.h:7,
                 from /usr/include/qt6/QtCore/QVector:1,
                 from /var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/vector.h:16,
                 from /var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/function.h:17,
                 from /var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/function.cpp:14:
/usr/include/qt6/QtCore/qttypetraits.h:36:45: note: declared here
   36 | constexpr typename std::add_const::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/function.cpp: In member function ‘QList Function::plots(PlotCombinations) const’:
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/function.cpp:751:38: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList; typename std::add_const<_Tp>::type = const QList]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
  751 |             for (Plot plot : qAsConst(list)) {
      |                              ~~~~~~~~^~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:36:45: note: declared here
   36 | constexpr typename std::add_const::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/function.cpp:766:38: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList; typename std::add_const<_Tp>::type = const QList]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
  766 |             for (Plot plot : qAsConst(list)) {
      |                              ~~~~~~~~^~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:36:45: note: declared here
   36 | constexpr typename std::add_const::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/function.cpp:777:43: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = const QList; typename std::add_const<_Tp>::type = const QList]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
  777 |         for (Equation *equation : qAsConst(eq))
      |                                   ~~~~~~~~^~~~
/usr/include/qt6/QtCore/qttypetraits.h:36:45: note: declared here
   36 | constexpr typename std::add_const::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/function.cpp:794:55: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList >; typename std::add_const<_Tp>::type = const QList >]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
  794 |         for (const QVector &signature : qAsConst(signatures)) {
      |                                               ~~~~~~~~^~~~~~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:36:45: note: declared here
   36 | constexpr typename std::add_const::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/function.cpp:798:47: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = const QList; typename std::add_const<_Tp>::type = const QList]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
  798 |             for (Equation *equation : qAsConst(eq)) {
      |                                       ~~~~~~~~^~~~
/usr/include/qt6/QtCore/qttypetraits.h:36:45: note: declared here
   36 | constexpr typename std::add_const::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/function.cpp:808:38: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList; typename std::add_const<_Tp>::type = const QList]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
  808 |             for (Plot plot : qAsConst(list)) {
      |                              ~~~~~~~~^~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:36:45: note: declared here
   36 | constexpr typename std::add_const::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/function.cpp: In member function ‘bool Function::dependsOn(Function*) const’:
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/function.cpp:837:35: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = const QList; typename std::add_const<_Tp>::type = const QList]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
  837 |     for (int functionId : qAsConst(m_dependencies)) {
      |                           ~~~~~~~~^~~~~~~~~~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:36:45: note: declared here
   36 | constexpr typename std::add_const::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/view.cpp: In member function ‘void View::draw(QPaintDevice*, PlotMedium)’:
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/view.cpp:354:39: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QMap; typename std::add_const<_Tp>::type = const QMap]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
  354 |     for (Function *function : qAsConst(XParser::self()->m_ufkt)) {
      |                               ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/qt6/QtCore/qforeach.h:11,
                 from /usr/include/qt6/QtCore/qglobal.h:57,
                 from /usr/include/qt6/QtCore/qpair.h:8,
                 from /usr/include/qt6/QtCore/qarraydata.h:8,
                 from /usr/include/qt6/QtCore/qarraydataops.h:8,
                 from /usr/include/qt6/QtCore/qarraydatapointer.h:7,
                 from /usr/include/qt6/QtCore/qlist.h:8,
                 from /usr/include/qt6/QtCore/qvector.h:7,
                 from /usr/include/qt6/QtCore/QVector:1,
                 from /var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/vector.h:16,
                 from /var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/function.h:17,
                 from /var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/view.h:17,
                 from /var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/view.cpp:14:
/usr/include/qt6/QtCore/qttypetraits.h:36:45: note: declared here
   36 | constexpr typename std::add_const::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/view.cpp: In member function ‘void View::drawImplicit(Function*, QPainter*)’:
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/view.cpp:1139:37: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList; typename std::add_const<_Tp>::type = const QList]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
 1139 |             for (double x : qAsConst(roots)) {
      |                             ~~~~~~~~^~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:36:45: note: declared here
   36 | constexpr typename std::add_const::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/view.cpp:1152:37: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList; typename std::add_const<_Tp>::type = const QList]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
 1152 |             for (double y : qAsConst(roots)) {
      |                             ~~~~~~~~^~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:36:45: note: declared here
   36 | constexpr typename std::add_const::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/view.cpp:1164:45: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList; typename std::add_const<_Tp>::type = const QList]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
 1164 |         for (const QPointF &point : qAsConst(singular))
      |                                     ~~~~~~~~^~~~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:36:45: note: declared here
   36 | constexpr typename std::add_const::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/view.cpp:1168:45: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList; typename std::add_const<_Tp>::type = const QList]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
 1168 |         for (const QPointF &point : qAsConst(singular)) {
      |                                     ~~~~~~~~^~~~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:36:45: note: declared here
   36 | constexpr typename std::add_const::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/view.cpp:1193:37: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList; typename std::add_const<_Tp>::type = const QList]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
 1193 |             for (double t : qAsConst(roots)) {
      |                             ~~~~~~~~^~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:36:45: note: declared here
   36 | constexpr typename std::add_const::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/view.cpp: In member function ‘void View::drawFunctionInfo(QPainter*)’:
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/view.cpp:1809:39: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QMap; typename std::add_const<_Tp>::type = const QMap]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
 1809 |     for (Function *function : qAsConst(XParser::self()->m_ufkt)) {
      |                               ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:36:45: note: declared here
   36 | constexpr typename std::add_const::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/view.cpp: In member function ‘void View::drawHeaderTable(QPainter*)’:
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/view.cpp:2138:39: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QMap; typename std::add_const<_Tp>::type = const QMap]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
 2138 |     for (Function *function : qAsConst(XParser::self()->m_ufkt))
      |                               ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:36:45: note: declared here
   36 | constexpr typename std::add_const::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/view.cpp: In member function ‘QPointF View::getPlotUnderMouse()’:
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/view.cpp:2777:39: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QMap; typename std::add_const<_Tp>::type = const QMap]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
 2777 |     for (Function *function : qAsConst(XParser::self()->m_ufkt)) {
      |                               ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:36:45: note: declared here
   36 | constexpr typename std::add_const::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/view.cpp: In member function ‘virtual void View::mouseMoveEvent(QMouseEvent*)’:
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/view.cpp:2989:47: warning: ‘QPoint QMouseEvent::globalPos() const’ is deprecated: Use globalPosition() [-Wdeprecated-declarations]
 2989 |     if (m_previousMouseMovePos != e->globalPos()) {
      |                                   ~~~~~~~~~~~~^~
In file included from /usr/include/qt6/QtGui/QKeyEvent:1,
                 from /var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/view.h:23:
/usr/include/qt6/QtGui/qevent.h:225:19: note: declared here
  225 |     inline QPoint globalPos() const { return globalPosition().toPoint(); }
      |                   ^~~~~~~~~
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/view.cpp:2992:42: warning: ‘QPoint QMouseEvent::globalPos() const’ is deprecated: Use globalPosition() [-Wdeprecated-declarations]
 2992 |     m_previousMouseMovePos = e->globalPos();
      |                              ~~~~~~~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:225:19: note: declared here
  225 |     inline QPoint globalPos() const { return globalPosition().toPoint(); }
      |                   ^~~~~~~~~
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/view.cpp: In member function ‘QPointF View::findMinMaxValue(const Plot&, ExtremaType, double, double)’:
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/view.cpp:3361:32: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList; typename std::add_const<_Tp>::type = const QList]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
 3361 |     for (double root : qAsConst(roots)) {
      |                        ~~~~~~~~^~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:36:45: note: declared here
   36 | constexpr typename std::add_const::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/view.cpp: In member function ‘virtual void View::keyPressEvent(QKeyEvent*)’:
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/view.cpp:3392:147: warning: ‘QMouseEvent::QMouseEvent(QEvent::Type, const QPointF&, Qt::MouseButton, Qt::MouseButtons, Qt::KeyboardModifiers, const QPointingDevice*)’ is deprecated: Use another constructor [-Wdeprecated-declarations]
 3392 |         event = new QMouseEvent(QEvent::MouseMove, m_crosshairPixelCoords.toPoint() - QPoint(1, 1), Qt::LeftButton, Qt::LeftButton, Qt::NoModifier);
      |                                                                                                                                                   ^
/usr/include/qt6/QtGui/qevent.h:202:5: note: declared here
  202 |     QMouseEvent(Type type, const QPointF &localPos, Qt::MouseButton button,
      |     ^~~~~~~~~~~
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/view.cpp:3394:147: warning: ‘QMouseEvent::QMouseEvent(QEvent::Type, const QPointF&, Qt::MouseButton, Qt::MouseButtons, Qt::KeyboardModifiers, const QPointingDevice*)’ is deprecated: Use another constructor [-Wdeprecated-declarations]
 3394 |         event = new QMouseEvent(QEvent::MouseMove, m_crosshairPixelCoords.toPoint() + QPoint(1, 1), Qt::LeftButton, Qt::LeftButton, Qt::NoModifier);
      |                                                                                                                                                   ^
/usr/include/qt6/QtGui/qevent.h:202:5: note: declared here
  202 |     QMouseEvent(Type type, const QPointF &localPos, Qt::MouseButton button,
      |     ^~~~~~~~~~~
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/view.cpp:3472:123: warning: ‘QMouseEvent::QMouseEvent(QEvent::Type, const QPointF&, Qt::MouseButton, Qt::MouseButtons, Qt::KeyboardModifiers, const QPointingDevice*)’ is deprecated: Use another constructor [-Wdeprecated-declarations]
 3472 |         event = new QMouseEvent(QEvent::MouseButtonPress, QCursor::pos(), Qt::RightButton, Qt::RightButton, Qt::NoModifier);
      |                                                                                                                           ^
/usr/include/qt6/QtGui/qevent.h:202:5: note: declared here
  202 |     QMouseEvent(Type type, const QPointF &localPos, Qt::MouseButton button,
      |     ^~~~~~~~~~~
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/view.cpp:3477:139: warning: ‘QMouseEvent::QMouseEvent(QEvent::Type, const QPointF&, Qt::MouseButton, Qt::MouseButtons, Qt::KeyboardModifiers, const QPointingDevice*)’ is deprecated: Use another constructor [-Wdeprecated-declarations]
 3477 |         event = new QMouseEvent(QEvent::MouseButtonPress, m_crosshairPixelCoords.toPoint(), Qt::LeftButton, Qt::LeftButton, Qt::NoModifier);
      |                                                                                                                                           ^
/usr/include/qt6/QtGui/qevent.h:202:5: note: declared here
  202 |     QMouseEvent(Type type, const QPointF &localPos, Qt::MouseButton button,
      |     ^~~~~~~~~~~
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/view.cpp: In member function ‘void View::updateSliders()’:
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/view.cpp:3549:33: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QMap; typename std::add_const<_Tp>::type = const QMap]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
 3549 |     for (Function *it : qAsConst(XParser::self()->m_ufkt)) {
      |                         ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:36:45: note: declared here
   36 | constexpr typename std::add_const::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/view.cpp: In member function ‘void View::hideCurrentFunction()’:
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/view.cpp:3603:131: warning: ‘QMouseEvent::QMouseEvent(QEvent::Type, const QPointF&, Qt::MouseButton, Qt::MouseButtons, Qt::KeyboardModifiers, const QPointingDevice*)’ is deprecated: Use another constructor [-Wdeprecated-declarations]
 3603 |         QMouseEvent *event = new QMouseEvent(QMouseEvent::KeyPress, QCursor::pos(), Qt::LeftButton, Qt::LeftButton, Qt::NoModifier);
      |                                                                                                                                   ^
/usr/include/qt6/QtGui/qevent.h:202:5: note: declared here
  202 |     QMouseEvent(Type type, const QPointF &localPos, Qt::MouseButton button,
      |     ^~~~~~~~~~~
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/view.cpp: In member function ‘void View::removeCurrentPlot()’:
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/view.cpp:3627:131: warning: ‘QMouseEvent::QMouseEvent(QEvent::Type, const QPointF&, Qt::MouseButton, Qt::MouseButtons, Qt::KeyboardModifiers, const QPointingDevice*)’ is deprecated: Use another constructor [-Wdeprecated-declarations]
 3627 |         QMouseEvent *event = new QMouseEvent(QMouseEvent::KeyPress, QCursor::pos(), Qt::LeftButton, Qt::LeftButton, Qt::NoModifier);
      |                                                                                                                                   ^
/usr/include/qt6/QtGui/qevent.h:202:5: note: declared here
  202 |     QMouseEvent(Type type, const QPointF &localPos, Qt::MouseButton button,
      |     ^~~~~~~~~~~
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/functiontools.cpp: In member function ‘void FunctionTools::updateEquationList()’:
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/functiontools.cpp:92:39: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QMap; typename std::add_const<_Tp>::type = const QMap]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
   92 |     for (Function *function : qAsConst(XParser::self()->m_ufkt)) {
      |                               ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/qt6/QtCore/qforeach.h:11,
                 from /usr/include/qt6/QtCore/qglobal.h:57,
                 from /usr/include/qt6/QtCore/qpair.h:8,
                 from /usr/include/qt6/QtCore/qarraydata.h:8,
                 from /usr/include/qt6/QtCore/qarraydataops.h:8,
                 from /usr/include/qt6/QtCore/qarraydatapointer.h:7,
                 from /usr/include/qt6/QtCore/qlist.h:8,
                 from /usr/include/qt6/QtCore/qvector.h:7,
                 from /usr/include/qt6/QtCore/QVector:1,
                 from /var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/vector.h:16,
                 from /var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/function.h:17,
                 from /var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/functiontools.h:17,
                 from /var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/functiontools.cpp:14:
/usr/include/qt6/QtCore/qttypetraits.h:36:45: note: declared here
   36 | constexpr typename std::add_const::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/functiontools.cpp:99:45: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList; typename std::add_const<_Tp>::type = const QList]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
   99 |             for (const Plot &plot : qAsConst(plots))
      |                                     ~~~~~~~~^~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:36:45: note: declared here
   36 | constexpr typename std::add_const::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/functiontools.cpp:104:43: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList >; typename std::add_const<_Tp>::type = const QList >]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
  104 |     for (const EquationPair &eq : qAsConst(m_equations)) {
      |                                   ~~~~~~~~^~~~~~~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:36:45: note: declared here
   36 | constexpr typename std::add_const::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/kparametereditor.cpp: In constructor ‘KParameterEditor::KParameterEditor(QList*, QWidget*)’:
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/kparametereditor.cpp:70:35: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList; typename std::add_const<_Tp>::type = const QList]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
   70 |     for (const Value &v : qAsConst(*m_parameter))
      |                           ~~~~~~~~^~~~~~~~~~~~~~
In file included from /usr/include/qt6/QtCore/qforeach.h:11,
                 from /usr/include/qt6/QtCore/qglobal.h:57,
                 from /usr/include/qt6/QtCore/qchar.h:7,
                 from /usr/include/qt6/QtCore/QChar:1,
                 from /usr/include/KF6/KI18n/klocalizedstring.h:11,
                 from /var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/build/kmplot/ui_qparametereditor.h:1,
                 from /var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/kparametereditor.h:17,
                 from /var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/kparametereditor.cpp:14:
/usr/include/qt6/QtCore/qttypetraits.h:36:45: note: declared here
   36 | constexpr typename std::add_const::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/kmplotio.cpp: In member function ‘QDomDocument KmPlotIO::currentState()’:
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/kmplotio.cpp:100:32: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QMap; typename std::add_const<_Tp>::type = const QMap]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
  100 |     for (Function *f : qAsConst(XParser::self()->m_ufkt))
      |                        ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/qt6/QtCore/qforeach.h:11,
                 from /usr/include/qt6/QtCore/qglobal.h:57,
                 from /usr/include/qt6/QtGui/qtguiglobal.h:7,
                 from /usr/include/qt6/QtGui/qbrush.h:7,
                 from /usr/include/qt6/QtGui/QGradient:1,
                 from /var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/kmplotio.h:16,
                 from /var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/kmplotio.cpp:13:
/usr/include/qt6/QtCore/qttypetraits.h:36:45: note: declared here
   36 | constexpr typename std::add_const::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/kmplotio.cpp: In member function ‘void KmPlotIO::addFunction(QDomDocument&, QDomElement&, Function*)’:
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/kmplotio.cpp:191:35: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList; typename std::add_const<_Tp>::type = const QList]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
  191 |     for (const Value &k : qAsConst(function->m_parameters.list))
      |                           ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:36:45: note: declared here
   36 | constexpr typename std::add_const::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/kmplotio.cpp:216:43: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList; typename std::add_const<_Tp>::type = const QList]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
  216 |             for (const Value &y : qAsConst(state->y0)) {
      |                                   ~~~~~~~~^~~~~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:36:45: note: declared here
   36 | constexpr typename std::add_const::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/kmplotio.cpp: In member function ‘bool KmPlotIO::load(const QUrl&)’:
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/kmplotio.cpp:331:24: warning: ‘bool QDomDocument::setContent(QIODevice*, QString*, int*, int*)’ is deprecated: Use the overload returning ParseResult instead. [-Wdeprecated-declarations]
  331 |     if (!doc.setContent(&f, &errorMessage, &errorLine, &errorColumn)) {
      |          ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/qt6/QtXml/QDomDocument:1,
                 from /var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/kmplotio.cpp:17:
/usr/include/qt6/QtXml/qdom.h:330:10: note: declared here
  330 |     bool setContent(QIODevice *dev, QString *errorMsg, int *errorLine = nullptr, int *errorColumn = nullptr);
      |          ^~~~~~~~~~
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/kmplotio.cpp: In static member function ‘static QString KmPlotIO::gradientToString(const QGradientStops&)’:
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/kmplotio.cpp:749:46: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = const QList >; typename std::add_const<_Tp>::type = const QList >]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
  749 |     for (const QGradientStop &stop : qAsConst(stops))
      |                                      ~~~~~~~~^~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:36:45: note: declared here
   36 | constexpr typename std::add_const::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/parameterswidget.cpp: In member function ‘void ParametersWidget::updateEquationEdits()’:
/var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/parameterswidget.cpp:69:39: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList; typename std::add_const<_Tp>::type = const QList]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
   69 |     for (EquationEdit *edit : qAsConst(m_equationEdits)) {
      |                               ~~~~~~~~^~~~~~~~~~~~~~~~~
In file included from /usr/include/qt6/QtCore/qforeach.h:11,
                 from /usr/include/qt6/QtCore/qglobal.h:57,
                 from /usr/include/qt6/QtGui/qtguiglobal.h:7,
                 from /usr/include/qt6/QtWidgets/qtwidgetsglobal.h:7,
                 from /usr/include/qt6/QtWidgets/qgroupbox.h:7,
                 from /usr/include/qt6/QtWidgets/QGroupBox:1,
                 from /var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/parameterswidget.h:15,
                 from /var/pisi/kmplot-24.12.2-58/work/kmplot-24.12.2/kmplot/parameterswidget.cpp:12:
/usr/include/qt6/QtCore/qttypetraits.h:36:45: note: declared here
   36 | constexpr typename std::add_const::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
*** 0 error(s), 1 warning(s)