=> 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 cantor-19.08.3 Scanning dependencies of target po-uk-docs-cantor-index-cache-bz2 Scanning dependencies of target po-sv-docs-cantor-index-cache-bz2 Scanning dependencies of target tsfiles-ef0488b43adfe50e9f15ce9076bd0b14 Scanning dependencies of target po-es-docs-cantor-index-cache-bz2 [ 0%] Generating po/uk/docs/cantor/index.cache.bz2 [ 1%] Generating po/sv/docs/cantor/index.cache.bz2 [ 1%] Generating ts... [ 1%] Generating po/es/docs/cantor/index.cache.bz2 [ 1%] Built target tsfiles-ef0488b43adfe50e9f15ce9076bd0b14 Scanning dependencies of target po-ca-docs-cantor-index-cache-bz2 [ 1%] Generating po/ca/docs/cantor/index.cache.bz2 [ 1%] Built target po-uk-docs-cantor-index-cache-bz2 [ 1%] Built target po-es-docs-cantor-index-cache-bz2 [ 1%] Built target po-sv-docs-cantor-index-cache-bz2 Scanning dependencies of target po-gl-docs-cantor-index-cache-bz2 Scanning dependencies of target po-pt-BR-docs-cantor-index-cache-bz2 Scanning dependencies of target pofiles-ef0488b43adfe50e9f15ce9076bd0b14 [ 1%] Generating po/gl/docs/cantor/index.cache.bz2 [ 1%] Generating po/pt_BR/docs/cantor/index.cache.bz2 [ 2%] Generating mo... [ 2%] Built target po-ca-docs-cantor-index-cache-bz2 Scanning dependencies of target po-ru-docs-cantor-index-cache-bz2 [ 3%] Generating po/ru/docs/cantor/index.cache.bz2 I/O warning : failed to load external entity "/usr/pkg/share/kf5/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". [ 3%] Built target pofiles-ef0488b43adfe50e9f15ce9076bd0b14 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". Scanning dependencies of target po-et-docs-cantor-index-cache-bz2 No "pt_br" localization of "footer-doc-comment" exists; using "en". [ 3%] Generating po/et/docs/cantor/index.cache.bz2 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". [ 3%] Built target po-gl-docs-cantor-index-cache-bz2 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". [ 3%] Built target po-ru-docs-cantor-index-cache-bz2 Scanning dependencies of target po-fr-docs-cantor-index-cache-bz2 Scanning dependencies of target po-it-docs-cantor-index-cache-bz2 [ 4%] Generating po/fr/docs/cantor/index.cache.bz2 [ 4%] Built target po-pt-BR-docs-cantor-index-cache-bz2 [ 4%] Generating po/it/docs/cantor/index.cache.bz2 Scanning dependencies of target po-nl-docs-cantor-index-cache-bz2 [ 5%] Generating po/nl/docs/cantor/index.cache.bz2 [ 5%] Built target po-et-docs-cantor-index-cache-bz2 Scanning dependencies of target po-de-docs-cantor-index-cache-bz2 [ 6%] Generating po/de/docs/cantor/index.cache.bz2 [ 6%] Built target po-fr-docs-cantor-index-cache-bz2 Scanning dependencies of target po-pt-docs-cantor-index-cache-bz2 [ 6%] Built target po-it-docs-cantor-index-cache-bz2 [ 6%] Generating po/pt/docs/cantor/index.cache.bz2 Scanning dependencies of target doc-index-cache-bz2 [ 6%] Built target po-nl-docs-cantor-index-cache-bz2 [ 7%] Generating index.cache.bz2 Scanning dependencies of target cantorlibs_autogen [ 8%] Generating cantor_assistant.json Unknown property type for key "X-KDE-ServiceType" -> falling back to string Generated "/tmp/math/cantor/work/cantor-19.08.3/_KDE_build/src/lib/cantor_assistant.json" [ 8%] Generating cantor_backend.json Unknown property type for key "X-KDE-ServiceType" -> falling back to string Generated "/tmp/math/cantor/work/cantor-19.08.3/_KDE_build/src/lib/cantor_backend.json" [ 9%] Generating cantor_panelplugin.json Unknown property type for key "X-KDE-ServiceType" -> falling back to string Generated "/tmp/math/cantor/work/cantor-19.08.3/_KDE_build/src/lib/cantor_panelplugin.json" [ 9%] Automatic MOC for target cantorlibs [ 9%] Built target doc-index-cache-bz2 Scanning dependencies of target cantor_config_autogen [ 9%] Automatic MOC for target cantor_config [ 9%] Built target po-de-docs-cantor-index-cache-bz2 Scanning dependencies of target cantor_scripteditor_autogen [ 10%] Automatic MOC for target cantor_scripteditor [ 10%] Built target cantor_config_autogen Scanning dependencies of target cantor_qalculatebackend_autogen [ 10%] Automatic MOC for target cantor_qalculatebackend [ 10%] Built target po-pt-docs-cantor-index-cache-bz2 Scanning dependencies of target cantor_runscriptassistant_autogen [ 10%] Automatic MOC for target cantor_runscriptassistant [ 10%] Built target cantor_scripteditor_autogen [ 10%] Generating settings.h, settings.cpp [ 10%] Built target cantor_runscriptassistant_autogen Scanning dependencies of target cantor_config [ 10%] Building CXX object src/CMakeFiles/cantor_config.dir/cantor_config_autogen/mocs_compilation.cpp.o [ 11%] Building CXX object src/CMakeFiles/cantor_config.dir/settings.cpp.o Scanning dependencies of target cantor_scripteditor [ 11%] Building CXX object src/scripteditor/CMakeFiles/cantor_scripteditor.dir/cantor_scripteditor_autogen/mocs_compilation.cpp.o [ 11%] Built target cantorlibs_autogen [ 12%] Generating ui_axisrange.h [ 12%] Generating ui_plottitle.h [ 12%] Built target cantor_qalculatebackend_autogen [ 13%] Generating settings.h, settings.cpp Scanning dependencies of target cantorlibs [ 13%] Building CXX object src/lib/CMakeFiles/cantorlibs.dir/session.cpp.o [ 13%] Building CXX object src/lib/CMakeFiles/cantorlibs.dir/cantorlibs_autogen/mocs_compilation.cpp.o [ 13%] Building CXX object src/scripteditor/CMakeFiles/cantor_scripteditor.dir/main.cpp.o [ 13%] Linking CXX shared library libcantor_config.so ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_peername(), which is deprecated and buggy. ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_domainname(), which is deprecated and buggy. ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_mapname(), which is deprecated and buggy. [ 13%] Built target cantor_config [ 13%] Building CXX object src/lib/CMakeFiles/cantorlibs.dir/backend.cpp.o [ 13%] Building CXX object src/lib/CMakeFiles/cantorlibs.dir/result.cpp.o [ 14%] Building CXX object src/lib/CMakeFiles/cantorlibs.dir/textresult.cpp.o [ 15%] Building CXX object src/scripteditor/CMakeFiles/cantor_scripteditor.dir/scripteditorwidget.cpp.o [ 15%] Building CXX object src/lib/CMakeFiles/cantorlibs.dir/imageresult.cpp.o /tmp/math/cantor/work/cantor-19.08.3/src/lib/backend.cpp: In member function 'QStringList Cantor::Backend::extensions() const': /tmp/math/cantor/work/cantor-19.08.3/src/lib/backend.cpp:191:96: warning: 'QList QObject::findChildren(const QRegExp&, Qt::FindChildOptions) const [with T = Cantor::Extension*; Qt::FindChildOptions = QFlags]' is deprecated: Use findChildren(const QRegularExpression &, ...) instead. [-Wdeprecated-declarations] QList extensions=findChildren(QRegExp(QLatin1String(".*Extension"))); ^ In file included from /usr/pkg/qt5/include/QtCore/QObject:1:0, from /tmp/math/cantor/work/cantor-19.08.3/src/lib/backend.h:24, from /tmp/math/cantor/work/cantor-19.08.3/src/lib/backend.cpp:21: /usr/pkg/qt5/include/QtCore/qobject.h:183:21: note: declared here inline QList findChildren(const QRegExp &re, Qt::FindChildOptions options = Qt::FindChildrenRecursively) const ^~~~~~~~~~~~ [ 15%] Building CXX object src/lib/CMakeFiles/cantorlibs.dir/epsresult.cpp.o [ 16%] Building CXX object src/lib/CMakeFiles/cantorlibs.dir/latexresult.cpp.o [ 16%] Linking CXX executable cantor_scripteditor [ 16%] Building CXX object src/lib/CMakeFiles/cantorlibs.dir/helpresult.cpp.o ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_peername(), which is deprecated and buggy. ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_domainname(), which is deprecated and buggy. ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_mapname(), which is deprecated and buggy. [ 16%] Built target cantor_scripteditor [ 17%] Building CXX object src/lib/CMakeFiles/cantorlibs.dir/extension.cpp.o [ 17%] Building CXX object src/lib/CMakeFiles/cantorlibs.dir/animationresult.cpp.o [ 18%] Building CXX object src/lib/CMakeFiles/cantorlibs.dir/assistant.cpp.o [ 18%] Building CXX object src/lib/CMakeFiles/cantorlibs.dir/completionobject.cpp.o [ 18%] Building CXX object src/lib/CMakeFiles/cantorlibs.dir/syntaxhelpobject.cpp.o [ 19%] Building CXX object src/lib/CMakeFiles/cantorlibs.dir/defaulthighlighter.cpp.o [ 19%] Building CXX object src/lib/CMakeFiles/cantorlibs.dir/defaultvariablemodel.cpp.o [ 19%] Building CXX object src/lib/CMakeFiles/cantorlibs.dir/panelplugin.cpp.o [ 20%] Building CXX object src/lib/CMakeFiles/cantorlibs.dir/panelpluginhandler.cpp.o [ 20%] Building CXX object src/lib/CMakeFiles/cantorlibs.dir/worksheetaccess.cpp.o [ 21%] Building CXX object src/lib/CMakeFiles/cantorlibs.dir/expression.cpp.o [ 21%] Building CXX object src/lib/CMakeFiles/cantorlibs.dir/latexrenderer.cpp.o [ 21%] Building CXX object src/lib/CMakeFiles/cantorlibs.dir/directives/plotdirectives.cpp.o [ 22%] Building CXX object src/lib/CMakeFiles/cantorlibs.dir/settings.cpp.o In file included from /tmp/math/cantor/work/cantor-19.08.3/src/lib/directives/plotdirectives.h:24:0, from /tmp/math/cantor/work/cantor-19.08.3/src/lib/directives/plotdirectives.cpp:21: /tmp/math/cantor/work/cantor-19.08.3/src/lib/extension.h:231:47: warning: 'virtual QString Cantor::PlotTitleDirective::dispatch(const Cantor::AdvancedPlotExtension::AcceptorBase&) const' can be marked override [-Wsuggest-override] #define PLOT_DIRECTIVE_DISPATCHING(x) QString dispatch(const Cantor::AdvancedPlotExtension::AcceptorBase& acc) const \ ^ /tmp/math/cantor/work/cantor-19.08.3/src/lib/directives/plotdirectives.h:33:13: note: in expansion of macro 'PLOT_DIRECTIVE_DISPATCHING' PLOT_DIRECTIVE_DISPATCHING(PlotTitleDirective); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/cantor-19.08.3/src/lib/extension.h:231:47: warning: 'virtual QString Cantor::AbstractScaleDirective::dispatch(const Cantor::AdvancedPlotExtension::AcceptorBase&) const' can be marked override [-Wsuggest-override] #define PLOT_DIRECTIVE_DISPATCHING(x) QString dispatch(const Cantor::AdvancedPlotExtension::AcceptorBase& acc) const \ ^ /tmp/math/cantor/work/cantor-19.08.3/src/lib/directives/plotdirectives.h:46:13: note: in expansion of macro 'PLOT_DIRECTIVE_DISPATCHING' PLOT_DIRECTIVE_DISPATCHING(AbstractScaleDirective); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/cantor-19.08.3/src/lib/extension.h:231:47: warning: 'virtual QString Cantor::OrdinateScaleDirective::dispatch(const Cantor::AdvancedPlotExtension::AcceptorBase&) const' can be marked override [-Wsuggest-override] #define PLOT_DIRECTIVE_DISPATCHING(x) QString dispatch(const Cantor::AdvancedPlotExtension::AcceptorBase& acc) const \ ^ /tmp/math/cantor/work/cantor-19.08.3/src/lib/directives/plotdirectives.h:61:13: note: in expansion of macro 'PLOT_DIRECTIVE_DISPATCHING' PLOT_DIRECTIVE_DISPATCHING(OrdinateScaleDirective); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/cantor-19.08.3/src/lib/extension.h:231:47: warning: 'virtual QString Cantor::AbscissScaleDirective::dispatch(const Cantor::AdvancedPlotExtension::AcceptorBase&) const' can be marked override [-Wsuggest-override] #define PLOT_DIRECTIVE_DISPATCHING(x) QString dispatch(const Cantor::AdvancedPlotExtension::AcceptorBase& acc) const \ ^ /tmp/math/cantor/work/cantor-19.08.3/src/lib/directives/plotdirectives.h:69:13: note: in expansion of macro 'PLOT_DIRECTIVE_DISPATCHING' PLOT_DIRECTIVE_DISPATCHING(AbscissScaleDirective); ^~~~~~~~~~~~~~~~~~~~~~~~~~ [ 22%] Linking CXX shared library libcantorlibs.so ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_peername(), which is deprecated and buggy. ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_domainname(), which is deprecated and buggy. ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_mapname(), which is deprecated and buggy. [ 22%] Built target cantorlibs Scanning dependencies of target cantor_autogen Scanning dependencies of target cantorpart_autogen Scanning dependencies of target cantortest_autogen Scanning dependencies of target cantor_nullbackend_autogen [ 23%] Automatic MOC for target cantorpart [ 23%] Automatic MOC for target cantor [ 24%] Automatic MOC for target cantortest [ 24%] Automatic MOC for target cantor_nullbackend [ 24%] Built target cantor_autogen Scanning dependencies of target cantor_maximabackend_autogen [ 24%] Automatic MOC for target cantor_maximabackend [ 24%] Built target cantortest_autogen [ 24%] Built target cantor_nullbackend_autogen Scanning dependencies of target cantor_octavebackend_autogen Scanning dependencies of target cantor_scilabbackend_autogen [ 24%] Automatic MOC for target cantor_octavebackend [ 25%] Automatic MOC for target cantor_scilabbackend [ 25%] Built target cantor_octavebackend_autogen Scanning dependencies of target cantor_sagebackend_autogen [ 25%] Automatic MOC for target cantor_sagebackend [ 25%] Built target cantor_scilabbackend_autogen Scanning dependencies of target cantor_kalgebrabackend_autogen [ 25%] Automatic MOC for target cantor_kalgebrabackend [ 25%] Built target cantor_maximabackend_autogen [ 25%] Generating settings.h, settings.cpp [ 25%] Built target cantorpart_autogen [ 25%] Built target cantor_sagebackend_autogen [ 26%] Generating ui_settings.h Scanning dependencies of target cantor_qalculateplotassistant_autogen Scanning dependencies of target cantor_solveassistant_autogen [ 26%] Built target cantor_kalgebrabackend_autogen [ 26%] Automatic MOC for target cantor_solveassistant [ 26%] Automatic MOC for target cantor_qalculateplotassistant Scanning dependencies of target cantor_integrateassistant_autogen [ 27%] Automatic MOC for target cantor_integrateassistant Scanning dependencies of target cantor_qalculatebackend [ 27%] Building CXX object src/backends/qalculate/CMakeFiles/cantor_qalculatebackend.dir/cantor_qalculatebackend_autogen/mocs_compilation.cpp.o [ 27%] Built target cantor_solveassistant_autogen Scanning dependencies of target cantor_differentiateassistant_autogen [ 27%] Automatic MOC for target cantor_differentiateassistant [ 27%] Built target cantor_qalculateplotassistant_autogen Scanning dependencies of target cantor_creatematrixassistant_autogen [ 27%] Automatic MOC for target cantor_creatematrixassistant [ 27%] Built target cantor_integrateassistant_autogen Scanning dependencies of target cantor_invertmatrixassistant_autogen [ 28%] Automatic MOC for target cantor_invertmatrixassistant [ 28%] Built target cantor_differentiateassistant_autogen [ 28%] Built target cantor_creatematrixassistant_autogen Scanning dependencies of target cantor_eigenvectorsassistant_autogen Scanning dependencies of target cantor_eigenvaluesassistant_autogen [ 29%] Automatic MOC for target cantor_eigenvaluesassistant [ 29%] Automatic MOC for target cantor_eigenvectorsassistant [ 29%] Built target cantor_invertmatrixassistant_autogen Scanning dependencies of target cantor_runscriptassistant [ 29%] Building CXX object src/assistants/runscript/CMakeFiles/cantor_runscriptassistant.dir/cantor_runscriptassistant_autogen/mocs_compilation.cpp.o [ 30%] Building CXX object src/assistants/runscript/CMakeFiles/cantor_runscriptassistant.dir/runscriptassistant.cpp.o [ 30%] Built target cantor_eigenvectorsassistant_autogen Scanning dependencies of target cantor_plot2dassistant_autogen [ 30%] Automatic MOC for target cantor_plot2dassistant [ 30%] Built target cantor_eigenvaluesassistant_autogen Scanning dependencies of target cantor_plot3dassistant_autogen [ 31%] Automatic MOC for target cantor_plot3dassistant [ 31%] Built target cantor_plot2dassistant_autogen Scanning dependencies of target cantor_advancedplotassistant_autogen [ 31%] Automatic MOC for target cantor_advancedplotassistant [ 31%] Built target cantor_plot3dassistant_autogen Scanning dependencies of target cantor_importpackageassistant_autogen [ 31%] Automatic MOC for target cantor_importpackageassistant [ 31%] Built target cantor_advancedplotassistant_autogen Scanning dependencies of target cantor_helppanelplugin_autogen [ 31%] Built target cantor_importpackageassistant_autogen [ 31%] Automatic MOC for target cantor_helppanelplugin Scanning dependencies of target cantor_variablemanagerplugin_autogen [ 31%] Automatic MOC for target cantor_variablemanagerplugin [ 31%] Built target cantor_helppanelplugin_autogen [ 31%] Generating ui_settings.h In file included from /tmp/math/cantor/work/.buildlink/include/libqalculate/Calculator.h:16:0, from /tmp/math/cantor/work/cantor-19.08.3/src/backends/qalculate/qalculateexpression.h:25, from /tmp/math/cantor/work/cantor-19.08.3/_KDE_build/src/backends/qalculate/cantor_qalculatebackend_autogen/EWIEGA46WW/moc_qalculateexpression.cpp:10, from /tmp/math/cantor/work/cantor-19.08.3/_KDE_build/src/backends/qalculate/cantor_qalculatebackend_autogen/mocs_compilation.cpp:3: /tmp/math/cantor/work/.buildlink/include/libqalculate/util.h:58:80: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] size_t find_ending_bracket(const string &str, size_t start, int *missing = NULL); ^ /tmp/math/cantor/work/.buildlink/include/libqalculate/util.h:106:127: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] int checkAvailableVersion(const char *version_id, const char *current_version, string *avaible_version = NULL, int timeout = 5); ^ [ 31%] Generating ui_backendchooser.h [ 31%] Built target cantor_variablemanagerplugin_autogen In file included from /tmp/math/cantor/work/cantor-19.08.3/src/backends/qalculate/qalculatesession.h:29:0, from /tmp/math/cantor/work/cantor-19.08.3/_KDE_build/src/backends/qalculate/cantor_qalculatebackend_autogen/EWIEGA46WW/moc_qalculatesession.cpp:10, from /tmp/math/cantor/work/cantor-19.08.3/_KDE_build/src/backends/qalculate/cantor_qalculatebackend_autogen/mocs_compilation.cpp:4: /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:130:26: warning: 'virtual ExpressionItem* Variable::copy() const' can be marked override [-Wsuggest-override] virtual ExpressionItem *copy() const = 0; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:131:15: warning: 'virtual void Variable::set(const ExpressionItem*)' can be marked override [-Wsuggest-override] virtual void set(const ExpressionItem *item); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:132:14: warning: 'virtual int Variable::type() const' can be marked override [-Wsuggest-override] virtual int type() const {return TYPE_VARIABLE;} ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:137:14: warning: 'virtual int Variable::subtype() const' can be marked override [-Wsuggest-override] virtual int subtype() const {return SUBTYPE_VARIABLE;} ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:199:26: warning: 'virtual ExpressionItem* UnknownVariable::copy() const' can be marked override [-Wsuggest-override] virtual ExpressionItem *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:200:15: warning: 'virtual void UnknownVariable::set(const ExpressionItem*)' can be marked override [-Wsuggest-override] virtual void set(const ExpressionItem *item); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:201:7: warning: 'virtual bool UnknownVariable::isKnown() const' can be marked override [-Wsuggest-override] bool isKnown() const {return false;} ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:218:14: warning: 'virtual int UnknownVariable::subtype() const' can be marked override [-Wsuggest-override] virtual int subtype() const {return SUBTYPE_UNKNOWN_VARIABLE;} ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:220:15: warning: 'virtual bool UnknownVariable::representsPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsPositive(bool = false); ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:221:15: warning: 'virtual bool UnknownVariable::representsNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNegative(bool = false); ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:222:15: warning: 'virtual bool UnknownVariable::representsNonNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonNegative(bool = false); ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:223:15: warning: 'virtual bool UnknownVariable::representsNonPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonPositive(bool = false); ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:224:15: warning: 'virtual bool UnknownVariable::representsInteger(bool)' can be marked override [-Wsuggest-override] virtual bool representsInteger(bool = false); ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:225:15: warning: 'virtual bool UnknownVariable::representsNumber(bool)' can be marked override [-Wsuggest-override] virtual bool representsNumber(bool = false); ^~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:226:15: warning: 'virtual bool UnknownVariable::representsRational(bool)' can be marked override [-Wsuggest-override] virtual bool representsRational(bool = false); ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:227:15: warning: 'virtual bool UnknownVariable::representsReal(bool)' can be marked override [-Wsuggest-override] virtual bool representsReal(bool = false); ^~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:228:15: warning: 'virtual bool UnknownVariable::representsNonComplex(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonComplex(bool = false); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:229:15: warning: 'virtual bool UnknownVariable::representsComplex(bool)' can be marked override [-Wsuggest-override] virtual bool representsComplex(bool = false); ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:230:15: warning: 'virtual bool UnknownVariable::representsNonZero(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonZero(bool = false); ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:231:15: warning: 'virtual bool UnknownVariable::representsNonMatrix()' can be marked override [-Wsuggest-override] virtual bool representsNonMatrix(); ^~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:232:15: warning: 'virtual bool UnknownVariable::representsScalar()' can be marked override [-Wsuggest-override] virtual bool representsScalar(); ^~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:286:26: warning: 'virtual ExpressionItem* KnownVariable::copy() const' can be marked override [-Wsuggest-override] virtual ExpressionItem *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:287:15: warning: 'virtual void KnownVariable::set(const ExpressionItem*)' can be marked override [-Wsuggest-override] virtual void set(const ExpressionItem *item); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:288:7: warning: 'virtual bool KnownVariable::isKnown() const' can be marked override [-Wsuggest-override] bool isKnown() const {return true;} ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:302:6: warning: 'virtual int KnownVariable::subtype() const' can be marked override [-Wsuggest-override] int subtype() const {return SUBTYPE_KNOWN_VARIABLE;} ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:323:15: warning: 'virtual bool KnownVariable::representsPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsPositive(bool = false); ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:324:15: warning: 'virtual bool KnownVariable::representsNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNegative(bool = false); ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:325:15: warning: 'virtual bool KnownVariable::representsNonNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonNegative(bool = false); ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:326:15: warning: 'virtual bool KnownVariable::representsNonPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonPositive(bool = false); ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:327:15: warning: 'virtual bool KnownVariable::representsInteger(bool)' can be marked override [-Wsuggest-override] virtual bool representsInteger(bool = false); ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:328:15: warning: 'virtual bool KnownVariable::representsNonInteger(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonInteger(bool = false); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:329:15: warning: 'virtual bool KnownVariable::representsFraction(bool)' can be marked override [-Wsuggest-override] virtual bool representsFraction(bool = false); ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:330:15: warning: 'virtual bool KnownVariable::representsNumber(bool)' can be marked override [-Wsuggest-override] virtual bool representsNumber(bool = false); ^~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:331:15: warning: 'virtual bool KnownVariable::representsRational(bool)' can be marked override [-Wsuggest-override] virtual bool representsRational(bool = false); ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:332:15: warning: 'virtual bool KnownVariable::representsReal(bool)' can be marked override [-Wsuggest-override] virtual bool representsReal(bool = false); ^~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:333:15: warning: 'virtual bool KnownVariable::representsNonComplex(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonComplex(bool = false); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:334:15: warning: 'virtual bool KnownVariable::representsComplex(bool)' can be marked override [-Wsuggest-override] virtual bool representsComplex(bool = false); ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:335:15: warning: 'virtual bool KnownVariable::representsNonZero(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonZero(bool = false); ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:336:15: warning: 'virtual bool KnownVariable::representsEven(bool)' can be marked override [-Wsuggest-override] virtual bool representsEven(bool = false); ^~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:337:15: warning: 'virtual bool KnownVariable::representsOdd(bool)' can be marked override [-Wsuggest-override] virtual bool representsOdd(bool = false); ^~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:338:15: warning: 'virtual bool KnownVariable::representsUndefined(bool, bool, bool)' can be marked override [-Wsuggest-override] virtual bool representsUndefined(bool = false, bool = false, bool = false); ^~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:339:15: warning: 'virtual bool KnownVariable::representsBoolean()' can be marked override [-Wsuggest-override] virtual bool representsBoolean(); ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:340:15: warning: 'virtual bool KnownVariable::representsNonMatrix()' can be marked override [-Wsuggest-override] virtual bool representsNonMatrix(); ^~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:341:15: warning: 'virtual bool KnownVariable::representsScalar()' can be marked override [-Wsuggest-override] virtual bool representsScalar(); ^~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:362:18: warning: 'virtual ExpressionItem* DynamicVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const = 0; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:363:7: warning: 'virtual void DynamicVariable::set(const ExpressionItem*)' can be marked override [-Wsuggest-override] void set(const ExpressionItem *item); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:365:23: warning: 'virtual const MathStructure& DynamicVariable::get()' can be marked override [-Wsuggest-override] const MathStructure &get(); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:367:7: warning: 'virtual void DynamicVariable::set(const MathStructure&)' can be marked override [-Wsuggest-override] void set(const MathStructure &o); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:368:7: warning: 'virtual void DynamicVariable::set(std::__cxx11::string)' can be marked override [-Wsuggest-override] void set(string expression_); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:376:15: warning: 'virtual bool DynamicVariable::representsPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsPositive(bool = false) {return true;} ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:377:15: warning: 'virtual bool DynamicVariable::representsNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNegative(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:378:15: warning: 'virtual bool DynamicVariable::representsNonNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonNegative(bool = false) {return true;} ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:379:15: warning: 'virtual bool DynamicVariable::representsNonPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonPositive(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:380:15: warning: 'virtual bool DynamicVariable::representsInteger(bool)' can be marked override [-Wsuggest-override] virtual bool representsInteger(bool = false) {return false;} ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:381:15: warning: 'virtual bool DynamicVariable::representsNonInteger(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonInteger(bool = false) {return true;} ^~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:382:15: warning: 'virtual bool DynamicVariable::representsNumber(bool)' can be marked override [-Wsuggest-override] virtual bool representsNumber(bool = false) {return true;} ^~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:383:15: warning: 'virtual bool DynamicVariable::representsRational(bool)' can be marked override [-Wsuggest-override] virtual bool representsRational(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:384:15: warning: 'virtual bool DynamicVariable::representsReal(bool)' can be marked override [-Wsuggest-override] virtual bool representsReal(bool = false) {return true;} ^~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:385:15: warning: 'virtual bool DynamicVariable::representsComplex(bool)' can be marked override [-Wsuggest-override] virtual bool representsComplex(bool = false) {return false;} ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:386:15: warning: 'virtual bool DynamicVariable::representsNonZero(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonZero(bool = false) {return true;} ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:387:15: warning: 'virtual bool DynamicVariable::representsEven(bool)' can be marked override [-Wsuggest-override] virtual bool representsEven(bool = false) {return false;} ^~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:388:15: warning: 'virtual bool DynamicVariable::representsOdd(bool)' can be marked override [-Wsuggest-override] virtual bool representsOdd(bool = false) {return false;} ^~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:389:15: warning: 'virtual bool DynamicVariable::representsUndefined(bool, bool, bool)' can be marked override [-Wsuggest-override] virtual bool representsUndefined(bool = false, bool = false, bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:390:15: warning: 'virtual bool DynamicVariable::representsBoolean()' can be marked override [-Wsuggest-override] virtual bool representsBoolean() {return false;} ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:391:15: warning: 'virtual bool DynamicVariable::representsNonMatrix()' can be marked override [-Wsuggest-override] virtual bool representsNonMatrix() {return true;} ^~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:392:15: warning: 'virtual bool DynamicVariable::representsScalar()' can be marked override [-Wsuggest-override] virtual bool representsScalar() {return true;} ^~~~~~~~~~~~~~~~ In file included from /tmp/math/cantor/work/cantor-19.08.3/src/backends/qalculate/qalculatesession.h:29:0, from /tmp/math/cantor/work/cantor-19.08.3/_KDE_build/src/backends/qalculate/cantor_qalculatebackend_autogen/EWIEGA46WW/moc_qalculatesession.cpp:10, from /tmp/math/cantor/work/cantor-19.08.3/_KDE_build/src/backends/qalculate/cantor_qalculatebackend_autogen/mocs_compilation.cpp:4: /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:22:12: warning: 'virtual void PiVariable::calculate(MathStructure&) const' can be marked override [-Wsuggest-override] void calculate(MathStructure &m) const; \ ^ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:397:1: note: in expansion of macro 'DECLARE_BUILTIN_VARIABLE' DECLARE_BUILTIN_VARIABLE(PiVariable) ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:26:23: warning: 'virtual ExpressionItem* PiVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const {return new x(this);} \ ^ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:397:1: note: in expansion of macro 'DECLARE_BUILTIN_VARIABLE' DECLARE_BUILTIN_VARIABLE(PiVariable) ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:22:12: warning: 'virtual void EVariable::calculate(MathStructure&) const' can be marked override [-Wsuggest-override] void calculate(MathStructure &m) const; \ ^ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:399:1: note: in expansion of macro 'DECLARE_BUILTIN_VARIABLE' DECLARE_BUILTIN_VARIABLE(EVariable) ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:26:23: warning: 'virtual ExpressionItem* EVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const {return new x(this);} \ ^ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:399:1: note: in expansion of macro 'DECLARE_BUILTIN_VARIABLE' DECLARE_BUILTIN_VARIABLE(EVariable) ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:22:12: warning: 'virtual void EulerVariable::calculate(MathStructure&) const' can be marked override [-Wsuggest-override] void calculate(MathStructure &m) const; \ ^ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:401:1: note: in expansion of macro 'DECLARE_BUILTIN_VARIABLE' DECLARE_BUILTIN_VARIABLE(EulerVariable) ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:26:23: warning: 'virtual ExpressionItem* EulerVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const {return new x(this);} \ ^ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:401:1: note: in expansion of macro 'DECLARE_BUILTIN_VARIABLE' DECLARE_BUILTIN_VARIABLE(EulerVariable) ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:22:12: warning: 'virtual void CatalanVariable::calculate(MathStructure&) const' can be marked override [-Wsuggest-override] void calculate(MathStructure &m) const; \ ^ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:403:1: note: in expansion of macro 'DECLARE_BUILTIN_VARIABLE' DECLARE_BUILTIN_VARIABLE(CatalanVariable) ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:26:23: warning: 'virtual ExpressionItem* CatalanVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const {return new x(this);} \ ^ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:403:1: note: in expansion of macro 'DECLARE_BUILTIN_VARIABLE' DECLARE_BUILTIN_VARIABLE(CatalanVariable) ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/cantor/work/cantor-19.08.3/src/backends/qalculate/qalculatesession.h:29:0, from /tmp/math/cantor/work/cantor-19.08.3/_KDE_build/src/backends/qalculate/cantor_qalculatebackend_autogen/EWIEGA46WW/moc_qalculatesession.cpp:10, from /tmp/math/cantor/work/cantor-19.08.3/_KDE_build/src/backends/qalculate/cantor_qalculatebackend_autogen/mocs_compilation.cpp:4: /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:407:7: warning: 'virtual void PrecisionVariable::calculate(MathStructure&) const' can be marked override [-Wsuggest-override] void calculate(MathStructure &m) const; ^~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:411:18: warning: 'virtual ExpressionItem* PrecisionVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const {return new PrecisionVariable(this);} ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:412:7: warning: 'virtual bool PrecisionVariable::representsInteger(bool)' can be marked override [-Wsuggest-override] bool representsInteger(bool = false) {return true;} ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:413:7: warning: 'virtual bool PrecisionVariable::representsNonInteger(bool)' can be marked override [-Wsuggest-override] bool representsNonInteger(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:418:7: warning: 'virtual void TodayVariable::calculate(MathStructure&) const' can be marked override [-Wsuggest-override] void calculate(MathStructure &m) const; ^~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:422:18: warning: 'virtual ExpressionItem* TodayVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const {return new TodayVariable(this);} ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:423:15: warning: 'virtual bool TodayVariable::representsPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsPositive(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:424:15: warning: 'virtual bool TodayVariable::representsNonNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonNegative(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:425:15: warning: 'virtual bool TodayVariable::representsNonInteger(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonInteger(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:426:15: warning: 'virtual bool TodayVariable::representsNumber(bool)' can be marked override [-Wsuggest-override] virtual bool representsNumber(bool b = false) {return b;} ^~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:427:15: warning: 'virtual bool TodayVariable::representsReal(bool)' can be marked override [-Wsuggest-override] virtual bool representsReal(bool b = false) {return b;} ^~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:428:15: warning: 'virtual bool TodayVariable::representsNonZero(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonZero(bool b = false) {return b;} ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:432:7: warning: 'virtual void TomorrowVariable::calculate(MathStructure&) const' can be marked override [-Wsuggest-override] void calculate(MathStructure &m) const; ^~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:436:18: warning: 'virtual ExpressionItem* TomorrowVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const {return new TomorrowVariable(this);} ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:437:15: warning: 'virtual bool TomorrowVariable::representsPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsPositive(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:438:15: warning: 'virtual bool TomorrowVariable::representsNonNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonNegative(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:439:15: warning: 'virtual bool TomorrowVariable::representsNonInteger(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonInteger(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:440:15: warning: 'virtual bool TomorrowVariable::representsNumber(bool)' can be marked override [-Wsuggest-override] virtual bool representsNumber(bool b = false) {return b;} ^~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:441:15: warning: 'virtual bool TomorrowVariable::representsReal(bool)' can be marked override [-Wsuggest-override] virtual bool representsReal(bool b = false) {return b;} ^~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:442:15: warning: 'virtual bool TomorrowVariable::representsNonZero(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonZero(bool b = false) {return b;} ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:446:7: warning: 'virtual void YesterdayVariable::calculate(MathStructure&) const' can be marked override [-Wsuggest-override] void calculate(MathStructure &m) const; ^~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:450:18: warning: 'virtual ExpressionItem* YesterdayVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const {return new YesterdayVariable(this);} ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:451:15: warning: 'virtual bool YesterdayVariable::representsPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsPositive(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:452:15: warning: 'virtual bool YesterdayVariable::representsNonNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonNegative(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:453:15: warning: 'virtual bool YesterdayVariable::representsNonInteger(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonInteger(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:454:15: warning: 'virtual bool YesterdayVariable::representsNumber(bool)' can be marked override [-Wsuggest-override] virtual bool representsNumber(bool b = false) {return b;} ^~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:455:15: warning: 'virtual bool YesterdayVariable::representsReal(bool)' can be marked override [-Wsuggest-override] virtual bool representsReal(bool b = false) {return b;} ^~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:456:15: warning: 'virtual bool YesterdayVariable::representsNonZero(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonZero(bool b = false) {return b;} ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:460:7: warning: 'virtual void NowVariable::calculate(MathStructure&) const' can be marked override [-Wsuggest-override] void calculate(MathStructure &m) const; ^~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:464:18: warning: 'virtual ExpressionItem* NowVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const {return new NowVariable(this);} ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:465:15: warning: 'virtual bool NowVariable::representsPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsPositive(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:466:15: warning: 'virtual bool NowVariable::representsNonNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonNegative(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:467:15: warning: 'virtual bool NowVariable::representsNonInteger(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonInteger(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:468:15: warning: 'virtual bool NowVariable::representsNumber(bool)' can be marked override [-Wsuggest-override] virtual bool representsNumber(bool b = false) {return b;} ^~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:469:15: warning: 'virtual bool NowVariable::representsReal(bool)' can be marked override [-Wsuggest-override] virtual bool representsReal(bool b = false) {return b;} ^~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:470:15: warning: 'virtual bool NowVariable::representsNonZero(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonZero(bool b = false) {return b;} ^~~~~~~~~~~~~~~~~ Scanning dependencies of target cantor_nullbackend Scanning dependencies of target cantor [ 32%] Building CXX object src/backends/null/CMakeFiles/cantor_nullbackend.dir/cantor_nullbackend_autogen/mocs_compilation.cpp.o [ 32%] Building CXX object src/CMakeFiles/cantor.dir/main.cpp.o [ 32%] Building CXX object src/backends/qalculate/CMakeFiles/cantor_qalculatebackend.dir/qalculatehighlighter.cpp.o [ 32%] Linking CXX shared module cantor_runscriptassistant.so ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_peername(), which is deprecated and buggy. ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_domainname(), which is deprecated and buggy. ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_mapname(), which is deprecated and buggy. [ 32%] Built target cantor_runscriptassistant Scanning dependencies of target cantortest [ 32%] Building CXX object src/lib/test/CMakeFiles/cantortest.dir/cantortest_autogen/mocs_compilation.cpp.o [ 32%] Building CXX object src/backends/null/CMakeFiles/cantor_nullbackend.dir/nullbackend.cpp.o In file included from /tmp/math/cantor/work/.buildlink/include/libqalculate/Calculator.h:16:0, from /tmp/math/cantor/work/cantor-19.08.3/src/backends/qalculate/qalculatehighlighter.cpp:21: /tmp/math/cantor/work/.buildlink/include/libqalculate/util.h:58:80: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] size_t find_ending_bracket(const string &str, size_t start, int *missing = NULL); ^ /tmp/math/cantor/work/.buildlink/include/libqalculate/util.h:106:127: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] int checkAvailableVersion(const char *version_id, const char *current_version, string *avaible_version = NULL, int timeout = 5); ^ In file included from /tmp/math/cantor/work/cantor-19.08.3/src/backends/qalculate/qalculatehighlighter.cpp:22:0: /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:130:26: warning: 'virtual ExpressionItem* Variable::copy() const' can be marked override [-Wsuggest-override] virtual ExpressionItem *copy() const = 0; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:131:15: warning: 'virtual void Variable::set(const ExpressionItem*)' can be marked override [-Wsuggest-override] virtual void set(const ExpressionItem *item); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:132:14: warning: 'virtual int Variable::type() const' can be marked override [-Wsuggest-override] virtual int type() const {return TYPE_VARIABLE;} ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:137:14: warning: 'virtual int Variable::subtype() const' can be marked override [-Wsuggest-override] virtual int subtype() const {return SUBTYPE_VARIABLE;} ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:199:26: warning: 'virtual ExpressionItem* UnknownVariable::copy() const' can be marked override [-Wsuggest-override] virtual ExpressionItem *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:200:15: warning: 'virtual void UnknownVariable::set(const ExpressionItem*)' can be marked override [-Wsuggest-override] virtual void set(const ExpressionItem *item); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:201:7: warning: 'virtual bool UnknownVariable::isKnown() const' can be marked override [-Wsuggest-override] bool isKnown() const {return false;} ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:218:14: warning: 'virtual int UnknownVariable::subtype() const' can be marked override [-Wsuggest-override] virtual int subtype() const {return SUBTYPE_UNKNOWN_VARIABLE;} ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:220:15: warning: 'virtual bool UnknownVariable::representsPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsPositive(bool = false); ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:221:15: warning: 'virtual bool UnknownVariable::representsNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNegative(bool = false); ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:222:15: warning: 'virtual bool UnknownVariable::representsNonNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonNegative(bool = false); ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:223:15: warning: 'virtual bool UnknownVariable::representsNonPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonPositive(bool = false); ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:224:15: warning: 'virtual bool UnknownVariable::representsInteger(bool)' can be marked override [-Wsuggest-override] virtual bool representsInteger(bool = false); ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:225:15: warning: 'virtual bool UnknownVariable::representsNumber(bool)' can be marked override [-Wsuggest-override] virtual bool representsNumber(bool = false); ^~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:226:15: warning: 'virtual bool UnknownVariable::representsRational(bool)' can be marked override [-Wsuggest-override] virtual bool representsRational(bool = false); ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:227:15: warning: 'virtual bool UnknownVariable::representsReal(bool)' can be marked override [-Wsuggest-override] virtual bool representsReal(bool = false); ^~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:228:15: warning: 'virtual bool UnknownVariable::representsNonComplex(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonComplex(bool = false); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:229:15: warning: 'virtual bool UnknownVariable::representsComplex(bool)' can be marked override [-Wsuggest-override] virtual bool representsComplex(bool = false); ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:230:15: warning: 'virtual bool UnknownVariable::representsNonZero(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonZero(bool = false); ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:231:15: warning: 'virtual bool UnknownVariable::representsNonMatrix()' can be marked override [-Wsuggest-override] virtual bool representsNonMatrix(); ^~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:232:15: warning: 'virtual bool UnknownVariable::representsScalar()' can be marked override [-Wsuggest-override] virtual bool representsScalar(); ^~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:286:26: warning: 'virtual ExpressionItem* KnownVariable::copy() const' can be marked override [-Wsuggest-override] virtual ExpressionItem *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:287:15: warning: 'virtual void KnownVariable::set(const ExpressionItem*)' can be marked override [-Wsuggest-override] virtual void set(const ExpressionItem *item); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:288:7: warning: 'virtual bool KnownVariable::isKnown() const' can be marked override [-Wsuggest-override] bool isKnown() const {return true;} ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:302:6: warning: 'virtual int KnownVariable::subtype() const' can be marked override [-Wsuggest-override] int subtype() const {return SUBTYPE_KNOWN_VARIABLE;} ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:323:15: warning: 'virtual bool KnownVariable::representsPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsPositive(bool = false); ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:324:15: warning: 'virtual bool KnownVariable::representsNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNegative(bool = false); ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:325:15: warning: 'virtual bool KnownVariable::representsNonNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonNegative(bool = false); ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:326:15: warning: 'virtual bool KnownVariable::representsNonPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonPositive(bool = false); ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:327:15: warning: 'virtual bool KnownVariable::representsInteger(bool)' can be marked override [-Wsuggest-override] virtual bool representsInteger(bool = false); ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:328:15: warning: 'virtual bool KnownVariable::representsNonInteger(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonInteger(bool = false); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:329:15: warning: 'virtual bool KnownVariable::representsFraction(bool)' can be marked override [-Wsuggest-override] virtual bool representsFraction(bool = false); ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:330:15: warning: 'virtual bool KnownVariable::representsNumber(bool)' can be marked override [-Wsuggest-override] virtual bool representsNumber(bool = false); ^~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:331:15: warning: 'virtual bool KnownVariable::representsRational(bool)' can be marked override [-Wsuggest-override] virtual bool representsRational(bool = false); ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:332:15: warning: 'virtual bool KnownVariable::representsReal(bool)' can be marked override [-Wsuggest-override] virtual bool representsReal(bool = false); ^~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:333:15: warning: 'virtual bool KnownVariable::representsNonComplex(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonComplex(bool = false); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:334:15: warning: 'virtual bool KnownVariable::representsComplex(bool)' can be marked override [-Wsuggest-override] virtual bool representsComplex(bool = false); ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:335:15: warning: 'virtual bool KnownVariable::representsNonZero(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonZero(bool = false); ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:336:15: warning: 'virtual bool KnownVariable::representsEven(bool)' can be marked override [-Wsuggest-override] virtual bool representsEven(bool = false); ^~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:337:15: warning: 'virtual bool KnownVariable::representsOdd(bool)' can be marked override [-Wsuggest-override] virtual bool representsOdd(bool = false); ^~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:338:15: warning: 'virtual bool KnownVariable::representsUndefined(bool, bool, bool)' can be marked override [-Wsuggest-override] virtual bool representsUndefined(bool = false, bool = false, bool = false); ^~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:339:15: warning: 'virtual bool KnownVariable::representsBoolean()' can be marked override [-Wsuggest-override] virtual bool representsBoolean(); ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:340:15: warning: 'virtual bool KnownVariable::representsNonMatrix()' can be marked override [-Wsuggest-override] virtual bool representsNonMatrix(); ^~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:341:15: warning: 'virtual bool KnownVariable::representsScalar()' can be marked override [-Wsuggest-override] virtual bool representsScalar(); ^~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:362:18: warning: 'virtual ExpressionItem* DynamicVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const = 0; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:363:7: warning: 'virtual void DynamicVariable::set(const ExpressionItem*)' can be marked override [-Wsuggest-override] void set(const ExpressionItem *item); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:365:23: warning: 'virtual const MathStructure& DynamicVariable::get()' can be marked override [-Wsuggest-override] const MathStructure &get(); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:367:7: warning: 'virtual void DynamicVariable::set(const MathStructure&)' can be marked override [-Wsuggest-override] void set(const MathStructure &o); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:368:7: warning: 'virtual void DynamicVariable::set(std::__cxx11::string)' can be marked override [-Wsuggest-override] void set(string expression_); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:376:15: warning: 'virtual bool DynamicVariable::representsPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsPositive(bool = false) {return true;} ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:377:15: warning: 'virtual bool DynamicVariable::representsNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNegative(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:378:15: warning: 'virtual bool DynamicVariable::representsNonNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonNegative(bool = false) {return true;} ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:379:15: warning: 'virtual bool DynamicVariable::representsNonPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonPositive(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:380:15: warning: 'virtual bool DynamicVariable::representsInteger(bool)' can be marked override [-Wsuggest-override] virtual bool representsInteger(bool = false) {return false;} ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:381:15: warning: 'virtual bool DynamicVariable::representsNonInteger(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonInteger(bool = false) {return true;} ^~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:382:15: warning: 'virtual bool DynamicVariable::representsNumber(bool)' can be marked override [-Wsuggest-override] virtual bool representsNumber(bool = false) {return true;} ^~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:383:15: warning: 'virtual bool DynamicVariable::representsRational(bool)' can be marked override [-Wsuggest-override] virtual bool representsRational(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:384:15: warning: 'virtual bool DynamicVariable::representsReal(bool)' can be marked override [-Wsuggest-override] virtual bool representsReal(bool = false) {return true;} ^~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:385:15: warning: 'virtual bool DynamicVariable::representsComplex(bool)' can be marked override [-Wsuggest-override] virtual bool representsComplex(bool = false) {return false;} ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:386:15: warning: 'virtual bool DynamicVariable::representsNonZero(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonZero(bool = false) {return true;} ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:387:15: warning: 'virtual bool DynamicVariable::representsEven(bool)' can be marked override [-Wsuggest-override] virtual bool representsEven(bool = false) {return false;} ^~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:388:15: warning: 'virtual bool DynamicVariable::representsOdd(bool)' can be marked override [-Wsuggest-override] virtual bool representsOdd(bool = false) {return false;} ^~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:389:15: warning: 'virtual bool DynamicVariable::representsUndefined(bool, bool, bool)' can be marked override [-Wsuggest-override] virtual bool representsUndefined(bool = false, bool = false, bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:390:15: warning: 'virtual bool DynamicVariable::representsBoolean()' can be marked override [-Wsuggest-override] virtual bool representsBoolean() {return false;} ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:391:15: warning: 'virtual bool DynamicVariable::representsNonMatrix()' can be marked override [-Wsuggest-override] virtual bool representsNonMatrix() {return true;} ^~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:392:15: warning: 'virtual bool DynamicVariable::representsScalar()' can be marked override [-Wsuggest-override] virtual bool representsScalar() {return true;} ^~~~~~~~~~~~~~~~ In file included from /tmp/math/cantor/work/cantor-19.08.3/src/backends/qalculate/qalculatehighlighter.cpp:22:0: /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:22:12: warning: 'virtual void PiVariable::calculate(MathStructure&) const' can be marked override [-Wsuggest-override] void calculate(MathStructure &m) const; \ ^ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:397:1: note: in expansion of macro 'DECLARE_BUILTIN_VARIABLE' DECLARE_BUILTIN_VARIABLE(PiVariable) ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:26:23: warning: 'virtual ExpressionItem* PiVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const {return new x(this);} \ ^ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:397:1: note: in expansion of macro 'DECLARE_BUILTIN_VARIABLE' DECLARE_BUILTIN_VARIABLE(PiVariable) ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:22:12: warning: 'virtual void EVariable::calculate(MathStructure&) const' can be marked override [-Wsuggest-override] void calculate(MathStructure &m) const; \ ^ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:399:1: note: in expansion of macro 'DECLARE_BUILTIN_VARIABLE' DECLARE_BUILTIN_VARIABLE(EVariable) ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:26:23: warning: 'virtual ExpressionItem* EVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const {return new x(this);} \ ^ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:399:1: note: in expansion of macro 'DECLARE_BUILTIN_VARIABLE' DECLARE_BUILTIN_VARIABLE(EVariable) ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:22:12: warning: 'virtual void EulerVariable::calculate(MathStructure&) const' can be marked override [-Wsuggest-override] void calculate(MathStructure &m) const; \ ^ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:401:1: note: in expansion of macro 'DECLARE_BUILTIN_VARIABLE' DECLARE_BUILTIN_VARIABLE(EulerVariable) ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:26:23: warning: 'virtual ExpressionItem* EulerVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const {return new x(this);} \ ^ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:401:1: note: in expansion of macro 'DECLARE_BUILTIN_VARIABLE' DECLARE_BUILTIN_VARIABLE(EulerVariable) ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:22:12: warning: 'virtual void CatalanVariable::calculate(MathStructure&) const' can be marked override [-Wsuggest-override] void calculate(MathStructure &m) const; \ ^ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:403:1: note: in expansion of macro 'DECLARE_BUILTIN_VARIABLE' DECLARE_BUILTIN_VARIABLE(CatalanVariable) ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:26:23: warning: 'virtual ExpressionItem* CatalanVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const {return new x(this);} \ ^ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:403:1: note: in expansion of macro 'DECLARE_BUILTIN_VARIABLE' DECLARE_BUILTIN_VARIABLE(CatalanVariable) ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/cantor/work/cantor-19.08.3/src/backends/qalculate/qalculatehighlighter.cpp:22:0: /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:407:7: warning: 'virtual void PrecisionVariable::calculate(MathStructure&) const' can be marked override [-Wsuggest-override] void calculate(MathStructure &m) const; ^~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:411:18: warning: 'virtual ExpressionItem* PrecisionVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const {return new PrecisionVariable(this);} ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:412:7: warning: 'virtual bool PrecisionVariable::representsInteger(bool)' can be marked override [-Wsuggest-override] bool representsInteger(bool = false) {return true;} ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:413:7: warning: 'virtual bool PrecisionVariable::representsNonInteger(bool)' can be marked override [-Wsuggest-override] bool representsNonInteger(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:418:7: warning: 'virtual void TodayVariable::calculate(MathStructure&) const' can be marked override [-Wsuggest-override] void calculate(MathStructure &m) const; ^~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:422:18: warning: 'virtual ExpressionItem* TodayVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const {return new TodayVariable(this);} ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:423:15: warning: 'virtual bool TodayVariable::representsPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsPositive(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:424:15: warning: 'virtual bool TodayVariable::representsNonNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonNegative(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:425:15: warning: 'virtual bool TodayVariable::representsNonInteger(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonInteger(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:426:15: warning: 'virtual bool TodayVariable::representsNumber(bool)' can be marked override [-Wsuggest-override] virtual bool representsNumber(bool b = false) {return b;} ^~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:427:15: warning: 'virtual bool TodayVariable::representsReal(bool)' can be marked override [-Wsuggest-override] virtual bool representsReal(bool b = false) {return b;} ^~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:428:15: warning: 'virtual bool TodayVariable::representsNonZero(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonZero(bool b = false) {return b;} ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:432:7: warning: 'virtual void TomorrowVariable::calculate(MathStructure&) const' can be marked override [-Wsuggest-override] void calculate(MathStructure &m) const; ^~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:436:18: warning: 'virtual ExpressionItem* TomorrowVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const {return new TomorrowVariable(this);} ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:437:15: warning: 'virtual bool TomorrowVariable::representsPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsPositive(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:438:15: warning: 'virtual bool TomorrowVariable::representsNonNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonNegative(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:439:15: warning: 'virtual bool TomorrowVariable::representsNonInteger(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonInteger(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:440:15: warning: 'virtual bool TomorrowVariable::representsNumber(bool)' can be marked override [-Wsuggest-override] virtual bool representsNumber(bool b = false) {return b;} ^~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:441:15: warning: 'virtual bool TomorrowVariable::representsReal(bool)' can be marked override [-Wsuggest-override] virtual bool representsReal(bool b = false) {return b;} ^~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:442:15: warning: 'virtual bool TomorrowVariable::representsNonZero(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonZero(bool b = false) {return b;} ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:446:7: warning: 'virtual void YesterdayVariable::calculate(MathStructure&) const' can be marked override [-Wsuggest-override] void calculate(MathStructure &m) const; ^~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:450:18: warning: 'virtual ExpressionItem* YesterdayVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const {return new YesterdayVariable(this);} ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:451:15: warning: 'virtual bool YesterdayVariable::representsPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsPositive(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:452:15: warning: 'virtual bool YesterdayVariable::representsNonNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonNegative(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:453:15: warning: 'virtual bool YesterdayVariable::representsNonInteger(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonInteger(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:454:15: warning: 'virtual bool YesterdayVariable::representsNumber(bool)' can be marked override [-Wsuggest-override] virtual bool representsNumber(bool b = false) {return b;} ^~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:455:15: warning: 'virtual bool YesterdayVariable::representsReal(bool)' can be marked override [-Wsuggest-override] virtual bool representsReal(bool b = false) {return b;} ^~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:456:15: warning: 'virtual bool YesterdayVariable::representsNonZero(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonZero(bool b = false) {return b;} ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:460:7: warning: 'virtual void NowVariable::calculate(MathStructure&) const' can be marked override [-Wsuggest-override] void calculate(MathStructure &m) const; ^~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:464:18: warning: 'virtual ExpressionItem* NowVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const {return new NowVariable(this);} ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:465:15: warning: 'virtual bool NowVariable::representsPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsPositive(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:466:15: warning: 'virtual bool NowVariable::representsNonNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonNegative(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:467:15: warning: 'virtual bool NowVariable::representsNonInteger(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonInteger(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:468:15: warning: 'virtual bool NowVariable::representsNumber(bool)' can be marked override [-Wsuggest-override] virtual bool representsNumber(bool b = false) {return b;} ^~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:469:15: warning: 'virtual bool NowVariable::representsReal(bool)' can be marked override [-Wsuggest-override] virtual bool representsReal(bool b = false) {return b;} ^~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:470:15: warning: 'virtual bool NowVariable::representsNonZero(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonZero(bool b = false) {return b;} ^~~~~~~~~~~~~~~~~ In file included from /tmp/math/cantor/work/cantor-19.08.3/src/backends/qalculate/qalculatehighlighter.cpp:23:0: /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:92:26: warning: 'virtual ExpressionItem* MathFunction::copy() const' can be marked override [-Wsuggest-override] virtual ExpressionItem *copy() const = 0; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:93:15: warning: 'virtual void MathFunction::set(const ExpressionItem*)' can be marked override [-Wsuggest-override] virtual void set(const ExpressionItem *item); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:94:14: warning: 'virtual int MathFunction::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:99:14: warning: 'virtual int MathFunction::subtype() const' can be marked override [-Wsuggest-override] virtual int subtype() const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:242:7: warning: 'virtual void UserFunction::set(const ExpressionItem*)' can be marked override [-Wsuggest-override] void set(const ExpressionItem *item); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:243:18: warning: 'virtual ExpressionItem* UserFunction::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:248:6: warning: 'virtual int UserFunction::calculate(MathStructure&, const MathStructure&, const EvaluationOptions&)' can be marked override [-Wsuggest-override] int calculate(MathStructure &mstruct, const MathStructure &vargs, const EvaluationOptions &eo); ^~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:269:6: warning: 'virtual int UserFunction::subtype() const' can be marked override [-Wsuggest-override] int subtype() const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:108:24: warning: 'virtual MathStructure MathFunction::calculate(MathStructure&, const EvaluationOptions&)' was hidden [-Woverloaded-virtual] virtual MathStructure calculate(MathStructure &vargs, const EvaluationOptions &eo = default_evaluation_options); ^~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:248:6: warning: by 'virtual int UserFunction::calculate(MathStructure&, const MathStructure&, const EvaluationOptions&)' [-Woverloaded-virtual] int calculate(MathStructure &mstruct, const MathStructure &vargs, const EvaluationOptions &eo); ^~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:105:24: warning: 'virtual MathStructure MathFunction::calculate(const string&, const EvaluationOptions&)' was hidden [-Woverloaded-virtual] virtual MathStructure calculate(const string &eq, const EvaluationOptions &eo = default_evaluation_options); ^~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:248:6: warning: by 'virtual int UserFunction::calculate(MathStructure&, const MathStructure&, const EvaluationOptions&)' [-Woverloaded-virtual] int calculate(MathStructure &mstruct, const MathStructure &vargs, const EvaluationOptions &eo); ^~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:452:15: warning: 'virtual bool NumberArgument::subtest(MathStructure&, const EvaluationOptions&) const' can be marked override [-Wsuggest-override] virtual bool subtest(MathStructure &value, const EvaluationOptions &eo) const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:453:17: warning: 'virtual std::__cxx11::string NumberArgument::subprintlong() const' can be marked override [-Wsuggest-override] virtual string subprintlong() const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:461:15: warning: 'virtual void NumberArgument::set(const Argument*)' can be marked override [-Wsuggest-override] virtual void set(const Argument *arg); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:462:20: warning: 'virtual Argument* NumberArgument::copy() const' can be marked override [-Wsuggest-override] virtual Argument *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:464:17: warning: 'virtual std::__cxx11::string NumberArgument::print() const' can be marked override [-Wsuggest-override] virtual string print() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:480:14: warning: 'virtual int NumberArgument::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:496:15: warning: 'virtual bool IntegerArgument::subtest(MathStructure&, const EvaluationOptions&) const' can be marked override [-Wsuggest-override] virtual bool subtest(MathStructure &value, const EvaluationOptions &eo) const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:497:17: warning: 'virtual std::__cxx11::string IntegerArgument::subprintlong() const' can be marked override [-Wsuggest-override] virtual string subprintlong() const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:508:15: warning: 'virtual void IntegerArgument::set(const Argument*)' can be marked override [-Wsuggest-override] virtual void set(const Argument *arg); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:509:20: warning: 'virtual Argument* IntegerArgument::copy() const' can be marked override [-Wsuggest-override] virtual Argument *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:511:17: warning: 'virtual std::__cxx11::string IntegerArgument::print() const' can be marked override [-Wsuggest-override] virtual string print() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:518:14: warning: 'virtual int IntegerArgument::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:529:17: warning: 'virtual bool SymbolicArgument::subtest(MathStructure&, const EvaluationOptions&) const' can be marked override [-Wsuggest-override] virtual bool subtest(MathStructure &value, const EvaluationOptions &eo) const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:530:17: warning: 'virtual std::__cxx11::string SymbolicArgument::subprintlong() const' can be marked override [-Wsuggest-override] virtual string subprintlong() const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:537:14: warning: 'virtual int SymbolicArgument::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:538:20: warning: 'virtual Argument* SymbolicArgument::copy() const' can be marked override [-Wsuggest-override] virtual Argument *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:539:17: warning: 'virtual std::__cxx11::string SymbolicArgument::print() const' can be marked override [-Wsuggest-override] virtual string print() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:549:15: warning: 'virtual bool TextArgument::subtest(MathStructure&, const EvaluationOptions&) const' can be marked override [-Wsuggest-override] virtual bool subtest(MathStructure &value, const EvaluationOptions &eo) const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:550:17: warning: 'virtual std::__cxx11::string TextArgument::subprintlong() const' can be marked override [-Wsuggest-override] virtual string subprintlong() const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:557:14: warning: 'virtual int TextArgument::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:558:20: warning: 'virtual Argument* TextArgument::copy() const' can be marked override [-Wsuggest-override] virtual Argument *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:559:17: warning: 'virtual std::__cxx11::string TextArgument::print() const' can be marked override [-Wsuggest-override] virtual string print() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:560:15: warning: 'virtual bool TextArgument::suggestsQuotes() const' can be marked override [-Wsuggest-override] virtual bool suggestsQuotes() const; ^~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:570:15: warning: 'virtual bool DateArgument::subtest(MathStructure&, const EvaluationOptions&) const' can be marked override [-Wsuggest-override] virtual bool subtest(MathStructure &value, const EvaluationOptions &eo) const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:571:17: warning: 'virtual std::__cxx11::string DateArgument::subprintlong() const' can be marked override [-Wsuggest-override] virtual string subprintlong() const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:578:15: warning: 'virtual void DateArgument::parse(MathStructure*, const string&, const ParseOptions&) const' can be marked override [-Wsuggest-override] virtual void parse(MathStructure *mstruct, const string &str, const ParseOptions &po = default_parse_options) const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:579:14: warning: 'virtual int DateArgument::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:580:20: warning: 'virtual Argument* DateArgument::copy() const' can be marked override [-Wsuggest-override] virtual Argument *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:581:17: warning: 'virtual std::__cxx11::string DateArgument::print() const' can be marked override [-Wsuggest-override] virtual string print() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:354:24: warning: 'virtual MathStructure Argument::parse(const string&, const ParseOptions&) const' was hidden [-Woverloaded-virtual] virtual MathStructure parse(const string &str, const ParseOptions &po = default_parse_options) const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:578:15: warning: by 'virtual void DateArgument::parse(MathStructure*, const string&, const ParseOptions&) const' [-Woverloaded-virtual] virtual void parse(MathStructure *mstruct, const string &str, const ParseOptions &po = default_parse_options) const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:591:15: warning: 'virtual bool VectorArgument::subtest(MathStructure&, const EvaluationOptions&) const' can be marked override [-Wsuggest-override] virtual bool subtest(MathStructure &value, const EvaluationOptions &eo) const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:592:17: warning: 'virtual std::__cxx11::string VectorArgument::subprintlong() const' can be marked override [-Wsuggest-override] virtual string subprintlong() const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:601:14: warning: 'virtual int VectorArgument::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:602:20: warning: 'virtual Argument* VectorArgument::copy() const' can be marked override [-Wsuggest-override] virtual Argument *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:603:17: warning: 'virtual std::__cxx11::string VectorArgument::print() const' can be marked override [-Wsuggest-override] virtual string print() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:620:15: warning: 'virtual bool MatrixArgument::subtest(MathStructure&, const EvaluationOptions&) const' can be marked override [-Wsuggest-override] virtual bool subtest(MathStructure &value, const EvaluationOptions &eo) const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:621:17: warning: 'virtual std::__cxx11::string MatrixArgument::subprintlong() const' can be marked override [-Wsuggest-override] virtual string subprintlong() const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:631:14: warning: 'virtual int MatrixArgument::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:632:20: warning: 'virtual Argument* MatrixArgument::copy() const' can be marked override [-Wsuggest-override] virtual Argument *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:633:17: warning: 'virtual std::__cxx11::string MatrixArgument::print() const' can be marked override [-Wsuggest-override] virtual string print() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:643:15: warning: 'virtual bool ExpressionItemArgument::subtest(MathStructure&, const EvaluationOptions&) const' can be marked override [-Wsuggest-override] virtual bool subtest(MathStructure &value, const EvaluationOptions &eo) const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:644:17: warning: 'virtual std::__cxx11::string ExpressionItemArgument::subprintlong() const' can be marked override [-Wsuggest-override] virtual string subprintlong() const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:651:14: warning: 'virtual int ExpressionItemArgument::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:652:20: warning: 'virtual Argument* ExpressionItemArgument::copy() const' can be marked override [-Wsuggest-override] virtual Argument *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:653:17: warning: 'virtual std::__cxx11::string ExpressionItemArgument::print() const' can be marked override [-Wsuggest-override] virtual string print() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:662:15: warning: 'virtual bool FunctionArgument::subtest(MathStructure&, const EvaluationOptions&) const' can be marked override [-Wsuggest-override] virtual bool subtest(MathStructure &value, const EvaluationOptions &eo) const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:663:17: warning: 'virtual std::__cxx11::string FunctionArgument::subprintlong() const' can be marked override [-Wsuggest-override] virtual string subprintlong() const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:670:14: warning: 'virtual int FunctionArgument::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:671:20: warning: 'virtual Argument* FunctionArgument::copy() const' can be marked override [-Wsuggest-override] virtual Argument *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:672:17: warning: 'virtual std::__cxx11::string FunctionArgument::print() const' can be marked override [-Wsuggest-override] virtual string print() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:682:15: warning: 'virtual bool BooleanArgument::subtest(MathStructure&, const EvaluationOptions&) const' can be marked override [-Wsuggest-override] virtual bool subtest(MathStructure &value, const EvaluationOptions &eo) const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:683:17: warning: 'virtual std::__cxx11::string BooleanArgument::subprintlong() const' can be marked override [-Wsuggest-override] virtual string subprintlong() const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:690:14: warning: 'virtual int BooleanArgument::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:691:20: warning: 'virtual Argument* BooleanArgument::copy() const' can be marked override [-Wsuggest-override] virtual Argument *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:692:17: warning: 'virtual std::__cxx11::string BooleanArgument::print() const' can be marked override [-Wsuggest-override] virtual string print() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:699:15: warning: 'virtual bool UnitArgument::subtest(MathStructure&, const EvaluationOptions&) const' can be marked override [-Wsuggest-override] virtual bool subtest(MathStructure &value, const EvaluationOptions &eo) const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:700:17: warning: 'virtual std::__cxx11::string UnitArgument::subprintlong() const' can be marked override [-Wsuggest-override] virtual string subprintlong() const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:707:14: warning: 'virtual int UnitArgument::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:708:20: warning: 'virtual Argument* UnitArgument::copy() const' can be marked override [-Wsuggest-override] virtual Argument *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:709:17: warning: 'virtual std::__cxx11::string UnitArgument::print() const' can be marked override [-Wsuggest-override] virtual string print() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:715:15: warning: 'virtual bool AngleArgument::subtest(MathStructure&, const EvaluationOptions&) const' can be marked override [-Wsuggest-override] virtual bool subtest(MathStructure &value, const EvaluationOptions &eo) const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:716:17: warning: 'virtual std::__cxx11::string AngleArgument::subprintlong() const' can be marked override [-Wsuggest-override] virtual string subprintlong() const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:723:14: warning: 'virtual int AngleArgument::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:724:20: warning: 'virtual Argument* AngleArgument::copy() const' can be marked override [-Wsuggest-override] virtual Argument *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:725:17: warning: 'virtual std::__cxx11::string AngleArgument::print() const' can be marked override [-Wsuggest-override] virtual string print() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:726:15: warning: 'virtual void AngleArgument::parse(MathStructure*, const string&, const ParseOptions&) const' can be marked override [-Wsuggest-override] virtual void parse(MathStructure *mstruct, const string &str, const ParseOptions &po = default_parse_options) const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:354:24: warning: 'virtual MathStructure Argument::parse(const string&, const ParseOptions&) const' was hidden [-Woverloaded-virtual] virtual MathStructure parse(const string &str, const ParseOptions &po = default_parse_options) const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:726:15: warning: by 'virtual void AngleArgument::parse(MathStructure*, const string&, const ParseOptions&) const' [-Woverloaded-virtual] virtual void parse(MathStructure *mstruct, const string &str, const ParseOptions &po = default_parse_options) const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:732:15: warning: 'virtual bool VariableArgument::subtest(MathStructure&, const EvaluationOptions&) const' can be marked override [-Wsuggest-override] virtual bool subtest(MathStructure &value, const EvaluationOptions &eo) const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:733:17: warning: 'virtual std::__cxx11::string VariableArgument::subprintlong() const' can be marked override [-Wsuggest-override] virtual string subprintlong() const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:740:14: warning: 'virtual int VariableArgument::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:741:20: warning: 'virtual Argument* VariableArgument::copy() const' can be marked override [-Wsuggest-override] virtual Argument *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:742:17: warning: 'virtual std::__cxx11::string VariableArgument::print() const' can be marked override [-Wsuggest-override] virtual string print() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:748:15: warning: 'virtual bool FileArgument::subtest(MathStructure&, const EvaluationOptions&) const' can be marked override [-Wsuggest-override] virtual bool subtest(MathStructure &value, const EvaluationOptions &eo) const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:749:17: warning: 'virtual std::__cxx11::string FileArgument::subprintlong() const' can be marked override [-Wsuggest-override] virtual string subprintlong() const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:756:14: warning: 'virtual int FileArgument::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:757:20: warning: 'virtual Argument* FileArgument::copy() const' can be marked override [-Wsuggest-override] virtual Argument *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:758:17: warning: 'virtual std::__cxx11::string FileArgument::print() const' can be marked override [-Wsuggest-override] virtual string print() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:768:15: warning: 'virtual bool ArgumentSet::subtest(MathStructure&, const EvaluationOptions&) const' can be marked override [-Wsuggest-override] virtual bool subtest(MathStructure &value, const EvaluationOptions &eo) const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:769:17: warning: 'virtual std::__cxx11::string ArgumentSet::subprintlong() const' can be marked override [-Wsuggest-override] virtual string subprintlong() const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:777:14: warning: 'virtual int ArgumentSet::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:778:20: warning: 'virtual Argument* ArgumentSet::copy() const' can be marked override [-Wsuggest-override] virtual Argument *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:779:17: warning: 'virtual std::__cxx11::string ArgumentSet::print() const' can be marked override [-Wsuggest-override] virtual string print() const; ^~~~~ In file included from /tmp/math/cantor/work/cantor-19.08.3/src/backends/qalculate/qalculatehighlighter.cpp:24:0: /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:53:26: warning: 'virtual ExpressionItem* Unit::copy() const' can be marked override [-Wsuggest-override] virtual ExpressionItem *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:54:15: warning: 'virtual void Unit::set(const ExpressionItem*)' can be marked override [-Wsuggest-override] virtual void set(const ExpressionItem *item); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:106:14: warning: 'virtual int Unit::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:111:14: warning: 'virtual int Unit::subtype() const' can be marked override [-Wsuggest-override] virtual int subtype() const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:188:26: warning: 'virtual ExpressionItem* AliasUnit::copy() const' can be marked override [-Wsuggest-override] virtual ExpressionItem *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:189:15: warning: 'virtual void AliasUnit::set(const ExpressionItem*)' can be marked override [-Wsuggest-override] virtual void set(const ExpressionItem *item); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:191:16: warning: 'virtual Unit* AliasUnit::baseUnit() const' can be marked override [-Wsuggest-override] virtual Unit* baseUnit() const; ^~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:208:25: warning: 'virtual MathStructure& AliasUnit::convertToBaseUnit(MathStructure&, MathStructure&) const' can be marked override [-Wsuggest-override] virtual MathStructure &convertToBaseUnit(MathStructure &mvalue, MathStructure &mexp) const; ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:209:25: warning: 'virtual MathStructure& AliasUnit::convertFromBaseUnit(MathStructure&, MathStructure&) const' can be marked override [-Wsuggest-override] virtual MathStructure &convertFromBaseUnit(MathStructure &mvalue, MathStructure &mexp) const; ^~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:210:25: warning: 'virtual MathStructure& AliasUnit::convertToBaseUnit(MathStructure&) const' can be marked override [-Wsuggest-override] virtual MathStructure &convertToBaseUnit(MathStructure &mvalue) const; ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:211:25: warning: 'virtual MathStructure& AliasUnit::convertFromBaseUnit(MathStructure&) const' can be marked override [-Wsuggest-override] virtual MathStructure &convertFromBaseUnit(MathStructure &mvalue) const; ^~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:212:24: warning: 'virtual MathStructure AliasUnit::convertToBaseUnit() const' can be marked override [-Wsuggest-override] virtual MathStructure convertToBaseUnit() const; ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:213:24: warning: 'virtual MathStructure AliasUnit::convertFromBaseUnit() const' can be marked override [-Wsuggest-override] virtual MathStructure convertFromBaseUnit() const; ^~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:214:14: warning: 'virtual int AliasUnit::baseExponent(int) const' can be marked override [-Wsuggest-override] virtual int baseExponent(int exp = 1) const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:221:14: warning: 'virtual int AliasUnit::subtype() const' can be marked override [-Wsuggest-override] virtual int subtype() const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:222:15: warning: 'virtual bool AliasUnit::isChildOf(Unit*) const' can be marked override [-Wsuggest-override] virtual bool isChildOf(Unit *u) const; ^~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:223:15: warning: 'virtual bool AliasUnit::isParentOf(Unit*) const' can be marked override [-Wsuggest-override] virtual bool isParentOf(Unit *u) const; ^~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:225:15: warning: 'virtual bool AliasUnit::hasNonlinearRelationTo(Unit*) const' can be marked override [-Wsuggest-override] virtual bool hasNonlinearRelationTo(Unit *u) const; ^~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:227:15: warning: 'virtual bool AliasUnit::hasApproximateRelationTo(Unit*, bool, bool) const' can be marked override [-Wsuggest-override] virtual bool hasApproximateRelationTo(Unit *u, bool check_variables = false, bool ignore_high_precision_intervals = false) const; ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:228:15: warning: 'virtual bool AliasUnit::containsRelativeTo(Unit*) const' can be marked override [-Wsuggest-override] virtual bool containsRelativeTo(Unit *u) const; ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:229:15: warning: 'virtual bool AliasUnit::hasNonlinearRelationToBase() const' can be marked override [-Wsuggest-override] virtual bool hasNonlinearRelationToBase() const; ^~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:230:15: warning: 'virtual bool AliasUnit::hasApproximateRelationToBase(bool, bool) const' can be marked override [-Wsuggest-override] virtual bool hasApproximateRelationToBase(bool check_variables = false, bool ignore_high_precision_intervals = false) const; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:250:26: warning: 'virtual ExpressionItem* AliasUnit_Composite::copy() const' can be marked override [-Wsuggest-override] virtual ExpressionItem *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:251:15: warning: 'virtual void AliasUnit_Composite::set(const ExpressionItem*)' can be marked override [-Wsuggest-override] virtual void set(const ExpressionItem *item); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:253:17: warning: 'virtual std::__cxx11::string AliasUnit_Composite::print(bool, bool, bool, bool (*)(const char*, void*), void*) const' can be marked override [-Wsuggest-override] virtual string print(bool plural_, bool short_, bool use_unicode = false, bool (*can_display_unicode_string_function) (const char*, void*) = NULL, void *can_display_unicode_string_arg = NULL) const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:257:25: warning: 'virtual MathStructure& AliasUnit_Composite::convertToFirstBaseUnit(MathStructure&, MathStructure&) const' can be marked override [-Wsuggest-override] virtual MathStructure &convertToFirstBaseUnit(MathStructure &mvalue, MathStructure &mexp) const; ^~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:258:25: warning: 'virtual MathStructure& AliasUnit_Composite::convertFromFirstBaseUnit(MathStructure&, MathStructure&) const' can be marked override [-Wsuggest-override] virtual MathStructure &convertFromFirstBaseUnit(MathStructure &mvalue, MathStructure &mexp) const; ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:287:27: warning: 'virtual ExpressionItem* CompositeUnit::copy() const' can be marked override [-Wsuggest-override] virtual ExpressionItem *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:288:16: warning: 'virtual void CompositeUnit::set(const ExpressionItem*)' can be marked override [-Wsuggest-override] virtual void set(const ExpressionItem *item); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:313:18: warning: 'virtual std::__cxx11::string CompositeUnit::print(bool, bool, bool, bool (*)(const char*, void*), void*) const' can be marked override [-Wsuggest-override] virtual string print(bool plural_, bool short_, bool use_unicode = false, bool (*can_display_unicode_string_function) (const char*, void*) = NULL, void *can_display_unicode_string_arg = NULL) const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:314:15: warning: 'virtual int CompositeUnit::subtype() const' can be marked override [-Wsuggest-override] virtual int subtype() const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:317:16: warning: 'virtual bool CompositeUnit::containsRelativeTo(Unit*) const' can be marked override [-Wsuggest-override] virtual bool containsRelativeTo(Unit *u) const; ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:318:16: warning: 'virtual bool CompositeUnit::hasNonlinearRelationToBase() const' can be marked override [-Wsuggest-override] virtual bool hasNonlinearRelationToBase() const; ^~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:319:16: warning: 'virtual bool CompositeUnit::hasApproximateRelationToBase(bool, bool) const' can be marked override [-Wsuggest-override] virtual bool hasApproximateRelationToBase(bool check_variables = false, bool ignore_high_precision_intervals = false) const; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 33%] Building CXX object src/CMakeFiles/cantor.dir/backendchoosedialog.cpp.o [ 33%] Building CXX object src/backends/qalculate/CMakeFiles/cantor_qalculatebackend.dir/qalculateextensions.cpp.o [ 33%] Building CXX object src/backends/null/CMakeFiles/cantor_nullbackend.dir/nullsession.cpp.o In file included from /tmp/math/cantor/work/.buildlink/include/libqalculate/Calculator.h:16:0, from /tmp/math/cantor/work/cantor-19.08.3/src/backends/qalculate/qalculateextensions.cpp:21: /tmp/math/cantor/work/.buildlink/include/libqalculate/util.h:58:80: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] size_t find_ending_bracket(const string &str, size_t start, int *missing = NULL); ^ /tmp/math/cantor/work/.buildlink/include/libqalculate/util.h:106:127: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] int checkAvailableVersion(const char *version_id, const char *current_version, string *avaible_version = NULL, int timeout = 5); ^ In file included from /tmp/math/cantor/work/cantor-19.08.3/src/backends/qalculate/qalculateextensions.cpp:23:0: /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:130:26: warning: 'virtual ExpressionItem* Variable::copy() const' can be marked override [-Wsuggest-override] virtual ExpressionItem *copy() const = 0; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:131:15: warning: 'virtual void Variable::set(const ExpressionItem*)' can be marked override [-Wsuggest-override] virtual void set(const ExpressionItem *item); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:132:14: warning: 'virtual int Variable::type() const' can be marked override [-Wsuggest-override] virtual int type() const {return TYPE_VARIABLE;} ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:137:14: warning: 'virtual int Variable::subtype() const' can be marked override [-Wsuggest-override] virtual int subtype() const {return SUBTYPE_VARIABLE;} ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:199:26: warning: 'virtual ExpressionItem* UnknownVariable::copy() const' can be marked override [-Wsuggest-override] virtual ExpressionItem *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:200:15: warning: 'virtual void UnknownVariable::set(const ExpressionItem*)' can be marked override [-Wsuggest-override] virtual void set(const ExpressionItem *item); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:201:7: warning: 'virtual bool UnknownVariable::isKnown() const' can be marked override [-Wsuggest-override] bool isKnown() const {return false;} ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:218:14: warning: 'virtual int UnknownVariable::subtype() const' can be marked override [-Wsuggest-override] virtual int subtype() const {return SUBTYPE_UNKNOWN_VARIABLE;} ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:220:15: warning: 'virtual bool UnknownVariable::representsPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsPositive(bool = false); ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:221:15: warning: 'virtual bool UnknownVariable::representsNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNegative(bool = false); ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:222:15: warning: 'virtual bool UnknownVariable::representsNonNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonNegative(bool = false); ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:223:15: warning: 'virtual bool UnknownVariable::representsNonPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonPositive(bool = false); ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:224:15: warning: 'virtual bool UnknownVariable::representsInteger(bool)' can be marked override [-Wsuggest-override] virtual bool representsInteger(bool = false); ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:225:15: warning: 'virtual bool UnknownVariable::representsNumber(bool)' can be marked override [-Wsuggest-override] virtual bool representsNumber(bool = false); ^~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:226:15: warning: 'virtual bool UnknownVariable::representsRational(bool)' can be marked override [-Wsuggest-override] virtual bool representsRational(bool = false); ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:227:15: warning: 'virtual bool UnknownVariable::representsReal(bool)' can be marked override [-Wsuggest-override] virtual bool representsReal(bool = false); ^~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:228:15: warning: 'virtual bool UnknownVariable::representsNonComplex(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonComplex(bool = false); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:229:15: warning: 'virtual bool UnknownVariable::representsComplex(bool)' can be marked override [-Wsuggest-override] virtual bool representsComplex(bool = false); ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:230:15: warning: 'virtual bool UnknownVariable::representsNonZero(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonZero(bool = false); ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:231:15: warning: 'virtual bool UnknownVariable::representsNonMatrix()' can be marked override [-Wsuggest-override] virtual bool representsNonMatrix(); ^~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:232:15: warning: 'virtual bool UnknownVariable::representsScalar()' can be marked override [-Wsuggest-override] virtual bool representsScalar(); ^~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:286:26: warning: 'virtual ExpressionItem* KnownVariable::copy() const' can be marked override [-Wsuggest-override] virtual ExpressionItem *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:287:15: warning: 'virtual void KnownVariable::set(const ExpressionItem*)' can be marked override [-Wsuggest-override] virtual void set(const ExpressionItem *item); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:288:7: warning: 'virtual bool KnownVariable::isKnown() const' can be marked override [-Wsuggest-override] bool isKnown() const {return true;} ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:302:6: warning: 'virtual int KnownVariable::subtype() const' can be marked override [-Wsuggest-override] int subtype() const {return SUBTYPE_KNOWN_VARIABLE;} ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:323:15: warning: 'virtual bool KnownVariable::representsPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsPositive(bool = false); ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:324:15: warning: 'virtual bool KnownVariable::representsNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNegative(bool = false); ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:325:15: warning: 'virtual bool KnownVariable::representsNonNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonNegative(bool = false); ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:326:15: warning: 'virtual bool KnownVariable::representsNonPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonPositive(bool = false); ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:327:15: warning: 'virtual bool KnownVariable::representsInteger(bool)' can be marked override [-Wsuggest-override] virtual bool representsInteger(bool = false); ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:328:15: warning: 'virtual bool KnownVariable::representsNonInteger(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonInteger(bool = false); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:329:15: warning: 'virtual bool KnownVariable::representsFraction(bool)' can be marked override [-Wsuggest-override] virtual bool representsFraction(bool = false); ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:330:15: warning: 'virtual bool KnownVariable::representsNumber(bool)' can be marked override [-Wsuggest-override] virtual bool representsNumber(bool = false); ^~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:331:15: warning: 'virtual bool KnownVariable::representsRational(bool)' can be marked override [-Wsuggest-override] virtual bool representsRational(bool = false); ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:332:15: warning: 'virtual bool KnownVariable::representsReal(bool)' can be marked override [-Wsuggest-override] virtual bool representsReal(bool = false); ^~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:333:15: warning: 'virtual bool KnownVariable::representsNonComplex(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonComplex(bool = false); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:334:15: warning: 'virtual bool KnownVariable::representsComplex(bool)' can be marked override [-Wsuggest-override] virtual bool representsComplex(bool = false); ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:335:15: warning: 'virtual bool KnownVariable::representsNonZero(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonZero(bool = false); ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:336:15: warning: 'virtual bool KnownVariable::representsEven(bool)' can be marked override [-Wsuggest-override] virtual bool representsEven(bool = false); ^~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:337:15: warning: 'virtual bool KnownVariable::representsOdd(bool)' can be marked override [-Wsuggest-override] virtual bool representsOdd(bool = false); ^~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:338:15: warning: 'virtual bool KnownVariable::representsUndefined(bool, bool, bool)' can be marked override [-Wsuggest-override] virtual bool representsUndefined(bool = false, bool = false, bool = false); ^~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:339:15: warning: 'virtual bool KnownVariable::representsBoolean()' can be marked override [-Wsuggest-override] virtual bool representsBoolean(); ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:340:15: warning: 'virtual bool KnownVariable::representsNonMatrix()' can be marked override [-Wsuggest-override] virtual bool representsNonMatrix(); ^~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:341:15: warning: 'virtual bool KnownVariable::representsScalar()' can be marked override [-Wsuggest-override] virtual bool representsScalar(); ^~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:362:18: warning: 'virtual ExpressionItem* DynamicVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const = 0; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:363:7: warning: 'virtual void DynamicVariable::set(const ExpressionItem*)' can be marked override [-Wsuggest-override] void set(const ExpressionItem *item); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:365:23: warning: 'virtual const MathStructure& DynamicVariable::get()' can be marked override [-Wsuggest-override] const MathStructure &get(); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:367:7: warning: 'virtual void DynamicVariable::set(const MathStructure&)' can be marked override [-Wsuggest-override] void set(const MathStructure &o); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:368:7: warning: 'virtual void DynamicVariable::set(std::__cxx11::string)' can be marked override [-Wsuggest-override] void set(string expression_); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:376:15: warning: 'virtual bool DynamicVariable::representsPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsPositive(bool = false) {return true;} ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:377:15: warning: 'virtual bool DynamicVariable::representsNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNegative(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:378:15: warning: 'virtual bool DynamicVariable::representsNonNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonNegative(bool = false) {return true;} ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:379:15: warning: 'virtual bool DynamicVariable::representsNonPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonPositive(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:380:15: warning: 'virtual bool DynamicVariable::representsInteger(bool)' can be marked override [-Wsuggest-override] virtual bool representsInteger(bool = false) {return false;} ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:381:15: warning: 'virtual bool DynamicVariable::representsNonInteger(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonInteger(bool = false) {return true;} ^~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:382:15: warning: 'virtual bool DynamicVariable::representsNumber(bool)' can be marked override [-Wsuggest-override] virtual bool representsNumber(bool = false) {return true;} ^~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:383:15: warning: 'virtual bool DynamicVariable::representsRational(bool)' can be marked override [-Wsuggest-override] virtual bool representsRational(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:384:15: warning: 'virtual bool DynamicVariable::representsReal(bool)' can be marked override [-Wsuggest-override] virtual bool representsReal(bool = false) {return true;} ^~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:385:15: warning: 'virtual bool DynamicVariable::representsComplex(bool)' can be marked override [-Wsuggest-override] virtual bool representsComplex(bool = false) {return false;} ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:386:15: warning: 'virtual bool DynamicVariable::representsNonZero(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonZero(bool = false) {return true;} ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:387:15: warning: 'virtual bool DynamicVariable::representsEven(bool)' can be marked override [-Wsuggest-override] virtual bool representsEven(bool = false) {return false;} ^~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:388:15: warning: 'virtual bool DynamicVariable::representsOdd(bool)' can be marked override [-Wsuggest-override] virtual bool representsOdd(bool = false) {return false;} ^~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:389:15: warning: 'virtual bool DynamicVariable::representsUndefined(bool, bool, bool)' can be marked override [-Wsuggest-override] virtual bool representsUndefined(bool = false, bool = false, bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:390:15: warning: 'virtual bool DynamicVariable::representsBoolean()' can be marked override [-Wsuggest-override] virtual bool representsBoolean() {return false;} ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:391:15: warning: 'virtual bool DynamicVariable::representsNonMatrix()' can be marked override [-Wsuggest-override] virtual bool representsNonMatrix() {return true;} ^~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:392:15: warning: 'virtual bool DynamicVariable::representsScalar()' can be marked override [-Wsuggest-override] virtual bool representsScalar() {return true;} ^~~~~~~~~~~~~~~~ In file included from /tmp/math/cantor/work/cantor-19.08.3/src/backends/qalculate/qalculateextensions.cpp:23:0: /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:22:12: warning: 'virtual void PiVariable::calculate(MathStructure&) const' can be marked override [-Wsuggest-override] void calculate(MathStructure &m) const; \ ^ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:397:1: note: in expansion of macro 'DECLARE_BUILTIN_VARIABLE' DECLARE_BUILTIN_VARIABLE(PiVariable) ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:26:23: warning: 'virtual ExpressionItem* PiVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const {return new x(this);} \ ^ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:397:1: note: in expansion of macro 'DECLARE_BUILTIN_VARIABLE' DECLARE_BUILTIN_VARIABLE(PiVariable) ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:22:12: warning: 'virtual void EVariable::calculate(MathStructure&) const' can be marked override [-Wsuggest-override] void calculate(MathStructure &m) const; \ ^ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:399:1: note: in expansion of macro 'DECLARE_BUILTIN_VARIABLE' DECLARE_BUILTIN_VARIABLE(EVariable) ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:26:23: warning: 'virtual ExpressionItem* EVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const {return new x(this);} \ ^ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:399:1: note: in expansion of macro 'DECLARE_BUILTIN_VARIABLE' DECLARE_BUILTIN_VARIABLE(EVariable) ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:22:12: warning: 'virtual void EulerVariable::calculate(MathStructure&) const' can be marked override [-Wsuggest-override] void calculate(MathStructure &m) const; \ ^ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:401:1: note: in expansion of macro 'DECLARE_BUILTIN_VARIABLE' DECLARE_BUILTIN_VARIABLE(EulerVariable) ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:26:23: warning: 'virtual ExpressionItem* EulerVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const {return new x(this);} \ ^ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:401:1: note: in expansion of macro 'DECLARE_BUILTIN_VARIABLE' DECLARE_BUILTIN_VARIABLE(EulerVariable) ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:22:12: warning: 'virtual void CatalanVariable::calculate(MathStructure&) const' can be marked override [-Wsuggest-override] void calculate(MathStructure &m) const; \ ^ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:403:1: note: in expansion of macro 'DECLARE_BUILTIN_VARIABLE' DECLARE_BUILTIN_VARIABLE(CatalanVariable) ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:26:23: warning: 'virtual ExpressionItem* CatalanVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const {return new x(this);} \ ^ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:403:1: note: in expansion of macro 'DECLARE_BUILTIN_VARIABLE' DECLARE_BUILTIN_VARIABLE(CatalanVariable) ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/cantor/work/cantor-19.08.3/src/backends/qalculate/qalculateextensions.cpp:23:0: /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:407:7: warning: 'virtual void PrecisionVariable::calculate(MathStructure&) const' can be marked override [-Wsuggest-override] void calculate(MathStructure &m) const; ^~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:411:18: warning: 'virtual ExpressionItem* PrecisionVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const {return new PrecisionVariable(this);} ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:412:7: warning: 'virtual bool PrecisionVariable::representsInteger(bool)' can be marked override [-Wsuggest-override] bool representsInteger(bool = false) {return true;} ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:413:7: warning: 'virtual bool PrecisionVariable::representsNonInteger(bool)' can be marked override [-Wsuggest-override] bool representsNonInteger(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:418:7: warning: 'virtual void TodayVariable::calculate(MathStructure&) const' can be marked override [-Wsuggest-override] void calculate(MathStructure &m) const; ^~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:422:18: warning: 'virtual ExpressionItem* TodayVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const {return new TodayVariable(this);} ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:423:15: warning: 'virtual bool TodayVariable::representsPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsPositive(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:424:15: warning: 'virtual bool TodayVariable::representsNonNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonNegative(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:425:15: warning: 'virtual bool TodayVariable::representsNonInteger(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonInteger(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:426:15: warning: 'virtual bool TodayVariable::representsNumber(bool)' can be marked override [-Wsuggest-override] virtual bool representsNumber(bool b = false) {return b;} ^~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:427:15: warning: 'virtual bool TodayVariable::representsReal(bool)' can be marked override [-Wsuggest-override] virtual bool representsReal(bool b = false) {return b;} ^~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:428:15: warning: 'virtual bool TodayVariable::representsNonZero(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonZero(bool b = false) {return b;} ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:432:7: warning: 'virtual void TomorrowVariable::calculate(MathStructure&) const' can be marked override [-Wsuggest-override] void calculate(MathStructure &m) const; ^~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:436:18: warning: 'virtual ExpressionItem* TomorrowVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const {return new TomorrowVariable(this);} ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:437:15: warning: 'virtual bool TomorrowVariable::representsPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsPositive(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:438:15: warning: 'virtual bool TomorrowVariable::representsNonNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonNegative(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:439:15: warning: 'virtual bool TomorrowVariable::representsNonInteger(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonInteger(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:440:15: warning: 'virtual bool TomorrowVariable::representsNumber(bool)' can be marked override [-Wsuggest-override] virtual bool representsNumber(bool b = false) {return b;} ^~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:441:15: warning: 'virtual bool TomorrowVariable::representsReal(bool)' can be marked override [-Wsuggest-override] virtual bool representsReal(bool b = false) {return b;} ^~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:442:15: warning: 'virtual bool TomorrowVariable::representsNonZero(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonZero(bool b = false) {return b;} ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:446:7: warning: 'virtual void YesterdayVariable::calculate(MathStructure&) const' can be marked override [-Wsuggest-override] void calculate(MathStructure &m) const; ^~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:450:18: warning: 'virtual ExpressionItem* YesterdayVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const {return new YesterdayVariable(this);} ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:451:15: warning: 'virtual bool YesterdayVariable::representsPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsPositive(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:452:15: warning: 'virtual bool YesterdayVariable::representsNonNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonNegative(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:453:15: warning: 'virtual bool YesterdayVariable::representsNonInteger(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonInteger(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:454:15: warning: 'virtual bool YesterdayVariable::representsNumber(bool)' can be marked override [-Wsuggest-override] virtual bool representsNumber(bool b = false) {return b;} ^~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:455:15: warning: 'virtual bool YesterdayVariable::representsReal(bool)' can be marked override [-Wsuggest-override] virtual bool representsReal(bool b = false) {return b;} ^~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:456:15: warning: 'virtual bool YesterdayVariable::representsNonZero(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonZero(bool b = false) {return b;} ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:460:7: warning: 'virtual void NowVariable::calculate(MathStructure&) const' can be marked override [-Wsuggest-override] void calculate(MathStructure &m) const; ^~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:464:18: warning: 'virtual ExpressionItem* NowVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const {return new NowVariable(this);} ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:465:15: warning: 'virtual bool NowVariable::representsPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsPositive(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:466:15: warning: 'virtual bool NowVariable::representsNonNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonNegative(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:467:15: warning: 'virtual bool NowVariable::representsNonInteger(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonInteger(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:468:15: warning: 'virtual bool NowVariable::representsNumber(bool)' can be marked override [-Wsuggest-override] virtual bool representsNumber(bool b = false) {return b;} ^~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:469:15: warning: 'virtual bool NowVariable::representsReal(bool)' can be marked override [-Wsuggest-override] virtual bool representsReal(bool b = false) {return b;} ^~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:470:15: warning: 'virtual bool NowVariable::representsNonZero(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonZero(bool b = false) {return b;} ^~~~~~~~~~~~~~~~~ [ 34%] Building CXX object src/lib/test/CMakeFiles/cantortest.dir/backendtest.cpp.o [ 34%] Building CXX object src/backends/qalculate/CMakeFiles/cantor_qalculatebackend.dir/qalculatecompletionobject.cpp.o [ 35%] Building CXX object src/CMakeFiles/cantor.dir/cantor_autogen/mocs_compilation.cpp.o [ 36%] Building CXX object src/backends/null/CMakeFiles/cantor_nullbackend.dir/nullexpression.cpp.o In file included from /tmp/math/cantor/work/.buildlink/include/libqalculate/Calculator.h:16:0, from /tmp/math/cantor/work/cantor-19.08.3/src/backends/qalculate/qalculatecompletionobject.cpp:23: /tmp/math/cantor/work/.buildlink/include/libqalculate/util.h:58:80: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] size_t find_ending_bracket(const string &str, size_t start, int *missing = NULL); ^ /tmp/math/cantor/work/.buildlink/include/libqalculate/util.h:106:127: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] int checkAvailableVersion(const char *version_id, const char *current_version, string *avaible_version = NULL, int timeout = 5); ^ In file included from /tmp/math/cantor/work/cantor-19.08.3/src/backends/qalculate/qalculatecompletionobject.cpp:24:0: /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:53:26: warning: 'virtual ExpressionItem* Unit::copy() const' can be marked override [-Wsuggest-override] virtual ExpressionItem *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:54:15: warning: 'virtual void Unit::set(const ExpressionItem*)' can be marked override [-Wsuggest-override] virtual void set(const ExpressionItem *item); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:106:14: warning: 'virtual int Unit::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:111:14: warning: 'virtual int Unit::subtype() const' can be marked override [-Wsuggest-override] virtual int subtype() const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:188:26: warning: 'virtual ExpressionItem* AliasUnit::copy() const' can be marked override [-Wsuggest-override] virtual ExpressionItem *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:189:15: warning: 'virtual void AliasUnit::set(const ExpressionItem*)' can be marked override [-Wsuggest-override] virtual void set(const ExpressionItem *item); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:191:16: warning: 'virtual Unit* AliasUnit::baseUnit() const' can be marked override [-Wsuggest-override] virtual Unit* baseUnit() const; ^~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:208:25: warning: 'virtual MathStructure& AliasUnit::convertToBaseUnit(MathStructure&, MathStructure&) const' can be marked override [-Wsuggest-override] virtual MathStructure &convertToBaseUnit(MathStructure &mvalue, MathStructure &mexp) const; ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:209:25: warning: 'virtual MathStructure& AliasUnit::convertFromBaseUnit(MathStructure&, MathStructure&) const' can be marked override [-Wsuggest-override] virtual MathStructure &convertFromBaseUnit(MathStructure &mvalue, MathStructure &mexp) const; ^~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:210:25: warning: 'virtual MathStructure& AliasUnit::convertToBaseUnit(MathStructure&) const' can be marked override [-Wsuggest-override] virtual MathStructure &convertToBaseUnit(MathStructure &mvalue) const; ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:211:25: warning: 'virtual MathStructure& AliasUnit::convertFromBaseUnit(MathStructure&) const' can be marked override [-Wsuggest-override] virtual MathStructure &convertFromBaseUnit(MathStructure &mvalue) const; ^~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:212:24: warning: 'virtual MathStructure AliasUnit::convertToBaseUnit() const' can be marked override [-Wsuggest-override] virtual MathStructure convertToBaseUnit() const; ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:213:24: warning: 'virtual MathStructure AliasUnit::convertFromBaseUnit() const' can be marked override [-Wsuggest-override] virtual MathStructure convertFromBaseUnit() const; ^~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:214:14: warning: 'virtual int AliasUnit::baseExponent(int) const' can be marked override [-Wsuggest-override] virtual int baseExponent(int exp = 1) const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:221:14: warning: 'virtual int AliasUnit::subtype() const' can be marked override [-Wsuggest-override] virtual int subtype() const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:222:15: warning: 'virtual bool AliasUnit::isChildOf(Unit*) const' can be marked override [-Wsuggest-override] virtual bool isChildOf(Unit *u) const; ^~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:223:15: warning: 'virtual bool AliasUnit::isParentOf(Unit*) const' can be marked override [-Wsuggest-override] virtual bool isParentOf(Unit *u) const; ^~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:225:15: warning: 'virtual bool AliasUnit::hasNonlinearRelationTo(Unit*) const' can be marked override [-Wsuggest-override] virtual bool hasNonlinearRelationTo(Unit *u) const; ^~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:227:15: warning: 'virtual bool AliasUnit::hasApproximateRelationTo(Unit*, bool, bool) const' can be marked override [-Wsuggest-override] virtual bool hasApproximateRelationTo(Unit *u, bool check_variables = false, bool ignore_high_precision_intervals = false) const; ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:228:15: warning: 'virtual bool AliasUnit::containsRelativeTo(Unit*) const' can be marked override [-Wsuggest-override] virtual bool containsRelativeTo(Unit *u) const; ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:229:15: warning: 'virtual bool AliasUnit::hasNonlinearRelationToBase() const' can be marked override [-Wsuggest-override] virtual bool hasNonlinearRelationToBase() const; ^~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:230:15: warning: 'virtual bool AliasUnit::hasApproximateRelationToBase(bool, bool) const' can be marked override [-Wsuggest-override] virtual bool hasApproximateRelationToBase(bool check_variables = false, bool ignore_high_precision_intervals = false) const; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:250:26: warning: 'virtual ExpressionItem* AliasUnit_Composite::copy() const' can be marked override [-Wsuggest-override] virtual ExpressionItem *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:251:15: warning: 'virtual void AliasUnit_Composite::set(const ExpressionItem*)' can be marked override [-Wsuggest-override] virtual void set(const ExpressionItem *item); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:253:17: warning: 'virtual std::__cxx11::string AliasUnit_Composite::print(bool, bool, bool, bool (*)(const char*, void*), void*) const' can be marked override [-Wsuggest-override] virtual string print(bool plural_, bool short_, bool use_unicode = false, bool (*can_display_unicode_string_function) (const char*, void*) = NULL, void *can_display_unicode_string_arg = NULL) const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:257:25: warning: 'virtual MathStructure& AliasUnit_Composite::convertToFirstBaseUnit(MathStructure&, MathStructure&) const' can be marked override [-Wsuggest-override] virtual MathStructure &convertToFirstBaseUnit(MathStructure &mvalue, MathStructure &mexp) const; ^~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:258:25: warning: 'virtual MathStructure& AliasUnit_Composite::convertFromFirstBaseUnit(MathStructure&, MathStructure&) const' can be marked override [-Wsuggest-override] virtual MathStructure &convertFromFirstBaseUnit(MathStructure &mvalue, MathStructure &mexp) const; ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:287:27: warning: 'virtual ExpressionItem* CompositeUnit::copy() const' can be marked override [-Wsuggest-override] virtual ExpressionItem *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:288:16: warning: 'virtual void CompositeUnit::set(const ExpressionItem*)' can be marked override [-Wsuggest-override] virtual void set(const ExpressionItem *item); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:313:18: warning: 'virtual std::__cxx11::string CompositeUnit::print(bool, bool, bool, bool (*)(const char*, void*), void*) const' can be marked override [-Wsuggest-override] virtual string print(bool plural_, bool short_, bool use_unicode = false, bool (*can_display_unicode_string_function) (const char*, void*) = NULL, void *can_display_unicode_string_arg = NULL) const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:314:15: warning: 'virtual int CompositeUnit::subtype() const' can be marked override [-Wsuggest-override] virtual int subtype() const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:317:16: warning: 'virtual bool CompositeUnit::containsRelativeTo(Unit*) const' can be marked override [-Wsuggest-override] virtual bool containsRelativeTo(Unit *u) const; ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:318:16: warning: 'virtual bool CompositeUnit::hasNonlinearRelationToBase() const' can be marked override [-Wsuggest-override] virtual bool hasNonlinearRelationToBase() const; ^~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:319:16: warning: 'virtual bool CompositeUnit::hasApproximateRelationToBase(bool, bool) const' can be marked override [-Wsuggest-override] virtual bool hasApproximateRelationToBase(bool check_variables = false, bool ignore_high_precision_intervals = false) const; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/cantor/work/cantor-19.08.3/src/backends/qalculate/qalculatecompletionobject.cpp:25:0: /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:130:26: warning: 'virtual ExpressionItem* Variable::copy() const' can be marked override [-Wsuggest-override] virtual ExpressionItem *copy() const = 0; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:131:15: warning: 'virtual void Variable::set(const ExpressionItem*)' can be marked override [-Wsuggest-override] virtual void set(const ExpressionItem *item); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:132:14: warning: 'virtual int Variable::type() const' can be marked override [-Wsuggest-override] virtual int type() const {return TYPE_VARIABLE;} ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:137:14: warning: 'virtual int Variable::subtype() const' can be marked override [-Wsuggest-override] virtual int subtype() const {return SUBTYPE_VARIABLE;} ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:199:26: warning: 'virtual ExpressionItem* UnknownVariable::copy() const' can be marked override [-Wsuggest-override] virtual ExpressionItem *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:200:15: warning: 'virtual void UnknownVariable::set(const ExpressionItem*)' can be marked override [-Wsuggest-override] virtual void set(const ExpressionItem *item); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:201:7: warning: 'virtual bool UnknownVariable::isKnown() const' can be marked override [-Wsuggest-override] bool isKnown() const {return false;} ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:218:14: warning: 'virtual int UnknownVariable::subtype() const' can be marked override [-Wsuggest-override] virtual int subtype() const {return SUBTYPE_UNKNOWN_VARIABLE;} ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:220:15: warning: 'virtual bool UnknownVariable::representsPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsPositive(bool = false); ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:221:15: warning: 'virtual bool UnknownVariable::representsNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNegative(bool = false); ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:222:15: warning: 'virtual bool UnknownVariable::representsNonNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonNegative(bool = false); ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:223:15: warning: 'virtual bool UnknownVariable::representsNonPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonPositive(bool = false); ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:224:15: warning: 'virtual bool UnknownVariable::representsInteger(bool)' can be marked override [-Wsuggest-override] virtual bool representsInteger(bool = false); ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:225:15: warning: 'virtual bool UnknownVariable::representsNumber(bool)' can be marked override [-Wsuggest-override] virtual bool representsNumber(bool = false); ^~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:226:15: warning: 'virtual bool UnknownVariable::representsRational(bool)' can be marked override [-Wsuggest-override] virtual bool representsRational(bool = false); ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:227:15: warning: 'virtual bool UnknownVariable::representsReal(bool)' can be marked override [-Wsuggest-override] virtual bool representsReal(bool = false); ^~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:228:15: warning: 'virtual bool UnknownVariable::representsNonComplex(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonComplex(bool = false); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:229:15: warning: 'virtual bool UnknownVariable::representsComplex(bool)' can be marked override [-Wsuggest-override] virtual bool representsComplex(bool = false); ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:230:15: warning: 'virtual bool UnknownVariable::representsNonZero(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonZero(bool = false); ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:231:15: warning: 'virtual bool UnknownVariable::representsNonMatrix()' can be marked override [-Wsuggest-override] virtual bool representsNonMatrix(); ^~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:232:15: warning: 'virtual bool UnknownVariable::representsScalar()' can be marked override [-Wsuggest-override] virtual bool representsScalar(); ^~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:286:26: warning: 'virtual ExpressionItem* KnownVariable::copy() const' can be marked override [-Wsuggest-override] virtual ExpressionItem *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:287:15: warning: 'virtual void KnownVariable::set(const ExpressionItem*)' can be marked override [-Wsuggest-override] virtual void set(const ExpressionItem *item); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:288:7: warning: 'virtual bool KnownVariable::isKnown() const' can be marked override [-Wsuggest-override] bool isKnown() const {return true;} ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:302:6: warning: 'virtual int KnownVariable::subtype() const' can be marked override [-Wsuggest-override] int subtype() const {return SUBTYPE_KNOWN_VARIABLE;} ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:323:15: warning: 'virtual bool KnownVariable::representsPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsPositive(bool = false); ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:324:15: warning: 'virtual bool KnownVariable::representsNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNegative(bool = false); ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:325:15: warning: 'virtual bool KnownVariable::representsNonNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonNegative(bool = false); ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:326:15: warning: 'virtual bool KnownVariable::representsNonPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonPositive(bool = false); ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:327:15: warning: 'virtual bool KnownVariable::representsInteger(bool)' can be marked override [-Wsuggest-override] virtual bool representsInteger(bool = false); ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:328:15: warning: 'virtual bool KnownVariable::representsNonInteger(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonInteger(bool = false); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:329:15: warning: 'virtual bool KnownVariable::representsFraction(bool)' can be marked override [-Wsuggest-override] virtual bool representsFraction(bool = false); ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:330:15: warning: 'virtual bool KnownVariable::representsNumber(bool)' can be marked override [-Wsuggest-override] virtual bool representsNumber(bool = false); ^~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:331:15: warning: 'virtual bool KnownVariable::representsRational(bool)' can be marked override [-Wsuggest-override] virtual bool representsRational(bool = false); ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:332:15: warning: 'virtual bool KnownVariable::representsReal(bool)' can be marked override [-Wsuggest-override] virtual bool representsReal(bool = false); ^~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:333:15: warning: 'virtual bool KnownVariable::representsNonComplex(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonComplex(bool = false); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:334:15: warning: 'virtual bool KnownVariable::representsComplex(bool)' can be marked override [-Wsuggest-override] virtual bool representsComplex(bool = false); ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:335:15: warning: 'virtual bool KnownVariable::representsNonZero(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonZero(bool = false); ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:336:15: warning: 'virtual bool KnownVariable::representsEven(bool)' can be marked override [-Wsuggest-override] virtual bool representsEven(bool = false); ^~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:337:15: warning: 'virtual bool KnownVariable::representsOdd(bool)' can be marked override [-Wsuggest-override] virtual bool representsOdd(bool = false); ^~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:338:15: warning: 'virtual bool KnownVariable::representsUndefined(bool, bool, bool)' can be marked override [-Wsuggest-override] virtual bool representsUndefined(bool = false, bool = false, bool = false); ^~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:339:15: warning: 'virtual bool KnownVariable::representsBoolean()' can be marked override [-Wsuggest-override] virtual bool representsBoolean(); ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:340:15: warning: 'virtual bool KnownVariable::representsNonMatrix()' can be marked override [-Wsuggest-override] virtual bool representsNonMatrix(); ^~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:341:15: warning: 'virtual bool KnownVariable::representsScalar()' can be marked override [-Wsuggest-override] virtual bool representsScalar(); ^~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:362:18: warning: 'virtual ExpressionItem* DynamicVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const = 0; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:363:7: warning: 'virtual void DynamicVariable::set(const ExpressionItem*)' can be marked override [-Wsuggest-override] void set(const ExpressionItem *item); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:365:23: warning: 'virtual const MathStructure& DynamicVariable::get()' can be marked override [-Wsuggest-override] const MathStructure &get(); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:367:7: warning: 'virtual void DynamicVariable::set(const MathStructure&)' can be marked override [-Wsuggest-override] void set(const MathStructure &o); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:368:7: warning: 'virtual void DynamicVariable::set(std::__cxx11::string)' can be marked override [-Wsuggest-override] void set(string expression_); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:376:15: warning: 'virtual bool DynamicVariable::representsPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsPositive(bool = false) {return true;} ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:377:15: warning: 'virtual bool DynamicVariable::representsNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNegative(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:378:15: warning: 'virtual bool DynamicVariable::representsNonNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonNegative(bool = false) {return true;} ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:379:15: warning: 'virtual bool DynamicVariable::representsNonPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonPositive(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:380:15: warning: 'virtual bool DynamicVariable::representsInteger(bool)' can be marked override [-Wsuggest-override] virtual bool representsInteger(bool = false) {return false;} ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:381:15: warning: 'virtual bool DynamicVariable::representsNonInteger(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonInteger(bool = false) {return true;} ^~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:382:15: warning: 'virtual bool DynamicVariable::representsNumber(bool)' can be marked override [-Wsuggest-override] virtual bool representsNumber(bool = false) {return true;} ^~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:383:15: warning: 'virtual bool DynamicVariable::representsRational(bool)' can be marked override [-Wsuggest-override] virtual bool representsRational(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:384:15: warning: 'virtual bool DynamicVariable::representsReal(bool)' can be marked override [-Wsuggest-override] virtual bool representsReal(bool = false) {return true;} ^~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:385:15: warning: 'virtual bool DynamicVariable::representsComplex(bool)' can be marked override [-Wsuggest-override] virtual bool representsComplex(bool = false) {return false;} ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:386:15: warning: 'virtual bool DynamicVariable::representsNonZero(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonZero(bool = false) {return true;} ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:387:15: warning: 'virtual bool DynamicVariable::representsEven(bool)' can be marked override [-Wsuggest-override] virtual bool representsEven(bool = false) {return false;} ^~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:388:15: warning: 'virtual bool DynamicVariable::representsOdd(bool)' can be marked override [-Wsuggest-override] virtual bool representsOdd(bool = false) {return false;} ^~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:389:15: warning: 'virtual bool DynamicVariable::representsUndefined(bool, bool, bool)' can be marked override [-Wsuggest-override] virtual bool representsUndefined(bool = false, bool = false, bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:390:15: warning: 'virtual bool DynamicVariable::representsBoolean()' can be marked override [-Wsuggest-override] virtual bool representsBoolean() {return false;} ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:391:15: warning: 'virtual bool DynamicVariable::representsNonMatrix()' can be marked override [-Wsuggest-override] virtual bool representsNonMatrix() {return true;} ^~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:392:15: warning: 'virtual bool DynamicVariable::representsScalar()' can be marked override [-Wsuggest-override] virtual bool representsScalar() {return true;} ^~~~~~~~~~~~~~~~ In file included from /tmp/math/cantor/work/cantor-19.08.3/src/backends/qalculate/qalculatecompletionobject.cpp:25:0: /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:22:12: warning: 'virtual void PiVariable::calculate(MathStructure&) const' can be marked override [-Wsuggest-override] void calculate(MathStructure &m) const; \ ^ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:397:1: note: in expansion of macro 'DECLARE_BUILTIN_VARIABLE' DECLARE_BUILTIN_VARIABLE(PiVariable) ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:26:23: warning: 'virtual ExpressionItem* PiVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const {return new x(this);} \ ^ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:397:1: note: in expansion of macro 'DECLARE_BUILTIN_VARIABLE' DECLARE_BUILTIN_VARIABLE(PiVariable) ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:22:12: warning: 'virtual void EVariable::calculate(MathStructure&) const' can be marked override [-Wsuggest-override] void calculate(MathStructure &m) const; \ ^ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:399:1: note: in expansion of macro 'DECLARE_BUILTIN_VARIABLE' DECLARE_BUILTIN_VARIABLE(EVariable) ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:26:23: warning: 'virtual ExpressionItem* EVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const {return new x(this);} \ ^ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:399:1: note: in expansion of macro 'DECLARE_BUILTIN_VARIABLE' DECLARE_BUILTIN_VARIABLE(EVariable) ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:22:12: warning: 'virtual void EulerVariable::calculate(MathStructure&) const' can be marked override [-Wsuggest-override] void calculate(MathStructure &m) const; \ ^ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:401:1: note: in expansion of macro 'DECLARE_BUILTIN_VARIABLE' DECLARE_BUILTIN_VARIABLE(EulerVariable) ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:26:23: warning: 'virtual ExpressionItem* EulerVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const {return new x(this);} \ ^ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:401:1: note: in expansion of macro 'DECLARE_BUILTIN_VARIABLE' DECLARE_BUILTIN_VARIABLE(EulerVariable) ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:22:12: warning: 'virtual void CatalanVariable::calculate(MathStructure&) const' can be marked override [-Wsuggest-override] void calculate(MathStructure &m) const; \ ^ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:403:1: note: in expansion of macro 'DECLARE_BUILTIN_VARIABLE' DECLARE_BUILTIN_VARIABLE(CatalanVariable) ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:26:23: warning: 'virtual ExpressionItem* CatalanVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const {return new x(this);} \ ^ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:403:1: note: in expansion of macro 'DECLARE_BUILTIN_VARIABLE' DECLARE_BUILTIN_VARIABLE(CatalanVariable) ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/cantor/work/cantor-19.08.3/src/backends/qalculate/qalculatecompletionobject.cpp:25:0: /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:407:7: warning: 'virtual void PrecisionVariable::calculate(MathStructure&) const' can be marked override [-Wsuggest-override] void calculate(MathStructure &m) const; ^~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:411:18: warning: 'virtual ExpressionItem* PrecisionVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const {return new PrecisionVariable(this);} ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:412:7: warning: 'virtual bool PrecisionVariable::representsInteger(bool)' can be marked override [-Wsuggest-override] bool representsInteger(bool = false) {return true;} ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:413:7: warning: 'virtual bool PrecisionVariable::representsNonInteger(bool)' can be marked override [-Wsuggest-override] bool representsNonInteger(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:418:7: warning: 'virtual void TodayVariable::calculate(MathStructure&) const' can be marked override [-Wsuggest-override] void calculate(MathStructure &m) const; ^~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:422:18: warning: 'virtual ExpressionItem* TodayVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const {return new TodayVariable(this);} ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:423:15: warning: 'virtual bool TodayVariable::representsPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsPositive(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:424:15: warning: 'virtual bool TodayVariable::representsNonNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonNegative(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:425:15: warning: 'virtual bool TodayVariable::representsNonInteger(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonInteger(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:426:15: warning: 'virtual bool TodayVariable::representsNumber(bool)' can be marked override [-Wsuggest-override] virtual bool representsNumber(bool b = false) {return b;} ^~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:427:15: warning: 'virtual bool TodayVariable::representsReal(bool)' can be marked override [-Wsuggest-override] virtual bool representsReal(bool b = false) {return b;} ^~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:428:15: warning: 'virtual bool TodayVariable::representsNonZero(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonZero(bool b = false) {return b;} ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:432:7: warning: 'virtual void TomorrowVariable::calculate(MathStructure&) const' can be marked override [-Wsuggest-override] void calculate(MathStructure &m) const; ^~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:436:18: warning: 'virtual ExpressionItem* TomorrowVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const {return new TomorrowVariable(this);} ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:437:15: warning: 'virtual bool TomorrowVariable::representsPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsPositive(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:438:15: warning: 'virtual bool TomorrowVariable::representsNonNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonNegative(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:439:15: warning: 'virtual bool TomorrowVariable::representsNonInteger(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonInteger(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:440:15: warning: 'virtual bool TomorrowVariable::representsNumber(bool)' can be marked override [-Wsuggest-override] virtual bool representsNumber(bool b = false) {return b;} ^~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:441:15: warning: 'virtual bool TomorrowVariable::representsReal(bool)' can be marked override [-Wsuggest-override] virtual bool representsReal(bool b = false) {return b;} ^~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:442:15: warning: 'virtual bool TomorrowVariable::representsNonZero(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonZero(bool b = false) {return b;} ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:446:7: warning: 'virtual void YesterdayVariable::calculate(MathStructure&) const' can be marked override [-Wsuggest-override] void calculate(MathStructure &m) const; ^~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:450:18: warning: 'virtual ExpressionItem* YesterdayVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const {return new YesterdayVariable(this);} ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:451:15: warning: 'virtual bool YesterdayVariable::representsPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsPositive(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:452:15: warning: 'virtual bool YesterdayVariable::representsNonNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonNegative(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:453:15: warning: 'virtual bool YesterdayVariable::representsNonInteger(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonInteger(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:454:15: warning: 'virtual bool YesterdayVariable::representsNumber(bool)' can be marked override [-Wsuggest-override] virtual bool representsNumber(bool b = false) {return b;} ^~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:455:15: warning: 'virtual bool YesterdayVariable::representsReal(bool)' can be marked override [-Wsuggest-override] virtual bool representsReal(bool b = false) {return b;} ^~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:456:15: warning: 'virtual bool YesterdayVariable::representsNonZero(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonZero(bool b = false) {return b;} ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:460:7: warning: 'virtual void NowVariable::calculate(MathStructure&) const' can be marked override [-Wsuggest-override] void calculate(MathStructure &m) const; ^~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:464:18: warning: 'virtual ExpressionItem* NowVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const {return new NowVariable(this);} ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:465:15: warning: 'virtual bool NowVariable::representsPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsPositive(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:466:15: warning: 'virtual bool NowVariable::representsNonNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonNegative(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:467:15: warning: 'virtual bool NowVariable::representsNonInteger(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonInteger(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:468:15: warning: 'virtual bool NowVariable::representsNumber(bool)' can be marked override [-Wsuggest-override] virtual bool representsNumber(bool b = false) {return b;} ^~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:469:15: warning: 'virtual bool NowVariable::representsReal(bool)' can be marked override [-Wsuggest-override] virtual bool representsReal(bool b = false) {return b;} ^~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:470:15: warning: 'virtual bool NowVariable::representsNonZero(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonZero(bool b = false) {return b;} ^~~~~~~~~~~~~~~~~ In file included from /tmp/math/cantor/work/cantor-19.08.3/src/backends/qalculate/qalculatecompletionobject.cpp:26:0: /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:92:26: warning: 'virtual ExpressionItem* MathFunction::copy() const' can be marked override [-Wsuggest-override] virtual ExpressionItem *copy() const = 0; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:93:15: warning: 'virtual void MathFunction::set(const ExpressionItem*)' can be marked override [-Wsuggest-override] virtual void set(const ExpressionItem *item); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:94:14: warning: 'virtual int MathFunction::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:99:14: warning: 'virtual int MathFunction::subtype() const' can be marked override [-Wsuggest-override] virtual int subtype() const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:242:7: warning: 'virtual void UserFunction::set(const ExpressionItem*)' can be marked override [-Wsuggest-override] void set(const ExpressionItem *item); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:243:18: warning: 'virtual ExpressionItem* UserFunction::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:248:6: warning: 'virtual int UserFunction::calculate(MathStructure&, const MathStructure&, const EvaluationOptions&)' can be marked override [-Wsuggest-override] int calculate(MathStructure &mstruct, const MathStructure &vargs, const EvaluationOptions &eo); ^~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:269:6: warning: 'virtual int UserFunction::subtype() const' can be marked override [-Wsuggest-override] int subtype() const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:108:24: warning: 'virtual MathStructure MathFunction::calculate(MathStructure&, const EvaluationOptions&)' was hidden [-Woverloaded-virtual] virtual MathStructure calculate(MathStructure &vargs, const EvaluationOptions &eo = default_evaluation_options); ^~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:248:6: warning: by 'virtual int UserFunction::calculate(MathStructure&, const MathStructure&, const EvaluationOptions&)' [-Woverloaded-virtual] int calculate(MathStructure &mstruct, const MathStructure &vargs, const EvaluationOptions &eo); ^~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:105:24: warning: 'virtual MathStructure MathFunction::calculate(const string&, const EvaluationOptions&)' was hidden [-Woverloaded-virtual] virtual MathStructure calculate(const string &eq, const EvaluationOptions &eo = default_evaluation_options); ^~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:248:6: warning: by 'virtual int UserFunction::calculate(MathStructure&, const MathStructure&, const EvaluationOptions&)' [-Woverloaded-virtual] int calculate(MathStructure &mstruct, const MathStructure &vargs, const EvaluationOptions &eo); ^~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:452:15: warning: 'virtual bool NumberArgument::subtest(MathStructure&, const EvaluationOptions&) const' can be marked override [-Wsuggest-override] virtual bool subtest(MathStructure &value, const EvaluationOptions &eo) const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:453:17: warning: 'virtual std::__cxx11::string NumberArgument::subprintlong() const' can be marked override [-Wsuggest-override] virtual string subprintlong() const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:461:15: warning: 'virtual void NumberArgument::set(const Argument*)' can be marked override [-Wsuggest-override] virtual void set(const Argument *arg); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:462:20: warning: 'virtual Argument* NumberArgument::copy() const' can be marked override [-Wsuggest-override] virtual Argument *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:464:17: warning: 'virtual std::__cxx11::string NumberArgument::print() const' can be marked override [-Wsuggest-override] virtual string print() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:480:14: warning: 'virtual int NumberArgument::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:496:15: warning: 'virtual bool IntegerArgument::subtest(MathStructure&, const EvaluationOptions&) const' can be marked override [-Wsuggest-override] virtual bool subtest(MathStructure &value, const EvaluationOptions &eo) const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:497:17: warning: 'virtual std::__cxx11::string IntegerArgument::subprintlong() const' can be marked override [-Wsuggest-override] virtual string subprintlong() const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:508:15: warning: 'virtual void IntegerArgument::set(const Argument*)' can be marked override [-Wsuggest-override] virtual void set(const Argument *arg); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:509:20: warning: 'virtual Argument* IntegerArgument::copy() const' can be marked override [-Wsuggest-override] virtual Argument *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:511:17: warning: 'virtual std::__cxx11::string IntegerArgument::print() const' can be marked override [-Wsuggest-override] virtual string print() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:518:14: warning: 'virtual int IntegerArgument::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:529:17: warning: 'virtual bool SymbolicArgument::subtest(MathStructure&, const EvaluationOptions&) const' can be marked override [-Wsuggest-override] virtual bool subtest(MathStructure &value, const EvaluationOptions &eo) const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:530:17: warning: 'virtual std::__cxx11::string SymbolicArgument::subprintlong() const' can be marked override [-Wsuggest-override] virtual string subprintlong() const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:537:14: warning: 'virtual int SymbolicArgument::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:538:20: warning: 'virtual Argument* SymbolicArgument::copy() const' can be marked override [-Wsuggest-override] virtual Argument *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:539:17: warning: 'virtual std::__cxx11::string SymbolicArgument::print() const' can be marked override [-Wsuggest-override] virtual string print() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:549:15: warning: 'virtual bool TextArgument::subtest(MathStructure&, const EvaluationOptions&) const' can be marked override [-Wsuggest-override] virtual bool subtest(MathStructure &value, const EvaluationOptions &eo) const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:550:17: warning: 'virtual std::__cxx11::string TextArgument::subprintlong() const' can be marked override [-Wsuggest-override] virtual string subprintlong() const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:557:14: warning: 'virtual int TextArgument::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:558:20: warning: 'virtual Argument* TextArgument::copy() const' can be marked override [-Wsuggest-override] virtual Argument *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:559:17: warning: 'virtual std::__cxx11::string TextArgument::print() const' can be marked override [-Wsuggest-override] virtual string print() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:560:15: warning: 'virtual bool TextArgument::suggestsQuotes() const' can be marked override [-Wsuggest-override] virtual bool suggestsQuotes() const; ^~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:570:15: warning: 'virtual bool DateArgument::subtest(MathStructure&, const EvaluationOptions&) const' can be marked override [-Wsuggest-override] virtual bool subtest(MathStructure &value, const EvaluationOptions &eo) const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:571:17: warning: 'virtual std::__cxx11::string DateArgument::subprintlong() const' can be marked override [-Wsuggest-override] virtual string subprintlong() const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:578:15: warning: 'virtual void DateArgument::parse(MathStructure*, const string&, const ParseOptions&) const' can be marked override [-Wsuggest-override] virtual void parse(MathStructure *mstruct, const string &str, const ParseOptions &po = default_parse_options) const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:579:14: warning: 'virtual int DateArgument::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:580:20: warning: 'virtual Argument* DateArgument::copy() const' can be marked override [-Wsuggest-override] virtual Argument *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:581:17: warning: 'virtual std::__cxx11::string DateArgument::print() const' can be marked override [-Wsuggest-override] virtual string print() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:354:24: warning: 'virtual MathStructure Argument::parse(const string&, const ParseOptions&) const' was hidden [-Woverloaded-virtual] virtual MathStructure parse(const string &str, const ParseOptions &po = default_parse_options) const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:578:15: warning: by 'virtual void DateArgument::parse(MathStructure*, const string&, const ParseOptions&) const' [-Woverloaded-virtual] virtual void parse(MathStructure *mstruct, const string &str, const ParseOptions &po = default_parse_options) const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:591:15: warning: 'virtual bool VectorArgument::subtest(MathStructure&, const EvaluationOptions&) const' can be marked override [-Wsuggest-override] virtual bool subtest(MathStructure &value, const EvaluationOptions &eo) const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:592:17: warning: 'virtual std::__cxx11::string VectorArgument::subprintlong() const' can be marked override [-Wsuggest-override] virtual string subprintlong() const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:601:14: warning: 'virtual int VectorArgument::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:602:20: warning: 'virtual Argument* VectorArgument::copy() const' can be marked override [-Wsuggest-override] virtual Argument *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:603:17: warning: 'virtual std::__cxx11::string VectorArgument::print() const' can be marked override [-Wsuggest-override] virtual string print() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:620:15: warning: 'virtual bool MatrixArgument::subtest(MathStructure&, const EvaluationOptions&) const' can be marked override [-Wsuggest-override] virtual bool subtest(MathStructure &value, const EvaluationOptions &eo) const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:621:17: warning: 'virtual std::__cxx11::string MatrixArgument::subprintlong() const' can be marked override [-Wsuggest-override] virtual string subprintlong() const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:631:14: warning: 'virtual int MatrixArgument::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:632:20: warning: 'virtual Argument* MatrixArgument::copy() const' can be marked override [-Wsuggest-override] virtual Argument *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:633:17: warning: 'virtual std::__cxx11::string MatrixArgument::print() const' can be marked override [-Wsuggest-override] virtual string print() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:643:15: warning: 'virtual bool ExpressionItemArgument::subtest(MathStructure&, const EvaluationOptions&) const' can be marked override [-Wsuggest-override] virtual bool subtest(MathStructure &value, const EvaluationOptions &eo) const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:644:17: warning: 'virtual std::__cxx11::string ExpressionItemArgument::subprintlong() const' can be marked override [-Wsuggest-override] virtual string subprintlong() const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:651:14: warning: 'virtual int ExpressionItemArgument::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:652:20: warning: 'virtual Argument* ExpressionItemArgument::copy() const' can be marked override [-Wsuggest-override] virtual Argument *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:653:17: warning: 'virtual std::__cxx11::string ExpressionItemArgument::print() const' can be marked override [-Wsuggest-override] virtual string print() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:662:15: warning: 'virtual bool FunctionArgument::subtest(MathStructure&, const EvaluationOptions&) const' can be marked override [-Wsuggest-override] virtual bool subtest(MathStructure &value, const EvaluationOptions &eo) const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:663:17: warning: 'virtual std::__cxx11::string FunctionArgument::subprintlong() const' can be marked override [-Wsuggest-override] virtual string subprintlong() const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:670:14: warning: 'virtual int FunctionArgument::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:671:20: warning: 'virtual Argument* FunctionArgument::copy() const' can be marked override [-Wsuggest-override] virtual Argument *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:672:17: warning: 'virtual std::__cxx11::string FunctionArgument::print() const' can be marked override [-Wsuggest-override] virtual string print() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:682:15: warning: 'virtual bool BooleanArgument::subtest(MathStructure&, const EvaluationOptions&) const' can be marked override [-Wsuggest-override] virtual bool subtest(MathStructure &value, const EvaluationOptions &eo) const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:683:17: warning: 'virtual std::__cxx11::string BooleanArgument::subprintlong() const' can be marked override [-Wsuggest-override] virtual string subprintlong() const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:690:14: warning: 'virtual int BooleanArgument::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:691:20: warning: 'virtual Argument* BooleanArgument::copy() const' can be marked override [-Wsuggest-override] virtual Argument *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:692:17: warning: 'virtual std::__cxx11::string BooleanArgument::print() const' can be marked override [-Wsuggest-override] virtual string print() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:699:15: warning: 'virtual bool UnitArgument::subtest(MathStructure&, const EvaluationOptions&) const' can be marked override [-Wsuggest-override] virtual bool subtest(MathStructure &value, const EvaluationOptions &eo) const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:700:17: warning: 'virtual std::__cxx11::string UnitArgument::subprintlong() const' can be marked override [-Wsuggest-override] virtual string subprintlong() const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:707:14: warning: 'virtual int UnitArgument::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:708:20: warning: 'virtual Argument* UnitArgument::copy() const' can be marked override [-Wsuggest-override] virtual Argument *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:709:17: warning: 'virtual std::__cxx11::string UnitArgument::print() const' can be marked override [-Wsuggest-override] virtual string print() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:715:15: warning: 'virtual bool AngleArgument::subtest(MathStructure&, const EvaluationOptions&) const' can be marked override [-Wsuggest-override] virtual bool subtest(MathStructure &value, const EvaluationOptions &eo) const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:716:17: warning: 'virtual std::__cxx11::string AngleArgument::subprintlong() const' can be marked override [-Wsuggest-override] virtual string subprintlong() const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:723:14: warning: 'virtual int AngleArgument::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:724:20: warning: 'virtual Argument* AngleArgument::copy() const' can be marked override [-Wsuggest-override] virtual Argument *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:725:17: warning: 'virtual std::__cxx11::string AngleArgument::print() const' can be marked override [-Wsuggest-override] virtual string print() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:726:15: warning: 'virtual void AngleArgument::parse(MathStructure*, const string&, const ParseOptions&) const' can be marked override [-Wsuggest-override] virtual void parse(MathStructure *mstruct, const string &str, const ParseOptions &po = default_parse_options) const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:354:24: warning: 'virtual MathStructure Argument::parse(const string&, const ParseOptions&) const' was hidden [-Woverloaded-virtual] virtual MathStructure parse(const string &str, const ParseOptions &po = default_parse_options) const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:726:15: warning: by 'virtual void AngleArgument::parse(MathStructure*, const string&, const ParseOptions&) const' [-Woverloaded-virtual] virtual void parse(MathStructure *mstruct, const string &str, const ParseOptions &po = default_parse_options) const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:732:15: warning: 'virtual bool VariableArgument::subtest(MathStructure&, const EvaluationOptions&) const' can be marked override [-Wsuggest-override] virtual bool subtest(MathStructure &value, const EvaluationOptions &eo) const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:733:17: warning: 'virtual std::__cxx11::string VariableArgument::subprintlong() const' can be marked override [-Wsuggest-override] virtual string subprintlong() const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:740:14: warning: 'virtual int VariableArgument::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:741:20: warning: 'virtual Argument* VariableArgument::copy() const' can be marked override [-Wsuggest-override] virtual Argument *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:742:17: warning: 'virtual std::__cxx11::string VariableArgument::print() const' can be marked override [-Wsuggest-override] virtual string print() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:748:15: warning: 'virtual bool FileArgument::subtest(MathStructure&, const EvaluationOptions&) const' can be marked override [-Wsuggest-override] virtual bool subtest(MathStructure &value, const EvaluationOptions &eo) const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:749:17: warning: 'virtual std::__cxx11::string FileArgument::subprintlong() const' can be marked override [-Wsuggest-override] virtual string subprintlong() const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:756:14: warning: 'virtual int FileArgument::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:757:20: warning: 'virtual Argument* FileArgument::copy() const' can be marked override [-Wsuggest-override] virtual Argument *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:758:17: warning: 'virtual std::__cxx11::string FileArgument::print() const' can be marked override [-Wsuggest-override] virtual string print() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:768:15: warning: 'virtual bool ArgumentSet::subtest(MathStructure&, const EvaluationOptions&) const' can be marked override [-Wsuggest-override] virtual bool subtest(MathStructure &value, const EvaluationOptions &eo) const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:769:17: warning: 'virtual std::__cxx11::string ArgumentSet::subprintlong() const' can be marked override [-Wsuggest-override] virtual string subprintlong() const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:777:14: warning: 'virtual int ArgumentSet::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:778:20: warning: 'virtual Argument* ArgumentSet::copy() const' can be marked override [-Wsuggest-override] virtual Argument *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:779:17: warning: 'virtual std::__cxx11::string ArgumentSet::print() const' can be marked override [-Wsuggest-override] virtual string print() const; ^~~~~ [ 37%] Building CXX object src/backends/qalculate/CMakeFiles/cantor_qalculatebackend.dir/qalculateexpression.cpp.o [ 37%] Building CXX object src/backends/null/CMakeFiles/cantor_nullbackend.dir/nullcompletionobject.cpp.o [ 37%] Building CXX object src/CMakeFiles/cantor.dir/cantor.cpp.o [ 37%] Linking CXX shared library libcantortest.so [ 37%] Linking CXX shared module cantor_nullbackend.so In file included from /tmp/math/cantor/work/.buildlink/include/libqalculate/Calculator.h:16:0, from /tmp/math/cantor/work/cantor-19.08.3/src/backends/qalculate/qalculateexpression.h:25, from /tmp/math/cantor/work/cantor-19.08.3/src/backends/qalculate/qalculateexpression.cpp:29: /tmp/math/cantor/work/.buildlink/include/libqalculate/util.h:58:80: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] size_t find_ending_bracket(const string &str, size_t start, int *missing = NULL); ^ /tmp/math/cantor/work/.buildlink/include/libqalculate/util.h:106:127: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] int checkAvailableVersion(const char *version_id, const char *current_version, string *avaible_version = NULL, int timeout = 5); ^ In file included from /tmp/math/cantor/work/cantor-19.08.3/src/backends/qalculate/qalculatesession.h:29:0, from /tmp/math/cantor/work/cantor-19.08.3/src/backends/qalculate/qalculateexpression.cpp:30: /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:130:26: warning: 'virtual ExpressionItem* Variable::copy() const' can be marked override [-Wsuggest-override] virtual ExpressionItem *copy() const = 0; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:131:15: warning: 'virtual void Variable::set(const ExpressionItem*)' can be marked override [-Wsuggest-override] virtual void set(const ExpressionItem *item); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:132:14: warning: 'virtual int Variable::type() const' can be marked override [-Wsuggest-override] virtual int type() const {return TYPE_VARIABLE;} ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:137:14: warning: 'virtual int Variable::subtype() const' can be marked override [-Wsuggest-override] virtual int subtype() const {return SUBTYPE_VARIABLE;} ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:199:26: warning: 'virtual ExpressionItem* UnknownVariable::copy() const' can be marked override [-Wsuggest-override] virtual ExpressionItem *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:200:15: warning: 'virtual void UnknownVariable::set(const ExpressionItem*)' can be marked override [-Wsuggest-override] virtual void set(const ExpressionItem *item); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:201:7: warning: 'virtual bool UnknownVariable::isKnown() const' can be marked override [-Wsuggest-override] bool isKnown() const {return false;} ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:218:14: warning: 'virtual int UnknownVariable::subtype() const' can be marked override [-Wsuggest-override] virtual int subtype() const {return SUBTYPE_UNKNOWN_VARIABLE;} ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:220:15: warning: 'virtual bool UnknownVariable::representsPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsPositive(bool = false); ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:221:15: warning: 'virtual bool UnknownVariable::representsNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNegative(bool = false); ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:222:15: warning: 'virtual bool UnknownVariable::representsNonNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonNegative(bool = false); ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:223:15: warning: 'virtual bool UnknownVariable::representsNonPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonPositive(bool = false); ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:224:15: warning: 'virtual bool UnknownVariable::representsInteger(bool)' can be marked override [-Wsuggest-override] virtual bool representsInteger(bool = false); ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:225:15: warning: 'virtual bool UnknownVariable::representsNumber(bool)' can be marked override [-Wsuggest-override] virtual bool representsNumber(bool = false); ^~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:226:15: warning: 'virtual bool UnknownVariable::representsRational(bool)' can be marked override [-Wsuggest-override] virtual bool representsRational(bool = false); ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:227:15: warning: 'virtual bool UnknownVariable::representsReal(bool)' can be marked override [-Wsuggest-override] virtual bool representsReal(bool = false); ^~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:228:15: warning: 'virtual bool UnknownVariable::representsNonComplex(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonComplex(bool = false); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:229:15: warning: 'virtual bool UnknownVariable::representsComplex(bool)' can be marked override [-Wsuggest-override] virtual bool representsComplex(bool = false); ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:230:15: warning: 'virtual bool UnknownVariable::representsNonZero(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonZero(bool = false); ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:231:15: warning: 'virtual bool UnknownVariable::representsNonMatrix()' can be marked override [-Wsuggest-override] virtual bool representsNonMatrix(); ^~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:232:15: warning: 'virtual bool UnknownVariable::representsScalar()' can be marked override [-Wsuggest-override] virtual bool representsScalar(); ^~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:286:26: warning: 'virtual ExpressionItem* KnownVariable::copy() const' can be marked override [-Wsuggest-override] virtual ExpressionItem *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:287:15: warning: 'virtual void KnownVariable::set(const ExpressionItem*)' can be marked override [-Wsuggest-override] virtual void set(const ExpressionItem *item); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:288:7: warning: 'virtual bool KnownVariable::isKnown() const' can be marked override [-Wsuggest-override] bool isKnown() const {return true;} ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:302:6: warning: 'virtual int KnownVariable::subtype() const' can be marked override [-Wsuggest-override] int subtype() const {return SUBTYPE_KNOWN_VARIABLE;} ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:323:15: warning: 'virtual bool KnownVariable::representsPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsPositive(bool = false); ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:324:15: warning: 'virtual bool KnownVariable::representsNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNegative(bool = false); ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:325:15: warning: 'virtual bool KnownVariable::representsNonNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonNegative(bool = false); ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:326:15: warning: 'virtual bool KnownVariable::representsNonPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonPositive(bool = false); ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:327:15: warning: 'virtual bool KnownVariable::representsInteger(bool)' can be marked override [-Wsuggest-override] virtual bool representsInteger(bool = false); ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:328:15: warning: 'virtual bool KnownVariable::representsNonInteger(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonInteger(bool = false); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:329:15: warning: 'virtual bool KnownVariable::representsFraction(bool)' can be marked override [-Wsuggest-override] virtual bool representsFraction(bool = false); ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:330:15: warning: 'virtual bool KnownVariable::representsNumber(bool)' can be marked override [-Wsuggest-override] virtual bool representsNumber(bool = false); ^~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:331:15: warning: 'virtual bool KnownVariable::representsRational(bool)' can be marked override [-Wsuggest-override] virtual bool representsRational(bool = false); ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:332:15: warning: 'virtual bool KnownVariable::representsReal(bool)' can be marked override [-Wsuggest-override] virtual bool representsReal(bool = false); ^~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:333:15: warning: 'virtual bool KnownVariable::representsNonComplex(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonComplex(bool = false); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:334:15: warning: 'virtual bool KnownVariable::representsComplex(bool)' can be marked override [-Wsuggest-override] virtual bool representsComplex(bool = false); ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:335:15: warning: 'virtual bool KnownVariable::representsNonZero(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonZero(bool = false); ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:336:15: warning: 'virtual bool KnownVariable::representsEven(bool)' can be marked override [-Wsuggest-override] virtual bool representsEven(bool = false); ^~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:337:15: warning: 'virtual bool KnownVariable::representsOdd(bool)' can be marked override [-Wsuggest-override] virtual bool representsOdd(bool = false); ^~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:338:15: warning: 'virtual bool KnownVariable::representsUndefined(bool, bool, bool)' can be marked override [-Wsuggest-override] virtual bool representsUndefined(bool = false, bool = false, bool = false); ^~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:339:15: warning: 'virtual bool KnownVariable::representsBoolean()' can be marked override [-Wsuggest-override] virtual bool representsBoolean(); ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:340:15: warning: 'virtual bool KnownVariable::representsNonMatrix()' can be marked override [-Wsuggest-override] virtual bool representsNonMatrix(); ^~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:341:15: warning: 'virtual bool KnownVariable::representsScalar()' can be marked override [-Wsuggest-override] virtual bool representsScalar(); ^~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:362:18: warning: 'virtual ExpressionItem* DynamicVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const = 0; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:363:7: warning: 'virtual void DynamicVariable::set(const ExpressionItem*)' can be marked override [-Wsuggest-override] void set(const ExpressionItem *item); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:365:23: warning: 'virtual const MathStructure& DynamicVariable::get()' can be marked override [-Wsuggest-override] const MathStructure &get(); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:367:7: warning: 'virtual void DynamicVariable::set(const MathStructure&)' can be marked override [-Wsuggest-override] void set(const MathStructure &o); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:368:7: warning: 'virtual void DynamicVariable::set(std::__cxx11::string)' can be marked override [-Wsuggest-override] void set(string expression_); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:376:15: warning: 'virtual bool DynamicVariable::representsPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsPositive(bool = false) {return true;} ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:377:15: warning: 'virtual bool DynamicVariable::representsNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNegative(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:378:15: warning: 'virtual bool DynamicVariable::representsNonNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonNegative(bool = false) {return true;} ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:379:15: warning: 'virtual bool DynamicVariable::representsNonPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonPositive(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:380:15: warning: 'virtual bool DynamicVariable::representsInteger(bool)' can be marked override [-Wsuggest-override] virtual bool representsInteger(bool = false) {return false;} ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:381:15: warning: 'virtual bool DynamicVariable::representsNonInteger(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonInteger(bool = false) {return true;} ^~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:382:15: warning: 'virtual bool DynamicVariable::representsNumber(bool)' can be marked override [-Wsuggest-override] virtual bool representsNumber(bool = false) {return true;} ^~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:383:15: warning: 'virtual bool DynamicVariable::representsRational(bool)' can be marked override [-Wsuggest-override] virtual bool representsRational(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:384:15: warning: 'virtual bool DynamicVariable::representsReal(bool)' can be marked override [-Wsuggest-override] virtual bool representsReal(bool = false) {return true;} ^~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:385:15: warning: 'virtual bool DynamicVariable::representsComplex(bool)' can be marked override [-Wsuggest-override] virtual bool representsComplex(bool = false) {return false;} ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:386:15: warning: 'virtual bool DynamicVariable::representsNonZero(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonZero(bool = false) {return true;} ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:387:15: warning: 'virtual bool DynamicVariable::representsEven(bool)' can be marked override [-Wsuggest-override] virtual bool representsEven(bool = false) {return false;} ^~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:388:15: warning: 'virtual bool DynamicVariable::representsOdd(bool)' can be marked override [-Wsuggest-override] virtual bool representsOdd(bool = false) {return false;} ^~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:389:15: warning: 'virtual bool DynamicVariable::representsUndefined(bool, bool, bool)' can be marked override [-Wsuggest-override] virtual bool representsUndefined(bool = false, bool = false, bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:390:15: warning: 'virtual bool DynamicVariable::representsBoolean()' can be marked override [-Wsuggest-override] virtual bool representsBoolean() {return false;} ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:391:15: warning: 'virtual bool DynamicVariable::representsNonMatrix()' can be marked override [-Wsuggest-override] virtual bool representsNonMatrix() {return true;} ^~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:392:15: warning: 'virtual bool DynamicVariable::representsScalar()' can be marked override [-Wsuggest-override] virtual bool representsScalar() {return true;} ^~~~~~~~~~~~~~~~ In file included from /tmp/math/cantor/work/cantor-19.08.3/src/backends/qalculate/qalculatesession.h:29:0, from /tmp/math/cantor/work/cantor-19.08.3/src/backends/qalculate/qalculateexpression.cpp:30: /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:22:12: warning: 'virtual void PiVariable::calculate(MathStructure&) const' can be marked override [-Wsuggest-override] void calculate(MathStructure &m) const; \ ^ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:397:1: note: in expansion of macro 'DECLARE_BUILTIN_VARIABLE' DECLARE_BUILTIN_VARIABLE(PiVariable) ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:26:23: warning: 'virtual ExpressionItem* PiVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const {return new x(this);} \ ^ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:397:1: note: in expansion of macro 'DECLARE_BUILTIN_VARIABLE' DECLARE_BUILTIN_VARIABLE(PiVariable) ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:22:12: warning: 'virtual void EVariable::calculate(MathStructure&) const' can be marked override [-Wsuggest-override] void calculate(MathStructure &m) const; \ ^ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:399:1: note: in expansion of macro 'DECLARE_BUILTIN_VARIABLE' DECLARE_BUILTIN_VARIABLE(EVariable) ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:26:23: warning: 'virtual ExpressionItem* EVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const {return new x(this);} \ ^ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:399:1: note: in expansion of macro 'DECLARE_BUILTIN_VARIABLE' DECLARE_BUILTIN_VARIABLE(EVariable) ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:22:12: warning: 'virtual void EulerVariable::calculate(MathStructure&) const' can be marked override [-Wsuggest-override] void calculate(MathStructure &m) const; \ ^ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:401:1: note: in expansion of macro 'DECLARE_BUILTIN_VARIABLE' DECLARE_BUILTIN_VARIABLE(EulerVariable) ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:26:23: warning: 'virtual ExpressionItem* EulerVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const {return new x(this);} \ ^ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:401:1: note: in expansion of macro 'DECLARE_BUILTIN_VARIABLE' DECLARE_BUILTIN_VARIABLE(EulerVariable) ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:22:12: warning: 'virtual void CatalanVariable::calculate(MathStructure&) const' can be marked override [-Wsuggest-override] void calculate(MathStructure &m) const; \ ^ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:403:1: note: in expansion of macro 'DECLARE_BUILTIN_VARIABLE' DECLARE_BUILTIN_VARIABLE(CatalanVariable) ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:26:23: warning: 'virtual ExpressionItem* CatalanVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const {return new x(this);} \ ^ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:403:1: note: in expansion of macro 'DECLARE_BUILTIN_VARIABLE' DECLARE_BUILTIN_VARIABLE(CatalanVariable) ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/cantor/work/cantor-19.08.3/src/backends/qalculate/qalculatesession.h:29:0, from /tmp/math/cantor/work/cantor-19.08.3/src/backends/qalculate/qalculateexpression.cpp:30: /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:407:7: warning: 'virtual void PrecisionVariable::calculate(MathStructure&) const' can be marked override [-Wsuggest-override] void calculate(MathStructure &m) const; ^~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:411:18: warning: 'virtual ExpressionItem* PrecisionVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const {return new PrecisionVariable(this);} ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:412:7: warning: 'virtual bool PrecisionVariable::representsInteger(bool)' can be marked override [-Wsuggest-override] bool representsInteger(bool = false) {return true;} ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:413:7: warning: 'virtual bool PrecisionVariable::representsNonInteger(bool)' can be marked override [-Wsuggest-override] bool representsNonInteger(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:418:7: warning: 'virtual void TodayVariable::calculate(MathStructure&) const' can be marked override [-Wsuggest-override] void calculate(MathStructure &m) const; ^~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:422:18: warning: 'virtual ExpressionItem* TodayVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const {return new TodayVariable(this);} ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:423:15: warning: 'virtual bool TodayVariable::representsPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsPositive(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:424:15: warning: 'virtual bool TodayVariable::representsNonNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonNegative(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:425:15: warning: 'virtual bool TodayVariable::representsNonInteger(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonInteger(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:426:15: warning: 'virtual bool TodayVariable::representsNumber(bool)' can be marked override [-Wsuggest-override] virtual bool representsNumber(bool b = false) {return b;} ^~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:427:15: warning: 'virtual bool TodayVariable::representsReal(bool)' can be marked override [-Wsuggest-override] virtual bool representsReal(bool b = false) {return b;} ^~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:428:15: warning: 'virtual bool TodayVariable::representsNonZero(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonZero(bool b = false) {return b;} ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:432:7: warning: 'virtual void TomorrowVariable::calculate(MathStructure&) const' can be marked override [-Wsuggest-override] void calculate(MathStructure &m) const; ^~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:436:18: warning: 'virtual ExpressionItem* TomorrowVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const {return new TomorrowVariable(this);} ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:437:15: warning: 'virtual bool TomorrowVariable::representsPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsPositive(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:438:15: warning: 'virtual bool TomorrowVariable::representsNonNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonNegative(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:439:15: warning: 'virtual bool TomorrowVariable::representsNonInteger(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonInteger(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:440:15: warning: 'virtual bool TomorrowVariable::representsNumber(bool)' can be marked override [-Wsuggest-override] virtual bool representsNumber(bool b = false) {return b;} ^~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:441:15: warning: 'virtual bool TomorrowVariable::representsReal(bool)' can be marked override [-Wsuggest-override] virtual bool representsReal(bool b = false) {return b;} ^~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:442:15: warning: 'virtual bool TomorrowVariable::representsNonZero(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonZero(bool b = false) {return b;} ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:446:7: warning: 'virtual void YesterdayVariable::calculate(MathStructure&) const' can be marked override [-Wsuggest-override] void calculate(MathStructure &m) const; ^~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:450:18: warning: 'virtual ExpressionItem* YesterdayVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const {return new YesterdayVariable(this);} ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:451:15: warning: 'virtual bool YesterdayVariable::representsPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsPositive(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:452:15: warning: 'virtual bool YesterdayVariable::representsNonNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonNegative(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:453:15: warning: 'virtual bool YesterdayVariable::representsNonInteger(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonInteger(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:454:15: warning: 'virtual bool YesterdayVariable::representsNumber(bool)' can be marked override [-Wsuggest-override] virtual bool representsNumber(bool b = false) {return b;} ^~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:455:15: warning: 'virtual bool YesterdayVariable::representsReal(bool)' can be marked override [-Wsuggest-override] virtual bool representsReal(bool b = false) {return b;} ^~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:456:15: warning: 'virtual bool YesterdayVariable::representsNonZero(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonZero(bool b = false) {return b;} ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:460:7: warning: 'virtual void NowVariable::calculate(MathStructure&) const' can be marked override [-Wsuggest-override] void calculate(MathStructure &m) const; ^~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:464:18: warning: 'virtual ExpressionItem* NowVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const {return new NowVariable(this);} ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:465:15: warning: 'virtual bool NowVariable::representsPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsPositive(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:466:15: warning: 'virtual bool NowVariable::representsNonNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonNegative(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:467:15: warning: 'virtual bool NowVariable::representsNonInteger(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonInteger(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:468:15: warning: 'virtual bool NowVariable::representsNumber(bool)' can be marked override [-Wsuggest-override] virtual bool representsNumber(bool b = false) {return b;} ^~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:469:15: warning: 'virtual bool NowVariable::representsReal(bool)' can be marked override [-Wsuggest-override] virtual bool representsReal(bool b = false) {return b;} ^~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:470:15: warning: 'virtual bool NowVariable::representsNonZero(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonZero(bool b = false) {return b;} ^~~~~~~~~~~~~~~~~ In file included from /tmp/math/cantor/work/cantor-19.08.3/src/backends/qalculate/qalculateexpression.cpp:35:0: /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:53:26: warning: 'virtual ExpressionItem* Unit::copy() const' can be marked override [-Wsuggest-override] virtual ExpressionItem *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:54:15: warning: 'virtual void Unit::set(const ExpressionItem*)' can be marked override [-Wsuggest-override] virtual void set(const ExpressionItem *item); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:106:14: warning: 'virtual int Unit::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:111:14: warning: 'virtual int Unit::subtype() const' can be marked override [-Wsuggest-override] virtual int subtype() const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:188:26: warning: 'virtual ExpressionItem* AliasUnit::copy() const' can be marked override [-Wsuggest-override] virtual ExpressionItem *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:189:15: warning: 'virtual void AliasUnit::set(const ExpressionItem*)' can be marked override [-Wsuggest-override] virtual void set(const ExpressionItem *item); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:191:16: warning: 'virtual Unit* AliasUnit::baseUnit() const' can be marked override [-Wsuggest-override] virtual Unit* baseUnit() const; ^~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:208:25: warning: 'virtual MathStructure& AliasUnit::convertToBaseUnit(MathStructure&, MathStructure&) const' can be marked override [-Wsuggest-override] virtual MathStructure &convertToBaseUnit(MathStructure &mvalue, MathStructure &mexp) const; ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:209:25: warning: 'virtual MathStructure& AliasUnit::convertFromBaseUnit(MathStructure&, MathStructure&) const' can be marked override [-Wsuggest-override] virtual MathStructure &convertFromBaseUnit(MathStructure &mvalue, MathStructure &mexp) const; ^~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:210:25: warning: 'virtual MathStructure& AliasUnit::convertToBaseUnit(MathStructure&) const' can be marked override [-Wsuggest-override] virtual MathStructure &convertToBaseUnit(MathStructure &mvalue) const; ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:211:25: warning: 'virtual MathStructure& AliasUnit::convertFromBaseUnit(MathStructure&) const' can be marked override [-Wsuggest-override] virtual MathStructure &convertFromBaseUnit(MathStructure &mvalue) const; ^~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:212:24: warning: 'virtual MathStructure AliasUnit::convertToBaseUnit() const' can be marked override [-Wsuggest-override] virtual MathStructure convertToBaseUnit() const; ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:213:24: warning: 'virtual MathStructure AliasUnit::convertFromBaseUnit() const' can be marked override [-Wsuggest-override] virtual MathStructure convertFromBaseUnit() const; ^~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:214:14: warning: 'virtual int AliasUnit::baseExponent(int) const' can be marked override [-Wsuggest-override] virtual int baseExponent(int exp = 1) const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:221:14: warning: 'virtual int AliasUnit::subtype() const' can be marked override [-Wsuggest-override] virtual int subtype() const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:222:15: warning: 'virtual bool AliasUnit::isChildOf(Unit*) const' can be marked override [-Wsuggest-override] virtual bool isChildOf(Unit *u) const; ^~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:223:15: warning: 'virtual bool AliasUnit::isParentOf(Unit*) const' can be marked override [-Wsuggest-override] virtual bool isParentOf(Unit *u) const; ^~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:225:15: warning: 'virtual bool AliasUnit::hasNonlinearRelationTo(Unit*) const' can be marked override [-Wsuggest-override] virtual bool hasNonlinearRelationTo(Unit *u) const; ^~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:227:15: warning: 'virtual bool AliasUnit::hasApproximateRelationTo(Unit*, bool, bool) const' can be marked override [-Wsuggest-override] virtual bool hasApproximateRelationTo(Unit *u, bool check_variables = false, bool ignore_high_precision_intervals = false) const; ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:228:15: warning: 'virtual bool AliasUnit::containsRelativeTo(Unit*) const' can be marked override [-Wsuggest-override] virtual bool containsRelativeTo(Unit *u) const; ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:229:15: warning: 'virtual bool AliasUnit::hasNonlinearRelationToBase() const' can be marked override [-Wsuggest-override] virtual bool hasNonlinearRelationToBase() const; ^~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:230:15: warning: 'virtual bool AliasUnit::hasApproximateRelationToBase(bool, bool) const' can be marked override [-Wsuggest-override] virtual bool hasApproximateRelationToBase(bool check_variables = false, bool ignore_high_precision_intervals = false) const; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_peername(), which is deprecated and buggy. ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_domainname(), which is deprecated and buggy. /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:250:26: warning: 'virtual ExpressionItem* AliasUnit_Composite::copy() const' can be marked override [-Wsuggest-override] virtual ExpressionItem *copy() const; ^~~~ ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_mapname(), which is deprecated and buggy. /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:251:15: warning: 'virtual void AliasUnit_Composite::set(const ExpressionItem*)' can be marked override [-Wsuggest-override] virtual void set(const ExpressionItem *item); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:253:17: warning: 'virtual std::__cxx11::string AliasUnit_Composite::print(bool, bool, bool, bool (*)(const char*, void*), void*) const' can be marked override [-Wsuggest-override] virtual string print(bool plural_, bool short_, bool use_unicode = false, bool (*can_display_unicode_string_function) (const char*, void*) = NULL, void *can_display_unicode_string_arg = NULL) const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:257:25: warning: 'virtual MathStructure& AliasUnit_Composite::convertToFirstBaseUnit(MathStructure&, MathStructure&) const' can be marked override [-Wsuggest-override] virtual MathStructure &convertToFirstBaseUnit(MathStructure &mvalue, MathStructure &mexp) const; ^~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:258:25: warning: 'virtual MathStructure& AliasUnit_Composite::convertFromFirstBaseUnit(MathStructure&, MathStructure&) const' can be marked override [-Wsuggest-override] virtual MathStructure &convertFromFirstBaseUnit(MathStructure &mvalue, MathStructure &mexp) const; ^~~~~~~~~~~~~~~~~~~~~~~~ ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_peername(), which is deprecated and buggy. ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_domainname(), which is deprecated and buggy. ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_mapname(), which is deprecated and buggy. /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:287:27: warning: 'virtual ExpressionItem* CompositeUnit::copy() const' can be marked override [-Wsuggest-override] virtual ExpressionItem *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:288:16: warning: 'virtual void CompositeUnit::set(const ExpressionItem*)' can be marked override [-Wsuggest-override] virtual void set(const ExpressionItem *item); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:313:18: warning: 'virtual std::__cxx11::string CompositeUnit::print(bool, bool, bool, bool (*)(const char*, void*), void*) const' can be marked override [-Wsuggest-override] virtual string print(bool plural_, bool short_, bool use_unicode = false, bool (*can_display_unicode_string_function) (const char*, void*) = NULL, void *can_display_unicode_string_arg = NULL) const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:314:15: warning: 'virtual int CompositeUnit::subtype() const' can be marked override [-Wsuggest-override] virtual int subtype() const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:317:16: warning: 'virtual bool CompositeUnit::containsRelativeTo(Unit*) const' can be marked override [-Wsuggest-override] virtual bool containsRelativeTo(Unit *u) const; ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:318:16: warning: 'virtual bool CompositeUnit::hasNonlinearRelationToBase() const' can be marked override [-Wsuggest-override] virtual bool hasNonlinearRelationToBase() const; ^~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:319:16: warning: 'virtual bool CompositeUnit::hasApproximateRelationToBase(bool, bool) const' can be marked override [-Wsuggest-override] virtual bool hasApproximateRelationToBase(bool check_variables = false, bool ignore_high_precision_intervals = false) const; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/cantor/work/cantor-19.08.3/src/backends/qalculate/qalculateexpression.cpp:36:0: /tmp/math/cantor/work/.buildlink/include/libqalculate/Prefix.h:147:9: warning: 'virtual Number DecimalPrefix::value(const Number&) const' can be marked override [-Wsuggest-override] Number value(const Number &nexp) const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Prefix.h:148:9: warning: 'virtual Number DecimalPrefix::value(int) const' can be marked override [-Wsuggest-override] Number value(int iexp) const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Prefix.h:149:9: warning: 'virtual Number DecimalPrefix::value() const' can be marked override [-Wsuggest-override] Number value() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Prefix.h:150:6: warning: 'virtual int DecimalPrefix::type() const' can be marked override [-Wsuggest-override] int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Prefix.h:186:9: warning: 'virtual Number BinaryPrefix::value(const Number&) const' can be marked override [-Wsuggest-override] Number value(const Number &nexp) const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Prefix.h:187:9: warning: 'virtual Number BinaryPrefix::value(int) const' can be marked override [-Wsuggest-override] Number value(int iexp) const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Prefix.h:188:9: warning: 'virtual Number BinaryPrefix::value() const' can be marked override [-Wsuggest-override] Number value() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Prefix.h:189:6: warning: 'virtual int BinaryPrefix::type() const' can be marked override [-Wsuggest-override] int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Prefix.h:213:9: warning: 'virtual Number NumberPrefix::value(const Number&) const' can be marked override [-Wsuggest-override] Number value(const Number &nexp) const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Prefix.h:214:9: warning: 'virtual Number NumberPrefix::value(int) const' can be marked override [-Wsuggest-override] Number value(int iexp) const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Prefix.h:215:9: warning: 'virtual Number NumberPrefix::value() const' can be marked override [-Wsuggest-override] Number value() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Prefix.h:216:6: warning: 'virtual int NumberPrefix::type() const' can be marked override [-Wsuggest-override] int type() const; ^~~~ In file included from /tmp/math/cantor/work/cantor-19.08.3/src/backends/qalculate/qalculateexpression.cpp:38:0: /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:92:26: warning: 'virtual ExpressionItem* MathFunction::copy() const' can be marked override [-Wsuggest-override] virtual ExpressionItem *copy() const = 0; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:93:15: warning: 'virtual void MathFunction::set(const ExpressionItem*)' can be marked override [-Wsuggest-override] virtual void set(const ExpressionItem *item); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:94:14: warning: 'virtual int MathFunction::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:99:14: warning: 'virtual int MathFunction::subtype() const' can be marked override [-Wsuggest-override] virtual int subtype() const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:242:7: warning: 'virtual void UserFunction::set(const ExpressionItem*)' can be marked override [-Wsuggest-override] void set(const ExpressionItem *item); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:243:18: warning: 'virtual ExpressionItem* UserFunction::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:248:6: warning: 'virtual int UserFunction::calculate(MathStructure&, const MathStructure&, const EvaluationOptions&)' can be marked override [-Wsuggest-override] int calculate(MathStructure &mstruct, const MathStructure &vargs, const EvaluationOptions &eo); ^~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:269:6: warning: 'virtual int UserFunction::subtype() const' can be marked override [-Wsuggest-override] int subtype() const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:108:24: warning: 'virtual MathStructure MathFunction::calculate(MathStructure&, const EvaluationOptions&)' was hidden [-Woverloaded-virtual] virtual MathStructure calculate(MathStructure &vargs, const EvaluationOptions &eo = default_evaluation_options); ^~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:248:6: warning: by 'virtual int UserFunction::calculate(MathStructure&, const MathStructure&, const EvaluationOptions&)' [-Woverloaded-virtual] int calculate(MathStructure &mstruct, const MathStructure &vargs, const EvaluationOptions &eo); ^~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:105:24: warning: 'virtual MathStructure MathFunction::calculate(const string&, const EvaluationOptions&)' was hidden [-Woverloaded-virtual] virtual MathStructure calculate(const string &eq, const EvaluationOptions &eo = default_evaluation_options); ^~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:248:6: warning: by 'virtual int UserFunction::calculate(MathStructure&, const MathStructure&, const EvaluationOptions&)' [-Woverloaded-virtual] int calculate(MathStructure &mstruct, const MathStructure &vargs, const EvaluationOptions &eo); ^~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:452:15: warning: 'virtual bool NumberArgument::subtest(MathStructure&, const EvaluationOptions&) const' can be marked override [-Wsuggest-override] virtual bool subtest(MathStructure &value, const EvaluationOptions &eo) const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:453:17: warning: 'virtual std::__cxx11::string NumberArgument::subprintlong() const' can be marked override [-Wsuggest-override] virtual string subprintlong() const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:461:15: warning: 'virtual void NumberArgument::set(const Argument*)' can be marked override [-Wsuggest-override] virtual void set(const Argument *arg); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:462:20: warning: 'virtual Argument* NumberArgument::copy() const' can be marked override [-Wsuggest-override] virtual Argument *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:464:17: warning: 'virtual std::__cxx11::string NumberArgument::print() const' can be marked override [-Wsuggest-override] virtual string print() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:480:14: warning: 'virtual int NumberArgument::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:496:15: warning: 'virtual bool IntegerArgument::subtest(MathStructure&, const EvaluationOptions&) const' can be marked override [-Wsuggest-override] virtual bool subtest(MathStructure &value, const EvaluationOptions &eo) const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:497:17: warning: 'virtual std::__cxx11::string IntegerArgument::subprintlong() const' can be marked override [-Wsuggest-override] virtual string subprintlong() const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:508:15: warning: 'virtual void IntegerArgument::set(const Argument*)' can be marked override [-Wsuggest-override] virtual void set(const Argument *arg); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:509:20: warning: 'virtual Argument* IntegerArgument::copy() const' can be marked override [-Wsuggest-override] virtual Argument *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:511:17: warning: 'virtual std::__cxx11::string IntegerArgument::print() const' can be marked override [-Wsuggest-override] virtual string print() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:518:14: warning: 'virtual int IntegerArgument::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:529:17: warning: 'virtual bool SymbolicArgument::subtest(MathStructure&, const EvaluationOptions&) const' can be marked override [-Wsuggest-override] virtual bool subtest(MathStructure &value, const EvaluationOptions &eo) const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:530:17: warning: 'virtual std::__cxx11::string SymbolicArgument::subprintlong() const' can be marked override [-Wsuggest-override] virtual string subprintlong() const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:537:14: warning: 'virtual int SymbolicArgument::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:538:20: warning: 'virtual Argument* SymbolicArgument::copy() const' can be marked override [-Wsuggest-override] virtual Argument *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:539:17: warning: 'virtual std::__cxx11::string SymbolicArgument::print() const' can be marked override [-Wsuggest-override] virtual string print() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:549:15: warning: 'virtual bool TextArgument::subtest(MathStructure&, const EvaluationOptions&) const' can be marked override [-Wsuggest-override] virtual bool subtest(MathStructure &value, const EvaluationOptions &eo) const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:550:17: warning: 'virtual std::__cxx11::string TextArgument::subprintlong() const' can be marked override [-Wsuggest-override] virtual string subprintlong() const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:557:14: warning: 'virtual int TextArgument::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:558:20: warning: 'virtual Argument* TextArgument::copy() const' can be marked override [-Wsuggest-override] virtual Argument *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:559:17: warning: 'virtual std::__cxx11::string TextArgument::print() const' can be marked override [-Wsuggest-override] virtual string print() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:560:15: warning: 'virtual bool TextArgument::suggestsQuotes() const' can be marked override [-Wsuggest-override] virtual bool suggestsQuotes() const; ^~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:570:15: warning: 'virtual bool DateArgument::subtest(MathStructure&, const EvaluationOptions&) const' can be marked override [-Wsuggest-override] virtual bool subtest(MathStructure &value, const EvaluationOptions &eo) const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:571:17: warning: 'virtual std::__cxx11::string DateArgument::subprintlong() const' can be marked override [-Wsuggest-override] virtual string subprintlong() const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:578:15: warning: 'virtual void DateArgument::parse(MathStructure*, const string&, const ParseOptions&) const' can be marked override [-Wsuggest-override] virtual void parse(MathStructure *mstruct, const string &str, const ParseOptions &po = default_parse_options) const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:579:14: warning: 'virtual int DateArgument::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:580:20: warning: 'virtual Argument* DateArgument::copy() const' can be marked override [-Wsuggest-override] virtual Argument *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:581:17: warning: 'virtual std::__cxx11::string DateArgument::print() const' can be marked override [-Wsuggest-override] virtual string print() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:354:24: warning: 'virtual MathStructure Argument::parse(const string&, const ParseOptions&) const' was hidden [-Woverloaded-virtual] virtual MathStructure parse(const string &str, const ParseOptions &po = default_parse_options) const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:578:15: warning: by 'virtual void DateArgument::parse(MathStructure*, const string&, const ParseOptions&) const' [-Woverloaded-virtual] virtual void parse(MathStructure *mstruct, const string &str, const ParseOptions &po = default_parse_options) const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:591:15: warning: 'virtual bool VectorArgument::subtest(MathStructure&, const EvaluationOptions&) const' can be marked override [-Wsuggest-override] virtual bool subtest(MathStructure &value, const EvaluationOptions &eo) const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:592:17: warning: 'virtual std::__cxx11::string VectorArgument::subprintlong() const' can be marked override [-Wsuggest-override] virtual string subprintlong() const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:601:14: warning: 'virtual int VectorArgument::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:602:20: warning: 'virtual Argument* VectorArgument::copy() const' can be marked override [-Wsuggest-override] virtual Argument *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:603:17: warning: 'virtual std::__cxx11::string VectorArgument::print() const' can be marked override [-Wsuggest-override] virtual string print() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:620:15: warning: 'virtual bool MatrixArgument::subtest(MathStructure&, const EvaluationOptions&) const' can be marked override [-Wsuggest-override] virtual bool subtest(MathStructure &value, const EvaluationOptions &eo) const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:621:17: warning: 'virtual std::__cxx11::string MatrixArgument::subprintlong() const' can be marked override [-Wsuggest-override] virtual string subprintlong() const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:631:14: warning: 'virtual int MatrixArgument::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:632:20: warning: 'virtual Argument* MatrixArgument::copy() const' can be marked override [-Wsuggest-override] virtual Argument *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:633:17: warning: 'virtual std::__cxx11::string MatrixArgument::print() const' can be marked override [-Wsuggest-override] virtual string print() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:643:15: warning: 'virtual bool ExpressionItemArgument::subtest(MathStructure&, const EvaluationOptions&) const' can be marked override [-Wsuggest-override] virtual bool subtest(MathStructure &value, const EvaluationOptions &eo) const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:644:17: warning: 'virtual std::__cxx11::string ExpressionItemArgument::subprintlong() const' can be marked override [-Wsuggest-override] virtual string subprintlong() const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:651:14: warning: 'virtual int ExpressionItemArgument::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:652:20: warning: 'virtual Argument* ExpressionItemArgument::copy() const' can be marked override [-Wsuggest-override] virtual Argument *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:653:17: warning: 'virtual std::__cxx11::string ExpressionItemArgument::print() const' can be marked override [-Wsuggest-override] virtual string print() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:662:15: warning: 'virtual bool FunctionArgument::subtest(MathStructure&, const EvaluationOptions&) const' can be marked override [-Wsuggest-override] virtual bool subtest(MathStructure &value, const EvaluationOptions &eo) const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:663:17: warning: 'virtual std::__cxx11::string FunctionArgument::subprintlong() const' can be marked override [-Wsuggest-override] virtual string subprintlong() const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:670:14: warning: 'virtual int FunctionArgument::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:671:20: warning: 'virtual Argument* FunctionArgument::copy() const' can be marked override [-Wsuggest-override] virtual Argument *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:672:17: warning: 'virtual std::__cxx11::string FunctionArgument::print() const' can be marked override [-Wsuggest-override] virtual string print() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:682:15: warning: 'virtual bool BooleanArgument::subtest(MathStructure&, const EvaluationOptions&) const' can be marked override [-Wsuggest-override] virtual bool subtest(MathStructure &value, const EvaluationOptions &eo) const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:683:17: warning: 'virtual std::__cxx11::string BooleanArgument::subprintlong() const' can be marked override [-Wsuggest-override] virtual string subprintlong() const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:690:14: warning: 'virtual int BooleanArgument::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:691:20: warning: 'virtual Argument* BooleanArgument::copy() const' can be marked override [-Wsuggest-override] virtual Argument *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:692:17: warning: 'virtual std::__cxx11::string BooleanArgument::print() const' can be marked override [-Wsuggest-override] virtual string print() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:699:15: warning: 'virtual bool UnitArgument::subtest(MathStructure&, const EvaluationOptions&) const' can be marked override [-Wsuggest-override] virtual bool subtest(MathStructure &value, const EvaluationOptions &eo) const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:700:17: warning: 'virtual std::__cxx11::string UnitArgument::subprintlong() const' can be marked override [-Wsuggest-override] virtual string subprintlong() const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:707:14: warning: 'virtual int UnitArgument::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:708:20: warning: 'virtual Argument* UnitArgument::copy() const' can be marked override [-Wsuggest-override] virtual Argument *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:709:17: warning: 'virtual std::__cxx11::string UnitArgument::print() const' can be marked override [-Wsuggest-override] virtual string print() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:715:15: warning: 'virtual bool AngleArgument::subtest(MathStructure&, const EvaluationOptions&) const' can be marked override [-Wsuggest-override] virtual bool subtest(MathStructure &value, const EvaluationOptions &eo) const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:716:17: warning: 'virtual std::__cxx11::string AngleArgument::subprintlong() const' can be marked override [-Wsuggest-override] virtual string subprintlong() const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:723:14: warning: 'virtual int AngleArgument::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:724:20: warning: 'virtual Argument* AngleArgument::copy() const' can be marked override [-Wsuggest-override] virtual Argument *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:725:17: warning: 'virtual std::__cxx11::string AngleArgument::print() const' can be marked override [-Wsuggest-override] virtual string print() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:726:15: warning: 'virtual void AngleArgument::parse(MathStructure*, const string&, const ParseOptions&) const' can be marked override [-Wsuggest-override] virtual void parse(MathStructure *mstruct, const string &str, const ParseOptions &po = default_parse_options) const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:354:24: warning: 'virtual MathStructure Argument::parse(const string&, const ParseOptions&) const' was hidden [-Woverloaded-virtual] virtual MathStructure parse(const string &str, const ParseOptions &po = default_parse_options) const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:726:15: warning: by 'virtual void AngleArgument::parse(MathStructure*, const string&, const ParseOptions&) const' [-Woverloaded-virtual] virtual void parse(MathStructure *mstruct, const string &str, const ParseOptions &po = default_parse_options) const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:732:15: warning: 'virtual bool VariableArgument::subtest(MathStructure&, const EvaluationOptions&) const' can be marked override [-Wsuggest-override] virtual bool subtest(MathStructure &value, const EvaluationOptions &eo) const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:733:17: warning: 'virtual std::__cxx11::string VariableArgument::subprintlong() const' can be marked override [-Wsuggest-override] virtual string subprintlong() const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:740:14: warning: 'virtual int VariableArgument::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:741:20: warning: 'virtual Argument* VariableArgument::copy() const' can be marked override [-Wsuggest-override] virtual Argument *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:742:17: warning: 'virtual std::__cxx11::string VariableArgument::print() const' can be marked override [-Wsuggest-override] virtual string print() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:748:15: warning: 'virtual bool FileArgument::subtest(MathStructure&, const EvaluationOptions&) const' can be marked override [-Wsuggest-override] virtual bool subtest(MathStructure &value, const EvaluationOptions &eo) const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:749:17: warning: 'virtual std::__cxx11::string FileArgument::subprintlong() const' can be marked override [-Wsuggest-override] virtual string subprintlong() const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:756:14: warning: 'virtual int FileArgument::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:757:20: warning: 'virtual Argument* FileArgument::copy() const' can be marked override [-Wsuggest-override] virtual Argument *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:758:17: warning: 'virtual std::__cxx11::string FileArgument::print() const' can be marked override [-Wsuggest-override] virtual string print() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:768:15: warning: 'virtual bool ArgumentSet::subtest(MathStructure&, const EvaluationOptions&) const' can be marked override [-Wsuggest-override] virtual bool subtest(MathStructure &value, const EvaluationOptions &eo) const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:769:17: warning: 'virtual std::__cxx11::string ArgumentSet::subprintlong() const' can be marked override [-Wsuggest-override] virtual string subprintlong() const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:777:14: warning: 'virtual int ArgumentSet::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:778:20: warning: 'virtual Argument* ArgumentSet::copy() const' can be marked override [-Wsuggest-override] virtual Argument *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:779:17: warning: 'virtual std::__cxx11::string ArgumentSet::print() const' can be marked override [-Wsuggest-override] virtual string print() const; ^~~~~ [ 37%] Built target cantortest [ 37%] Built target cantor_nullbackend [ 37%] Generating settings.h, settings.cpp [ 37%] Generating settings.h, settings.cpp [ 39%] Generating ui_settings.h [ 39%] Generating ui_settings.h /tmp/math/cantor/work/cantor-19.08.3/src/backends/octave/settings.ui: Warning: The name 'horizontalLayout' (QHBoxLayout) is already in use, defaulting to 'horizontalLayout1'. Scanning dependencies of target cantor_scilabbackend Scanning dependencies of target cantor_octavebackend [ 39%] Building CXX object src/backends/scilab/CMakeFiles/cantor_scilabbackend.dir/cantor_scilabbackend_autogen/mocs_compilation.cpp.o [ 39%] Building CXX object src/backends/octave/CMakeFiles/cantor_octavebackend.dir/cantor_octavebackend_autogen/mocs_compilation.cpp.o [ 39%] Building CXX object src/backends/qalculate/CMakeFiles/cantor_qalculatebackend.dir/qalculatesession.cpp.o [ 40%] Building CXX object src/backends/scilab/CMakeFiles/cantor_scilabbackend.dir/scilabextensions.cpp.o [ 40%] Building CXX object src/backends/octave/CMakeFiles/cantor_octavebackend.dir/octaveexpression.cpp.o [ 40%] Linking CXX executable cantor ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_peername(), which is deprecated and buggy. ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_domainname(), which is deprecated and buggy. ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_mapname(), which is deprecated and buggy. [ 40%] Built target cantor [ 40%] Generating settings.h, settings.cpp [ 41%] Generating ui_settings.h Scanning dependencies of target cantor_maximabackend In file included from /tmp/math/cantor/work/.buildlink/include/libqalculate/Calculator.h:16:0, from /tmp/math/cantor/work/cantor-19.08.3/src/backends/qalculate/qalculateexpression.h:25, from /tmp/math/cantor/work/cantor-19.08.3/src/backends/qalculate/qalculatesession.h:23, from /tmp/math/cantor/work/cantor-19.08.3/src/backends/qalculate/qalculatesession.cpp:22: /tmp/math/cantor/work/.buildlink/include/libqalculate/util.h:58:80: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] size_t find_ending_bracket(const string &str, size_t start, int *missing = NULL); ^ /tmp/math/cantor/work/.buildlink/include/libqalculate/util.h:106:127: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] int checkAvailableVersion(const char *version_id, const char *current_version, string *avaible_version = NULL, int timeout = 5); ^ [ 41%] Building CXX object src/backends/maxima/CMakeFiles/cantor_maximabackend.dir/cantor_maximabackend_autogen/mocs_compilation.cpp.o In file included from /tmp/math/cantor/work/cantor-19.08.3/src/backends/qalculate/qalculatesession.h:29:0, from /tmp/math/cantor/work/cantor-19.08.3/src/backends/qalculate/qalculatesession.cpp:22: /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:130:26: warning: 'virtual ExpressionItem* Variable::copy() const' can be marked override [-Wsuggest-override] virtual ExpressionItem *copy() const = 0; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:131:15: warning: 'virtual void Variable::set(const ExpressionItem*)' can be marked override [-Wsuggest-override] virtual void set(const ExpressionItem *item); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:132:14: warning: 'virtual int Variable::type() const' can be marked override [-Wsuggest-override] virtual int type() const {return TYPE_VARIABLE;} ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:137:14: warning: 'virtual int Variable::subtype() const' can be marked override [-Wsuggest-override] virtual int subtype() const {return SUBTYPE_VARIABLE;} ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:199:26: warning: 'virtual ExpressionItem* UnknownVariable::copy() const' can be marked override [-Wsuggest-override] virtual ExpressionItem *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:200:15: warning: 'virtual void UnknownVariable::set(const ExpressionItem*)' can be marked override [-Wsuggest-override] virtual void set(const ExpressionItem *item); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:201:7: warning: 'virtual bool UnknownVariable::isKnown() const' can be marked override [-Wsuggest-override] bool isKnown() const {return false;} ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:218:14: warning: 'virtual int UnknownVariable::subtype() const' can be marked override [-Wsuggest-override] virtual int subtype() const {return SUBTYPE_UNKNOWN_VARIABLE;} ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:220:15: warning: 'virtual bool UnknownVariable::representsPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsPositive(bool = false); ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:221:15: warning: 'virtual bool UnknownVariable::representsNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNegative(bool = false); ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:222:15: warning: 'virtual bool UnknownVariable::representsNonNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonNegative(bool = false); ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:223:15: warning: 'virtual bool UnknownVariable::representsNonPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonPositive(bool = false); ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:224:15: warning: 'virtual bool UnknownVariable::representsInteger(bool)' can be marked override [-Wsuggest-override] virtual bool representsInteger(bool = false); ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:225:15: warning: 'virtual bool UnknownVariable::representsNumber(bool)' can be marked override [-Wsuggest-override] virtual bool representsNumber(bool = false); ^~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:226:15: warning: 'virtual bool UnknownVariable::representsRational(bool)' can be marked override [-Wsuggest-override] virtual bool representsRational(bool = false); ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:227:15: warning: 'virtual bool UnknownVariable::representsReal(bool)' can be marked override [-Wsuggest-override] virtual bool representsReal(bool = false); ^~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:228:15: warning: 'virtual bool UnknownVariable::representsNonComplex(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonComplex(bool = false); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:229:15: warning: 'virtual bool UnknownVariable::representsComplex(bool)' can be marked override [-Wsuggest-override] virtual bool representsComplex(bool = false); ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:230:15: warning: 'virtual bool UnknownVariable::representsNonZero(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonZero(bool = false); ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:231:15: warning: 'virtual bool UnknownVariable::representsNonMatrix()' can be marked override [-Wsuggest-override] virtual bool representsNonMatrix(); ^~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:232:15: warning: 'virtual bool UnknownVariable::representsScalar()' can be marked override [-Wsuggest-override] virtual bool representsScalar(); ^~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:286:26: warning: 'virtual ExpressionItem* KnownVariable::copy() const' can be marked override [-Wsuggest-override] virtual ExpressionItem *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:287:15: warning: 'virtual void KnownVariable::set(const ExpressionItem*)' can be marked override [-Wsuggest-override] virtual void set(const ExpressionItem *item); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:288:7: warning: 'virtual bool KnownVariable::isKnown() const' can be marked override [-Wsuggest-override] bool isKnown() const {return true;} ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:302:6: warning: 'virtual int KnownVariable::subtype() const' can be marked override [-Wsuggest-override] int subtype() const {return SUBTYPE_KNOWN_VARIABLE;} ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:323:15: warning: 'virtual bool KnownVariable::representsPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsPositive(bool = false); ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:324:15: warning: 'virtual bool KnownVariable::representsNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNegative(bool = false); ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:325:15: warning: 'virtual bool KnownVariable::representsNonNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonNegative(bool = false); ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:326:15: warning: 'virtual bool KnownVariable::representsNonPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonPositive(bool = false); ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:327:15: warning: 'virtual bool KnownVariable::representsInteger(bool)' can be marked override [-Wsuggest-override] virtual bool representsInteger(bool = false); ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:328:15: warning: 'virtual bool KnownVariable::representsNonInteger(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonInteger(bool = false); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:329:15: warning: 'virtual bool KnownVariable::representsFraction(bool)' can be marked override [-Wsuggest-override] virtual bool representsFraction(bool = false); ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:330:15: warning: 'virtual bool KnownVariable::representsNumber(bool)' can be marked override [-Wsuggest-override] virtual bool representsNumber(bool = false); ^~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:331:15: warning: 'virtual bool KnownVariable::representsRational(bool)' can be marked override [-Wsuggest-override] virtual bool representsRational(bool = false); ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:332:15: warning: 'virtual bool KnownVariable::representsReal(bool)' can be marked override [-Wsuggest-override] virtual bool representsReal(bool = false); ^~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:333:15: warning: 'virtual bool KnownVariable::representsNonComplex(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonComplex(bool = false); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:334:15: warning: 'virtual bool KnownVariable::representsComplex(bool)' can be marked override [-Wsuggest-override] virtual bool representsComplex(bool = false); ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:335:15: warning: 'virtual bool KnownVariable::representsNonZero(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonZero(bool = false); ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:336:15: warning: 'virtual bool KnownVariable::representsEven(bool)' can be marked override [-Wsuggest-override] virtual bool representsEven(bool = false); ^~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:337:15: warning: 'virtual bool KnownVariable::representsOdd(bool)' can be marked override [-Wsuggest-override] virtual bool representsOdd(bool = false); ^~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:338:15: warning: 'virtual bool KnownVariable::representsUndefined(bool, bool, bool)' can be marked override [-Wsuggest-override] virtual bool representsUndefined(bool = false, bool = false, bool = false); ^~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:339:15: warning: 'virtual bool KnownVariable::representsBoolean()' can be marked override [-Wsuggest-override] virtual bool representsBoolean(); ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:340:15: warning: 'virtual bool KnownVariable::representsNonMatrix()' can be marked override [-Wsuggest-override] virtual bool representsNonMatrix(); ^~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:341:15: warning: 'virtual bool KnownVariable::representsScalar()' can be marked override [-Wsuggest-override] virtual bool representsScalar(); ^~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:362:18: warning: 'virtual ExpressionItem* DynamicVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const = 0; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:363:7: warning: 'virtual void DynamicVariable::set(const ExpressionItem*)' can be marked override [-Wsuggest-override] void set(const ExpressionItem *item); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:365:23: warning: 'virtual const MathStructure& DynamicVariable::get()' can be marked override [-Wsuggest-override] const MathStructure &get(); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:367:7: warning: 'virtual void DynamicVariable::set(const MathStructure&)' can be marked override [-Wsuggest-override] void set(const MathStructure &o); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:368:7: warning: 'virtual void DynamicVariable::set(std::__cxx11::string)' can be marked override [-Wsuggest-override] void set(string expression_); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:376:15: warning: 'virtual bool DynamicVariable::representsPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsPositive(bool = false) {return true;} ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:377:15: warning: 'virtual bool DynamicVariable::representsNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNegative(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:378:15: warning: 'virtual bool DynamicVariable::representsNonNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonNegative(bool = false) {return true;} ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:379:15: warning: 'virtual bool DynamicVariable::representsNonPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonPositive(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:380:15: warning: 'virtual bool DynamicVariable::representsInteger(bool)' can be marked override [-Wsuggest-override] virtual bool representsInteger(bool = false) {return false;} ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:381:15: warning: 'virtual bool DynamicVariable::representsNonInteger(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonInteger(bool = false) {return true;} ^~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:382:15: warning: 'virtual bool DynamicVariable::representsNumber(bool)' can be marked override [-Wsuggest-override] virtual bool representsNumber(bool = false) {return true;} ^~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:383:15: warning: 'virtual bool DynamicVariable::representsRational(bool)' can be marked override [-Wsuggest-override] virtual bool representsRational(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:384:15: warning: 'virtual bool DynamicVariable::representsReal(bool)' can be marked override [-Wsuggest-override] virtual bool representsReal(bool = false) {return true;} ^~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:385:15: warning: 'virtual bool DynamicVariable::representsComplex(bool)' can be marked override [-Wsuggest-override] virtual bool representsComplex(bool = false) {return false;} ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:386:15: warning: 'virtual bool DynamicVariable::representsNonZero(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonZero(bool = false) {return true;} ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:387:15: warning: 'virtual bool DynamicVariable::representsEven(bool)' can be marked override [-Wsuggest-override] virtual bool representsEven(bool = false) {return false;} ^~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:388:15: warning: 'virtual bool DynamicVariable::representsOdd(bool)' can be marked override [-Wsuggest-override] virtual bool representsOdd(bool = false) {return false;} ^~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:389:15: warning: 'virtual bool DynamicVariable::representsUndefined(bool, bool, bool)' can be marked override [-Wsuggest-override] virtual bool representsUndefined(bool = false, bool = false, bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:390:15: warning: 'virtual bool DynamicVariable::representsBoolean()' can be marked override [-Wsuggest-override] virtual bool representsBoolean() {return false;} ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:391:15: warning: 'virtual bool DynamicVariable::representsNonMatrix()' can be marked override [-Wsuggest-override] virtual bool representsNonMatrix() {return true;} ^~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:392:15: warning: 'virtual bool DynamicVariable::representsScalar()' can be marked override [-Wsuggest-override] virtual bool representsScalar() {return true;} ^~~~~~~~~~~~~~~~ In file included from /tmp/math/cantor/work/cantor-19.08.3/src/backends/qalculate/qalculatesession.h:29:0, from /tmp/math/cantor/work/cantor-19.08.3/src/backends/qalculate/qalculatesession.cpp:22: /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:22:12: warning: 'virtual void PiVariable::calculate(MathStructure&) const' can be marked override [-Wsuggest-override] void calculate(MathStructure &m) const; \ ^ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:397:1: note: in expansion of macro 'DECLARE_BUILTIN_VARIABLE' DECLARE_BUILTIN_VARIABLE(PiVariable) ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:26:23: warning: 'virtual ExpressionItem* PiVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const {return new x(this);} \ ^ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:397:1: note: in expansion of macro 'DECLARE_BUILTIN_VARIABLE' DECLARE_BUILTIN_VARIABLE(PiVariable) ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:22:12: warning: 'virtual void EVariable::calculate(MathStructure&) const' can be marked override [-Wsuggest-override] void calculate(MathStructure &m) const; \ ^ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:399:1: note: in expansion of macro 'DECLARE_BUILTIN_VARIABLE' DECLARE_BUILTIN_VARIABLE(EVariable) ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:26:23: warning: 'virtual ExpressionItem* EVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const {return new x(this);} \ ^ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:399:1: note: in expansion of macro 'DECLARE_BUILTIN_VARIABLE' DECLARE_BUILTIN_VARIABLE(EVariable) ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:22:12: warning: 'virtual void EulerVariable::calculate(MathStructure&) const' can be marked override [-Wsuggest-override] void calculate(MathStructure &m) const; \ ^ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:401:1: note: in expansion of macro 'DECLARE_BUILTIN_VARIABLE' DECLARE_BUILTIN_VARIABLE(EulerVariable) ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:26:23: warning: 'virtual ExpressionItem* EulerVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const {return new x(this);} \ ^ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:401:1: note: in expansion of macro 'DECLARE_BUILTIN_VARIABLE' DECLARE_BUILTIN_VARIABLE(EulerVariable) ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:22:12: warning: 'virtual void CatalanVariable::calculate(MathStructure&) const' can be marked override [-Wsuggest-override] void calculate(MathStructure &m) const; \ ^ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:403:1: note: in expansion of macro 'DECLARE_BUILTIN_VARIABLE' DECLARE_BUILTIN_VARIABLE(CatalanVariable) ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:26:23: warning: 'virtual ExpressionItem* CatalanVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const {return new x(this);} \ ^ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:403:1: note: in expansion of macro 'DECLARE_BUILTIN_VARIABLE' DECLARE_BUILTIN_VARIABLE(CatalanVariable) ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/cantor/work/cantor-19.08.3/src/backends/qalculate/qalculatesession.h:29:0, from /tmp/math/cantor/work/cantor-19.08.3/src/backends/qalculate/qalculatesession.cpp:22: /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:407:7: warning: 'virtual void PrecisionVariable::calculate(MathStructure&) const' can be marked override [-Wsuggest-override] void calculate(MathStructure &m) const; ^~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:411:18: warning: 'virtual ExpressionItem* PrecisionVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const {return new PrecisionVariable(this);} ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:412:7: warning: 'virtual bool PrecisionVariable::representsInteger(bool)' can be marked override [-Wsuggest-override] bool representsInteger(bool = false) {return true;} ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:413:7: warning: 'virtual bool PrecisionVariable::representsNonInteger(bool)' can be marked override [-Wsuggest-override] bool representsNonInteger(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:418:7: warning: 'virtual void TodayVariable::calculate(MathStructure&) const' can be marked override [-Wsuggest-override] void calculate(MathStructure &m) const; ^~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:422:18: warning: 'virtual ExpressionItem* TodayVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const {return new TodayVariable(this);} ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:423:15: warning: 'virtual bool TodayVariable::representsPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsPositive(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:424:15: warning: 'virtual bool TodayVariable::representsNonNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonNegative(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:425:15: warning: 'virtual bool TodayVariable::representsNonInteger(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonInteger(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:426:15: warning: 'virtual bool TodayVariable::representsNumber(bool)' can be marked override [-Wsuggest-override] virtual bool representsNumber(bool b = false) {return b;} ^~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:427:15: warning: 'virtual bool TodayVariable::representsReal(bool)' can be marked override [-Wsuggest-override] virtual bool representsReal(bool b = false) {return b;} ^~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:428:15: warning: 'virtual bool TodayVariable::representsNonZero(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonZero(bool b = false) {return b;} ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:432:7: warning: 'virtual void TomorrowVariable::calculate(MathStructure&) const' can be marked override [-Wsuggest-override] void calculate(MathStructure &m) const; ^~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:436:18: warning: 'virtual ExpressionItem* TomorrowVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const {return new TomorrowVariable(this);} ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:437:15: warning: 'virtual bool TomorrowVariable::representsPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsPositive(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:438:15: warning: 'virtual bool TomorrowVariable::representsNonNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonNegative(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:439:15: warning: 'virtual bool TomorrowVariable::representsNonInteger(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonInteger(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:440:15: warning: 'virtual bool TomorrowVariable::representsNumber(bool)' can be marked override [-Wsuggest-override] virtual bool representsNumber(bool b = false) {return b;} ^~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:441:15: warning: 'virtual bool TomorrowVariable::representsReal(bool)' can be marked override [-Wsuggest-override] virtual bool representsReal(bool b = false) {return b;} ^~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:442:15: warning: 'virtual bool TomorrowVariable::representsNonZero(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonZero(bool b = false) {return b;} ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:446:7: warning: 'virtual void YesterdayVariable::calculate(MathStructure&) const' can be marked override [-Wsuggest-override] void calculate(MathStructure &m) const; ^~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:450:18: warning: 'virtual ExpressionItem* YesterdayVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const {return new YesterdayVariable(this);} ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:451:15: warning: 'virtual bool YesterdayVariable::representsPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsPositive(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:452:15: warning: 'virtual bool YesterdayVariable::representsNonNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonNegative(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:453:15: warning: 'virtual bool YesterdayVariable::representsNonInteger(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonInteger(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:454:15: warning: 'virtual bool YesterdayVariable::representsNumber(bool)' can be marked override [-Wsuggest-override] virtual bool representsNumber(bool b = false) {return b;} ^~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:455:15: warning: 'virtual bool YesterdayVariable::representsReal(bool)' can be marked override [-Wsuggest-override] virtual bool representsReal(bool b = false) {return b;} ^~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:456:15: warning: 'virtual bool YesterdayVariable::representsNonZero(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonZero(bool b = false) {return b;} ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:460:7: warning: 'virtual void NowVariable::calculate(MathStructure&) const' can be marked override [-Wsuggest-override] void calculate(MathStructure &m) const; ^~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:464:18: warning: 'virtual ExpressionItem* NowVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const {return new NowVariable(this);} ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:465:15: warning: 'virtual bool NowVariable::representsPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsPositive(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:466:15: warning: 'virtual bool NowVariable::representsNonNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonNegative(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:467:15: warning: 'virtual bool NowVariable::representsNonInteger(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonInteger(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:468:15: warning: 'virtual bool NowVariable::representsNumber(bool)' can be marked override [-Wsuggest-override] virtual bool representsNumber(bool b = false) {return b;} ^~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:469:15: warning: 'virtual bool NowVariable::representsReal(bool)' can be marked override [-Wsuggest-override] virtual bool representsReal(bool b = false) {return b;} ^~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:470:15: warning: 'virtual bool NowVariable::representsNonZero(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonZero(bool b = false) {return b;} ^~~~~~~~~~~~~~~~~ In file included from /tmp/math/cantor/work/cantor-19.08.3/src/backends/qalculate/qalculatesession.cpp:34:0: /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:53:26: warning: 'virtual ExpressionItem* Unit::copy() const' can be marked override [-Wsuggest-override] virtual ExpressionItem *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:54:15: warning: 'virtual void Unit::set(const ExpressionItem*)' can be marked override [-Wsuggest-override] virtual void set(const ExpressionItem *item); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:106:14: warning: 'virtual int Unit::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:111:14: warning: 'virtual int Unit::subtype() const' can be marked override [-Wsuggest-override] virtual int subtype() const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:188:26: warning: 'virtual ExpressionItem* AliasUnit::copy() const' can be marked override [-Wsuggest-override] virtual ExpressionItem *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:189:15: warning: 'virtual void AliasUnit::set(const ExpressionItem*)' can be marked override [-Wsuggest-override] virtual void set(const ExpressionItem *item); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:191:16: warning: 'virtual Unit* AliasUnit::baseUnit() const' can be marked override [-Wsuggest-override] virtual Unit* baseUnit() const; ^~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:208:25: warning: 'virtual MathStructure& AliasUnit::convertToBaseUnit(MathStructure&, MathStructure&) const' can be marked override [-Wsuggest-override] virtual MathStructure &convertToBaseUnit(MathStructure &mvalue, MathStructure &mexp) const; ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:209:25: warning: 'virtual MathStructure& AliasUnit::convertFromBaseUnit(MathStructure&, MathStructure&) const' can be marked override [-Wsuggest-override] virtual MathStructure &convertFromBaseUnit(MathStructure &mvalue, MathStructure &mexp) const; ^~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:210:25: warning: 'virtual MathStructure& AliasUnit::convertToBaseUnit(MathStructure&) const' can be marked override [-Wsuggest-override] virtual MathStructure &convertToBaseUnit(MathStructure &mvalue) const; ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:211:25: warning: 'virtual MathStructure& AliasUnit::convertFromBaseUnit(MathStructure&) const' can be marked override [-Wsuggest-override] virtual MathStructure &convertFromBaseUnit(MathStructure &mvalue) const; ^~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:212:24: warning: 'virtual MathStructure AliasUnit::convertToBaseUnit() const' can be marked override [-Wsuggest-override] virtual MathStructure convertToBaseUnit() const; ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:213:24: warning: 'virtual MathStructure AliasUnit::convertFromBaseUnit() const' can be marked override [-Wsuggest-override] virtual MathStructure convertFromBaseUnit() const; ^~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:214:14: warning: 'virtual int AliasUnit::baseExponent(int) const' can be marked override [-Wsuggest-override] virtual int baseExponent(int exp = 1) const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:221:14: warning: 'virtual int AliasUnit::subtype() const' can be marked override [-Wsuggest-override] virtual int subtype() const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:222:15: warning: 'virtual bool AliasUnit::isChildOf(Unit*) const' can be marked override [-Wsuggest-override] virtual bool isChildOf(Unit *u) const; ^~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:223:15: warning: 'virtual bool AliasUnit::isParentOf(Unit*) const' can be marked override [-Wsuggest-override] virtual bool isParentOf(Unit *u) const; ^~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:225:15: warning: 'virtual bool AliasUnit::hasNonlinearRelationTo(Unit*) const' can be marked override [-Wsuggest-override] virtual bool hasNonlinearRelationTo(Unit *u) const; ^~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:227:15: warning: 'virtual bool AliasUnit::hasApproximateRelationTo(Unit*, bool, bool) const' can be marked override [-Wsuggest-override] virtual bool hasApproximateRelationTo(Unit *u, bool check_variables = false, bool ignore_high_precision_intervals = false) const; ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:228:15: warning: 'virtual bool AliasUnit::containsRelativeTo(Unit*) const' can be marked override [-Wsuggest-override] virtual bool containsRelativeTo(Unit *u) const; ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:229:15: warning: 'virtual bool AliasUnit::hasNonlinearRelationToBase() const' can be marked override [-Wsuggest-override] virtual bool hasNonlinearRelationToBase() const; ^~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:230:15: warning: 'virtual bool AliasUnit::hasApproximateRelationToBase(bool, bool) const' can be marked override [-Wsuggest-override] virtual bool hasApproximateRelationToBase(bool check_variables = false, bool ignore_high_precision_intervals = false) const; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:250:26: warning: 'virtual ExpressionItem* AliasUnit_Composite::copy() const' can be marked override [-Wsuggest-override] virtual ExpressionItem *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:251:15: warning: 'virtual void AliasUnit_Composite::set(const ExpressionItem*)' can be marked override [-Wsuggest-override] virtual void set(const ExpressionItem *item); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:253:17: warning: 'virtual std::__cxx11::string AliasUnit_Composite::print(bool, bool, bool, bool (*)(const char*, void*), void*) const' can be marked override [-Wsuggest-override] virtual string print(bool plural_, bool short_, bool use_unicode = false, bool (*can_display_unicode_string_function) (const char*, void*) = NULL, void *can_display_unicode_string_arg = NULL) const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:257:25: warning: 'virtual MathStructure& AliasUnit_Composite::convertToFirstBaseUnit(MathStructure&, MathStructure&) const' can be marked override [-Wsuggest-override] virtual MathStructure &convertToFirstBaseUnit(MathStructure &mvalue, MathStructure &mexp) const; ^~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:258:25: warning: 'virtual MathStructure& AliasUnit_Composite::convertFromFirstBaseUnit(MathStructure&, MathStructure&) const' can be marked override [-Wsuggest-override] virtual MathStructure &convertFromFirstBaseUnit(MathStructure &mvalue, MathStructure &mexp) const; ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:287:27: warning: 'virtual ExpressionItem* CompositeUnit::copy() const' can be marked override [-Wsuggest-override] virtual ExpressionItem *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:288:16: warning: 'virtual void CompositeUnit::set(const ExpressionItem*)' can be marked override [-Wsuggest-override] virtual void set(const ExpressionItem *item); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:313:18: warning: 'virtual std::__cxx11::string CompositeUnit::print(bool, bool, bool, bool (*)(const char*, void*), void*) const' can be marked override [-Wsuggest-override] virtual string print(bool plural_, bool short_, bool use_unicode = false, bool (*can_display_unicode_string_function) (const char*, void*) = NULL, void *can_display_unicode_string_arg = NULL) const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:314:15: warning: 'virtual int CompositeUnit::subtype() const' can be marked override [-Wsuggest-override] virtual int subtype() const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:317:16: warning: 'virtual bool CompositeUnit::containsRelativeTo(Unit*) const' can be marked override [-Wsuggest-override] virtual bool containsRelativeTo(Unit *u) const; ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:318:16: warning: 'virtual bool CompositeUnit::hasNonlinearRelationToBase() const' can be marked override [-Wsuggest-override] virtual bool hasNonlinearRelationToBase() const; ^~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:319:16: warning: 'virtual bool CompositeUnit::hasApproximateRelationToBase(bool, bool) const' can be marked override [-Wsuggest-override] virtual bool hasApproximateRelationToBase(bool check_variables = false, bool ignore_high_precision_intervals = false) const; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/cantor/work/cantor-19.08.3/src/backends/qalculate/qalculatesession.cpp:35:0: /tmp/math/cantor/work/.buildlink/include/libqalculate/Prefix.h:147:9: warning: 'virtual Number DecimalPrefix::value(const Number&) const' can be marked override [-Wsuggest-override] Number value(const Number &nexp) const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Prefix.h:148:9: warning: 'virtual Number DecimalPrefix::value(int) const' can be marked override [-Wsuggest-override] Number value(int iexp) const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Prefix.h:149:9: warning: 'virtual Number DecimalPrefix::value() const' can be marked override [-Wsuggest-override] Number value() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Prefix.h:150:6: warning: 'virtual int DecimalPrefix::type() const' can be marked override [-Wsuggest-override] int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Prefix.h:186:9: warning: 'virtual Number BinaryPrefix::value(const Number&) const' can be marked override [-Wsuggest-override] Number value(const Number &nexp) const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Prefix.h:187:9: warning: 'virtual Number BinaryPrefix::value(int) const' can be marked override [-Wsuggest-override] Number value(int iexp) const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Prefix.h:188:9: warning: 'virtual Number BinaryPrefix::value() const' can be marked override [-Wsuggest-override] Number value() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Prefix.h:189:6: warning: 'virtual int BinaryPrefix::type() const' can be marked override [-Wsuggest-override] int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Prefix.h:213:9: warning: 'virtual Number NumberPrefix::value(const Number&) const' can be marked override [-Wsuggest-override] Number value(const Number &nexp) const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Prefix.h:214:9: warning: 'virtual Number NumberPrefix::value(int) const' can be marked override [-Wsuggest-override] Number value(int iexp) const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Prefix.h:215:9: warning: 'virtual Number NumberPrefix::value() const' can be marked override [-Wsuggest-override] Number value() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Prefix.h:216:6: warning: 'virtual int NumberPrefix::type() const' can be marked override [-Wsuggest-override] int type() const; ^~~~ In file included from /tmp/math/cantor/work/cantor-19.08.3/src/backends/qalculate/qalculatesession.cpp:37:0: /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:92:26: warning: 'virtual ExpressionItem* MathFunction::copy() const' can be marked override [-Wsuggest-override] virtual ExpressionItem *copy() const = 0; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:93:15: warning: 'virtual void MathFunction::set(const ExpressionItem*)' can be marked override [-Wsuggest-override] virtual void set(const ExpressionItem *item); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:94:14: warning: 'virtual int MathFunction::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:99:14: warning: 'virtual int MathFunction::subtype() const' can be marked override [-Wsuggest-override] virtual int subtype() const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:242:7: warning: 'virtual void UserFunction::set(const ExpressionItem*)' can be marked override [-Wsuggest-override] void set(const ExpressionItem *item); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:243:18: warning: 'virtual ExpressionItem* UserFunction::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:248:6: warning: 'virtual int UserFunction::calculate(MathStructure&, const MathStructure&, const EvaluationOptions&)' can be marked override [-Wsuggest-override] int calculate(MathStructure &mstruct, const MathStructure &vargs, const EvaluationOptions &eo); ^~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:269:6: warning: 'virtual int UserFunction::subtype() const' can be marked override [-Wsuggest-override] int subtype() const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:108:24: warning: 'virtual MathStructure MathFunction::calculate(MathStructure&, const EvaluationOptions&)' was hidden [-Woverloaded-virtual] virtual MathStructure calculate(MathStructure &vargs, const EvaluationOptions &eo = default_evaluation_options); ^~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:248:6: warning: by 'virtual int UserFunction::calculate(MathStructure&, const MathStructure&, const EvaluationOptions&)' [-Woverloaded-virtual] int calculate(MathStructure &mstruct, const MathStructure &vargs, const EvaluationOptions &eo); ^~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:105:24: warning: 'virtual MathStructure MathFunction::calculate(const string&, const EvaluationOptions&)' was hidden [-Woverloaded-virtual] virtual MathStructure calculate(const string &eq, const EvaluationOptions &eo = default_evaluation_options); ^~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:248:6: warning: by 'virtual int UserFunction::calculate(MathStructure&, const MathStructure&, const EvaluationOptions&)' [-Woverloaded-virtual] int calculate(MathStructure &mstruct, const MathStructure &vargs, const EvaluationOptions &eo); ^~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:452:15: warning: 'virtual bool NumberArgument::subtest(MathStructure&, const EvaluationOptions&) const' can be marked override [-Wsuggest-override] virtual bool subtest(MathStructure &value, const EvaluationOptions &eo) const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:453:17: warning: 'virtual std::__cxx11::string NumberArgument::subprintlong() const' can be marked override [-Wsuggest-override] virtual string subprintlong() const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:461:15: warning: 'virtual void NumberArgument::set(const Argument*)' can be marked override [-Wsuggest-override] virtual void set(const Argument *arg); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:462:20: warning: 'virtual Argument* NumberArgument::copy() const' can be marked override [-Wsuggest-override] virtual Argument *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:464:17: warning: 'virtual std::__cxx11::string NumberArgument::print() const' can be marked override [-Wsuggest-override] virtual string print() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:480:14: warning: 'virtual int NumberArgument::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:496:15: warning: 'virtual bool IntegerArgument::subtest(MathStructure&, const EvaluationOptions&) const' can be marked override [-Wsuggest-override] virtual bool subtest(MathStructure &value, const EvaluationOptions &eo) const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:497:17: warning: 'virtual std::__cxx11::string IntegerArgument::subprintlong() const' can be marked override [-Wsuggest-override] virtual string subprintlong() const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:508:15: warning: 'virtual void IntegerArgument::set(const Argument*)' can be marked override [-Wsuggest-override] virtual void set(const Argument *arg); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:509:20: warning: 'virtual Argument* IntegerArgument::copy() const' can be marked override [-Wsuggest-override] virtual Argument *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:511:17: warning: 'virtual std::__cxx11::string IntegerArgument::print() const' can be marked override [-Wsuggest-override] virtual string print() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:518:14: warning: 'virtual int IntegerArgument::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:529:17: warning: 'virtual bool SymbolicArgument::subtest(MathStructure&, const EvaluationOptions&) const' can be marked override [-Wsuggest-override] virtual bool subtest(MathStructure &value, const EvaluationOptions &eo) const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:530:17: warning: 'virtual std::__cxx11::string SymbolicArgument::subprintlong() const' can be marked override [-Wsuggest-override] virtual string subprintlong() const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:537:14: warning: 'virtual int SymbolicArgument::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:538:20: warning: 'virtual Argument* SymbolicArgument::copy() const' can be marked override [-Wsuggest-override] virtual Argument *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:539:17: warning: 'virtual std::__cxx11::string SymbolicArgument::print() const' can be marked override [-Wsuggest-override] virtual string print() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:549:15: warning: 'virtual bool TextArgument::subtest(MathStructure&, const EvaluationOptions&) const' can be marked override [-Wsuggest-override] virtual bool subtest(MathStructure &value, const EvaluationOptions &eo) const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:550:17: warning: 'virtual std::__cxx11::string TextArgument::subprintlong() const' can be marked override [-Wsuggest-override] virtual string subprintlong() const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:557:14: warning: 'virtual int TextArgument::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:558:20: warning: 'virtual Argument* TextArgument::copy() const' can be marked override [-Wsuggest-override] virtual Argument *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:559:17: warning: 'virtual std::__cxx11::string TextArgument::print() const' can be marked override [-Wsuggest-override] virtual string print() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:560:15: warning: 'virtual bool TextArgument::suggestsQuotes() const' can be marked override [-Wsuggest-override] virtual bool suggestsQuotes() const; ^~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:570:15: warning: 'virtual bool DateArgument::subtest(MathStructure&, const EvaluationOptions&) const' can be marked override [-Wsuggest-override] virtual bool subtest(MathStructure &value, const EvaluationOptions &eo) const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:571:17: warning: 'virtual std::__cxx11::string DateArgument::subprintlong() const' can be marked override [-Wsuggest-override] virtual string subprintlong() const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:578:15: warning: 'virtual void DateArgument::parse(MathStructure*, const string&, const ParseOptions&) const' can be marked override [-Wsuggest-override] virtual void parse(MathStructure *mstruct, const string &str, const ParseOptions &po = default_parse_options) const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:579:14: warning: 'virtual int DateArgument::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:580:20: warning: 'virtual Argument* DateArgument::copy() const' can be marked override [-Wsuggest-override] virtual Argument *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:581:17: warning: 'virtual std::__cxx11::string DateArgument::print() const' can be marked override [-Wsuggest-override] virtual string print() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:354:24: warning: 'virtual MathStructure Argument::parse(const string&, const ParseOptions&) const' was hidden [-Woverloaded-virtual] virtual MathStructure parse(const string &str, const ParseOptions &po = default_parse_options) const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:578:15: warning: by 'virtual void DateArgument::parse(MathStructure*, const string&, const ParseOptions&) const' [-Woverloaded-virtual] virtual void parse(MathStructure *mstruct, const string &str, const ParseOptions &po = default_parse_options) const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:591:15: warning: 'virtual bool VectorArgument::subtest(MathStructure&, const EvaluationOptions&) const' can be marked override [-Wsuggest-override] virtual bool subtest(MathStructure &value, const EvaluationOptions &eo) const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:592:17: warning: 'virtual std::__cxx11::string VectorArgument::subprintlong() const' can be marked override [-Wsuggest-override] virtual string subprintlong() const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:601:14: warning: 'virtual int VectorArgument::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:602:20: warning: 'virtual Argument* VectorArgument::copy() const' can be marked override [-Wsuggest-override] virtual Argument *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:603:17: warning: 'virtual std::__cxx11::string VectorArgument::print() const' can be marked override [-Wsuggest-override] virtual string print() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:620:15: warning: 'virtual bool MatrixArgument::subtest(MathStructure&, const EvaluationOptions&) const' can be marked override [-Wsuggest-override] virtual bool subtest(MathStructure &value, const EvaluationOptions &eo) const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:621:17: warning: 'virtual std::__cxx11::string MatrixArgument::subprintlong() const' can be marked override [-Wsuggest-override] virtual string subprintlong() const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:631:14: warning: 'virtual int MatrixArgument::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:632:20: warning: 'virtual Argument* MatrixArgument::copy() const' can be marked override [-Wsuggest-override] virtual Argument *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:633:17: warning: 'virtual std::__cxx11::string MatrixArgument::print() const' can be marked override [-Wsuggest-override] virtual string print() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:643:15: warning: 'virtual bool ExpressionItemArgument::subtest(MathStructure&, const EvaluationOptions&) const' can be marked override [-Wsuggest-override] virtual bool subtest(MathStructure &value, const EvaluationOptions &eo) const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:644:17: warning: 'virtual std::__cxx11::string ExpressionItemArgument::subprintlong() const' can be marked override [-Wsuggest-override] virtual string subprintlong() const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:651:14: warning: 'virtual int ExpressionItemArgument::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:652:20: warning: 'virtual Argument* ExpressionItemArgument::copy() const' can be marked override [-Wsuggest-override] virtual Argument *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:653:17: warning: 'virtual std::__cxx11::string ExpressionItemArgument::print() const' can be marked override [-Wsuggest-override] virtual string print() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:662:15: warning: 'virtual bool FunctionArgument::subtest(MathStructure&, const EvaluationOptions&) const' can be marked override [-Wsuggest-override] virtual bool subtest(MathStructure &value, const EvaluationOptions &eo) const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:663:17: warning: 'virtual std::__cxx11::string FunctionArgument::subprintlong() const' can be marked override [-Wsuggest-override] virtual string subprintlong() const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:670:14: warning: 'virtual int FunctionArgument::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:671:20: warning: 'virtual Argument* FunctionArgument::copy() const' can be marked override [-Wsuggest-override] virtual Argument *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:672:17: warning: 'virtual std::__cxx11::string FunctionArgument::print() const' can be marked override [-Wsuggest-override] virtual string print() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:682:15: warning: 'virtual bool BooleanArgument::subtest(MathStructure&, const EvaluationOptions&) const' can be marked override [-Wsuggest-override] virtual bool subtest(MathStructure &value, const EvaluationOptions &eo) const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:683:17: warning: 'virtual std::__cxx11::string BooleanArgument::subprintlong() const' can be marked override [-Wsuggest-override] virtual string subprintlong() const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:690:14: warning: 'virtual int BooleanArgument::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:691:20: warning: 'virtual Argument* BooleanArgument::copy() const' can be marked override [-Wsuggest-override] virtual Argument *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:692:17: warning: 'virtual std::__cxx11::string BooleanArgument::print() const' can be marked override [-Wsuggest-override] virtual string print() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:699:15: warning: 'virtual bool UnitArgument::subtest(MathStructure&, const EvaluationOptions&) const' can be marked override [-Wsuggest-override] virtual bool subtest(MathStructure &value, const EvaluationOptions &eo) const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:700:17: warning: 'virtual std::__cxx11::string UnitArgument::subprintlong() const' can be marked override [-Wsuggest-override] virtual string subprintlong() const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:707:14: warning: 'virtual int UnitArgument::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:708:20: warning: 'virtual Argument* UnitArgument::copy() const' can be marked override [-Wsuggest-override] virtual Argument *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:709:17: warning: 'virtual std::__cxx11::string UnitArgument::print() const' can be marked override [-Wsuggest-override] virtual string print() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:715:15: warning: 'virtual bool AngleArgument::subtest(MathStructure&, const EvaluationOptions&) const' can be marked override [-Wsuggest-override] virtual bool subtest(MathStructure &value, const EvaluationOptions &eo) const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:716:17: warning: 'virtual std::__cxx11::string AngleArgument::subprintlong() const' can be marked override [-Wsuggest-override] virtual string subprintlong() const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:723:14: warning: 'virtual int AngleArgument::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:724:20: warning: 'virtual Argument* AngleArgument::copy() const' can be marked override [-Wsuggest-override] virtual Argument *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:725:17: warning: 'virtual std::__cxx11::string AngleArgument::print() const' can be marked override [-Wsuggest-override] virtual string print() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:726:15: warning: 'virtual void AngleArgument::parse(MathStructure*, const string&, const ParseOptions&) const' can be marked override [-Wsuggest-override] virtual void parse(MathStructure *mstruct, const string &str, const ParseOptions &po = default_parse_options) const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:354:24: warning: 'virtual MathStructure Argument::parse(const string&, const ParseOptions&) const' was hidden [-Woverloaded-virtual] virtual MathStructure parse(const string &str, const ParseOptions &po = default_parse_options) const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:726:15: warning: by 'virtual void AngleArgument::parse(MathStructure*, const string&, const ParseOptions&) const' [-Woverloaded-virtual] virtual void parse(MathStructure *mstruct, const string &str, const ParseOptions &po = default_parse_options) const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:732:15: warning: 'virtual bool VariableArgument::subtest(MathStructure&, const EvaluationOptions&) const' can be marked override [-Wsuggest-override] virtual bool subtest(MathStructure &value, const EvaluationOptions &eo) const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:733:17: warning: 'virtual std::__cxx11::string VariableArgument::subprintlong() const' can be marked override [-Wsuggest-override] virtual string subprintlong() const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:740:14: warning: 'virtual int VariableArgument::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:741:20: warning: 'virtual Argument* VariableArgument::copy() const' can be marked override [-Wsuggest-override] virtual Argument *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:742:17: warning: 'virtual std::__cxx11::string VariableArgument::print() const' can be marked override [-Wsuggest-override] virtual string print() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:748:15: warning: 'virtual bool FileArgument::subtest(MathStructure&, const EvaluationOptions&) const' can be marked override [-Wsuggest-override] virtual bool subtest(MathStructure &value, const EvaluationOptions &eo) const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:749:17: warning: 'virtual std::__cxx11::string FileArgument::subprintlong() const' can be marked override [-Wsuggest-override] virtual string subprintlong() const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:756:14: warning: 'virtual int FileArgument::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:757:20: warning: 'virtual Argument* FileArgument::copy() const' can be marked override [-Wsuggest-override] virtual Argument *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:758:17: warning: 'virtual std::__cxx11::string FileArgument::print() const' can be marked override [-Wsuggest-override] virtual string print() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:768:15: warning: 'virtual bool ArgumentSet::subtest(MathStructure&, const EvaluationOptions&) const' can be marked override [-Wsuggest-override] virtual bool subtest(MathStructure &value, const EvaluationOptions &eo) const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:769:17: warning: 'virtual std::__cxx11::string ArgumentSet::subprintlong() const' can be marked override [-Wsuggest-override] virtual string subprintlong() const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:777:14: warning: 'virtual int ArgumentSet::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:778:20: warning: 'virtual Argument* ArgumentSet::copy() const' can be marked override [-Wsuggest-override] virtual Argument *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:779:17: warning: 'virtual std::__cxx11::string ArgumentSet::print() const' can be marked override [-Wsuggest-override] virtual string print() const; ^~~~~ /tmp/math/cantor/work/cantor-19.08.3/src/backends/qalculate/qalculatesession.cpp: In member function 'void QalculateSession::currentExpressionStatusChanged(Cantor::Expression::Status)': /tmp/math/cantor/work/cantor-19.08.3/src/backends/qalculate/qalculatesession.cpp:363:12: warning: enumeration value 'Queued' not handled in switch [-Wswitch] switch (status) { ^ [ 41%] Building CXX object src/backends/scilab/CMakeFiles/cantor_scilabbackend.dir/scilabkeywords.cpp.o [ 41%] Building CXX object src/backends/octave/CMakeFiles/cantor_octavebackend.dir/octaveextensions.cpp.o [ 41%] Building CXX object src/backends/qalculate/CMakeFiles/cantor_qalculatebackend.dir/qalculatesyntaxhelpobject.cpp.o [ 41%] Building CXX object src/backends/maxima/CMakeFiles/cantor_maximabackend.dir/maximaextensions.cpp.o /tmp/math/cantor/work/cantor-19.08.3/src/backends/scilab/scilabkeywords.cpp: In static member function 'static ScilabKeywords* ScilabKeywords::instance()': /tmp/math/cantor/work/cantor-19.08.3/src/backends/scilab/scilabkeywords.cpp:58:32: warning: 'void qSort(Container&) [with Container = QStringList]' is deprecated: Use std::sort [-Wdeprecated-declarations] qSort(inst->m_variables); ^ In file included from /usr/pkg/qt5/include/QtCore/qlist.h:43:0, from /usr/pkg/qt5/include/QtCore/qstringlist.h:41, from /usr/pkg/qt5/include/QtCore/QStringList:1, from /tmp/math/cantor/work/cantor-19.08.3/src/backends/scilab/scilabkeywords.h:24, from /tmp/math/cantor/work/cantor-19.08.3/src/backends/scilab/scilabkeywords.cpp:21: /usr/pkg/qt5/include/QtCore/qalgorithms.h:188:46: note: declared here QT_DEPRECATED_X("Use std::sort") inline void qSort(Container &c) ^~~~~ /tmp/math/cantor/work/cantor-19.08.3/src/backends/scilab/scilabkeywords.cpp:59:32: warning: 'void qSort(Container&) [with Container = QStringList]' is deprecated: Use std::sort [-Wdeprecated-declarations] qSort(inst->m_functions); ^ In file included from /usr/pkg/qt5/include/QtCore/qlist.h:43:0, from /usr/pkg/qt5/include/QtCore/qstringlist.h:41, from /usr/pkg/qt5/include/QtCore/QStringList:1, from /tmp/math/cantor/work/cantor-19.08.3/src/backends/scilab/scilabkeywords.h:24, from /tmp/math/cantor/work/cantor-19.08.3/src/backends/scilab/scilabkeywords.cpp:21: /usr/pkg/qt5/include/QtCore/qalgorithms.h:188:46: note: declared here QT_DEPRECATED_X("Use std::sort") inline void qSort(Container &c) ^~~~~ /tmp/math/cantor/work/cantor-19.08.3/src/backends/scilab/scilabkeywords.cpp:60:31: warning: 'void qSort(Container&) [with Container = QStringList]' is deprecated: Use std::sort [-Wdeprecated-declarations] qSort(inst->m_keywords); ^ In file included from /usr/pkg/qt5/include/QtCore/qlist.h:43:0, from /usr/pkg/qt5/include/QtCore/qstringlist.h:41, from /usr/pkg/qt5/include/QtCore/QStringList:1, from /tmp/math/cantor/work/cantor-19.08.3/src/backends/scilab/scilabkeywords.h:24, from /tmp/math/cantor/work/cantor-19.08.3/src/backends/scilab/scilabkeywords.cpp:21: /usr/pkg/qt5/include/QtCore/qalgorithms.h:188:46: note: declared here QT_DEPRECATED_X("Use std::sort") inline void qSort(Container &c) ^~~~~ [ 41%] Building CXX object src/backends/scilab/CMakeFiles/cantor_scilabbackend.dir/scilabhighlighter.cpp.o [ 42%] Building CXX object src/backends/octave/CMakeFiles/cantor_octavebackend.dir/octavehighlighter.cpp.o In file included from /tmp/math/cantor/work/.buildlink/include/libqalculate/Calculator.h:16:0, from /tmp/math/cantor/work/cantor-19.08.3/src/backends/qalculate/qalculateexpression.h:25, from /tmp/math/cantor/work/cantor-19.08.3/src/backends/qalculate/qalculatesession.h:23, from /tmp/math/cantor/work/cantor-19.08.3/src/backends/qalculate/qalculatesyntaxhelpobject.cpp:21: /tmp/math/cantor/work/.buildlink/include/libqalculate/util.h:58:80: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] size_t find_ending_bracket(const string &str, size_t start, int *missing = NULL); ^ /tmp/math/cantor/work/.buildlink/include/libqalculate/util.h:106:127: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] int checkAvailableVersion(const char *version_id, const char *current_version, string *avaible_version = NULL, int timeout = 5); ^ In file included from /tmp/math/cantor/work/cantor-19.08.3/src/backends/qalculate/qalculatesession.h:29:0, from /tmp/math/cantor/work/cantor-19.08.3/src/backends/qalculate/qalculatesyntaxhelpobject.cpp:21: /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:130:26: warning: 'virtual ExpressionItem* Variable::copy() const' can be marked override [-Wsuggest-override] virtual ExpressionItem *copy() const = 0; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:131:15: warning: 'virtual void Variable::set(const ExpressionItem*)' can be marked override [-Wsuggest-override] virtual void set(const ExpressionItem *item); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:132:14: warning: 'virtual int Variable::type() const' can be marked override [-Wsuggest-override] virtual int type() const {return TYPE_VARIABLE;} ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:137:14: warning: 'virtual int Variable::subtype() const' can be marked override [-Wsuggest-override] virtual int subtype() const {return SUBTYPE_VARIABLE;} ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:199:26: warning: 'virtual ExpressionItem* UnknownVariable::copy() const' can be marked override [-Wsuggest-override] virtual ExpressionItem *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:200:15: warning: 'virtual void UnknownVariable::set(const ExpressionItem*)' can be marked override [-Wsuggest-override] virtual void set(const ExpressionItem *item); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:201:7: warning: 'virtual bool UnknownVariable::isKnown() const' can be marked override [-Wsuggest-override] bool isKnown() const {return false;} ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:218:14: warning: 'virtual int UnknownVariable::subtype() const' can be marked override [-Wsuggest-override] virtual int subtype() const {return SUBTYPE_UNKNOWN_VARIABLE;} ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:220:15: warning: 'virtual bool UnknownVariable::representsPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsPositive(bool = false); ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:221:15: warning: 'virtual bool UnknownVariable::representsNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNegative(bool = false); ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:222:15: warning: 'virtual bool UnknownVariable::representsNonNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonNegative(bool = false); ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:223:15: warning: 'virtual bool UnknownVariable::representsNonPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonPositive(bool = false); ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:224:15: warning: 'virtual bool UnknownVariable::representsInteger(bool)' can be marked override [-Wsuggest-override] virtual bool representsInteger(bool = false); ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:225:15: warning: 'virtual bool UnknownVariable::representsNumber(bool)' can be marked override [-Wsuggest-override] virtual bool representsNumber(bool = false); ^~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:226:15: warning: 'virtual bool UnknownVariable::representsRational(bool)' can be marked override [-Wsuggest-override] virtual bool representsRational(bool = false); ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:227:15: warning: 'virtual bool UnknownVariable::representsReal(bool)' can be marked override [-Wsuggest-override] virtual bool representsReal(bool = false); ^~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:228:15: warning: 'virtual bool UnknownVariable::representsNonComplex(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonComplex(bool = false); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:229:15: warning: 'virtual bool UnknownVariable::representsComplex(bool)' can be marked override [-Wsuggest-override] virtual bool representsComplex(bool = false); ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:230:15: warning: 'virtual bool UnknownVariable::representsNonZero(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonZero(bool = false); ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:231:15: warning: 'virtual bool UnknownVariable::representsNonMatrix()' can be marked override [-Wsuggest-override] virtual bool representsNonMatrix(); ^~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:232:15: warning: 'virtual bool UnknownVariable::representsScalar()' can be marked override [-Wsuggest-override] virtual bool representsScalar(); ^~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:286:26: warning: 'virtual ExpressionItem* KnownVariable::copy() const' can be marked override [-Wsuggest-override] virtual ExpressionItem *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:287:15: warning: 'virtual void KnownVariable::set(const ExpressionItem*)' can be marked override [-Wsuggest-override] virtual void set(const ExpressionItem *item); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:288:7: warning: 'virtual bool KnownVariable::isKnown() const' can be marked override [-Wsuggest-override] bool isKnown() const {return true;} ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:302:6: warning: 'virtual int KnownVariable::subtype() const' can be marked override [-Wsuggest-override] int subtype() const {return SUBTYPE_KNOWN_VARIABLE;} ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:323:15: warning: 'virtual bool KnownVariable::representsPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsPositive(bool = false); ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:324:15: warning: 'virtual bool KnownVariable::representsNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNegative(bool = false); ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:325:15: warning: 'virtual bool KnownVariable::representsNonNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonNegative(bool = false); ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:326:15: warning: 'virtual bool KnownVariable::representsNonPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonPositive(bool = false); ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:327:15: warning: 'virtual bool KnownVariable::representsInteger(bool)' can be marked override [-Wsuggest-override] virtual bool representsInteger(bool = false); ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:328:15: warning: 'virtual bool KnownVariable::representsNonInteger(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonInteger(bool = false); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:329:15: warning: 'virtual bool KnownVariable::representsFraction(bool)' can be marked override [-Wsuggest-override] virtual bool representsFraction(bool = false); ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:330:15: warning: 'virtual bool KnownVariable::representsNumber(bool)' can be marked override [-Wsuggest-override] virtual bool representsNumber(bool = false); ^~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:331:15: warning: 'virtual bool KnownVariable::representsRational(bool)' can be marked override [-Wsuggest-override] virtual bool representsRational(bool = false); ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:332:15: warning: 'virtual bool KnownVariable::representsReal(bool)' can be marked override [-Wsuggest-override] virtual bool representsReal(bool = false); ^~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:333:15: warning: 'virtual bool KnownVariable::representsNonComplex(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonComplex(bool = false); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:334:15: warning: 'virtual bool KnownVariable::representsComplex(bool)' can be marked override [-Wsuggest-override] virtual bool representsComplex(bool = false); ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:335:15: warning: 'virtual bool KnownVariable::representsNonZero(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonZero(bool = false); ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:336:15: warning: 'virtual bool KnownVariable::representsEven(bool)' can be marked override [-Wsuggest-override] virtual bool representsEven(bool = false); ^~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:337:15: warning: 'virtual bool KnownVariable::representsOdd(bool)' can be marked override [-Wsuggest-override] virtual bool representsOdd(bool = false); ^~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:338:15: warning: 'virtual bool KnownVariable::representsUndefined(bool, bool, bool)' can be marked override [-Wsuggest-override] virtual bool representsUndefined(bool = false, bool = false, bool = false); ^~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:339:15: warning: 'virtual bool KnownVariable::representsBoolean()' can be marked override [-Wsuggest-override] virtual bool representsBoolean(); ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:340:15: warning: 'virtual bool KnownVariable::representsNonMatrix()' can be marked override [-Wsuggest-override] virtual bool representsNonMatrix(); ^~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:341:15: warning: 'virtual bool KnownVariable::representsScalar()' can be marked override [-Wsuggest-override] virtual bool representsScalar(); ^~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:362:18: warning: 'virtual ExpressionItem* DynamicVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const = 0; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:363:7: warning: 'virtual void DynamicVariable::set(const ExpressionItem*)' can be marked override [-Wsuggest-override] void set(const ExpressionItem *item); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:365:23: warning: 'virtual const MathStructure& DynamicVariable::get()' can be marked override [-Wsuggest-override] const MathStructure &get(); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:367:7: warning: 'virtual void DynamicVariable::set(const MathStructure&)' can be marked override [-Wsuggest-override] void set(const MathStructure &o); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:368:7: warning: 'virtual void DynamicVariable::set(std::__cxx11::string)' can be marked override [-Wsuggest-override] void set(string expression_); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:376:15: warning: 'virtual bool DynamicVariable::representsPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsPositive(bool = false) {return true;} ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:377:15: warning: 'virtual bool DynamicVariable::representsNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNegative(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:378:15: warning: 'virtual bool DynamicVariable::representsNonNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonNegative(bool = false) {return true;} ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:379:15: warning: 'virtual bool DynamicVariable::representsNonPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonPositive(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:380:15: warning: 'virtual bool DynamicVariable::representsInteger(bool)' can be marked override [-Wsuggest-override] virtual bool representsInteger(bool = false) {return false;} ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:381:15: warning: 'virtual bool DynamicVariable::representsNonInteger(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonInteger(bool = false) {return true;} ^~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:382:15: warning: 'virtual bool DynamicVariable::representsNumber(bool)' can be marked override [-Wsuggest-override] virtual bool representsNumber(bool = false) {return true;} ^~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:383:15: warning: 'virtual bool DynamicVariable::representsRational(bool)' can be marked override [-Wsuggest-override] virtual bool representsRational(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:384:15: warning: 'virtual bool DynamicVariable::representsReal(bool)' can be marked override [-Wsuggest-override] virtual bool representsReal(bool = false) {return true;} ^~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:385:15: warning: 'virtual bool DynamicVariable::representsComplex(bool)' can be marked override [-Wsuggest-override] virtual bool representsComplex(bool = false) {return false;} ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:386:15: warning: 'virtual bool DynamicVariable::representsNonZero(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonZero(bool = false) {return true;} ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:387:15: warning: 'virtual bool DynamicVariable::representsEven(bool)' can be marked override [-Wsuggest-override] virtual bool representsEven(bool = false) {return false;} ^~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:388:15: warning: 'virtual bool DynamicVariable::representsOdd(bool)' can be marked override [-Wsuggest-override] virtual bool representsOdd(bool = false) {return false;} ^~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:389:15: warning: 'virtual bool DynamicVariable::representsUndefined(bool, bool, bool)' can be marked override [-Wsuggest-override] virtual bool representsUndefined(bool = false, bool = false, bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:390:15: warning: 'virtual bool DynamicVariable::representsBoolean()' can be marked override [-Wsuggest-override] virtual bool representsBoolean() {return false;} ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:391:15: warning: 'virtual bool DynamicVariable::representsNonMatrix()' can be marked override [-Wsuggest-override] virtual bool representsNonMatrix() {return true;} ^~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:392:15: warning: 'virtual bool DynamicVariable::representsScalar()' can be marked override [-Wsuggest-override] virtual bool representsScalar() {return true;} ^~~~~~~~~~~~~~~~ In file included from /tmp/math/cantor/work/cantor-19.08.3/src/backends/qalculate/qalculatesession.h:29:0, from /tmp/math/cantor/work/cantor-19.08.3/src/backends/qalculate/qalculatesyntaxhelpobject.cpp:21: /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:22:12: warning: 'virtual void PiVariable::calculate(MathStructure&) const' can be marked override [-Wsuggest-override] void calculate(MathStructure &m) const; \ ^ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:397:1: note: in expansion of macro 'DECLARE_BUILTIN_VARIABLE' DECLARE_BUILTIN_VARIABLE(PiVariable) ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:26:23: warning: 'virtual ExpressionItem* PiVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const {return new x(this);} \ ^ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:397:1: note: in expansion of macro 'DECLARE_BUILTIN_VARIABLE' DECLARE_BUILTIN_VARIABLE(PiVariable) ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:22:12: warning: 'virtual void EVariable::calculate(MathStructure&) const' can be marked override [-Wsuggest-override] void calculate(MathStructure &m) const; \ ^ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:399:1: note: in expansion of macro 'DECLARE_BUILTIN_VARIABLE' DECLARE_BUILTIN_VARIABLE(EVariable) ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:26:23: warning: 'virtual ExpressionItem* EVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const {return new x(this);} \ ^ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:399:1: note: in expansion of macro 'DECLARE_BUILTIN_VARIABLE' DECLARE_BUILTIN_VARIABLE(EVariable) ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:22:12: warning: 'virtual void EulerVariable::calculate(MathStructure&) const' can be marked override [-Wsuggest-override] void calculate(MathStructure &m) const; \ ^ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:401:1: note: in expansion of macro 'DECLARE_BUILTIN_VARIABLE' DECLARE_BUILTIN_VARIABLE(EulerVariable) ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:26:23: warning: 'virtual ExpressionItem* EulerVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const {return new x(this);} \ ^ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:401:1: note: in expansion of macro 'DECLARE_BUILTIN_VARIABLE' DECLARE_BUILTIN_VARIABLE(EulerVariable) ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:22:12: warning: 'virtual void CatalanVariable::calculate(MathStructure&) const' can be marked override [-Wsuggest-override] void calculate(MathStructure &m) const; \ ^ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:403:1: note: in expansion of macro 'DECLARE_BUILTIN_VARIABLE' DECLARE_BUILTIN_VARIABLE(CatalanVariable) ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:26:23: warning: 'virtual ExpressionItem* CatalanVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const {return new x(this);} \ ^ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:403:1: note: in expansion of macro 'DECLARE_BUILTIN_VARIABLE' DECLARE_BUILTIN_VARIABLE(CatalanVariable) ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/cantor/work/cantor-19.08.3/src/backends/qalculate/qalculatesession.h:29:0, from /tmp/math/cantor/work/cantor-19.08.3/src/backends/qalculate/qalculatesyntaxhelpobject.cpp:21: /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:407:7: warning: 'virtual void PrecisionVariable::calculate(MathStructure&) const' can be marked override [-Wsuggest-override] void calculate(MathStructure &m) const; ^~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:411:18: warning: 'virtual ExpressionItem* PrecisionVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const {return new PrecisionVariable(this);} ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:412:7: warning: 'virtual bool PrecisionVariable::representsInteger(bool)' can be marked override [-Wsuggest-override] bool representsInteger(bool = false) {return true;} ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:413:7: warning: 'virtual bool PrecisionVariable::representsNonInteger(bool)' can be marked override [-Wsuggest-override] bool representsNonInteger(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:418:7: warning: 'virtual void TodayVariable::calculate(MathStructure&) const' can be marked override [-Wsuggest-override] void calculate(MathStructure &m) const; ^~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:422:18: warning: 'virtual ExpressionItem* TodayVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const {return new TodayVariable(this);} ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:423:15: warning: 'virtual bool TodayVariable::representsPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsPositive(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:424:15: warning: 'virtual bool TodayVariable::representsNonNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonNegative(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:425:15: warning: 'virtual bool TodayVariable::representsNonInteger(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonInteger(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:426:15: warning: 'virtual bool TodayVariable::representsNumber(bool)' can be marked override [-Wsuggest-override] virtual bool representsNumber(bool b = false) {return b;} ^~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:427:15: warning: 'virtual bool TodayVariable::representsReal(bool)' can be marked override [-Wsuggest-override] virtual bool representsReal(bool b = false) {return b;} ^~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:428:15: warning: 'virtual bool TodayVariable::representsNonZero(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonZero(bool b = false) {return b;} ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:432:7: warning: 'virtual void TomorrowVariable::calculate(MathStructure&) const' can be marked override [-Wsuggest-override] void calculate(MathStructure &m) const; ^~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:436:18: warning: 'virtual ExpressionItem* TomorrowVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const {return new TomorrowVariable(this);} ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:437:15: warning: 'virtual bool TomorrowVariable::representsPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsPositive(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:438:15: warning: 'virtual bool TomorrowVariable::representsNonNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonNegative(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:439:15: warning: 'virtual bool TomorrowVariable::representsNonInteger(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonInteger(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:440:15: warning: 'virtual bool TomorrowVariable::representsNumber(bool)' can be marked override [-Wsuggest-override] virtual bool representsNumber(bool b = false) {return b;} ^~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:441:15: warning: 'virtual bool TomorrowVariable::representsReal(bool)' can be marked override [-Wsuggest-override] virtual bool representsReal(bool b = false) {return b;} ^~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:442:15: warning: 'virtual bool TomorrowVariable::representsNonZero(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonZero(bool b = false) {return b;} ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:446:7: warning: 'virtual void YesterdayVariable::calculate(MathStructure&) const' can be marked override [-Wsuggest-override] void calculate(MathStructure &m) const; ^~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:450:18: warning: 'virtual ExpressionItem* YesterdayVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const {return new YesterdayVariable(this);} ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:451:15: warning: 'virtual bool YesterdayVariable::representsPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsPositive(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:452:15: warning: 'virtual bool YesterdayVariable::representsNonNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonNegative(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:453:15: warning: 'virtual bool YesterdayVariable::representsNonInteger(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonInteger(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:454:15: warning: 'virtual bool YesterdayVariable::representsNumber(bool)' can be marked override [-Wsuggest-override] virtual bool representsNumber(bool b = false) {return b;} ^~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:455:15: warning: 'virtual bool YesterdayVariable::representsReal(bool)' can be marked override [-Wsuggest-override] virtual bool representsReal(bool b = false) {return b;} ^~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:456:15: warning: 'virtual bool YesterdayVariable::representsNonZero(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonZero(bool b = false) {return b;} ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:460:7: warning: 'virtual void NowVariable::calculate(MathStructure&) const' can be marked override [-Wsuggest-override] void calculate(MathStructure &m) const; ^~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:464:18: warning: 'virtual ExpressionItem* NowVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const {return new NowVariable(this);} ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:465:15: warning: 'virtual bool NowVariable::representsPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsPositive(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:466:15: warning: 'virtual bool NowVariable::representsNonNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonNegative(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:467:15: warning: 'virtual bool NowVariable::representsNonInteger(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonInteger(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:468:15: warning: 'virtual bool NowVariable::representsNumber(bool)' can be marked override [-Wsuggest-override] virtual bool representsNumber(bool b = false) {return b;} ^~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:469:15: warning: 'virtual bool NowVariable::representsReal(bool)' can be marked override [-Wsuggest-override] virtual bool representsReal(bool b = false) {return b;} ^~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:470:15: warning: 'virtual bool NowVariable::representsNonZero(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonZero(bool b = false) {return b;} ^~~~~~~~~~~~~~~~~ In file included from /tmp/math/cantor/work/cantor-19.08.3/src/backends/qalculate/qalculatesyntaxhelpobject.cpp:27:0: /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:53:26: warning: 'virtual ExpressionItem* Unit::copy() const' can be marked override [-Wsuggest-override] virtual ExpressionItem *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:54:15: warning: 'virtual void Unit::set(const ExpressionItem*)' can be marked override [-Wsuggest-override] virtual void set(const ExpressionItem *item); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:106:14: warning: 'virtual int Unit::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:111:14: warning: 'virtual int Unit::subtype() const' can be marked override [-Wsuggest-override] virtual int subtype() const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:188:26: warning: 'virtual ExpressionItem* AliasUnit::copy() const' can be marked override [-Wsuggest-override] virtual ExpressionItem *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:189:15: warning: 'virtual void AliasUnit::set(const ExpressionItem*)' can be marked override [-Wsuggest-override] virtual void set(const ExpressionItem *item); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:191:16: warning: 'virtual Unit* AliasUnit::baseUnit() const' can be marked override [-Wsuggest-override] virtual Unit* baseUnit() const; ^~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:208:25: warning: 'virtual MathStructure& AliasUnit::convertToBaseUnit(MathStructure&, MathStructure&) const' can be marked override [-Wsuggest-override] virtual MathStructure &convertToBaseUnit(MathStructure &mvalue, MathStructure &mexp) const; ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:209:25: warning: 'virtual MathStructure& AliasUnit::convertFromBaseUnit(MathStructure&, MathStructure&) const' can be marked override [-Wsuggest-override] virtual MathStructure &convertFromBaseUnit(MathStructure &mvalue, MathStructure &mexp) const; ^~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:210:25: warning: 'virtual MathStructure& AliasUnit::convertToBaseUnit(MathStructure&) const' can be marked override [-Wsuggest-override] virtual MathStructure &convertToBaseUnit(MathStructure &mvalue) const; ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:211:25: warning: 'virtual MathStructure& AliasUnit::convertFromBaseUnit(MathStructure&) const' can be marked override [-Wsuggest-override] virtual MathStructure &convertFromBaseUnit(MathStructure &mvalue) const; ^~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:212:24: warning: 'virtual MathStructure AliasUnit::convertToBaseUnit() const' can be marked override [-Wsuggest-override] virtual MathStructure convertToBaseUnit() const; ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:213:24: warning: 'virtual MathStructure AliasUnit::convertFromBaseUnit() const' can be marked override [-Wsuggest-override] virtual MathStructure convertFromBaseUnit() const; ^~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:214:14: warning: 'virtual int AliasUnit::baseExponent(int) const' can be marked override [-Wsuggest-override] virtual int baseExponent(int exp = 1) const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:221:14: warning: 'virtual int AliasUnit::subtype() const' can be marked override [-Wsuggest-override] virtual int subtype() const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:222:15: warning: 'virtual bool AliasUnit::isChildOf(Unit*) const' can be marked override [-Wsuggest-override] virtual bool isChildOf(Unit *u) const; ^~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:223:15: warning: 'virtual bool AliasUnit::isParentOf(Unit*) const' can be marked override [-Wsuggest-override] virtual bool isParentOf(Unit *u) const; ^~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:225:15: warning: 'virtual bool AliasUnit::hasNonlinearRelationTo(Unit*) const' can be marked override [-Wsuggest-override] virtual bool hasNonlinearRelationTo(Unit *u) const; ^~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:227:15: warning: 'virtual bool AliasUnit::hasApproximateRelationTo(Unit*, bool, bool) const' can be marked override [-Wsuggest-override] virtual bool hasApproximateRelationTo(Unit *u, bool check_variables = false, bool ignore_high_precision_intervals = false) const; ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:228:15: warning: 'virtual bool AliasUnit::containsRelativeTo(Unit*) const' can be marked override [-Wsuggest-override] virtual bool containsRelativeTo(Unit *u) const; ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:229:15: warning: 'virtual bool AliasUnit::hasNonlinearRelationToBase() const' can be marked override [-Wsuggest-override] virtual bool hasNonlinearRelationToBase() const; ^~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:230:15: warning: 'virtual bool AliasUnit::hasApproximateRelationToBase(bool, bool) const' can be marked override [-Wsuggest-override] virtual bool hasApproximateRelationToBase(bool check_variables = false, bool ignore_high_precision_intervals = false) const; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:250:26: warning: 'virtual ExpressionItem* AliasUnit_Composite::copy() const' can be marked override [-Wsuggest-override] virtual ExpressionItem *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:251:15: warning: 'virtual void AliasUnit_Composite::set(const ExpressionItem*)' can be marked override [-Wsuggest-override] virtual void set(const ExpressionItem *item); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:253:17: warning: 'virtual std::__cxx11::string AliasUnit_Composite::print(bool, bool, bool, bool (*)(const char*, void*), void*) const' can be marked override [-Wsuggest-override] virtual string print(bool plural_, bool short_, bool use_unicode = false, bool (*can_display_unicode_string_function) (const char*, void*) = NULL, void *can_display_unicode_string_arg = NULL) const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:257:25: warning: 'virtual MathStructure& AliasUnit_Composite::convertToFirstBaseUnit(MathStructure&, MathStructure&) const' can be marked override [-Wsuggest-override] virtual MathStructure &convertToFirstBaseUnit(MathStructure &mvalue, MathStructure &mexp) const; ^~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:258:25: warning: 'virtual MathStructure& AliasUnit_Composite::convertFromFirstBaseUnit(MathStructure&, MathStructure&) const' can be marked override [-Wsuggest-override] virtual MathStructure &convertFromFirstBaseUnit(MathStructure &mvalue, MathStructure &mexp) const; ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:287:27: warning: 'virtual ExpressionItem* CompositeUnit::copy() const' can be marked override [-Wsuggest-override] virtual ExpressionItem *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:288:16: warning: 'virtual void CompositeUnit::set(const ExpressionItem*)' can be marked override [-Wsuggest-override] virtual void set(const ExpressionItem *item); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:313:18: warning: 'virtual std::__cxx11::string CompositeUnit::print(bool, bool, bool, bool (*)(const char*, void*), void*) const' can be marked override [-Wsuggest-override] virtual string print(bool plural_, bool short_, bool use_unicode = false, bool (*can_display_unicode_string_function) (const char*, void*) = NULL, void *can_display_unicode_string_arg = NULL) const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:314:15: warning: 'virtual int CompositeUnit::subtype() const' can be marked override [-Wsuggest-override] virtual int subtype() const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:317:16: warning: 'virtual bool CompositeUnit::containsRelativeTo(Unit*) const' can be marked override [-Wsuggest-override] virtual bool containsRelativeTo(Unit *u) const; ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:318:16: warning: 'virtual bool CompositeUnit::hasNonlinearRelationToBase() const' can be marked override [-Wsuggest-override] virtual bool hasNonlinearRelationToBase() const; ^~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Unit.h:319:16: warning: 'virtual bool CompositeUnit::hasApproximateRelationToBase(bool, bool) const' can be marked override [-Wsuggest-override] virtual bool hasApproximateRelationToBase(bool check_variables = false, bool ignore_high_precision_intervals = false) const; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/cantor/work/cantor-19.08.3/src/backends/qalculate/qalculatesyntaxhelpobject.cpp:28:0: /tmp/math/cantor/work/.buildlink/include/libqalculate/Prefix.h:147:9: warning: 'virtual Number DecimalPrefix::value(const Number&) const' can be marked override [-Wsuggest-override] Number value(const Number &nexp) const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Prefix.h:148:9: warning: 'virtual Number DecimalPrefix::value(int) const' can be marked override [-Wsuggest-override] Number value(int iexp) const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Prefix.h:149:9: warning: 'virtual Number DecimalPrefix::value() const' can be marked override [-Wsuggest-override] Number value() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Prefix.h:150:6: warning: 'virtual int DecimalPrefix::type() const' can be marked override [-Wsuggest-override] int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Prefix.h:186:9: warning: 'virtual Number BinaryPrefix::value(const Number&) const' can be marked override [-Wsuggest-override] Number value(const Number &nexp) const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Prefix.h:187:9: warning: 'virtual Number BinaryPrefix::value(int) const' can be marked override [-Wsuggest-override] Number value(int iexp) const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Prefix.h:188:9: warning: 'virtual Number BinaryPrefix::value() const' can be marked override [-Wsuggest-override] Number value() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Prefix.h:189:6: warning: 'virtual int BinaryPrefix::type() const' can be marked override [-Wsuggest-override] int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Prefix.h:213:9: warning: 'virtual Number NumberPrefix::value(const Number&) const' can be marked override [-Wsuggest-override] Number value(const Number &nexp) const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Prefix.h:214:9: warning: 'virtual Number NumberPrefix::value(int) const' can be marked override [-Wsuggest-override] Number value(int iexp) const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Prefix.h:215:9: warning: 'virtual Number NumberPrefix::value() const' can be marked override [-Wsuggest-override] Number value() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Prefix.h:216:6: warning: 'virtual int NumberPrefix::type() const' can be marked override [-Wsuggest-override] int type() const; ^~~~ In file included from /tmp/math/cantor/work/cantor-19.08.3/src/backends/qalculate/qalculatesyntaxhelpobject.cpp:30:0: /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:92:26: warning: 'virtual ExpressionItem* MathFunction::copy() const' can be marked override [-Wsuggest-override] virtual ExpressionItem *copy() const = 0; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:93:15: warning: 'virtual void MathFunction::set(const ExpressionItem*)' can be marked override [-Wsuggest-override] virtual void set(const ExpressionItem *item); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:94:14: warning: 'virtual int MathFunction::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:99:14: warning: 'virtual int MathFunction::subtype() const' can be marked override [-Wsuggest-override] virtual int subtype() const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:242:7: warning: 'virtual void UserFunction::set(const ExpressionItem*)' can be marked override [-Wsuggest-override] void set(const ExpressionItem *item); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:243:18: warning: 'virtual ExpressionItem* UserFunction::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:248:6: warning: 'virtual int UserFunction::calculate(MathStructure&, const MathStructure&, const EvaluationOptions&)' can be marked override [-Wsuggest-override] int calculate(MathStructure &mstruct, const MathStructure &vargs, const EvaluationOptions &eo); ^~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:269:6: warning: 'virtual int UserFunction::subtype() const' can be marked override [-Wsuggest-override] int subtype() const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:108:24: warning: 'virtual MathStructure MathFunction::calculate(MathStructure&, const EvaluationOptions&)' was hidden [-Woverloaded-virtual] virtual MathStructure calculate(MathStructure &vargs, const EvaluationOptions &eo = default_evaluation_options); ^~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:248:6: warning: by 'virtual int UserFunction::calculate(MathStructure&, const MathStructure&, const EvaluationOptions&)' [-Woverloaded-virtual] int calculate(MathStructure &mstruct, const MathStructure &vargs, const EvaluationOptions &eo); ^~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:105:24: warning: 'virtual MathStructure MathFunction::calculate(const string&, const EvaluationOptions&)' was hidden [-Woverloaded-virtual] virtual MathStructure calculate(const string &eq, const EvaluationOptions &eo = default_evaluation_options); ^~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:248:6: warning: by 'virtual int UserFunction::calculate(MathStructure&, const MathStructure&, const EvaluationOptions&)' [-Woverloaded-virtual] int calculate(MathStructure &mstruct, const MathStructure &vargs, const EvaluationOptions &eo); ^~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:452:15: warning: 'virtual bool NumberArgument::subtest(MathStructure&, const EvaluationOptions&) const' can be marked override [-Wsuggest-override] virtual bool subtest(MathStructure &value, const EvaluationOptions &eo) const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:453:17: warning: 'virtual std::__cxx11::string NumberArgument::subprintlong() const' can be marked override [-Wsuggest-override] virtual string subprintlong() const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:461:15: warning: 'virtual void NumberArgument::set(const Argument*)' can be marked override [-Wsuggest-override] virtual void set(const Argument *arg); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:462:20: warning: 'virtual Argument* NumberArgument::copy() const' can be marked override [-Wsuggest-override] virtual Argument *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:464:17: warning: 'virtual std::__cxx11::string NumberArgument::print() const' can be marked override [-Wsuggest-override] virtual string print() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:480:14: warning: 'virtual int NumberArgument::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:496:15: warning: 'virtual bool IntegerArgument::subtest(MathStructure&, const EvaluationOptions&) const' can be marked override [-Wsuggest-override] virtual bool subtest(MathStructure &value, const EvaluationOptions &eo) const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:497:17: warning: 'virtual std::__cxx11::string IntegerArgument::subprintlong() const' can be marked override [-Wsuggest-override] virtual string subprintlong() const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:508:15: warning: 'virtual void IntegerArgument::set(const Argument*)' can be marked override [-Wsuggest-override] virtual void set(const Argument *arg); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:509:20: warning: 'virtual Argument* IntegerArgument::copy() const' can be marked override [-Wsuggest-override] virtual Argument *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:511:17: warning: 'virtual std::__cxx11::string IntegerArgument::print() const' can be marked override [-Wsuggest-override] virtual string print() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:518:14: warning: 'virtual int IntegerArgument::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:529:17: warning: 'virtual bool SymbolicArgument::subtest(MathStructure&, const EvaluationOptions&) const' can be marked override [-Wsuggest-override] virtual bool subtest(MathStructure &value, const EvaluationOptions &eo) const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:530:17: warning: 'virtual std::__cxx11::string SymbolicArgument::subprintlong() const' can be marked override [-Wsuggest-override] virtual string subprintlong() const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:537:14: warning: 'virtual int SymbolicArgument::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:538:20: warning: 'virtual Argument* SymbolicArgument::copy() const' can be marked override [-Wsuggest-override] virtual Argument *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:539:17: warning: 'virtual std::__cxx11::string SymbolicArgument::print() const' can be marked override [-Wsuggest-override] virtual string print() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:549:15: warning: 'virtual bool TextArgument::subtest(MathStructure&, const EvaluationOptions&) const' can be marked override [-Wsuggest-override] virtual bool subtest(MathStructure &value, const EvaluationOptions &eo) const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:550:17: warning: 'virtual std::__cxx11::string TextArgument::subprintlong() const' can be marked override [-Wsuggest-override] virtual string subprintlong() const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:557:14: warning: 'virtual int TextArgument::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:558:20: warning: 'virtual Argument* TextArgument::copy() const' can be marked override [-Wsuggest-override] virtual Argument *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:559:17: warning: 'virtual std::__cxx11::string TextArgument::print() const' can be marked override [-Wsuggest-override] virtual string print() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:560:15: warning: 'virtual bool TextArgument::suggestsQuotes() const' can be marked override [-Wsuggest-override] virtual bool suggestsQuotes() const; ^~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:570:15: warning: 'virtual bool DateArgument::subtest(MathStructure&, const EvaluationOptions&) const' can be marked override [-Wsuggest-override] virtual bool subtest(MathStructure &value, const EvaluationOptions &eo) const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:571:17: warning: 'virtual std::__cxx11::string DateArgument::subprintlong() const' can be marked override [-Wsuggest-override] virtual string subprintlong() const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:578:15: warning: 'virtual void DateArgument::parse(MathStructure*, const string&, const ParseOptions&) const' can be marked override [-Wsuggest-override] virtual void parse(MathStructure *mstruct, const string &str, const ParseOptions &po = default_parse_options) const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:579:14: warning: 'virtual int DateArgument::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:580:20: warning: 'virtual Argument* DateArgument::copy() const' can be marked override [-Wsuggest-override] virtual Argument *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:581:17: warning: 'virtual std::__cxx11::string DateArgument::print() const' can be marked override [-Wsuggest-override] virtual string print() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:354:24: warning: 'virtual MathStructure Argument::parse(const string&, const ParseOptions&) const' was hidden [-Woverloaded-virtual] virtual MathStructure parse(const string &str, const ParseOptions &po = default_parse_options) const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:578:15: warning: by 'virtual void DateArgument::parse(MathStructure*, const string&, const ParseOptions&) const' [-Woverloaded-virtual] virtual void parse(MathStructure *mstruct, const string &str, const ParseOptions &po = default_parse_options) const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:591:15: warning: 'virtual bool VectorArgument::subtest(MathStructure&, const EvaluationOptions&) const' can be marked override [-Wsuggest-override] virtual bool subtest(MathStructure &value, const EvaluationOptions &eo) const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:592:17: warning: 'virtual std::__cxx11::string VectorArgument::subprintlong() const' can be marked override [-Wsuggest-override] virtual string subprintlong() const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:601:14: warning: 'virtual int VectorArgument::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:602:20: warning: 'virtual Argument* VectorArgument::copy() const' can be marked override [-Wsuggest-override] virtual Argument *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:603:17: warning: 'virtual std::__cxx11::string VectorArgument::print() const' can be marked override [-Wsuggest-override] virtual string print() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:620:15: warning: 'virtual bool MatrixArgument::subtest(MathStructure&, const EvaluationOptions&) const' can be marked override [-Wsuggest-override] virtual bool subtest(MathStructure &value, const EvaluationOptions &eo) const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:621:17: warning: 'virtual std::__cxx11::string MatrixArgument::subprintlong() const' can be marked override [-Wsuggest-override] virtual string subprintlong() const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:631:14: warning: 'virtual int MatrixArgument::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:632:20: warning: 'virtual Argument* MatrixArgument::copy() const' can be marked override [-Wsuggest-override] virtual Argument *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:633:17: warning: 'virtual std::__cxx11::string MatrixArgument::print() const' can be marked override [-Wsuggest-override] virtual string print() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:643:15: warning: 'virtual bool ExpressionItemArgument::subtest(MathStructure&, const EvaluationOptions&) const' can be marked override [-Wsuggest-override] virtual bool subtest(MathStructure &value, const EvaluationOptions &eo) const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:644:17: warning: 'virtual std::__cxx11::string ExpressionItemArgument::subprintlong() const' can be marked override [-Wsuggest-override] virtual string subprintlong() const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:651:14: warning: 'virtual int ExpressionItemArgument::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:652:20: warning: 'virtual Argument* ExpressionItemArgument::copy() const' can be marked override [-Wsuggest-override] virtual Argument *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:653:17: warning: 'virtual std::__cxx11::string ExpressionItemArgument::print() const' can be marked override [-Wsuggest-override] virtual string print() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:662:15: warning: 'virtual bool FunctionArgument::subtest(MathStructure&, const EvaluationOptions&) const' can be marked override [-Wsuggest-override] virtual bool subtest(MathStructure &value, const EvaluationOptions &eo) const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:663:17: warning: 'virtual std::__cxx11::string FunctionArgument::subprintlong() const' can be marked override [-Wsuggest-override] virtual string subprintlong() const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:670:14: warning: 'virtual int FunctionArgument::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:671:20: warning: 'virtual Argument* FunctionArgument::copy() const' can be marked override [-Wsuggest-override] virtual Argument *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:672:17: warning: 'virtual std::__cxx11::string FunctionArgument::print() const' can be marked override [-Wsuggest-override] virtual string print() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:682:15: warning: 'virtual bool BooleanArgument::subtest(MathStructure&, const EvaluationOptions&) const' can be marked override [-Wsuggest-override] virtual bool subtest(MathStructure &value, const EvaluationOptions &eo) const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:683:17: warning: 'virtual std::__cxx11::string BooleanArgument::subprintlong() const' can be marked override [-Wsuggest-override] virtual string subprintlong() const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:690:14: warning: 'virtual int BooleanArgument::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:691:20: warning: 'virtual Argument* BooleanArgument::copy() const' can be marked override [-Wsuggest-override] virtual Argument *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:692:17: warning: 'virtual std::__cxx11::string BooleanArgument::print() const' can be marked override [-Wsuggest-override] virtual string print() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:699:15: warning: 'virtual bool UnitArgument::subtest(MathStructure&, const EvaluationOptions&) const' can be marked override [-Wsuggest-override] virtual bool subtest(MathStructure &value, const EvaluationOptions &eo) const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:700:17: warning: 'virtual std::__cxx11::string UnitArgument::subprintlong() const' can be marked override [-Wsuggest-override] virtual string subprintlong() const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:707:14: warning: 'virtual int UnitArgument::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:708:20: warning: 'virtual Argument* UnitArgument::copy() const' can be marked override [-Wsuggest-override] virtual Argument *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:709:17: warning: 'virtual std::__cxx11::string UnitArgument::print() const' can be marked override [-Wsuggest-override] virtual string print() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:715:15: warning: 'virtual bool AngleArgument::subtest(MathStructure&, const EvaluationOptions&) const' can be marked override [-Wsuggest-override] virtual bool subtest(MathStructure &value, const EvaluationOptions &eo) const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:716:17: warning: 'virtual std::__cxx11::string AngleArgument::subprintlong() const' can be marked override [-Wsuggest-override] virtual string subprintlong() const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:723:14: warning: 'virtual int AngleArgument::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:724:20: warning: 'virtual Argument* AngleArgument::copy() const' can be marked override [-Wsuggest-override] virtual Argument *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:725:17: warning: 'virtual std::__cxx11::string AngleArgument::print() const' can be marked override [-Wsuggest-override] virtual string print() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:726:15: warning: 'virtual void AngleArgument::parse(MathStructure*, const string&, const ParseOptions&) const' can be marked override [-Wsuggest-override] virtual void parse(MathStructure *mstruct, const string &str, const ParseOptions &po = default_parse_options) const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:354:24: warning: 'virtual MathStructure Argument::parse(const string&, const ParseOptions&) const' was hidden [-Woverloaded-virtual] virtual MathStructure parse(const string &str, const ParseOptions &po = default_parse_options) const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:726:15: warning: by 'virtual void AngleArgument::parse(MathStructure*, const string&, const ParseOptions&) const' [-Woverloaded-virtual] virtual void parse(MathStructure *mstruct, const string &str, const ParseOptions &po = default_parse_options) const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:732:15: warning: 'virtual bool VariableArgument::subtest(MathStructure&, const EvaluationOptions&) const' can be marked override [-Wsuggest-override] virtual bool subtest(MathStructure &value, const EvaluationOptions &eo) const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:733:17: warning: 'virtual std::__cxx11::string VariableArgument::subprintlong() const' can be marked override [-Wsuggest-override] virtual string subprintlong() const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:740:14: warning: 'virtual int VariableArgument::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:741:20: warning: 'virtual Argument* VariableArgument::copy() const' can be marked override [-Wsuggest-override] virtual Argument *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:742:17: warning: 'virtual std::__cxx11::string VariableArgument::print() const' can be marked override [-Wsuggest-override] virtual string print() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:748:15: warning: 'virtual bool FileArgument::subtest(MathStructure&, const EvaluationOptions&) const' can be marked override [-Wsuggest-override] virtual bool subtest(MathStructure &value, const EvaluationOptions &eo) const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:749:17: warning: 'virtual std::__cxx11::string FileArgument::subprintlong() const' can be marked override [-Wsuggest-override] virtual string subprintlong() const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:756:14: warning: 'virtual int FileArgument::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:757:20: warning: 'virtual Argument* FileArgument::copy() const' can be marked override [-Wsuggest-override] virtual Argument *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:758:17: warning: 'virtual std::__cxx11::string FileArgument::print() const' can be marked override [-Wsuggest-override] virtual string print() const; ^~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:768:15: warning: 'virtual bool ArgumentSet::subtest(MathStructure&, const EvaluationOptions&) const' can be marked override [-Wsuggest-override] virtual bool subtest(MathStructure &value, const EvaluationOptions &eo) const; ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:769:17: warning: 'virtual std::__cxx11::string ArgumentSet::subprintlong() const' can be marked override [-Wsuggest-override] virtual string subprintlong() const; ^~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:777:14: warning: 'virtual int ArgumentSet::type() const' can be marked override [-Wsuggest-override] virtual int type() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:778:20: warning: 'virtual Argument* ArgumentSet::copy() const' can be marked override [-Wsuggest-override] virtual Argument *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Function.h:779:17: warning: 'virtual std::__cxx11::string ArgumentSet::print() const' can be marked override [-Wsuggest-override] virtual string print() const; ^~~~~ [ 43%] Building CXX object src/backends/maxima/CMakeFiles/cantor_maximabackend.dir/maximahighlighter.cpp.o [ 44%] Building CXX object src/backends/qalculate/CMakeFiles/cantor_qalculatebackend.dir/qalculatebackend.cpp.o [ 45%] Building CXX object src/backends/scilab/CMakeFiles/cantor_scilabbackend.dir/scilabcompletionobject.cpp.o [ 45%] Building CXX object src/backends/octave/CMakeFiles/cantor_octavebackend.dir/octavekeywords.cpp.o /tmp/math/cantor/work/cantor-19.08.3/src/backends/scilab/scilabcompletionobject.cpp: In member function 'virtual void ScilabCompletionObject::fetchIdentifierType()': /tmp/math/cantor/work/cantor-19.08.3/src/backends/scilab/scilabcompletionobject.cpp:55:25: warning: 'RandomAccessIterator qBinaryFind(RandomAccessIterator, RandomAccessIterator, const T&) [with RandomAccessIterator = QList::const_iterator; T = QString]' is deprecated: Use std::binary_search [-Wdeprecated-declarations] identifier()) != ScilabKeywords::instance()->functions().end()) ^ In file included from /usr/pkg/qt5/include/QtCore/qlist.h:43:0, from /usr/pkg/qt5/include/QtCore/qobject.h:49, from /usr/pkg/qt5/include/QtCore/QObject:1, from /usr/pkg/include/KF5/KCompletion/kcompletion.h:25, from /usr/pkg/include/KF5/KCompletion/KCompletion:1, from /tmp/math/cantor/work/cantor-19.08.3/src/lib/completionobject.h:24, from /tmp/math/cantor/work/cantor-19.08.3/src/backends/scilab/scilabcompletionobject.h:24, from /tmp/math/cantor/work/cantor-19.08.3/src/backends/scilab/scilabcompletionobject.cpp:21: /usr/pkg/qt5/include/QtCore/qalgorithms.h:292:85: note: declared here QT_DEPRECATED_X("Use std::binary_search") Q_OUTOFLINE_TEMPLATE RandomAccessIterator qBinaryFind(RandomAccessIterator begin, RandomAccessIterator end, const T &value) ^~~~~~~~~~~ /tmp/math/cantor/work/cantor-19.08.3/src/backends/scilab/scilabcompletionobject.cpp:58:25: warning: 'RandomAccessIterator qBinaryFind(RandomAccessIterator, RandomAccessIterator, const T&) [with RandomAccessIterator = QList::const_iterator; T = QString]' is deprecated: Use std::binary_search [-Wdeprecated-declarations] identifier()) != ScilabKeywords::instance()->keywords().end()) ^ In file included from /usr/pkg/qt5/include/QtCore/qlist.h:43:0, from /usr/pkg/qt5/include/QtCore/qobject.h:49, from /usr/pkg/qt5/include/QtCore/QObject:1, from /usr/pkg/include/KF5/KCompletion/kcompletion.h:25, from /usr/pkg/include/KF5/KCompletion/KCompletion:1, from /tmp/math/cantor/work/cantor-19.08.3/src/lib/completionobject.h:24, from /tmp/math/cantor/work/cantor-19.08.3/src/backends/scilab/scilabcompletionobject.h:24, from /tmp/math/cantor/work/cantor-19.08.3/src/backends/scilab/scilabcompletionobject.cpp:21: /usr/pkg/qt5/include/QtCore/qalgorithms.h:292:85: note: declared here QT_DEPRECATED_X("Use std::binary_search") Q_OUTOFLINE_TEMPLATE RandomAccessIterator qBinaryFind(RandomAccessIterator begin, RandomAccessIterator end, const T &value) ^~~~~~~~~~~ /tmp/math/cantor/work/cantor-19.08.3/src/backends/octave/octavekeywords.cpp: In static member function 'static OctaveKeywords* OctaveKeywords::instance()': /tmp/math/cantor/work/cantor-19.08.3/src/backends/octave/octavekeywords.cpp:74:32: warning: 'void qSort(Container&) [with Container = QStringList]' is deprecated: Use std::sort [-Wdeprecated-declarations] qSort(inst->m_functions); ^ In file included from /usr/pkg/qt5/include/QtCore/qlist.h:43:0, from /usr/pkg/qt5/include/QtCore/qstringlist.h:41, from /usr/pkg/qt5/include/QtCore/QStringList:1, from /tmp/math/cantor/work/cantor-19.08.3/src/backends/octave/octavekeywords.h:24, from /tmp/math/cantor/work/cantor-19.08.3/src/backends/octave/octavekeywords.cpp:21: /usr/pkg/qt5/include/QtCore/qalgorithms.h:188:46: note: declared here QT_DEPRECATED_X("Use std::sort") inline void qSort(Container &c) ^~~~~ /tmp/math/cantor/work/cantor-19.08.3/src/backends/octave/octavekeywords.cpp:75:31: warning: 'void qSort(Container&) [with Container = QStringList]' is deprecated: Use std::sort [-Wdeprecated-declarations] qSort(inst->m_keywords); ^ In file included from /usr/pkg/qt5/include/QtCore/qlist.h:43:0, from /usr/pkg/qt5/include/QtCore/qstringlist.h:41, from /usr/pkg/qt5/include/QtCore/QStringList:1, from /tmp/math/cantor/work/cantor-19.08.3/src/backends/octave/octavekeywords.h:24, from /tmp/math/cantor/work/cantor-19.08.3/src/backends/octave/octavekeywords.cpp:21: /usr/pkg/qt5/include/QtCore/qalgorithms.h:188:46: note: declared here QT_DEPRECATED_X("Use std::sort") inline void qSort(Container &c) ^~~~~ [ 45%] Building CXX object src/backends/scilab/CMakeFiles/cantor_scilabbackend.dir/scilabexpression.cpp.o [ 45%] Building CXX object src/backends/maxima/CMakeFiles/cantor_maximabackend.dir/maximakeywords.cpp.o In file included from /tmp/math/cantor/work/.buildlink/include/libqalculate/Calculator.h:16:0, from /tmp/math/cantor/work/cantor-19.08.3/src/backends/qalculate/qalculateexpression.h:25, from /tmp/math/cantor/work/cantor-19.08.3/src/backends/qalculate/qalculatesession.h:23, from /tmp/math/cantor/work/cantor-19.08.3/src/backends/qalculate/qalculatebackend.cpp:25: /tmp/math/cantor/work/.buildlink/include/libqalculate/util.h:58:80: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] size_t find_ending_bracket(const string &str, size_t start, int *missing = NULL); ^ /tmp/math/cantor/work/.buildlink/include/libqalculate/util.h:106:127: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] int checkAvailableVersion(const char *version_id, const char *current_version, string *avaible_version = NULL, int timeout = 5); ^ [ 45%] Building CXX object src/backends/octave/CMakeFiles/cantor_octavebackend.dir/octavecompletionobject.cpp.o In file included from /tmp/math/cantor/work/cantor-19.08.3/src/backends/qalculate/qalculatesession.h:29:0, from /tmp/math/cantor/work/cantor-19.08.3/src/backends/qalculate/qalculatebackend.cpp:25: /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:130:26: warning: 'virtual ExpressionItem* Variable::copy() const' can be marked override [-Wsuggest-override] virtual ExpressionItem *copy() const = 0; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:131:15: warning: 'virtual void Variable::set(const ExpressionItem*)' can be marked override [-Wsuggest-override] virtual void set(const ExpressionItem *item); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:132:14: warning: 'virtual int Variable::type() const' can be marked override [-Wsuggest-override] virtual int type() const {return TYPE_VARIABLE;} ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:137:14: warning: 'virtual int Variable::subtype() const' can be marked override [-Wsuggest-override] virtual int subtype() const {return SUBTYPE_VARIABLE;} ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:199:26: warning: 'virtual ExpressionItem* UnknownVariable::copy() const' can be marked override [-Wsuggest-override] virtual ExpressionItem *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:200:15: warning: 'virtual void UnknownVariable::set(const ExpressionItem*)' can be marked override [-Wsuggest-override] virtual void set(const ExpressionItem *item); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:201:7: warning: 'virtual bool UnknownVariable::isKnown() const' can be marked override [-Wsuggest-override] bool isKnown() const {return false;} ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:218:14: warning: 'virtual int UnknownVariable::subtype() const' can be marked override [-Wsuggest-override] virtual int subtype() const {return SUBTYPE_UNKNOWN_VARIABLE;} ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:220:15: warning: 'virtual bool UnknownVariable::representsPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsPositive(bool = false); ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:221:15: warning: 'virtual bool UnknownVariable::representsNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNegative(bool = false); ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:222:15: warning: 'virtual bool UnknownVariable::representsNonNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonNegative(bool = false); ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:223:15: warning: 'virtual bool UnknownVariable::representsNonPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonPositive(bool = false); ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:224:15: warning: 'virtual bool UnknownVariable::representsInteger(bool)' can be marked override [-Wsuggest-override] virtual bool representsInteger(bool = false); ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:225:15: warning: 'virtual bool UnknownVariable::representsNumber(bool)' can be marked override [-Wsuggest-override] virtual bool representsNumber(bool = false); ^~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:226:15: warning: 'virtual bool UnknownVariable::representsRational(bool)' can be marked override [-Wsuggest-override] virtual bool representsRational(bool = false); ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:227:15: warning: 'virtual bool UnknownVariable::representsReal(bool)' can be marked override [-Wsuggest-override] virtual bool representsReal(bool = false); ^~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:228:15: warning: 'virtual bool UnknownVariable::representsNonComplex(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonComplex(bool = false); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:229:15: warning: 'virtual bool UnknownVariable::representsComplex(bool)' can be marked override [-Wsuggest-override] virtual bool representsComplex(bool = false); ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:230:15: warning: 'virtual bool UnknownVariable::representsNonZero(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonZero(bool = false); ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:231:15: warning: 'virtual bool UnknownVariable::representsNonMatrix()' can be marked override [-Wsuggest-override] virtual bool representsNonMatrix(); ^~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:232:15: warning: 'virtual bool UnknownVariable::representsScalar()' can be marked override [-Wsuggest-override] virtual bool representsScalar(); ^~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:286:26: warning: 'virtual ExpressionItem* KnownVariable::copy() const' can be marked override [-Wsuggest-override] virtual ExpressionItem *copy() const; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:287:15: warning: 'virtual void KnownVariable::set(const ExpressionItem*)' can be marked override [-Wsuggest-override] virtual void set(const ExpressionItem *item); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:288:7: warning: 'virtual bool KnownVariable::isKnown() const' can be marked override [-Wsuggest-override] bool isKnown() const {return true;} ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:302:6: warning: 'virtual int KnownVariable::subtype() const' can be marked override [-Wsuggest-override] int subtype() const {return SUBTYPE_KNOWN_VARIABLE;} ^~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:323:15: warning: 'virtual bool KnownVariable::representsPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsPositive(bool = false); ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:324:15: warning: 'virtual bool KnownVariable::representsNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNegative(bool = false); ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:325:15: warning: 'virtual bool KnownVariable::representsNonNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonNegative(bool = false); ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:326:15: warning: 'virtual bool KnownVariable::representsNonPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonPositive(bool = false); ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:327:15: warning: 'virtual bool KnownVariable::representsInteger(bool)' can be marked override [-Wsuggest-override] virtual bool representsInteger(bool = false); ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:328:15: warning: 'virtual bool KnownVariable::representsNonInteger(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonInteger(bool = false); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:329:15: warning: 'virtual bool KnownVariable::representsFraction(bool)' can be marked override [-Wsuggest-override] virtual bool representsFraction(bool = false); ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:330:15: warning: 'virtual bool KnownVariable::representsNumber(bool)' can be marked override [-Wsuggest-override] virtual bool representsNumber(bool = false); ^~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:331:15: warning: 'virtual bool KnownVariable::representsRational(bool)' can be marked override [-Wsuggest-override] virtual bool representsRational(bool = false); ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:332:15: warning: 'virtual bool KnownVariable::representsReal(bool)' can be marked override [-Wsuggest-override] virtual bool representsReal(bool = false); ^~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:333:15: warning: 'virtual bool KnownVariable::representsNonComplex(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonComplex(bool = false); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:334:15: warning: 'virtual bool KnownVariable::representsComplex(bool)' can be marked override [-Wsuggest-override] virtual bool representsComplex(bool = false); ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:335:15: warning: 'virtual bool KnownVariable::representsNonZero(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonZero(bool = false); ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:336:15: warning: 'virtual bool KnownVariable::representsEven(bool)' can be marked override [-Wsuggest-override] virtual bool representsEven(bool = false); ^~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:337:15: warning: 'virtual bool KnownVariable::representsOdd(bool)' can be marked override [-Wsuggest-override] virtual bool representsOdd(bool = false); ^~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:338:15: warning: 'virtual bool KnownVariable::representsUndefined(bool, bool, bool)' can be marked override [-Wsuggest-override] virtual bool representsUndefined(bool = false, bool = false, bool = false); ^~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:339:15: warning: 'virtual bool KnownVariable::representsBoolean()' can be marked override [-Wsuggest-override] virtual bool representsBoolean(); ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:340:15: warning: 'virtual bool KnownVariable::representsNonMatrix()' can be marked override [-Wsuggest-override] virtual bool representsNonMatrix(); ^~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:341:15: warning: 'virtual bool KnownVariable::representsScalar()' can be marked override [-Wsuggest-override] virtual bool representsScalar(); ^~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:362:18: warning: 'virtual ExpressionItem* DynamicVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const = 0; ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:363:7: warning: 'virtual void DynamicVariable::set(const ExpressionItem*)' can be marked override [-Wsuggest-override] void set(const ExpressionItem *item); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:365:23: warning: 'virtual const MathStructure& DynamicVariable::get()' can be marked override [-Wsuggest-override] const MathStructure &get(); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:367:7: warning: 'virtual void DynamicVariable::set(const MathStructure&)' can be marked override [-Wsuggest-override] void set(const MathStructure &o); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:368:7: warning: 'virtual void DynamicVariable::set(std::__cxx11::string)' can be marked override [-Wsuggest-override] void set(string expression_); ^~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:376:15: warning: 'virtual bool DynamicVariable::representsPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsPositive(bool = false) {return true;} ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:377:15: warning: 'virtual bool DynamicVariable::representsNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNegative(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:378:15: warning: 'virtual bool DynamicVariable::representsNonNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonNegative(bool = false) {return true;} ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:379:15: warning: 'virtual bool DynamicVariable::representsNonPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonPositive(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:380:15: warning: 'virtual bool DynamicVariable::representsInteger(bool)' can be marked override [-Wsuggest-override] virtual bool representsInteger(bool = false) {return false;} ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:381:15: warning: 'virtual bool DynamicVariable::representsNonInteger(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonInteger(bool = false) {return true;} ^~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:382:15: warning: 'virtual bool DynamicVariable::representsNumber(bool)' can be marked override [-Wsuggest-override] virtual bool representsNumber(bool = false) {return true;} ^~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:383:15: warning: 'virtual bool DynamicVariable::representsRational(bool)' can be marked override [-Wsuggest-override] virtual bool representsRational(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:384:15: warning: 'virtual bool DynamicVariable::representsReal(bool)' can be marked override [-Wsuggest-override] virtual bool representsReal(bool = false) {return true;} ^~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:385:15: warning: 'virtual bool DynamicVariable::representsComplex(bool)' can be marked override [-Wsuggest-override] virtual bool representsComplex(bool = false) {return false;} ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:386:15: warning: 'virtual bool DynamicVariable::representsNonZero(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonZero(bool = false) {return true;} ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:387:15: warning: 'virtual bool DynamicVariable::representsEven(bool)' can be marked override [-Wsuggest-override] virtual bool representsEven(bool = false) {return false;} ^~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:388:15: warning: 'virtual bool DynamicVariable::representsOdd(bool)' can be marked override [-Wsuggest-override] virtual bool representsOdd(bool = false) {return false;} ^~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:389:15: warning: 'virtual bool DynamicVariable::representsUndefined(bool, bool, bool)' can be marked override [-Wsuggest-override] virtual bool representsUndefined(bool = false, bool = false, bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:390:15: warning: 'virtual bool DynamicVariable::representsBoolean()' can be marked override [-Wsuggest-override] virtual bool representsBoolean() {return false;} ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:391:15: warning: 'virtual bool DynamicVariable::representsNonMatrix()' can be marked override [-Wsuggest-override] virtual bool representsNonMatrix() {return true;} ^~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:392:15: warning: 'virtual bool DynamicVariable::representsScalar()' can be marked override [-Wsuggest-override] virtual bool representsScalar() {return true;} ^~~~~~~~~~~~~~~~ In file included from /tmp/math/cantor/work/cantor-19.08.3/src/backends/qalculate/qalculatesession.h:29:0, from /tmp/math/cantor/work/cantor-19.08.3/src/backends/qalculate/qalculatebackend.cpp:25: /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:22:12: warning: 'virtual void PiVariable::calculate(MathStructure&) const' can be marked override [-Wsuggest-override] void calculate(MathStructure &m) const; \ ^ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:397:1: note: in expansion of macro 'DECLARE_BUILTIN_VARIABLE' DECLARE_BUILTIN_VARIABLE(PiVariable) ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:26:23: warning: 'virtual ExpressionItem* PiVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const {return new x(this);} \ ^ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:397:1: note: in expansion of macro 'DECLARE_BUILTIN_VARIABLE' DECLARE_BUILTIN_VARIABLE(PiVariable) ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:22:12: warning: 'virtual void EVariable::calculate(MathStructure&) const' can be marked override [-Wsuggest-override] void calculate(MathStructure &m) const; \ ^ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:399:1: note: in expansion of macro 'DECLARE_BUILTIN_VARIABLE' DECLARE_BUILTIN_VARIABLE(EVariable) ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:26:23: warning: 'virtual ExpressionItem* EVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const {return new x(this);} \ ^ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:399:1: note: in expansion of macro 'DECLARE_BUILTIN_VARIABLE' DECLARE_BUILTIN_VARIABLE(EVariable) ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:22:12: warning: 'virtual void EulerVariable::calculate(MathStructure&) const' can be marked override [-Wsuggest-override] void calculate(MathStructure &m) const; \ ^ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:401:1: note: in expansion of macro 'DECLARE_BUILTIN_VARIABLE' DECLARE_BUILTIN_VARIABLE(EulerVariable) ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:26:23: warning: 'virtual ExpressionItem* EulerVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const {return new x(this);} \ ^ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:401:1: note: in expansion of macro 'DECLARE_BUILTIN_VARIABLE' DECLARE_BUILTIN_VARIABLE(EulerVariable) ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:22:12: warning: 'virtual void CatalanVariable::calculate(MathStructure&) const' can be marked override [-Wsuggest-override] void calculate(MathStructure &m) const; \ ^ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:403:1: note: in expansion of macro 'DECLARE_BUILTIN_VARIABLE' DECLARE_BUILTIN_VARIABLE(CatalanVariable) ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:26:23: warning: 'virtual ExpressionItem* CatalanVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const {return new x(this);} \ ^ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:403:1: note: in expansion of macro 'DECLARE_BUILTIN_VARIABLE' DECLARE_BUILTIN_VARIABLE(CatalanVariable) ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/math/cantor/work/cantor-19.08.3/src/backends/qalculate/qalculatesession.h:29:0, from /tmp/math/cantor/work/cantor-19.08.3/src/backends/qalculate/qalculatebackend.cpp:25: /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:407:7: warning: 'virtual void PrecisionVariable::calculate(MathStructure&) const' can be marked override [-Wsuggest-override] void calculate(MathStructure &m) const; ^~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:411:18: warning: 'virtual ExpressionItem* PrecisionVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const {return new PrecisionVariable(this);} ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:412:7: warning: 'virtual bool PrecisionVariable::representsInteger(bool)' can be marked override [-Wsuggest-override] bool representsInteger(bool = false) {return true;} ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:413:7: warning: 'virtual bool PrecisionVariable::representsNonInteger(bool)' can be marked override [-Wsuggest-override] bool representsNonInteger(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:418:7: warning: 'virtual void TodayVariable::calculate(MathStructure&) const' can be marked override [-Wsuggest-override] void calculate(MathStructure &m) const; ^~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:422:18: warning: 'virtual ExpressionItem* TodayVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const {return new TodayVariable(this);} ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:423:15: warning: 'virtual bool TodayVariable::representsPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsPositive(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:424:15: warning: 'virtual bool TodayVariable::representsNonNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonNegative(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:425:15: warning: 'virtual bool TodayVariable::representsNonInteger(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonInteger(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:426:15: warning: 'virtual bool TodayVariable::representsNumber(bool)' can be marked override [-Wsuggest-override] virtual bool representsNumber(bool b = false) {return b;} ^~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:427:15: warning: 'virtual bool TodayVariable::representsReal(bool)' can be marked override [-Wsuggest-override] virtual bool representsReal(bool b = false) {return b;} ^~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:428:15: warning: 'virtual bool TodayVariable::representsNonZero(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonZero(bool b = false) {return b;} ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:432:7: warning: 'virtual void TomorrowVariable::calculate(MathStructure&) const' can be marked override [-Wsuggest-override] void calculate(MathStructure &m) const; ^~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:436:18: warning: 'virtual ExpressionItem* TomorrowVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const {return new TomorrowVariable(this);} ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:437:15: warning: 'virtual bool TomorrowVariable::representsPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsPositive(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:438:15: warning: 'virtual bool TomorrowVariable::representsNonNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonNegative(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:439:15: warning: 'virtual bool TomorrowVariable::representsNonInteger(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonInteger(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:440:15: warning: 'virtual bool TomorrowVariable::representsNumber(bool)' can be marked override [-Wsuggest-override] virtual bool representsNumber(bool b = false) {return b;} ^~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:441:15: warning: 'virtual bool TomorrowVariable::representsReal(bool)' can be marked override [-Wsuggest-override] virtual bool representsReal(bool b = false) {return b;} ^~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:442:15: warning: 'virtual bool TomorrowVariable::representsNonZero(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonZero(bool b = false) {return b;} ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:446:7: warning: 'virtual void YesterdayVariable::calculate(MathStructure&) const' can be marked override [-Wsuggest-override] void calculate(MathStructure &m) const; ^~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:450:18: warning: 'virtual ExpressionItem* YesterdayVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const {return new YesterdayVariable(this);} ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:451:15: warning: 'virtual bool YesterdayVariable::representsPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsPositive(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:452:15: warning: 'virtual bool YesterdayVariable::representsNonNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonNegative(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:453:15: warning: 'virtual bool YesterdayVariable::representsNonInteger(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonInteger(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:454:15: warning: 'virtual bool YesterdayVariable::representsNumber(bool)' can be marked override [-Wsuggest-override] virtual bool representsNumber(bool b = false) {return b;} ^~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:455:15: warning: 'virtual bool YesterdayVariable::representsReal(bool)' can be marked override [-Wsuggest-override] virtual bool representsReal(bool b = false) {return b;} ^~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:456:15: warning: 'virtual bool YesterdayVariable::representsNonZero(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonZero(bool b = false) {return b;} ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:460:7: warning: 'virtual void NowVariable::calculate(MathStructure&) const' can be marked override [-Wsuggest-override] void calculate(MathStructure &m) const; ^~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:464:18: warning: 'virtual ExpressionItem* NowVariable::copy() const' can be marked override [-Wsuggest-override] ExpressionItem *copy() const {return new NowVariable(this);} ^~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:465:15: warning: 'virtual bool NowVariable::representsPositive(bool)' can be marked override [-Wsuggest-override] virtual bool representsPositive(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:466:15: warning: 'virtual bool NowVariable::representsNonNegative(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonNegative(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:467:15: warning: 'virtual bool NowVariable::representsNonInteger(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonInteger(bool = false) {return false;} ^~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:468:15: warning: 'virtual bool NowVariable::representsNumber(bool)' can be marked override [-Wsuggest-override] virtual bool representsNumber(bool b = false) {return b;} ^~~~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:469:15: warning: 'virtual bool NowVariable::representsReal(bool)' can be marked override [-Wsuggest-override] virtual bool representsReal(bool b = false) {return b;} ^~~~~~~~~~~~~~ /tmp/math/cantor/work/.buildlink/include/libqalculate/Variable.h:470:15: warning: 'virtual bool NowVariable::representsNonZero(bool)' can be marked override [-Wsuggest-override] virtual bool representsNonZero(bool b = false) {return b;} ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/cantor-19.08.3/src/backends/maxima/maximakeywords.cpp: In member function 'void MaximaKeywords::loadKeywords()': /tmp/math/cantor/work/cantor-19.08.3/src/backends/maxima/maximakeywords.cpp:59:21: warning: 'void qSort(Container&) [with Container = QStringList]' is deprecated: Use std::sort [-Wdeprecated-declarations] qSort(m_keywords); ^ In file included from /usr/pkg/qt5/include/QtCore/qlist.h:43:0, from /usr/pkg/qt5/include/QtCore/qstringlist.h:41, from /usr/pkg/qt5/include/QtCore/QStringList:1, from /tmp/math/cantor/work/cantor-19.08.3/src/backends/maxima/maximakeywords.h:24, from /tmp/math/cantor/work/cantor-19.08.3/src/backends/maxima/maximakeywords.cpp:21: /usr/pkg/qt5/include/QtCore/qalgorithms.h:188:46: note: declared here QT_DEPRECATED_X("Use std::sort") inline void qSort(Container &c) ^~~~~ /tmp/math/cantor/work/cantor-19.08.3/src/backends/maxima/maximakeywords.cpp:60:22: warning: 'void qSort(Container&) [with Container = QStringList]' is deprecated: Use std::sort [-Wdeprecated-declarations] qSort(m_functions); ^ In file included from /usr/pkg/qt5/include/QtCore/qlist.h:43:0, from /usr/pkg/qt5/include/QtCore/qstringlist.h:41, from /usr/pkg/qt5/include/QtCore/QStringList:1, from /tmp/math/cantor/work/cantor-19.08.3/src/backends/maxima/maximakeywords.h:24, from /tmp/math/cantor/work/cantor-19.08.3/src/backends/maxima/maximakeywords.cpp:21: /usr/pkg/qt5/include/QtCore/qalgorithms.h:188:46: note: declared here QT_DEPRECATED_X("Use std::sort") inline void qSort(Container &c) ^~~~~ /tmp/math/cantor/work/cantor-19.08.3/src/backends/maxima/maximakeywords.cpp:61:22: warning: 'void qSort(Container&) [with Container = QStringList]' is deprecated: Use std::sort [-Wdeprecated-declarations] qSort(m_variables); ^ In file included from /usr/pkg/qt5/include/QtCore/qlist.h:43:0, from /usr/pkg/qt5/include/QtCore/qstringlist.h:41, from /usr/pkg/qt5/include/QtCore/QStringList:1, from /tmp/math/cantor/work/cantor-19.08.3/src/backends/maxima/maximakeywords.h:24, from /tmp/math/cantor/work/cantor-19.08.3/src/backends/maxima/maximakeywords.cpp:21: /usr/pkg/qt5/include/QtCore/qalgorithms.h:188:46: note: declared here QT_DEPRECATED_X("Use std::sort") inline void qSort(Container &c) ^~~~~ [ 46%] Building CXX object src/backends/qalculate/CMakeFiles/cantor_qalculatebackend.dir/settings.cpp.o [ 47%] Building CXX object src/backends/maxima/CMakeFiles/cantor_maximabackend.dir/maximacompletionobject.cpp.o [ 48%] Building CXX object src/backends/octave/CMakeFiles/cantor_octavebackend.dir/octavesyntaxhelpobject.cpp.o [ 49%] Building CXX object src/backends/scilab/CMakeFiles/cantor_scilabbackend.dir/scilabsession.cpp.o /tmp/math/cantor/work/cantor-19.08.3/src/backends/maxima/maximacompletionobject.cpp: In member function 'virtual void MaximaCompletionObject::fetchIdentifierType()': /tmp/math/cantor/work/cantor-19.08.3/src/backends/maxima/maximacompletionobject.cpp:39:85: warning: 'RandomAccessIterator qBinaryFind(RandomAccessIterator, RandomAccessIterator, const T&) [with RandomAccessIterator = QList::iterator; T = QString]' is deprecated: Use std::binary_search [-Wdeprecated-declarations] if (qBinaryFind(userVariableNames.begin(), userVariableNames.end(), identifier()) != userVariableNames.end()) ^ In file included from /usr/pkg/qt5/include/QtCore/qlist.h:43:0, from /usr/pkg/qt5/include/QtCore/qobject.h:49, from /usr/pkg/qt5/include/QtCore/QObject:1, from /usr/pkg/include/KF5/KCompletion/kcompletion.h:25, from /usr/pkg/include/KF5/KCompletion/KCompletion:1, from /tmp/math/cantor/work/cantor-19.08.3/src/lib/completionobject.h:24, from /tmp/math/cantor/work/cantor-19.08.3/src/backends/maxima/maximacompletionobject.h:24, from /tmp/math/cantor/work/cantor-19.08.3/src/backends/maxima/maximacompletionobject.cpp:21: /usr/pkg/qt5/include/QtCore/qalgorithms.h:292:85: note: declared here QT_DEPRECATED_X("Use std::binary_search") Q_OUTOFLINE_TEMPLATE RandomAccessIterator qBinaryFind(RandomAccessIterator begin, RandomAccessIterator end, const T &value) ^~~~~~~~~~~ /tmp/math/cantor/work/cantor-19.08.3/src/backends/maxima/maximacompletionobject.cpp:41:90: warning: 'RandomAccessIterator qBinaryFind(RandomAccessIterator, RandomAccessIterator, const T&) [with RandomAccessIterator = QList::iterator; T = QString]' is deprecated: Use std::binary_search [-Wdeprecated-declarations] else if (qBinaryFind(userFunctionNames.begin(), userFunctionNames.end(), identifier()) != userFunctionNames.end()) ^ In file included from /usr/pkg/qt5/include/QtCore/qlist.h:43:0, from /usr/pkg/qt5/include/QtCore/qobject.h:49, from /usr/pkg/qt5/include/QtCore/QObject:1, from /usr/pkg/include/KF5/KCompletion/kcompletion.h:25, from /usr/pkg/include/KF5/KCompletion/KCompletion:1, from /tmp/math/cantor/work/cantor-19.08.3/src/lib/completionobject.h:24, from /tmp/math/cantor/work/cantor-19.08.3/src/backends/maxima/maximacompletionobject.h:24, from /tmp/math/cantor/work/cantor-19.08.3/src/backends/maxima/maximacompletionobject.cpp:21: /usr/pkg/qt5/include/QtCore/qalgorithms.h:292:85: note: declared here QT_DEPRECATED_X("Use std::binary_search") Q_OUTOFLINE_TEMPLATE RandomAccessIterator qBinaryFind(RandomAccessIterator begin, RandomAccessIterator end, const T &value) ^~~~~~~~~~~ /tmp/math/cantor/work/cantor-19.08.3/src/backends/maxima/maximacompletionobject.cpp:44:72: warning: 'RandomAccessIterator qBinaryFind(RandomAccessIterator, RandomAccessIterator, const T&) [with RandomAccessIterator = QList::const_iterator; T = QString]' is deprecated: Use std::binary_search [-Wdeprecated-declarations] MaximaKeywords::instance()->functions().end(), identifier()) != MaximaKeywords::instance()->functions().end()) ^ In file included from /usr/pkg/qt5/include/QtCore/qlist.h:43:0, from /usr/pkg/qt5/include/QtCore/qobject.h:49, from /usr/pkg/qt5/include/QtCore/QObject:1, from /usr/pkg/include/KF5/KCompletion/kcompletion.h:25, from /usr/pkg/include/KF5/KCompletion/KCompletion:1, from /tmp/math/cantor/work/cantor-19.08.3/src/lib/completionobject.h:24, from /tmp/math/cantor/work/cantor-19.08.3/src/backends/maxima/maximacompletionobject.h:24, from /tmp/math/cantor/work/cantor-19.08.3/src/backends/maxima/maximacompletionobject.cpp:21: /usr/pkg/qt5/include/QtCore/qalgorithms.h:292:85: note: declared here QT_DEPRECATED_X("Use std::binary_search") Q_OUTOFLINE_TEMPLATE RandomAccessIterator qBinaryFind(RandomAccessIterator begin, RandomAccessIterator end, const T &value) ^~~~~~~~~~~ /tmp/math/cantor/work/cantor-19.08.3/src/backends/maxima/maximacompletionobject.cpp:47:71: warning: 'RandomAccessIterator qBinaryFind(RandomAccessIterator, RandomAccessIterator, const T&) [with RandomAccessIterator = QList::const_iterator; T = QString]' is deprecated: Use std::binary_search [-Wdeprecated-declarations] MaximaKeywords::instance()->keywords().end(), identifier()) != MaximaKeywords::instance()->keywords().end()) ^ In file included from /usr/pkg/qt5/include/QtCore/qlist.h:43:0, from /usr/pkg/qt5/include/QtCore/qobject.h:49, from /usr/pkg/qt5/include/QtCore/QObject:1, from /usr/pkg/include/KF5/KCompletion/kcompletion.h:25, from /usr/pkg/include/KF5/KCompletion/KCompletion:1, from /tmp/math/cantor/work/cantor-19.08.3/src/lib/completionobject.h:24, from /tmp/math/cantor/work/cantor-19.08.3/src/backends/maxima/maximacompletionobject.h:24, from /tmp/math/cantor/work/cantor-19.08.3/src/backends/maxima/maximacompletionobject.cpp:21: /usr/pkg/qt5/include/QtCore/qalgorithms.h:292:85: note: declared here QT_DEPRECATED_X("Use std::binary_search") Q_OUTOFLINE_TEMPLATE RandomAccessIterator qBinaryFind(RandomAccessIterator begin, RandomAccessIterator end, const T &value) ^~~~~~~~~~~ [ 49%] Building CXX object src/backends/maxima/CMakeFiles/cantor_maximabackend.dir/maximasyntaxhelpobject.cpp.o [ 50%] Building CXX object src/backends/octave/CMakeFiles/cantor_octavebackend.dir/octavesession.cpp.o [ 50%] Linking CXX shared module cantor_qalculatebackend.so ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_peername(), which is deprecated and buggy. ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_domainname(), which is deprecated and buggy. ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_mapname(), which is deprecated and buggy. [ 50%] Built target cantor_qalculatebackend [ 50%] Generating ui_imagesettings.h [ 50%] Generating ui_standardsearchbar.h [ 51%] Generating ui_extendedsearchbar.h [ 51%] Building CXX object src/backends/scilab/CMakeFiles/cantor_scilabbackend.dir/scilabbackend.cpp.o Scanning dependencies of target cantorpart [ 51%] Building CXX object src/CMakeFiles/cantorpart.dir/worksheetview.cpp.o [ 51%] Building CXX object src/backends/maxima/CMakeFiles/cantor_maximabackend.dir/maximaexpression.cpp.o [ 51%] Building CXX object src/backends/octave/CMakeFiles/cantor_octavebackend.dir/octavevariablemodel.cpp.o [ 51%] Building CXX object src/backends/scilab/CMakeFiles/cantor_scilabbackend.dir/settings.cpp.o [ 52%] Building CXX object src/CMakeFiles/cantorpart.dir/worksheettextitem.cpp.o [ 53%] Building CXX object src/backends/maxima/CMakeFiles/cantor_maximabackend.dir/maximasession.cpp.o [ 53%] Building CXX object src/backends/octave/CMakeFiles/cantor_octavebackend.dir/octavebackend.cpp.o [ 53%] Linking CXX shared module cantor_scilabbackend.so ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_peername(), which is deprecated and buggy. ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_domainname(), which is deprecated and buggy. ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_mapname(), which is deprecated and buggy. [ 53%] Built target cantor_scilabbackend [ 54%] Generating settings.h, settings.cpp [ 54%] Generating ui_settings.h Scanning dependencies of target cantor_sagebackend [ 54%] Building CXX object src/backends/sage/CMakeFiles/cantor_sagebackend.dir/cantor_sagebackend_autogen/mocs_compilation.cpp.o [ 54%] Building CXX object src/backends/maxima/CMakeFiles/cantor_maximabackend.dir/maximavariablemodel.cpp.o [ 54%] Building CXX object src/CMakeFiles/cantorpart.dir/worksheetimageitem.cpp.o [ 54%] Building CXX object src/backends/octave/CMakeFiles/cantor_octavebackend.dir/settings.cpp.o [ 55%] Building CXX object src/backends/sage/CMakeFiles/cantor_sagebackend.dir/sageexpression.cpp.o [ 55%] Building CXX object src/backends/maxima/CMakeFiles/cantor_maximabackend.dir/maximabackend.cpp.o [ 56%] Linking CXX shared module cantor_octavebackend.so ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_peername(), which is deprecated and buggy. ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_domainname(), which is deprecated and buggy. ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_mapname(), which is deprecated and buggy. [ 56%] Built target cantor_octavebackend [ 56%] Generating settings.h, settings.cpp [ 56%] Generating ui_settings.h Scanning dependencies of target cantor_kalgebrabackend [ 57%] Building CXX object src/backends/kalgebra/CMakeFiles/cantor_kalgebrabackend.dir/cantor_kalgebrabackend_autogen/mocs_compilation.cpp.o [ 58%] Building CXX object src/CMakeFiles/cantorpart.dir/commandentry.cpp.o [ 58%] Building CXX object src/backends/sage/CMakeFiles/cantor_sagebackend.dir/sageextensions.cpp.o [ 59%] Building CXX object src/backends/maxima/CMakeFiles/cantor_maximabackend.dir/settings.cpp.o [ 59%] Building CXX object src/backends/kalgebra/CMakeFiles/cantor_kalgebrabackend.dir/kalgebrasyntaxhelpobject.cpp.o [ 59%] Building CXX object src/backends/sage/CMakeFiles/cantor_sagebackend.dir/sagekeywords.cpp.o /tmp/math/cantor/work/cantor-19.08.3/src/commandentry.cpp: In member function 'QPoint CommandEntry::getPopupPosition()': /tmp/math/cantor/work/cantor-19.08.3/src/commandentry.cpp:1066:63: warning: 'const QRect QDesktopWidget::screenGeometry(const QPoint&) const' is deprecated: Use QGuiApplication::screenAt() [-Wdeprecated-declarations] const QRect screenRect = desktop->screenGeometry(globalPos); ^ In file included from /usr/pkg/qt5/include/QtWidgets/QDesktopWidget:1:0, from /tmp/math/cantor/work/cantor-19.08.3/src/commandentry.cpp:34: /usr/pkg/qt5/include/QtWidgets/qdesktopwidget.h:80:68: note: declared here QT_DEPRECATED_X("Use QGuiApplication::screenAt()") const QRect screenGeometry(const QPoint &point) const ^~~~~~~~~~~~~~ [ 59%] Linking CXX shared module cantor_maximabackend.so [ 59%] Building CXX object src/backends/kalgebra/CMakeFiles/cantor_kalgebrabackend.dir/kalgebraexpression.cpp.o ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_peername(), which is deprecated and buggy. ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_domainname(), which is deprecated and buggy. ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_mapname(), which is deprecated and buggy. [ 59%] Built target cantor_maximabackend [ 59%] Generating ui_solvedlg.h Scanning dependencies of target cantor_solveassistant [ 59%] Building CXX object src/assistants/solve/CMakeFiles/cantor_solveassistant.dir/cantor_solveassistant_autogen/mocs_compilation.cpp.o [ 60%] Building CXX object src/backends/sage/CMakeFiles/cantor_sagebackend.dir/sagehighlighter.cpp.o [ 61%] Building CXX object src/assistants/solve/CMakeFiles/cantor_solveassistant.dir/solveassistant.cpp.o [ 61%] Building CXX object src/CMakeFiles/cantorpart.dir/textentry.cpp.o [ 62%] Building CXX object src/backends/kalgebra/CMakeFiles/cantor_kalgebrabackend.dir/kalgebracompletionobject.cpp.o [ 62%] Building CXX object src/backends/sage/CMakeFiles/cantor_sagebackend.dir/sagecompletionobject.cpp.o [ 62%] Linking CXX shared module cantor_solveassistant.so [ 62%] Building CXX object src/backends/kalgebra/CMakeFiles/cantor_kalgebrabackend.dir/kalgebraextensions.cpp.o [ 62%] Building CXX object src/CMakeFiles/cantorpart.dir/markdownentry.cpp.o ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_peername(), which is deprecated and buggy. ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_domainname(), which is deprecated and buggy. ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_mapname(), which is deprecated and buggy. [ 62%] Built target cantor_solveassistant [ 63%] Generating settings.h, settings.cpp [ 63%] Generating ui_qalculateplotdialog.h Scanning dependencies of target cantor_qalculateplotassistant [ 64%] Building CXX object src/backends/qalculate/plotassistant/CMakeFiles/cantor_qalculateplotassistant.dir/cantor_qalculateplotassistant_autogen/mocs_compilation.cpp.o [ 64%] Building CXX object src/backends/sage/CMakeFiles/cantor_sagebackend.dir/sagesession.cpp.o [ 65%] Building CXX object src/backends/kalgebra/CMakeFiles/cantor_kalgebrabackend.dir/kalgebrasession.cpp.o [ 66%] Building CXX object src/CMakeFiles/cantorpart.dir/pagebreakentry.cpp.o [ 66%] Building CXX object src/backends/qalculate/plotassistant/CMakeFiles/cantor_qalculateplotassistant.dir/qalculateplotassistant.cpp.o [ 67%] Building CXX object src/backends/sage/CMakeFiles/cantor_sagebackend.dir/sagebackend.cpp.o [ 67%] Building CXX object src/backends/kalgebra/CMakeFiles/cantor_kalgebrabackend.dir/kalgebrabackend.cpp.o [ 67%] Building CXX object src/CMakeFiles/cantorpart.dir/latexentry.cpp.o [ 67%] Building CXX object src/backends/sage/CMakeFiles/cantor_sagebackend.dir/settings.cpp.o [ 67%] Building CXX object src/backends/kalgebra/CMakeFiles/cantor_kalgebrabackend.dir/settings.cpp.o [ 67%] Building CXX object src/backends/qalculate/plotassistant/CMakeFiles/cantor_qalculateplotassistant.dir/settings.cpp.o [ 68%] Building CXX object src/CMakeFiles/cantorpart.dir/placeholderentry.cpp.o [ 69%] Linking CXX shared module cantor_sagebackend.so [ 70%] Linking CXX shared module cantor_kalgebrabackend.so ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_peername(), which is deprecated and buggy. ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_domainname(), which is deprecated and buggy. ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_mapname(), which is deprecated and buggy. ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_peername(), which is deprecated and buggy. ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_domainname(), which is deprecated and buggy. ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_mapname(), which is deprecated and buggy. [ 70%] Built target cantor_sagebackend [ 70%] Generating ui_integratedlg.h [ 70%] Built target cantor_kalgebrabackend [ 71%] Generating ui_differentiatedlg.h Scanning dependencies of target cantor_integrateassistant [ 72%] Building CXX object src/assistants/integrate/CMakeFiles/cantor_integrateassistant.dir/cantor_integrateassistant_autogen/mocs_compilation.cpp.o [ 72%] Building CXX object src/assistants/integrate/CMakeFiles/cantor_integrateassistant.dir/integrateassistant.cpp.o Scanning dependencies of target cantor_differentiateassistant [ 72%] Building CXX object src/assistants/differentiate/CMakeFiles/cantor_differentiateassistant.dir/cantor_differentiateassistant_autogen/mocs_compilation.cpp.o [ 73%] Building CXX object src/assistants/differentiate/CMakeFiles/cantor_differentiateassistant.dir/differentiateassistant.cpp.o [ 74%] Linking CXX shared module cantor_qalculateplotassistant.so ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_peername(), which is deprecated and buggy. ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_domainname(), which is deprecated and buggy. ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_mapname(), which is deprecated and buggy. [ 74%] Built target cantor_qalculateplotassistant [ 75%] Generating ui_creatematrixdlg.h Scanning dependencies of target cantor_creatematrixassistant [ 75%] Building CXX object src/assistants/linearalgebra/creatematrix/CMakeFiles/cantor_creatematrixassistant.dir/cantor_creatematrixassistant_autogen/mocs_compilation.cpp.o [ 75%] Building CXX object src/CMakeFiles/cantorpart.dir/worksheetcursor.cpp.o [ 75%] Linking CXX shared module cantor_integrateassistant.so [ 75%] Linking CXX shared module cantor_differentiateassistant.so [ 75%] Building CXX object src/assistants/linearalgebra/creatematrix/CMakeFiles/cantor_creatematrixassistant.dir/creatematrixassistant.cpp.o ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_peername(), which is deprecated and buggy. ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_domainname(), which is deprecated and buggy. ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_mapname(), which is deprecated and buggy. ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_peername(), which is deprecated and buggy. ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_domainname(), which is deprecated and buggy. ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_mapname(), which is deprecated and buggy. [ 76%] Building CXX object src/CMakeFiles/cantorpart.dir/actionbar.cpp.o [ 76%] Built target cantor_integrateassistant [ 76%] Generating ui_invertmatrixdlg.h [ 76%] Built target cantor_differentiateassistant [ 76%] Generating ui_eigenvectorsdlg.h Scanning dependencies of target cantor_invertmatrixassistant [ 77%] Building CXX object src/assistants/linearalgebra/invertmatrix/CMakeFiles/cantor_invertmatrixassistant.dir/cantor_invertmatrixassistant_autogen/mocs_compilation.cpp.o Scanning dependencies of target cantor_eigenvectorsassistant [ 78%] Building CXX object src/assistants/linearalgebra/eigenvectors/CMakeFiles/cantor_eigenvectorsassistant.dir/cantor_eigenvectorsassistant_autogen/mocs_compilation.cpp.o [ 78%] Building CXX object src/assistants/linearalgebra/invertmatrix/CMakeFiles/cantor_invertmatrixassistant.dir/invertmatrixassistant.cpp.o [ 78%] Building CXX object src/assistants/linearalgebra/eigenvectors/CMakeFiles/cantor_eigenvectorsassistant.dir/eigenvectorsassistant.cpp.o [ 79%] Building CXX object src/assistants/linearalgebra/creatematrix/CMakeFiles/cantor_creatematrixassistant.dir/creatematrixdlg.cpp.o [ 79%] Building CXX object src/CMakeFiles/cantorpart.dir/worksheettoolbutton.cpp.o [ 79%] Linking CXX shared module cantor_invertmatrixassistant.so [ 79%] Linking CXX shared module cantor_eigenvectorsassistant.so ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_peername(), which is deprecated and buggy. ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_peername(), which is deprecated and buggy. ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_domainname(), which is deprecated and buggy. ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_domainname(), which is deprecated and buggy. ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_mapname(), which is deprecated and buggy. ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_mapname(), which is deprecated and buggy. [ 79%] Built target cantor_eigenvectorsassistant [ 79%] Built target cantor_invertmatrixassistant [ 80%] Generating ui_eigenvaluesdlg.h [ 81%] Generating ui_plot2ddlg.h Scanning dependencies of target cantor_eigenvaluesassistant Scanning dependencies of target cantor_plot2dassistant [ 81%] Building CXX object src/assistants/linearalgebra/eigenvalues/CMakeFiles/cantor_eigenvaluesassistant.dir/cantor_eigenvaluesassistant_autogen/mocs_compilation.cpp.o [ 81%] Building CXX object src/assistants/plot2d/CMakeFiles/cantor_plot2dassistant.dir/cantor_plot2dassistant_autogen/mocs_compilation.cpp.o [ 81%] Building CXX object src/assistants/linearalgebra/eigenvalues/CMakeFiles/cantor_eigenvaluesassistant.dir/eigenvaluesassistant.cpp.o [ 81%] Linking CXX shared module cantor_creatematrixassistant.so [ 82%] Building CXX object src/CMakeFiles/cantorpart.dir/scripteditor/scripteditorwidget.cpp.o ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_peername(), which is deprecated and buggy. ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_domainname(), which is deprecated and buggy. ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_mapname(), which is deprecated and buggy. [ 82%] Built target cantor_creatematrixassistant [ 82%] Generating ui_plot3ddlg.h Scanning dependencies of target cantor_plot3dassistant [ 82%] Building CXX object src/assistants/plot2d/CMakeFiles/cantor_plot2dassistant.dir/plot2dassistant.cpp.o [ 83%] Building CXX object src/assistants/plot3d/CMakeFiles/cantor_plot3dassistant.dir/cantor_plot3dassistant_autogen/mocs_compilation.cpp.o [ 84%] Linking CXX shared module cantor_eigenvaluesassistant.so ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_peername(), which is deprecated and buggy. ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_domainname(), which is deprecated and buggy. ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_mapname(), which is deprecated and buggy. [ 84%] Building CXX object src/assistants/plot3d/CMakeFiles/cantor_plot3dassistant.dir/plot3dassistant.cpp.o [ 84%] Built target cantor_eigenvaluesassistant [ 84%] Generating ui_advancedplotdialog.h [ 85%] Generating ui_directivecontainer.h Scanning dependencies of target cantor_advancedplotassistant [ 85%] Building CXX object src/assistants/advancedplot/CMakeFiles/cantor_advancedplotassistant.dir/cantor_advancedplotassistant_autogen/mocs_compilation.cpp.o [ 85%] Building CXX object src/CMakeFiles/cantorpart.dir/resultitem.cpp.o [ 86%] Linking CXX shared module cantor_plot2dassistant.so ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_peername(), which is deprecated and buggy. ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_domainname(), which is deprecated and buggy. ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_mapname(), which is deprecated and buggy. [ 86%] Built target cantor_plot2dassistant [ 87%] Generating ui_importpackagedlg.h [ 87%] Building CXX object src/assistants/advancedplot/CMakeFiles/cantor_advancedplotassistant.dir/advancedplotassistant.cpp.o Scanning dependencies of target cantor_importpackageassistant [ 87%] Building CXX object src/assistants/importpackage/CMakeFiles/cantor_importpackageassistant.dir/cantor_importpackageassistant_autogen/mocs_compilation.cpp.o [ 87%] Building CXX object src/assistants/importpackage/CMakeFiles/cantor_importpackageassistant.dir/importpackageassistant.cpp.o [ 87%] Linking CXX shared module cantor_plot3dassistant.so ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_peername(), which is deprecated and buggy. ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_domainname(), which is deprecated and buggy. ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_mapname(), which is deprecated and buggy. [ 87%] Built target cantor_plot3dassistant [ 88%] Building CXX object src/CMakeFiles/cantorpart.dir/textresultitem.cpp.o Scanning dependencies of target cantor_helppanelplugin [ 88%] Building CXX object src/panelplugins/helppanel/CMakeFiles/cantor_helppanelplugin.dir/cantor_helppanelplugin_autogen/mocs_compilation.cpp.o [ 89%] Linking CXX shared module cantor_importpackageassistant.so [ 90%] Linking CXX shared module cantor_advancedplotassistant.so ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_peername(), which is deprecated and buggy. ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_domainname(), which is deprecated and buggy. ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_mapname(), which is deprecated and buggy. ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_peername(), which is deprecated and buggy. ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_domainname(), which is deprecated and buggy. ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_mapname(), which is deprecated and buggy. [ 90%] Built target cantor_importpackageassistant [ 91%] Generating ui_newvardlg.h [ 91%] Built target cantor_advancedplotassistant Scanning dependencies of target testmaxima_autogen [ 91%] Automatic MOC for target testmaxima Scanning dependencies of target cantor_variablemanagerplugin [ 91%] Building CXX object src/panelplugins/variablemgr/CMakeFiles/cantor_variablemanagerplugin.dir/cantor_variablemanagerplugin_autogen/mocs_compilation.cpp.o [ 92%] Building CXX object src/panelplugins/helppanel/CMakeFiles/cantor_helppanelplugin.dir/helppanelplugin.cpp.o [ 92%] Built target testmaxima_autogen Scanning dependencies of target testoctave_autogen [ 93%] Automatic MOC for target testoctave [ 93%] Built target testoctave_autogen Scanning dependencies of target testsage_autogen [ 93%] Automatic MOC for target testsage [ 93%] Building CXX object src/CMakeFiles/cantorpart.dir/imageresultitem.cpp.o [ 93%] Built target testsage_autogen Scanning dependencies of target testmaxima [ 93%] Building CXX object src/backends/maxima/CMakeFiles/testmaxima.dir/testmaxima_autogen/mocs_compilation.cpp.o [ 93%] Building CXX object src/panelplugins/variablemgr/CMakeFiles/cantor_variablemanagerplugin.dir/variablemanagerplugin.cpp.o [ 93%] Linking CXX shared module cantor_helppanelplugin.so ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_peername(), which is deprecated and buggy. ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_domainname(), which is deprecated and buggy. ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_mapname(), which is deprecated and buggy. [ 93%] Built target cantor_helppanelplugin Scanning dependencies of target testoctave [ 94%] Building CXX object src/backends/octave/CMakeFiles/testoctave.dir/testoctave_autogen/mocs_compilation.cpp.o [ 94%] Building CXX object src/CMakeFiles/cantorpart.dir/animationresultitem.cpp.o [ 95%] Building CXX object src/panelplugins/variablemgr/CMakeFiles/cantor_variablemanagerplugin.dir/variablemanagerwidget.cpp.o [ 96%] Building CXX object src/backends/maxima/CMakeFiles/testmaxima.dir/testmaxima.cpp.o [ 96%] Building CXX object src/backends/octave/CMakeFiles/testoctave.dir/testoctave.cpp.o [ 97%] Building CXX object src/CMakeFiles/cantorpart.dir/loadedexpression.cpp.o [ 97%] Linking CXX shared module cantor_variablemanagerplugin.so ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_peername(), which is deprecated and buggy. ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_domainname(), which is deprecated and buggy. ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_mapname(), which is deprecated and buggy. [ 97%] Built target cantor_variablemanagerplugin Scanning dependencies of target testsage [ 97%] Building CXX object src/backends/sage/CMakeFiles/testsage.dir/testsage_autogen/mocs_compilation.cpp.o [ 97%] Building CXX object src/CMakeFiles/cantorpart.dir/animation.cpp.o [ 97%] Linking CXX executable testmaxima ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_peername(), which is deprecated and buggy. ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_domainname(), which is deprecated and buggy. ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_mapname(), which is deprecated and buggy. [ 97%] Built target testmaxima [ 97%] Building CXX object src/CMakeFiles/cantorpart.dir/epsrenderer.cpp.o [ 97%] Linking CXX executable testoctave [ 97%] Building CXX object src/CMakeFiles/cantorpart.dir/imageentry.cpp.o ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_peername(), which is deprecated and buggy. ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_domainname(), which is deprecated and buggy. ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_mapname(), which is deprecated and buggy. [ 97%] Building CXX object src/backends/sage/CMakeFiles/testsage.dir/testsage.cpp.o [ 97%] Built target testoctave [ 98%] Building CXX object src/CMakeFiles/cantorpart.dir/imagesettingsdialog.cpp.o [ 98%] Building CXX object src/CMakeFiles/cantorpart.dir/worksheet.cpp.o [ 98%] Building CXX object src/CMakeFiles/cantorpart.dir/worksheetentry.cpp.o [ 99%] Linking CXX executable testsage /tmp/math/cantor/work/cantor-19.08.3/src/worksheet.cpp: In destructor 'virtual Worksheet::~Worksheet()': /tmp/math/cantor/work/cantor-19.08.3/src/worksheet.cpp:110:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] disconnect(m_session, 0, 0, 0); ^ /tmp/math/cantor/work/cantor-19.08.3/src/worksheet.cpp:110:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /tmp/math/cantor/work/cantor-19.08.3/src/worksheet.cpp:110:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /tmp/math/cantor/work/cantor-19.08.3/src/worksheet.cpp: In member function 'void Worksheet::highlightItem(WorksheetTextItem*)': /tmp/math/cantor/work/cantor-19.08.3/src/worksheet.cpp:755:58: warning: 'QList QTextLayout::additionalFormats() const' is deprecated: Use formats() [-Wdeprecated-declarations] formats.append(b.layout()->additionalFormats()); ^ In file included from /usr/pkg/qt5/include/QtGui/qtextobject.h:46:0, from /usr/pkg/qt5/include/QtGui/qsyntaxhighlighter.h:48, from /usr/pkg/qt5/include/QtGui/QSyntaxHighlighter:1, from /tmp/math/cantor/work/cantor-19.08.3/src/worksheet.h:28, from /tmp/math/cantor/work/cantor-19.08.3/src/worksheet.cpp:22: /usr/pkg/qt5/include/QtGui/qtextlayout.h:155:57: note: declared here QT_DEPRECATED_X("Use formats()") QList additionalFormats() const; ^~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/cantor-19.08.3/src/worksheet.cpp:775:61: warning: 'void QTextLayout::setAdditionalFormats(const QList&)' is deprecated: Use setFormats() [-Wdeprecated-declarations] b.layout()->setAdditionalFormats(formats.first()); ^ In file included from /usr/pkg/qt5/include/QtGui/qtextobject.h:46:0, from /usr/pkg/qt5/include/QtGui/qsyntaxhighlighter.h:48, from /usr/pkg/qt5/include/QtGui/QSyntaxHighlighter:1, from /tmp/math/cantor/work/cantor-19.08.3/src/worksheet.h:28, from /tmp/math/cantor/work/cantor-19.08.3/src/worksheet.cpp:22: /usr/pkg/qt5/include/QtGui/qtextlayout.h:154:46: note: declared here QT_DEPRECATED_X("Use setFormats()") void setAdditionalFormats(const QList &overrides); ^~~~~~~~~~~~~~~~~~~~ /tmp/math/cantor/work/cantor-19.08.3/src/worksheet.cpp: In member function 'void Worksheet::rehighlight()': /tmp/math/cantor/work/cantor-19.08.3/src/worksheet.cpp:813:52: warning: 'void QTextLayout::clearAdditionalFormats()' is deprecated: Use clearFormats() [-Wdeprecated-declarations] b.layout()->clearAdditionalFormats(); ^ In file included from /usr/pkg/qt5/include/QtGui/qtextobject.h:46:0, from /usr/pkg/qt5/include/QtGui/qsyntaxhighlighter.h:48, from /usr/pkg/qt5/include/QtGui/QSyntaxHighlighter:1, from /tmp/math/cantor/work/cantor-19.08.3/src/worksheet.h:28, from /tmp/math/cantor/work/cantor-19.08.3/src/worksheet.cpp:22: /usr/pkg/qt5/include/QtGui/qtextlayout.h:156:48: note: declared here QT_DEPRECATED_X("Use clearFormats()") void clearAdditionalFormats(); ^~~~~~~~~~~~~~~~~~~~~~ ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_peername(), which is deprecated and buggy. ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_domainname(), which is deprecated and buggy. ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_mapname(), which is deprecated and buggy. [ 99%] Building CXX object src/CMakeFiles/cantorpart.dir/cantor_part.cpp.o [ 99%] Built target testsage [ 99%] Building CXX object src/CMakeFiles/cantorpart.dir/cantorpart_autogen/mocs_compilation.cpp.o [ 99%] Building CXX object src/CMakeFiles/cantorpart.dir/searchbar.cpp.o [100%] Linking CXX shared module libcantorpart.so ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_peername(), which is deprecated and buggy. ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_domainname(), which is deprecated and buggy. ld: /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_mapname(), which is deprecated and buggy. [100%] Built target cantorpart *** Please use pkgtools/verifypc to sanity check dependencies.