=> Bootstrap dependency digest>=20211023: found digest-20211023 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for molsketch-0.7.2nb1 [ 1%] Automatic MOC for target molsketch_LIB [ 1%] Built target molsketch_LIB_autogen [ 2%] Generating .qm/libmolsketch_de.qm [ 2%] Generating .qm/libmolsketch_el.qm [ 4%] Generating .qm/libmolsketch_zh.qm [ 4%] Generating qrc_toolicons.cpp Updating '/tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/.qm/libmolsketch_el.qm'... Updating '/tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/.qm/libmolsketch_zh.qm'... Updating '/tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/.qm/libmolsketch_de.qm'... Generated 186 translation(s) (186 finished and 0 unfinished) Generated 186 translation(s) (186 finished and 0 unfinished) Generated 186 translation(s) (186 finished and 0 unfinished) [ 5%] Generating ui_alignrowdialog.h [ 5%] Generating ui_arrowpopup.h [ 6%] Generating ui_atompopup.h [ 7%] Generating ui_elementalignment.h [ 8%] Generating ui_fontchooser.h [ 8%] Generating ui_moleculepopup.h [ 9%] Generating ui_scenepropertieswidget.h [ 10%] Generating ui_typelistdialog.h [ 11%] Generating qrc_libmolsketch_translations.cpp [ 12%] Building CXX object libmolsketch/CMakeFiles/molsketch_LIB.dir/molsketch_LIB_autogen/mocs_compilation.cpp.o [ 13%] Building CXX object libmolsketch/CMakeFiles/molsketch_LIB.dir/abstractxmlobject.cpp.o [ 13%] Building CXX object libmolsketch/CMakeFiles/molsketch_LIB.dir/TextInputItem.cpp.o [ 14%] Building CXX object libmolsketch/CMakeFiles/molsketch_LIB.dir/actions/abstractitemaction.cpp.o In file included from /usr/include/g++/type_traits:35:0, from /usr/pkg/qt5/include/QtCore/qglobal.h:45, from /usr/pkg/qt5/include/QtCore/qpair.h:43, from /usr/pkg/qt5/include/QtCore/QPair:1, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/abstractxmlobject.cpp:23: /usr/include/g++/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options. #error This file requires compiler and library support \ ^~~~~ In file included from /usr/include/g++/type_traits:35:0, from /usr/pkg/qt5/include/QtCore/qglobal.h:45, from /usr/pkg/qt5/include/QtGui/qtguiglobal.h:43, from /usr/pkg/qt5/include/QtWidgets/qtwidgetsglobal.h:43, from /usr/pkg/qt5/include/QtWidgets/qaction.h:43, from /usr/pkg/qt5/include/QtWidgets/QAction:1, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/actions/genericaction.h:26, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/actions/abstractitemaction.h:23, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/actions/abstractitemaction.cpp:20: /usr/include/g++/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options. #error This file requires compiler and library support \ ^~~~~ In file included from /usr/include/g++/type_traits:35:0, from /usr/pkg/qt5/include/QtCore/qglobal.h:45, from /usr/pkg/qt5/include/QtCore/qalgorithms.h:43, from /usr/pkg/qt5/include/QtCore/qlist.h:43, from /usr/pkg/qt5/include/QtCore/QList:1, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/atom.h:25, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/TextInputItem.h:23, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/TextInputItem.cpp:20: /usr/include/g++/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options. #error This file requires compiler and library support \ ^~~~~ In file included from /usr/pkg/qt5/include/QtCore/qglobal.h:105:0, from /usr/pkg/qt5/include/QtCore/qpair.h:43, from /usr/pkg/qt5/include/QtCore/QPair:1, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/abstractxmlobject.cpp:23: /usr/pkg/qt5/include/QtCore/qcompilerdetection.h:590:6: error: #error Qt requires a C++11 compiler and yours does not seem to be that. # error Qt requires a C++11 compiler and yours does not seem to be that. ^~~~~ In file included from /usr/pkg/qt5/include/QtCore/qglobal.h:105:0, from /usr/pkg/qt5/include/QtGui/qtguiglobal.h:43, from /usr/pkg/qt5/include/QtWidgets/qtwidgetsglobal.h:43, from /usr/pkg/qt5/include/QtWidgets/qaction.h:43, from /usr/pkg/qt5/include/QtWidgets/QAction:1, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/actions/genericaction.h:26, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/actions/abstractitemaction.h:23, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/actions/abstractitemaction.cpp:20: /usr/pkg/qt5/include/QtCore/qcompilerdetection.h:590:6: error: #error Qt requires a C++11 compiler and yours does not seem to be that. # error Qt requires a C++11 compiler and yours does not seem to be that. ^~~~~ In file included from /usr/include/g++/type_traits:35:0, from /usr/pkg/qt5/include/QtCore/qglobal.h:45, from /usr/pkg/qt5/include/QtGui/qtguiglobal.h:43, from /usr/pkg/qt5/include/QtWidgets/qtwidgetsglobal.h:43, from /usr/pkg/qt5/include/QtWidgets/qaction.h:43, from /usr/pkg/qt5/include/QtWidgets/QAction:1, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/molsketch_LIB_autogen/T4QKTR7IAB/../../actions/genericaction.h:26, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/molsketch_LIB_autogen/T4QKTR7IAB/../../actions/abstractitemaction.h:23, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/molsketch_LIB_autogen/T4QKTR7IAB/moc_abstractitemaction.cpp:10, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/molsketch_LIB_autogen/mocs_compilation.cpp:2: /usr/include/g++/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options. #error This file requires compiler and library support \ ^~~~~ In file included from /usr/pkg/qt5/include/QtCore/qglobal.h:105:0, from /usr/pkg/qt5/include/QtCore/qalgorithms.h:43, from /usr/pkg/qt5/include/QtCore/qlist.h:43, from /usr/pkg/qt5/include/QtCore/QList:1, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/atom.h:25, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/TextInputItem.h:23, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/TextInputItem.cpp:20: /usr/pkg/qt5/include/QtCore/qcompilerdetection.h:590:6: error: #error Qt requires a C++11 compiler and yours does not seem to be that. # error Qt requires a C++11 compiler and yours does not seem to be that. ^~~~~ In file included from /usr/pkg/qt5/include/QtCore/qglobal.h:105:0, from /usr/pkg/qt5/include/QtGui/qtguiglobal.h:43, from /usr/pkg/qt5/include/QtWidgets/qtwidgetsglobal.h:43, from /usr/pkg/qt5/include/QtWidgets/qaction.h:43, from /usr/pkg/qt5/include/QtWidgets/QAction:1, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/molsketch_LIB_autogen/T4QKTR7IAB/../../actions/genericaction.h:26, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/molsketch_LIB_autogen/T4QKTR7IAB/../../actions/abstractitemaction.h:23, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/molsketch_LIB_autogen/T4QKTR7IAB/moc_abstractitemaction.cpp:10, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/molsketch_LIB_autogen/mocs_compilation.cpp:2: /usr/pkg/qt5/include/QtCore/qcompilerdetection.h:590:6: error: #error Qt requires a C++11 compiler and yours does not seem to be that. # error Qt requires a C++11 compiler and yours does not seem to be that. ^~~~~ In file included from /usr/pkg/qt5/include/QtCore/qatomic.h:46:0, from /usr/pkg/qt5/include/QtCore/qglobal.h:1306, from /usr/pkg/qt5/include/QtCore/qpair.h:43, from /usr/pkg/qt5/include/QtCore/QPair:1, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/abstractxmlobject.cpp:23: /usr/pkg/qt5/include/QtCore/qbasicatomic.h:61:4: error: #error "Qt requires C++11 support" # error "Qt requires C++11 support" ^~~~~ In file included from /usr/pkg/qt5/include/QtCore/qatomic.h:46:0, from /usr/pkg/qt5/include/QtCore/qglobal.h:1306, from /usr/pkg/qt5/include/QtGui/qtguiglobal.h:43, from /usr/pkg/qt5/include/QtWidgets/qtwidgetsglobal.h:43, from /usr/pkg/qt5/include/QtWidgets/qaction.h:43, from /usr/pkg/qt5/include/QtWidgets/QAction:1, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/actions/genericaction.h:26, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/actions/abstractitemaction.h:23, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/actions/abstractitemaction.cpp:20: /usr/pkg/qt5/include/QtCore/qbasicatomic.h:61:4: error: #error "Qt requires C++11 support" # error "Qt requires C++11 support" ^~~~~ In file included from /usr/pkg/qt5/include/QtCore/qatomic.h:46:0, from /usr/pkg/qt5/include/QtCore/qglobal.h:1306, from /usr/pkg/qt5/include/QtGui/qtguiglobal.h:43, from /usr/pkg/qt5/include/QtWidgets/qtwidgetsglobal.h:43, from /usr/pkg/qt5/include/QtWidgets/qaction.h:43, from /usr/pkg/qt5/include/QtWidgets/QAction:1, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/molsketch_LIB_autogen/T4QKTR7IAB/../../actions/genericaction.h:26, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/molsketch_LIB_autogen/T4QKTR7IAB/../../actions/abstractitemaction.h:23, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/molsketch_LIB_autogen/T4QKTR7IAB/moc_abstractitemaction.cpp:10, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/molsketch_LIB_autogen/mocs_compilation.cpp:2: /usr/pkg/qt5/include/QtCore/qbasicatomic.h:61:4: error: #error "Qt requires C++11 support" # error "Qt requires C++11 support" ^~~~~ In file included from /usr/pkg/qt5/include/QtCore/qatomic.h:46:0, from /usr/pkg/qt5/include/QtCore/qglobal.h:1306, from /usr/pkg/qt5/include/QtCore/qalgorithms.h:43, from /usr/pkg/qt5/include/QtCore/qlist.h:43, from /usr/pkg/qt5/include/QtCore/QList:1, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/atom.h:25, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/TextInputItem.h:23, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/TextInputItem.cpp:20: /usr/pkg/qt5/include/QtCore/qbasicatomic.h:61:4: error: #error "Qt requires C++11 support" # error "Qt requires C++11 support" ^~~~~ In file included from /usr/pkg/qt5/include/QtCore/qpair.h:43:0, from /usr/pkg/qt5/include/QtCore/QPair:1, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/abstractxmlobject.cpp:23: /usr/pkg/qt5/include/QtCore/qglobal.h:391:1: error: 'constexpr' does not name a type constexpr Q_DECL_UNUSED Deprecated_t Deprecated = {}; ^~~~~~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:391:1: note: C++11 'constexpr' only available with -std=c++11 or -std=gnu++11 /usr/pkg/qt5/include/QtCore/qglobal.h:522:43: error: template argument 1 is invalid template struct AlignOf : AlignOf {}; ^ In file included from /usr/pkg/qt5/include/QtCore/qpair.h:43:0, from /usr/pkg/qt5/include/QtCore/QPair:1, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/abstractxmlobject.cpp:23: /usr/pkg/qt5/include/QtCore/qglobal.h:573:7: error: expected nested-name-specifier before 'qsizetype' using qsizetype = QIntegerForSizeof::Signed; ^~~~~~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:663:1: error: 'constexpr' does not name a type constexpr inline const T &qMin(const T &a, const T &b) { return (a < b) ? a : b; } ^~~~~~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:663:1: note: C++11 'constexpr' only available with -std=c++11 or -std=gnu++11 /usr/pkg/qt5/include/QtCore/qglobal.h:665:1: error: 'constexpr' does not name a type constexpr inline const T &qMax(const T &a, const T &b) { return (a < b) ? b : a; } ^~~~~~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:665:1: note: C++11 'constexpr' only available with -std=c++11 or -std=gnu++11 /usr/pkg/qt5/include/QtCore/qglobal.h:667:1: error: 'constexpr' does not name a type constexpr inline const T &qBound(const T &min, const T &val, const T &max) ^~~~~~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:667:1: note: C++11 'constexpr' only available with -std=c++11 or -std=gnu++11 /usr/pkg/qt5/include/QtCore/qglobal.h:802:57: error: expected initializer before 'noexcept' Q_CORE_EXPORT Q_DECL_CONST_FUNCTION bool qSharedBuild() noexcept; ^~~~~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:845:81: error: expected initializer before 'noexcept' Q_CORE_EXPORT void qt_assert(const char *assertion, const char *file, int line) noexcept; ^~~~~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:859:97: error: expected initializer before 'noexcept' Q_CORE_EXPORT void qt_assert_x(const char *where, const char *what, const char *file, int line) noexcept; ^~~~~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:869:67: error: expected initializer before 'noexcept' Q_NORETURN Q_CORE_EXPORT void qt_check_pointer(const char *, int) noexcept; ^~~~~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h: In function 'T* q_check_ptr(T*)': /usr/pkg/qt5/include/QtCore/qglobal.h:884:31: error: there are no arguments to 'qt_check_pointer' that depend on a template parameter, so a declaration of 'qt_check_pointer' must be available [-fpermissive] inline T *q_check_ptr(T *p) { Q_CHECK_PTR(p); return p; } ^ /usr/pkg/qt5/include/QtCore/qglobal.h:884:31: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) In file included from /usr/pkg/qt5/include/QtCore/qglobal.h:105:0, from /usr/pkg/qt5/include/QtCore/qpair.h:43, from /usr/pkg/qt5/include/QtCore/QPair:1, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/abstractxmlobject.cpp:23: /usr/pkg/qt5/include/QtCore/qglobal.h: At global scope: /usr/pkg/qt5/include/QtCore/qglobal.h:892:1: error: expected unqualified-id before '[' token Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qFuzzyCompare(double p1, double p2) ^ /usr/pkg/qt5/include/QtCore/qglobal.h:897:1: error: expected unqualified-id before '[' token Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qFuzzyCompare(float p1, float p2) ^ /usr/pkg/qt5/include/QtCore/qglobal.h:902:1: error: expected unqualified-id before '[' token Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qFuzzyIsNull(double d) ^ /usr/pkg/qt5/include/QtCore/qglobal.h:907:1: error: expected unqualified-id before '[' token Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qFuzzyIsNull(float f) ^ /usr/pkg/qt5/include/QtCore/qglobal.h:917:1: error: expected unqualified-id before '[' token Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qIsNull(double d) noexcept ^ /usr/pkg/qt5/include/QtCore/qglobal.h:922:1: error: expected unqualified-id before '[' token Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qIsNull(float f) noexcept ^ In file included from /usr/pkg/qt5/include/QtCore/qpair.h:43:0, from /usr/pkg/qt5/include/QtCore/QPair:1, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/abstractxmlobject.cpp:23: /usr/pkg/qt5/include/QtCore/qglobal.h:959:9: error: expected initializer before 'noexcept' noexcept(noexcept(swap(t, t))); ^~~~~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:966:5: error: expected initializer before 'noexcept' noexcept(noexcept(QtPrivate::SwapExceptionTester::checkSwap(value1))) ^~~~~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h: In lambda function: /usr/pkg/qt5/include/QtCore/qglobal.h:1036:12: error: 'is_permutation' is not a member of 'std' return QT_3ARG_ALG(is_permutation, first1, last1, first2, last2); ^ /usr/pkg/qt5/include/QtCore/qglobal.h:1036:12: note: suggested alternative: 'prev_permutation' /usr/pkg/qt5/include/QtCore/qglobal.h: At global scope: /usr/pkg/qt5/include/QtCore/qglobal.h:1042:32: error: 'add_const' in namespace 'std' does not name a template type Q_DECL_CONSTEXPR typename std::add_const::type &qAsConst(T &t) noexcept { return t; } ^~~~~~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:1042:41: error: expected unqualified-id before '<' token Q_DECL_CONSTEXPR typename std::add_const::type &qAsConst(T &t) noexcept { return t; } ^ /usr/pkg/qt5/include/QtCore/qglobal.h:1045:23: error: expected ',' or '...' before '&&' token void qAsConst(const T &&) = delete; ^~ /usr/pkg/qt5/include/QtCore/qglobal.h:1049:46: error: expected ',' or '...' before '&&' token Q_DECL_RELAXED_CONSTEXPR T qExchange(T &t, U &&newValue) ^~ /usr/pkg/qt5/include/QtCore/qglobal.h:1049:56: error: default template arguments may not be used in function templates without -std=c++11 or -std=gnu++11 Q_DECL_RELAXED_CONSTEXPR T qExchange(T &t, U &&newValue) ^ /usr/pkg/qt5/include/QtCore/qglobal.h: In function 'T qExchange(T&, U)': /usr/pkg/qt5/include/QtCore/qglobal.h:1051:18: error: 'move' is not a member of 'std' T old = std::move(t); ^~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:1051:18: note: suggested alternative: 'remove' T old = std::move(t); ^~~~ remove /usr/pkg/qt5/include/QtCore/qglobal.h:1052:14: error: 'forward' is not a member of 'std' t = std::forward(newValue); ^~~~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:1052:14: note: suggested alternative: 'for_each' t = std::forward(newValue); ^~~~~~~ for_each /usr/pkg/qt5/include/QtCore/qglobal.h:1052:23: error: expected primary-expression before '>' token t = std::forward(newValue); ^ /usr/pkg/qt5/include/QtCore/qglobal.h:1052:25: error: 'newValue' was not declared in this scope t = std::forward(newValue); ^~~~~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h: At global scope: /usr/pkg/qt5/include/QtCore/qglobal.h:1065:25: error: expected ',' or '...' before '&&' token QForeachContainer(T &&t) : c(std::move(t)), i(qAsConst(c).begin()), e(qAsConst(c).end()) {} ^~ /usr/pkg/qt5/include/QtCore/qglobal.h:1067:41: error: expected ',' or '...' before '&&' token QForeachContainer(QForeachContainer &&other) ^~ /usr/pkg/qt5/include/QtCore/qglobal.h:1067:48: error: invalid constructor; you probably meant 'QtPrivate::QForeachContainer (const QtPrivate::QForeachContainer&)' QForeachContainer(QForeachContainer &&other) ^ /usr/pkg/qt5/include/QtCore/qglobal.h:1075:52: error: expected ',' or '...' before '&&' token QForeachContainer &operator=(QForeachContainer &&other) ^~ /usr/pkg/qt5/include/QtCore/qglobal.h: In constructor 'QtPrivate::QForeachContainer::QForeachContainer(T)': /usr/pkg/qt5/include/QtCore/qglobal.h:1065:39: error: 'move' is not a member of 'std' QForeachContainer(T &&t) : c(std::move(t)), i(qAsConst(c).begin()), e(qAsConst(c).end()) {} ^~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:1065:39: note: suggested alternative: 'remove' QForeachContainer(T &&t) : c(std::move(t)), i(qAsConst(c).begin()), e(qAsConst(c).end()) {} ^~~~ remove /usr/pkg/qt5/include/QtCore/qglobal.h:1065:44: error: 't' was not declared in this scope QForeachContainer(T &&t) : c(std::move(t)), i(qAsConst(c).begin()), e(qAsConst(c).end()) {} ^ /usr/pkg/qt5/include/QtCore/qglobal.h: In member function 'QtPrivate::QForeachContainer& QtPrivate::QForeachContainer::operator=(QtPrivate::QForeachContainer)': /usr/pkg/qt5/include/QtCore/qglobal.h:1077:18: error: 'move' is not a member of 'std' c = std::move(other.c); ^~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:1077:18: note: suggested alternative: 'remove' c = std::move(other.c); ^~~~ remove /usr/pkg/qt5/include/QtCore/qglobal.h:1077:23: error: 'other' was not declared in this scope c = std::move(other.c); ^~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:1080:24: error: 'move' is not a member of 'std' control = std::move(other.control); ^~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:1080:24: note: suggested alternative: 'remove' control = std::move(other.control); ^~~~ remove /usr/pkg/qt5/include/QtCore/qglobal.h: At global scope: /usr/pkg/qt5/include/QtCore/qglobal.h:1090:33: error: 'decay' in namespace 'std' does not name a template type QForeachContainer::type> qMakeForeachContainer(T &&t) ^~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:1090:38: error: expected template-argument before '<' token QForeachContainer::type> qMakeForeachContainer(T &&t) ^ /usr/pkg/qt5/include/QtCore/qglobal.h:1090:38: error: expected '>' before '<' token /usr/pkg/qt5/include/QtCore/qglobal.h:1090:47: error: template argument 1 is invalid QForeachContainer::type> qMakeForeachContainer(T &&t) ^ /usr/pkg/qt5/include/QtCore/qglobal.h:1090:73: error: expected ',' or '...' before '&&' token QForeachContainer::type> qMakeForeachContainer(T &&t) ^~ /usr/pkg/qt5/include/QtCore/qglobal.h: In function 'int QtPrivate::qMakeForeachContainer(T)': /usr/pkg/qt5/include/QtCore/qglobal.h:1092:44: error: 'decay' in namespace 'std' does not name a template type return QForeachContainer::type>(std::forward(t)); ^~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:1092:49: error: expected template-argument before '<' token return QForeachContainer::type>(std::forward(t)); ^ /usr/pkg/qt5/include/QtCore/qglobal.h:1092:49: error: expected '>' before '<' token /usr/pkg/qt5/include/QtCore/qglobal.h:1092:58: error: template argument 1 is invalid return QForeachContainer::type>(std::forward(t)); ^ /usr/pkg/qt5/include/QtCore/qglobal.h:1092:65: error: 'forward' is not a member of 'std' return QForeachContainer::type>(std::forward(t)); ^~~~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:1092:65: note: suggested alternative: 'for_each' return QForeachContainer::type>(std::forward(t)); ^~~~~~~ for_each /usr/pkg/qt5/include/QtCore/qglobal.h:1092:76: error: 't' was not declared in this scope return QForeachContainer::type>(std::forward(t)); ^ /usr/pkg/qt5/include/QtCore/qglobal.h:1092:65: error: 'forward' is not a member of 'std' return QForeachContainer::type>(std::forward(t)); ^~~~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:1092:65: note: suggested alternative: 'for_each' return QForeachContainer::type>(std::forward(t)); ^~~~~~~ for_each /usr/pkg/qt5/include/QtCore/qglobal.h:1092:74: error: expected primary-expression before '>' token return QForeachContainer::type>(std::forward(t)); ^ /usr/pkg/qt5/include/QtCore/qglobal.h: At global scope: /usr/pkg/qt5/include/QtCore/qglobal.h:1135:64: error: expected type-specifier before 'decltype' template inline auto qGetPtrHelper(Ptr &ptr) -> decltype(ptr.operator->()) { return ptr.operator->(); } ^~~~~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:1135:64: error: expected initializer before 'decltype' /usr/pkg/qt5/include/QtCore/qglobal.h:1267:69: error: expected initializer before 'noexcept' Q_CORE_EXPORT bool qEnvironmentVariableIsEmpty(const char *varName) noexcept; ^~~~~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:1268:67: error: expected initializer before 'noexcept' Q_CORE_EXPORT bool qEnvironmentVariableIsSet(const char *varName) noexcept; ^~~~~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:1269:79: error: 'nullptr' was not declared in this scope Q_CORE_EXPORT int qEnvironmentVariableIntValue(const char *varName, bool *ok=nullptr) noexcept; ^~~~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:1269:88: error: expected initializer before 'noexcept' Q_CORE_EXPORT int qEnvironmentVariableIntValue(const char *varName, bool *ok=nullptr) noexcept; ^~~~~~~~ In file included from /usr/pkg/qt5/include/QtCore/qglobal.h:1300:0, from /usr/pkg/qt5/include/QtCore/qpair.h:43, from /usr/pkg/qt5/include/QtCore/QPair:1, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/abstractxmlobject.cpp:23: /usr/pkg/qt5/include/QtCore/qtypeinfo.h:53:8: error: 'constexpr' does not name a type static constexpr bool qIsRelocatable() ^~~~~~~~~ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:53:8: note: C++11 'constexpr' only available with -std=c++11 or -std=gnu++11 /usr/pkg/qt5/include/QtCore/qtypeinfo.h:63:8: error: 'constexpr' does not name a type static constexpr bool qIsTrivial() ^~~~~~~~~ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:63:8: note: C++11 'constexpr' only available with -std=c++11 or -std=gnu++11 /usr/pkg/qt5/include/QtCore/qtypeinfo.h:81:30: error: 'is_enum' is not a member of 'std' isSpecialized = std::is_enum::value, // don't require every enum to be marked manually ^~~~~~~ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:81:39: error: expected primary-expression before '>' token isSpecialized = std::is_enum::value, // don't require every enum to be marked manually ^ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:81:42: error: '::value' has not been declared isSpecialized = std::is_enum::value, // don't require every enum to be marked manually ^~~~~ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:81:42: note: suggested alternative: 'valloc' isSpecialized = std::is_enum::value, // don't require every enum to be marked manually ^~~~~ valloc /usr/pkg/qt5/include/QtCore/qtypeinfo.h:83:27: error: 'is_integral' is not a member of 'std' isIntegral = std::is_integral::value, ^~~~~~~~~~~ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:83:27: note: suggested alternative: '__is_integer' isIntegral = std::is_integral::value, ^~~~~~~~~~~ __is_integer /usr/pkg/qt5/include/QtCore/qtypeinfo.h:83:40: error: expected primary-expression before '>' token isIntegral = std::is_integral::value, ^ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:83:43: error: '::value' has not been declared isIntegral = std::is_integral::value, ^~~~~ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:83:43: note: suggested alternative: 'valloc' isIntegral = std::is_integral::value, ^~~~~ valloc /usr/pkg/qt5/include/QtCore/qtypeinfo.h:84:22: error: 'qIsTrivial' was not declared in this scope isComplex = !qIsTrivial(), ^~~~~~~~~~ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:84:22: note: suggested alternative: 'qCritical' isComplex = !qIsTrivial(), ^~~~~~~~~~ qCritical /usr/pkg/qt5/include/QtCore/qtypeinfo.h:84:34: error: expected primary-expression before '>' token isComplex = !qIsTrivial(), ^ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:84:36: error: expected primary-expression before ')' token isComplex = !qIsTrivial(), ^ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:86:25: error: 'qIsRelocatable' was not declared in this scope isRelocatable = qIsRelocatable(), ^~~~~~~~~~~~~~ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:86:41: error: expected primary-expression before '>' token isRelocatable = qIsRelocatable(), ^ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:86:43: error: expected primary-expression before ')' token isRelocatable = qIsRelocatable(), ^ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:150:40: error: 'enable_if' in namespace 'std' does not name a template type struct QTypeInfoQuery::isRelocatable || true>::type> : public QTypeInfo ^~~~~~~~~ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:150:49: error: expected template-argument before '<' token struct QTypeInfoQuery::isRelocatable || true>::type> : public QTypeInfo ^ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:150:49: error: expected '>' before '<' token /usr/pkg/qt5/include/QtCore/qtypeinfo.h:150:92: error: template argument 2 is invalid struct QTypeInfoQuery::isRelocatable || true>::type> : public QTypeInfo ^ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:289:1: error: 'qIsTrivial' was not declared in this scope Q_DECLARE_TYPEINFO_BODY(QFlags, Q_PRIMITIVE_TYPE); ^ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:289:1: note: suggested alternative: 'qCritical' /usr/pkg/qt5/include/QtCore/qtypeinfo.h:289:1: error: expected primary-expression before '>' token Q_DECLARE_TYPEINFO_BODY(QFlags, Q_PRIMITIVE_TYPE); ^ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:289:1: error: expected primary-expression before ')' token Q_DECLARE_TYPEINFO_BODY(QFlags, Q_PRIMITIVE_TYPE); ^ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:289:1: error: 'qIsRelocatable' was not declared in this scope Q_DECLARE_TYPEINFO_BODY(QFlags, Q_PRIMITIVE_TYPE); ^ In file included from /usr/pkg/qt5/include/QtGui/qtguiglobal.h:43:0, from /usr/pkg/qt5/include/QtWidgets/qtwidgetsglobal.h:43, from /usr/pkg/qt5/include/QtWidgets/qaction.h:43, from /usr/pkg/qt5/include/QtWidgets/QAction:1, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/actions/genericaction.h:26, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/actions/abstractitemaction.h:23, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/actions/abstractitemaction.cpp:20: /usr/pkg/qt5/include/QtCore/qglobal.h:391:1: error: 'constexpr' does not name a type constexpr Q_DECL_UNUSED Deprecated_t Deprecated = {}; ^~~~~~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:391:1: note: C++11 'constexpr' only available with -std=c++11 or -std=gnu++11 /usr/pkg/qt5/include/QtCore/qglobal.h:522:43: error: template argument 1 is invalid template struct AlignOf : AlignOf {}; ^ In file included from /usr/pkg/qt5/include/QtGui/qtguiglobal.h:43:0, from /usr/pkg/qt5/include/QtWidgets/qtwidgetsglobal.h:43, from /usr/pkg/qt5/include/QtWidgets/qaction.h:43, from /usr/pkg/qt5/include/QtWidgets/QAction:1, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/actions/genericaction.h:26, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/actions/abstractitemaction.h:23, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/actions/abstractitemaction.cpp:20: /usr/pkg/qt5/include/QtCore/qglobal.h:573:7: error: expected nested-name-specifier before 'qsizetype' using qsizetype = QIntegerForSizeof::Signed; ^~~~~~~~~ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:289:1: error: expected primary-expression before '>' token Q_DECLARE_TYPEINFO_BODY(QFlags, Q_PRIMITIVE_TYPE); ^ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:289:1: error: expected primary-expression before ')' token Q_DECLARE_TYPEINFO_BODY(QFlags, Q_PRIMITIVE_TYPE); ^ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:289:1: error: 'is_integral' is not a member of 'std' Q_DECLARE_TYPEINFO_BODY(QFlags, Q_PRIMITIVE_TYPE); ^ /usr/pkg/qt5/include/QtCore/qglobal.h:663:1: error: 'constexpr' does not name a type constexpr inline const T &qMin(const T &a, const T &b) { return (a < b) ? a : b; } ^~~~~~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:663:1: note: C++11 'constexpr' only available with -std=c++11 or -std=gnu++11 /usr/pkg/qt5/include/QtCore/qtypeinfo.h:289:1: note: suggested alternative: '__is_integer' /usr/pkg/qt5/include/QtCore/qtypeinfo.h:289:1: error: expected primary-expression before '>' token Q_DECLARE_TYPEINFO_BODY(QFlags, Q_PRIMITIVE_TYPE); ^ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:289:1: error: '::value' has not been declared Q_DECLARE_TYPEINFO_BODY(QFlags, Q_PRIMITIVE_TYPE); ^ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:289:1: note: suggested alternative: 'valloc' /usr/pkg/qt5/include/QtCore/qglobal.h:665:1: error: 'constexpr' does not name a type constexpr inline const T &qMax(const T &a, const T &b) { return (a < b) ? b : a; } ^~~~~~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:665:1: note: C++11 'constexpr' only available with -std=c++11 or -std=gnu++11 /usr/pkg/qt5/include/QtCore/qtypeinfo.h:319:1: error: 'qIsTrivial' was not declared in this scope Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); ^ /usr/pkg/qt5/include/QtCore/qglobal.h:667:1: error: 'constexpr' does not name a type constexpr inline const T &qBound(const T &min, const T &val, const T &max) ^~~~~~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:667:1: note: C++11 'constexpr' only available with -std=c++11 or -std=gnu++11 /usr/pkg/qt5/include/QtCore/qglobal.h:802:57: error: expected initializer before 'noexcept' Q_CORE_EXPORT Q_DECL_CONST_FUNCTION bool qSharedBuild() noexcept; ^~~~~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:845:81: error: expected initializer before 'noexcept' Q_CORE_EXPORT void qt_assert(const char *assertion, const char *file, int line) noexcept; ^~~~~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:859:97: error: expected initializer before 'noexcept' Q_CORE_EXPORT void qt_assert_x(const char *where, const char *what, const char *file, int line) noexcept; ^~~~~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:869:67: error: expected initializer before 'noexcept' Q_NORETURN Q_CORE_EXPORT void qt_check_pointer(const char *, int) noexcept; ^~~~~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h: In function 'T* q_check_ptr(T*)': /usr/pkg/qt5/include/QtCore/qglobal.h:884:31: error: there are no arguments to 'qt_check_pointer' that depend on a template parameter, so a declaration of 'qt_check_pointer' must be available [-fpermissive] inline T *q_check_ptr(T *p) { Q_CHECK_PTR(p); return p; } ^ /usr/pkg/qt5/include/QtCore/qglobal.h:884:31: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) In file included from /usr/pkg/qt5/include/QtCore/qglobal.h:105:0, from /usr/pkg/qt5/include/QtGui/qtguiglobal.h:43, from /usr/pkg/qt5/include/QtWidgets/qtwidgetsglobal.h:43, from /usr/pkg/qt5/include/QtWidgets/qaction.h:43, from /usr/pkg/qt5/include/QtWidgets/QAction:1, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/actions/genericaction.h:26, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/actions/abstractitemaction.h:23, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/actions/abstractitemaction.cpp:20: /usr/pkg/qt5/include/QtCore/qglobal.h: At global scope: /usr/pkg/qt5/include/QtCore/qglobal.h:892:1: error: expected unqualified-id before '[' token Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qFuzzyCompare(double p1, double p2) ^ /usr/pkg/qt5/include/QtCore/qglobal.h:897:1: error: expected unqualified-id before '[' token Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qFuzzyCompare(float p1, float p2) ^ /usr/pkg/qt5/include/QtCore/qglobal.h:902:1: error: expected unqualified-id before '[' token Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qFuzzyIsNull(double d) ^ /usr/pkg/qt5/include/QtCore/qglobal.h:907:1: error: expected unqualified-id before '[' token Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qFuzzyIsNull(float f) ^ /usr/pkg/qt5/include/QtCore/qglobal.h:917:1: error: expected unqualified-id before '[' token Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qIsNull(double d) noexcept ^ /usr/pkg/qt5/include/QtCore/qglobal.h:922:1: error: expected unqualified-id before '[' token Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qIsNull(float f) noexcept ^ In file included from /usr/pkg/qt5/include/QtGui/qtguiglobal.h:43:0, from /usr/pkg/qt5/include/QtWidgets/qtwidgetsglobal.h:43, from /usr/pkg/qt5/include/QtWidgets/qaction.h:43, from /usr/pkg/qt5/include/QtWidgets/QAction:1, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/actions/genericaction.h:26, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/actions/abstractitemaction.h:23, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/actions/abstractitemaction.cpp:20: /usr/pkg/qt5/include/QtCore/qglobal.h:959:9: error: expected initializer before 'noexcept' noexcept(noexcept(swap(t, t))); ^~~~~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:966:5: error: expected initializer before 'noexcept' noexcept(noexcept(QtPrivate::SwapExceptionTester::checkSwap(value1))) ^~~~~~~~ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:319:1: note: suggested alternative: 'qCritical' /usr/pkg/qt5/include/QtCore/qtypeinfo.h:319:1: error: expected primary-expression before 'bool' Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); ^ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:319:1: error: expected '}' before 'bool' /usr/pkg/qt5/include/QtCore/qtypeinfo.h:319:1: error: expected unqualified-id before '>' token Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); ^ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:319:1: error: expected declaration before '}' token Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); ^ /usr/pkg/qt5/include/QtCore/qglobal.h: In lambda function: /usr/pkg/qt5/include/QtCore/qglobal.h:1036:12: error: 'is_permutation' is not a member of 'std' return QT_3ARG_ALG(is_permutation, first1, last1, first2, last2); ^ /usr/pkg/qt5/include/QtCore/qglobal.h:1036:12: note: suggested alternative: 'prev_permutation' /usr/pkg/qt5/include/QtCore/qglobal.h: At global scope: /usr/pkg/qt5/include/QtCore/qglobal.h:1042:32: error: 'add_const' in namespace 'std' does not name a template type Q_DECL_CONSTEXPR typename std::add_const::type &qAsConst(T &t) noexcept { return t; } ^~~~~~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:1042:41: error: expected unqualified-id before '<' token Q_DECL_CONSTEXPR typename std::add_const::type &qAsConst(T &t) noexcept { return t; } ^ /usr/pkg/qt5/include/QtCore/qglobal.h:1045:23: error: expected ',' or '...' before '&&' token void qAsConst(const T &&) = delete; ^~ /usr/pkg/qt5/include/QtCore/qglobal.h:1049:46: error: expected ',' or '...' before '&&' token Q_DECL_RELAXED_CONSTEXPR T qExchange(T &t, U &&newValue) ^~ /usr/pkg/qt5/include/QtCore/qglobal.h:1049:56: error: default template arguments may not be used in function templates without -std=c++11 or -std=gnu++11 Q_DECL_RELAXED_CONSTEXPR T qExchange(T &t, U &&newValue) ^ /usr/pkg/qt5/include/QtCore/qglobal.h: In function 'T qExchange(T&, U)': /usr/pkg/qt5/include/QtCore/qglobal.h:1051:18: error: 'move' is not a member of 'std' T old = std::move(t); ^~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:1051:18: note: suggested alternative: 'remove' T old = std::move(t); ^~~~ remove /usr/pkg/qt5/include/QtCore/qglobal.h:1052:14: error: 'forward' is not a member of 'std' t = std::forward(newValue); ^~~~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:1052:14: note: suggested alternative: 'for_each' t = std::forward(newValue); ^~~~~~~ for_each /usr/pkg/qt5/include/QtCore/qglobal.h:1052:23: error: expected primary-expression before '>' token t = std::forward(newValue); ^ /usr/pkg/qt5/include/QtCore/qglobal.h:1052:25: error: 'newValue' was not declared in this scope t = std::forward(newValue); ^~~~~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h: At global scope: /usr/pkg/qt5/include/QtCore/qglobal.h:1065:25: error: expected ',' or '...' before '&&' token QForeachContainer(T &&t) : c(std::move(t)), i(qAsConst(c).begin()), e(qAsConst(c).end()) {} ^~ /usr/pkg/qt5/include/QtCore/qglobal.h:1067:41: error: expected ',' or '...' before '&&' token QForeachContainer(QForeachContainer &&other) ^~ /usr/pkg/qt5/include/QtCore/qglobal.h:1067:48: error: invalid constructor; you probably meant 'QtPrivate::QForeachContainer (const QtPrivate::QForeachContainer&)' QForeachContainer(QForeachContainer &&other) ^ /usr/pkg/qt5/include/QtCore/qglobal.h:1075:52: error: expected ',' or '...' before '&&' token QForeachContainer &operator=(QForeachContainer &&other) ^~ /usr/pkg/qt5/include/QtCore/qglobal.h: In constructor 'QtPrivate::QForeachContainer::QForeachContainer(T)': /usr/pkg/qt5/include/QtCore/qglobal.h:1065:39: error: 'move' is not a member of 'std' QForeachContainer(T &&t) : c(std::move(t)), i(qAsConst(c).begin()), e(qAsConst(c).end()) {} ^~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:1065:39: note: suggested alternative: 'remove' QForeachContainer(T &&t) : c(std::move(t)), i(qAsConst(c).begin()), e(qAsConst(c).end()) {} ^~~~ remove /usr/pkg/qt5/include/QtCore/qglobal.h:1065:44: error: 't' was not declared in this scope QForeachContainer(T &&t) : c(std::move(t)), i(qAsConst(c).begin()), e(qAsConst(c).end()) {} ^ /usr/pkg/qt5/include/QtCore/qglobal.h: In member function 'QtPrivate::QForeachContainer& QtPrivate::QForeachContainer::operator=(QtPrivate::QForeachContainer)': /usr/pkg/qt5/include/QtCore/qglobal.h:1077:18: error: 'move' is not a member of 'std' c = std::move(other.c); ^~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:1077:18: note: suggested alternative: 'remove' c = std::move(other.c); ^~~~ remove /usr/pkg/qt5/include/QtCore/qglobal.h:1077:23: error: 'other' was not declared in this scope c = std::move(other.c); ^~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:1080:24: error: 'move' is not a member of 'std' control = std::move(other.control); ^~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:1080:24: note: suggested alternative: 'remove' control = std::move(other.control); ^~~~ remove /usr/pkg/qt5/include/QtCore/qglobal.h: At global scope: /usr/pkg/qt5/include/QtCore/qglobal.h:1090:33: error: 'decay' in namespace 'std' does not name a template type QForeachContainer::type> qMakeForeachContainer(T &&t) ^~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:1090:38: error: expected template-argument before '<' token QForeachContainer::type> qMakeForeachContainer(T &&t) ^ /usr/pkg/qt5/include/QtCore/qglobal.h:1090:38: error: expected '>' before '<' token /usr/pkg/qt5/include/QtCore/qglobal.h:1090:47: error: template argument 1 is invalid QForeachContainer::type> qMakeForeachContainer(T &&t) ^ /usr/pkg/qt5/include/QtCore/qglobal.h:1090:73: error: expected ',' or '...' before '&&' token QForeachContainer::type> qMakeForeachContainer(T &&t) ^~ /usr/pkg/qt5/include/QtCore/qglobal.h: In function 'int QtPrivate::qMakeForeachContainer(T)': /usr/pkg/qt5/include/QtCore/qglobal.h:1092:44: error: 'decay' in namespace 'std' does not name a template type return QForeachContainer::type>(std::forward(t)); ^~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:1092:49: error: expected template-argument before '<' token return QForeachContainer::type>(std::forward(t)); ^ /usr/pkg/qt5/include/QtCore/qglobal.h:1092:49: error: expected '>' before '<' token /usr/pkg/qt5/include/QtCore/qglobal.h:1092:58: error: template argument 1 is invalid return QForeachContainer::type>(std::forward(t)); ^ /usr/pkg/qt5/include/QtCore/qglobal.h:1092:65: error: 'forward' is not a member of 'std' return QForeachContainer::type>(std::forward(t)); ^~~~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:1092:65: note: suggested alternative: 'for_each' return QForeachContainer::type>(std::forward(t)); ^~~~~~~ for_each /usr/pkg/qt5/include/QtCore/qglobal.h:1092:76: error: 't' was not declared in this scope return QForeachContainer::type>(std::forward(t)); ^ --- libmolsketch/CMakeFiles/molsketch_LIB.dir/abstractxmlobject.cpp.o --- *** [libmolsketch/CMakeFiles/molsketch_LIB.dir/abstractxmlobject.cpp.o] Error code 1 make[2]: stopped in /tmp/biology/molsketch/work/Molsketch-0.7.2 /usr/pkg/qt5/include/QtCore/qglobal.h:1092:65: error: 'forward' is not a member of 'std' return QForeachContainer::type>(std::forward(t)); ^~~~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:1092:65: note: suggested alternative: 'for_each' return QForeachContainer::type>(std::forward(t)); ^~~~~~~ for_each /usr/pkg/qt5/include/QtCore/qglobal.h:1092:74: error: expected primary-expression before '>' token return QForeachContainer::type>(std::forward(t)); ^ /usr/pkg/qt5/include/QtCore/qglobal.h: At global scope: /usr/pkg/qt5/include/QtCore/qglobal.h:1135:64: error: expected type-specifier before 'decltype' template inline auto qGetPtrHelper(Ptr &ptr) -> decltype(ptr.operator->()) { return ptr.operator->(); } ^~~~~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:1135:64: error: expected initializer before 'decltype' /usr/pkg/qt5/include/QtCore/qglobal.h:1267:69: error: expected initializer before 'noexcept' Q_CORE_EXPORT bool qEnvironmentVariableIsEmpty(const char *varName) noexcept; ^~~~~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:1268:67: error: expected initializer before 'noexcept' Q_CORE_EXPORT bool qEnvironmentVariableIsSet(const char *varName) noexcept; ^~~~~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:1269:79: error: 'nullptr' was not declared in this scope Q_CORE_EXPORT int qEnvironmentVariableIntValue(const char *varName, bool *ok=nullptr) noexcept; ^~~~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:1269:88: error: expected initializer before 'noexcept' Q_CORE_EXPORT int qEnvironmentVariableIntValue(const char *varName, bool *ok=nullptr) noexcept; ^~~~~~~~ In file included from /usr/pkg/qt5/include/QtCore/qglobal.h:1300:0, from /usr/pkg/qt5/include/QtGui/qtguiglobal.h:43, from /usr/pkg/qt5/include/QtWidgets/qtwidgetsglobal.h:43, from /usr/pkg/qt5/include/QtWidgets/qaction.h:43, from /usr/pkg/qt5/include/QtWidgets/QAction:1, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/actions/genericaction.h:26, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/actions/abstractitemaction.h:23, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/actions/abstractitemaction.cpp:20: /usr/pkg/qt5/include/QtCore/qtypeinfo.h:53:8: error: 'constexpr' does not name a type static constexpr bool qIsRelocatable() ^~~~~~~~~ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:53:8: note: C++11 'constexpr' only available with -std=c++11 or -std=gnu++11 /usr/pkg/qt5/include/QtCore/qtypeinfo.h:63:8: error: 'constexpr' does not name a type static constexpr bool qIsTrivial() ^~~~~~~~~ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:63:8: note: C++11 'constexpr' only available with -std=c++11 or -std=gnu++11 /usr/pkg/qt5/include/QtCore/qtypeinfo.h:81:30: error: 'is_enum' is not a member of 'std' isSpecialized = std::is_enum::value, // don't require every enum to be marked manually ^~~~~~~ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:81:39: error: expected primary-expression before '>' token isSpecialized = std::is_enum::value, // don't require every enum to be marked manually ^ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:81:42: error: '::value' has not been declared isSpecialized = std::is_enum::value, // don't require every enum to be marked manually ^~~~~ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:81:42: note: suggested alternative: 'valloc' isSpecialized = std::is_enum::value, // don't require every enum to be marked manually ^~~~~ valloc /usr/pkg/qt5/include/QtCore/qtypeinfo.h:83:27: error: 'is_integral' is not a member of 'std' isIntegral = std::is_integral::value, ^~~~~~~~~~~ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:83:27: note: suggested alternative: '__is_integer' isIntegral = std::is_integral::value, ^~~~~~~~~~~ __is_integer /usr/pkg/qt5/include/QtCore/qtypeinfo.h:83:40: error: expected primary-expression before '>' token isIntegral = std::is_integral::value, ^ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:83:43: error: '::value' has not been declared isIntegral = std::is_integral::value, ^~~~~ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:83:43: note: suggested alternative: 'valloc' isIntegral = std::is_integral::value, ^~~~~ valloc /usr/pkg/qt5/include/QtCore/qtypeinfo.h:84:22: error: 'qIsTrivial' was not declared in this scope isComplex = !qIsTrivial(), ^~~~~~~~~~ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:84:22: note: suggested alternative: 'qCritical' isComplex = !qIsTrivial(), ^~~~~~~~~~ qCritical /usr/pkg/qt5/include/QtCore/qtypeinfo.h:84:34: error: expected primary-expression before '>' token isComplex = !qIsTrivial(), ^ In file included from /usr/pkg/qt5/include/QtCore/qalgorithms.h:43:0, from /usr/pkg/qt5/include/QtCore/qlist.h:43, from /usr/pkg/qt5/include/QtCore/QList:1, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/atom.h:25, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/TextInputItem.h:23, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/TextInputItem.cpp:20: /usr/pkg/qt5/include/QtCore/qglobal.h:391:1: error: 'constexpr' does not name a type constexpr Q_DECL_UNUSED Deprecated_t Deprecated = {}; ^~~~~~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:391:1: note: C++11 'constexpr' only available with -std=c++11 or -std=gnu++11 /usr/pkg/qt5/include/QtCore/qtypeinfo.h:84:36: error: expected primary-expression before ')' token isComplex = !qIsTrivial(), ^ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:86:25: error: 'qIsRelocatable' was not declared in this scope isRelocatable = qIsRelocatable(), ^~~~~~~~~~~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:522:43: error: template argument 1 is invalid template struct AlignOf : AlignOf {}; ^ In file included from /usr/pkg/qt5/include/QtCore/qalgorithms.h:43:0, from /usr/pkg/qt5/include/QtCore/qlist.h:43, from /usr/pkg/qt5/include/QtCore/QList:1, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/atom.h:25, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/TextInputItem.h:23, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/TextInputItem.cpp:20: /usr/pkg/qt5/include/QtCore/qglobal.h:573:7: error: expected nested-name-specifier before 'qsizetype' using qsizetype = QIntegerForSizeof::Signed; ^~~~~~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:663:1: error: 'constexpr' does not name a type constexpr inline const T &qMin(const T &a, const T &b) { return (a < b) ? a : b; } ^~~~~~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:663:1: note: C++11 'constexpr' only available with -std=c++11 or -std=gnu++11 /usr/pkg/qt5/include/QtCore/qtypeinfo.h:86:41: error: expected primary-expression before '>' token isRelocatable = qIsRelocatable(), ^ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:86:43: error: expected primary-expression before ')' token isRelocatable = qIsRelocatable(), ^ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:150:40: error: 'enable_if' in namespace 'std' does not name a template type struct QTypeInfoQuery::isRelocatable || true>::type> : public QTypeInfo ^~~~~~~~~ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:150:49: error: expected template-argument before '<' token struct QTypeInfoQuery::isRelocatable || true>::type> : public QTypeInfo ^ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:150:49: error: expected '>' before '<' token /usr/pkg/qt5/include/QtCore/qtypeinfo.h:150:92: error: template argument 2 is invalid struct QTypeInfoQuery::isRelocatable || true>::type> : public QTypeInfo ^ /usr/pkg/qt5/include/QtCore/qglobal.h:665:1: error: 'constexpr' does not name a type constexpr inline const T &qMax(const T &a, const T &b) { return (a < b) ? b : a; } ^~~~~~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:665:1: note: C++11 'constexpr' only available with -std=c++11 or -std=gnu++11 /usr/pkg/qt5/include/QtCore/qglobal.h:667:1: error: 'constexpr' does not name a type constexpr inline const T &qBound(const T &min, const T &val, const T &max) ^~~~~~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:667:1: note: C++11 'constexpr' only available with -std=c++11 or -std=gnu++11 /usr/pkg/qt5/include/QtCore/qglobal.h:802:57: error: expected initializer before 'noexcept' Q_CORE_EXPORT Q_DECL_CONST_FUNCTION bool qSharedBuild() noexcept; ^~~~~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:845:81: error: expected initializer before 'noexcept' Q_CORE_EXPORT void qt_assert(const char *assertion, const char *file, int line) noexcept; ^~~~~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:859:97: error: expected initializer before 'noexcept' Q_CORE_EXPORT void qt_assert_x(const char *where, const char *what, const char *file, int line) noexcept; ^~~~~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:869:67: error: expected initializer before 'noexcept' Q_NORETURN Q_CORE_EXPORT void qt_check_pointer(const char *, int) noexcept; ^~~~~~~~ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:289:1: error: 'qIsTrivial' was not declared in this scope Q_DECLARE_TYPEINFO_BODY(QFlags, Q_PRIMITIVE_TYPE); ^ /usr/pkg/qt5/include/QtCore/qglobal.h: In function 'T* q_check_ptr(T*)': /usr/pkg/qt5/include/QtCore/qglobal.h:884:31: error: there are no arguments to 'qt_check_pointer' that depend on a template parameter, so a declaration of 'qt_check_pointer' must be available [-fpermissive] inline T *q_check_ptr(T *p) { Q_CHECK_PTR(p); return p; } ^ /usr/pkg/qt5/include/QtCore/qglobal.h:884:31: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) In file included from /usr/pkg/qt5/include/QtCore/qglobal.h:105:0, from /usr/pkg/qt5/include/QtCore/qalgorithms.h:43, from /usr/pkg/qt5/include/QtCore/qlist.h:43, from /usr/pkg/qt5/include/QtCore/QList:1, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/atom.h:25, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/TextInputItem.h:23, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/TextInputItem.cpp:20: /usr/pkg/qt5/include/QtCore/qglobal.h: At global scope: /usr/pkg/qt5/include/QtCore/qglobal.h:892:1: error: expected unqualified-id before '[' token Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qFuzzyCompare(double p1, double p2) ^ /usr/pkg/qt5/include/QtCore/qglobal.h:897:1: error: expected unqualified-id before '[' token Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qFuzzyCompare(float p1, float p2) ^ /usr/pkg/qt5/include/QtCore/qglobal.h:902:1: error: expected unqualified-id before '[' token Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qFuzzyIsNull(double d) ^ /usr/pkg/qt5/include/QtCore/qglobal.h:907:1: error: expected unqualified-id before '[' token Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qFuzzyIsNull(float f) ^ /usr/pkg/qt5/include/QtCore/qglobal.h:917:1: error: expected unqualified-id before '[' token Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qIsNull(double d) noexcept ^ /usr/pkg/qt5/include/QtCore/qglobal.h:922:1: error: expected unqualified-id before '[' token Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qIsNull(float f) noexcept ^ In file included from /usr/pkg/qt5/include/QtCore/qalgorithms.h:43:0, from /usr/pkg/qt5/include/QtCore/qlist.h:43, from /usr/pkg/qt5/include/QtCore/QList:1, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/atom.h:25, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/TextInputItem.h:23, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/TextInputItem.cpp:20: /usr/pkg/qt5/include/QtCore/qglobal.h:959:9: error: expected initializer before 'noexcept' noexcept(noexcept(swap(t, t))); ^~~~~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:966:5: error: expected initializer before 'noexcept' noexcept(noexcept(QtPrivate::SwapExceptionTester::checkSwap(value1))) ^~~~~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h: In lambda function: /usr/pkg/qt5/include/QtCore/qglobal.h:1036:12: error: 'is_permutation' is not a member of 'std' return QT_3ARG_ALG(is_permutation, first1, last1, first2, last2); ^ /usr/pkg/qt5/include/QtCore/qglobal.h:1036:12: note: suggested alternative: 'prev_permutation' /usr/pkg/qt5/include/QtCore/qglobal.h: At global scope: /usr/pkg/qt5/include/QtCore/qglobal.h:1042:32: error: 'add_const' in namespace 'std' does not name a template type Q_DECL_CONSTEXPR typename std::add_const::type &qAsConst(T &t) noexcept { return t; } ^~~~~~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:1042:41: error: expected unqualified-id before '<' token Q_DECL_CONSTEXPR typename std::add_const::type &qAsConst(T &t) noexcept { return t; } ^ /usr/pkg/qt5/include/QtCore/qglobal.h:1045:23: error: expected ',' or '...' before '&&' token void qAsConst(const T &&) = delete; ^~ /usr/pkg/qt5/include/QtCore/qglobal.h:1049:46: error: expected ',' or '...' before '&&' token Q_DECL_RELAXED_CONSTEXPR T qExchange(T &t, U &&newValue) ^~ /usr/pkg/qt5/include/QtCore/qglobal.h:1049:56: error: default template arguments may not be used in function templates without -std=c++11 or -std=gnu++11 Q_DECL_RELAXED_CONSTEXPR T qExchange(T &t, U &&newValue) ^ /usr/pkg/qt5/include/QtCore/qglobal.h: In function 'T qExchange(T&, U)': /usr/pkg/qt5/include/QtCore/qglobal.h:1051:18: error: 'move' is not a member of 'std' T old = std::move(t); ^~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:1051:18: note: suggested alternative: 'remove' T old = std::move(t); ^~~~ remove /usr/pkg/qt5/include/QtCore/qglobal.h:1052:14: error: 'forward' is not a member of 'std' t = std::forward(newValue); ^~~~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:1052:14: note: suggested alternative: 'for_each' t = std::forward(newValue); ^~~~~~~ for_each /usr/pkg/qt5/include/QtCore/qglobal.h:1052:23: error: expected primary-expression before '>' token t = std::forward(newValue); ^ /usr/pkg/qt5/include/QtCore/qglobal.h:1052:25: error: 'newValue' was not declared in this scope t = std::forward(newValue); ^~~~~~~~ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:289:1: note: suggested alternative: 'qCritical' /usr/pkg/qt5/include/QtCore/qtypeinfo.h:289:1: error: expected primary-expression before '>' token Q_DECLARE_TYPEINFO_BODY(QFlags, Q_PRIMITIVE_TYPE); ^ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:289:1: error: expected primary-expression before ')' token Q_DECLARE_TYPEINFO_BODY(QFlags, Q_PRIMITIVE_TYPE); ^ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:289:1: error: 'qIsRelocatable' was not declared in this scope Q_DECLARE_TYPEINFO_BODY(QFlags, Q_PRIMITIVE_TYPE); ^ /usr/pkg/qt5/include/QtCore/qglobal.h: At global scope: /usr/pkg/qt5/include/QtCore/qglobal.h:1065:25: error: expected ',' or '...' before '&&' token QForeachContainer(T &&t) : c(std::move(t)), i(qAsConst(c).begin()), e(qAsConst(c).end()) {} ^~ /usr/pkg/qt5/include/QtCore/qglobal.h:1067:41: error: expected ',' or '...' before '&&' token QForeachContainer(QForeachContainer &&other) ^~ /usr/pkg/qt5/include/QtCore/qglobal.h:1067:48: error: invalid constructor; you probably meant 'QtPrivate::QForeachContainer (const QtPrivate::QForeachContainer&)' QForeachContainer(QForeachContainer &&other) ^ /usr/pkg/qt5/include/QtCore/qglobal.h:1075:52: error: expected ',' or '...' before '&&' token QForeachContainer &operator=(QForeachContainer &&other) ^~ /usr/pkg/qt5/include/QtCore/qglobal.h: In constructor 'QtPrivate::QForeachContainer::QForeachContainer(T)': /usr/pkg/qt5/include/QtCore/qglobal.h:1065:39: error: 'move' is not a member of 'std' QForeachContainer(T &&t) : c(std::move(t)), i(qAsConst(c).begin()), e(qAsConst(c).end()) {} ^~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:1065:39: note: suggested alternative: 'remove' QForeachContainer(T &&t) : c(std::move(t)), i(qAsConst(c).begin()), e(qAsConst(c).end()) {} ^~~~ remove /usr/pkg/qt5/include/QtCore/qglobal.h:1065:44: error: 't' was not declared in this scope QForeachContainer(T &&t) : c(std::move(t)), i(qAsConst(c).begin()), e(qAsConst(c).end()) {} ^ /usr/pkg/qt5/include/QtCore/qglobal.h: In member function 'QtPrivate::QForeachContainer& QtPrivate::QForeachContainer::operator=(QtPrivate::QForeachContainer)': /usr/pkg/qt5/include/QtCore/qglobal.h:1077:18: error: 'move' is not a member of 'std' c = std::move(other.c); ^~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:1077:18: note: suggested alternative: 'remove' c = std::move(other.c); ^~~~ remove /usr/pkg/qt5/include/QtCore/qglobal.h:1077:23: error: 'other' was not declared in this scope c = std::move(other.c); ^~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:1080:24: error: 'move' is not a member of 'std' control = std::move(other.control); ^~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:1080:24: note: suggested alternative: 'remove' control = std::move(other.control); ^~~~ remove /usr/pkg/qt5/include/QtCore/qglobal.h: At global scope: /usr/pkg/qt5/include/QtCore/qglobal.h:1090:33: error: 'decay' in namespace 'std' does not name a template type QForeachContainer::type> qMakeForeachContainer(T &&t) ^~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:1090:38: error: expected template-argument before '<' token QForeachContainer::type> qMakeForeachContainer(T &&t) ^ /usr/pkg/qt5/include/QtCore/qglobal.h:1090:38: error: expected '>' before '<' token /usr/pkg/qt5/include/QtCore/qglobal.h:1090:47: error: template argument 1 is invalid QForeachContainer::type> qMakeForeachContainer(T &&t) ^ /usr/pkg/qt5/include/QtCore/qglobal.h:1090:73: error: expected ',' or '...' before '&&' token QForeachContainer::type> qMakeForeachContainer(T &&t) ^~ /usr/pkg/qt5/include/QtCore/qglobal.h: In function 'int QtPrivate::qMakeForeachContainer(T)': /usr/pkg/qt5/include/QtCore/qglobal.h:1092:44: error: 'decay' in namespace 'std' does not name a template type return QForeachContainer::type>(std::forward(t)); ^~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:1092:49: error: expected template-argument before '<' token return QForeachContainer::type>(std::forward(t)); ^ /usr/pkg/qt5/include/QtCore/qglobal.h:1092:49: error: expected '>' before '<' token /usr/pkg/qt5/include/QtCore/qglobal.h:1092:58: error: template argument 1 is invalid return QForeachContainer::type>(std::forward(t)); ^ /usr/pkg/qt5/include/QtCore/qglobal.h:1092:65: error: 'forward' is not a member of 'std' return QForeachContainer::type>(std::forward(t)); ^~~~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:1092:65: note: suggested alternative: 'for_each' return QForeachContainer::type>(std::forward(t)); ^~~~~~~ for_each /usr/pkg/qt5/include/QtCore/qglobal.h:1092:76: error: 't' was not declared in this scope return QForeachContainer::type>(std::forward(t)); ^ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:289:1: error: expected primary-expression before '>' token Q_DECLARE_TYPEINFO_BODY(QFlags, Q_PRIMITIVE_TYPE); ^ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:289:1: error: expected primary-expression before ')' token Q_DECLARE_TYPEINFO_BODY(QFlags, Q_PRIMITIVE_TYPE); ^ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:289:1: error: 'is_integral' is not a member of 'std' Q_DECLARE_TYPEINFO_BODY(QFlags, Q_PRIMITIVE_TYPE); ^ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:289:1: note: suggested alternative: '__is_integer' /usr/pkg/qt5/include/QtCore/qtypeinfo.h:289:1: error: expected primary-expression before '>' token Q_DECLARE_TYPEINFO_BODY(QFlags, Q_PRIMITIVE_TYPE); ^ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:289:1: error: '::value' has not been declared Q_DECLARE_TYPEINFO_BODY(QFlags, Q_PRIMITIVE_TYPE); ^ /usr/pkg/qt5/include/QtCore/qglobal.h:1092:65: error: 'forward' is not a member of 'std' return QForeachContainer::type>(std::forward(t)); ^~~~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:1092:65: note: suggested alternative: 'for_each' return QForeachContainer::type>(std::forward(t)); ^~~~~~~ for_each /usr/pkg/qt5/include/QtCore/qglobal.h:1092:74: error: expected primary-expression before '>' token return QForeachContainer::type>(std::forward(t)); ^ /usr/pkg/qt5/include/QtCore/qglobal.h: At global scope: /usr/pkg/qt5/include/QtCore/qglobal.h:1135:64: error: expected type-specifier before 'decltype' template inline auto qGetPtrHelper(Ptr &ptr) -> decltype(ptr.operator->()) { return ptr.operator->(); } ^~~~~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:1135:64: error: expected initializer before 'decltype' /usr/pkg/qt5/include/QtCore/qglobal.h:1267:69: error: expected initializer before 'noexcept' Q_CORE_EXPORT bool qEnvironmentVariableIsEmpty(const char *varName) noexcept; ^~~~~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:1268:67: error: expected initializer before 'noexcept' Q_CORE_EXPORT bool qEnvironmentVariableIsSet(const char *varName) noexcept; ^~~~~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:1269:79: error: 'nullptr' was not declared in this scope Q_CORE_EXPORT int qEnvironmentVariableIntValue(const char *varName, bool *ok=nullptr) noexcept; ^~~~~~~ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:289:1: note: suggested alternative: 'valloc' /usr/pkg/qt5/include/QtCore/qtypeinfo.h:319:1: error: 'qIsTrivial' was not declared in this scope Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); ^ /usr/pkg/qt5/include/QtCore/qglobal.h:1269:88: error: expected initializer before 'noexcept' Q_CORE_EXPORT int qEnvironmentVariableIntValue(const char *varName, bool *ok=nullptr) noexcept; ^~~~~~~~ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:319:1: note: suggested alternative: 'qCritical' /usr/pkg/qt5/include/QtCore/qtypeinfo.h:319:1: error: expected primary-expression before 'bool' Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); ^ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:319:1: error: expected '}' before 'bool' /usr/pkg/qt5/include/QtCore/qtypeinfo.h:319:1: error: expected unqualified-id before '>' token Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); ^ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:319:1: error: expected declaration before '}' token Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); ^ In file included from /usr/pkg/qt5/include/QtCore/qglobal.h:1300:0, from /usr/pkg/qt5/include/QtCore/qalgorithms.h:43, from /usr/pkg/qt5/include/QtCore/qlist.h:43, from /usr/pkg/qt5/include/QtCore/QList:1, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/atom.h:25, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/TextInputItem.h:23, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/TextInputItem.cpp:20: /usr/pkg/qt5/include/QtCore/qtypeinfo.h:53:8: error: 'constexpr' does not name a type static constexpr bool qIsRelocatable() ^~~~~~~~~ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:53:8: note: C++11 'constexpr' only available with -std=c++11 or -std=gnu++11 /usr/pkg/qt5/include/QtCore/qtypeinfo.h:63:8: error: 'constexpr' does not name a type static constexpr bool qIsTrivial() ^~~~~~~~~ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:63:8: note: C++11 'constexpr' only available with -std=c++11 or -std=gnu++11 /usr/pkg/qt5/include/QtCore/qtypeinfo.h:81:30: error: 'is_enum' is not a member of 'std' isSpecialized = std::is_enum::value, // don't require every enum to be marked manually ^~~~~~~ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:81:39: error: expected primary-expression before '>' token isSpecialized = std::is_enum::value, // don't require every enum to be marked manually ^ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:81:42: error: '::value' has not been declared isSpecialized = std::is_enum::value, // don't require every enum to be marked manually ^~~~~ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:81:42: note: suggested alternative: 'valloc' isSpecialized = std::is_enum::value, // don't require every enum to be marked manually ^~~~~ valloc /usr/pkg/qt5/include/QtCore/qtypeinfo.h:83:27: error: 'is_integral' is not a member of 'std' isIntegral = std::is_integral::value, ^~~~~~~~~~~ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:83:27: note: suggested alternative: '__is_integer' isIntegral = std::is_integral::value, ^~~~~~~~~~~ __is_integer /usr/pkg/qt5/include/QtCore/qtypeinfo.h:83:40: error: expected primary-expression before '>' token isIntegral = std::is_integral::value, ^ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:83:43: error: '::value' has not been declared isIntegral = std::is_integral::value, ^~~~~ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:83:43: note: suggested alternative: 'valloc' isIntegral = std::is_integral::value, ^~~~~ valloc /usr/pkg/qt5/include/QtCore/qtypeinfo.h:84:22: error: 'qIsTrivial' was not declared in this scope isComplex = !qIsTrivial(), ^~~~~~~~~~ --- libmolsketch/CMakeFiles/molsketch_LIB.dir/actions/abstractitemaction.cpp.o --- *** [libmolsketch/CMakeFiles/molsketch_LIB.dir/actions/abstractitemaction.cpp.o] Error code 1 make[2]: stopped in /tmp/biology/molsketch/work/Molsketch-0.7.2 /usr/pkg/qt5/include/QtCore/qtypeinfo.h:84:22: note: suggested alternative: 'qCritical' isComplex = !qIsTrivial(), ^~~~~~~~~~ qCritical /usr/pkg/qt5/include/QtCore/qtypeinfo.h:84:34: error: expected primary-expression before '>' token isComplex = !qIsTrivial(), ^ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:84:36: error: expected primary-expression before ')' token isComplex = !qIsTrivial(), ^ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:86:25: error: 'qIsRelocatable' was not declared in this scope isRelocatable = qIsRelocatable(), ^~~~~~~~~~~~~~ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:86:41: error: expected primary-expression before '>' token isRelocatable = qIsRelocatable(), ^ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:86:43: error: expected primary-expression before ')' token isRelocatable = qIsRelocatable(), ^ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:150:40: error: 'enable_if' in namespace 'std' does not name a template type struct QTypeInfoQuery::isRelocatable || true>::type> : public QTypeInfo ^~~~~~~~~ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:150:49: error: expected template-argument before '<' token struct QTypeInfoQuery::isRelocatable || true>::type> : public QTypeInfo ^ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:150:49: error: expected '>' before '<' token /usr/pkg/qt5/include/QtCore/qtypeinfo.h:150:92: error: template argument 2 is invalid struct QTypeInfoQuery::isRelocatable || true>::type> : public QTypeInfo ^ In file included from /usr/pkg/qt5/include/QtGui/qtguiglobal.h:43:0, from /usr/pkg/qt5/include/QtWidgets/qtwidgetsglobal.h:43, from /usr/pkg/qt5/include/QtWidgets/qaction.h:43, from /usr/pkg/qt5/include/QtWidgets/QAction:1, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/molsketch_LIB_autogen/T4QKTR7IAB/../../actions/genericaction.h:26, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/molsketch_LIB_autogen/T4QKTR7IAB/../../actions/abstractitemaction.h:23, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/molsketch_LIB_autogen/T4QKTR7IAB/moc_abstractitemaction.cpp:10, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/molsketch_LIB_autogen/mocs_compilation.cpp:2: /usr/pkg/qt5/include/QtCore/qglobal.h:391:1: error: 'constexpr' does not name a type constexpr Q_DECL_UNUSED Deprecated_t Deprecated = {}; ^~~~~~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:391:1: note: C++11 'constexpr' only available with -std=c++11 or -std=gnu++11 /usr/pkg/qt5/include/QtCore/qglobal.h:522:43: error: template argument 1 is invalid template struct AlignOf : AlignOf {}; ^ In file included from /usr/pkg/qt5/include/QtGui/qtguiglobal.h:43:0, from /usr/pkg/qt5/include/QtWidgets/qtwidgetsglobal.h:43, from /usr/pkg/qt5/include/QtWidgets/qaction.h:43, from /usr/pkg/qt5/include/QtWidgets/QAction:1, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/molsketch_LIB_autogen/T4QKTR7IAB/../../actions/genericaction.h:26, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/molsketch_LIB_autogen/T4QKTR7IAB/../../actions/abstractitemaction.h:23, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/molsketch_LIB_autogen/T4QKTR7IAB/moc_abstractitemaction.cpp:10, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/molsketch_LIB_autogen/mocs_compilation.cpp:2: /usr/pkg/qt5/include/QtCore/qglobal.h:573:7: error: expected nested-name-specifier before 'qsizetype' using qsizetype = QIntegerForSizeof::Signed; ^~~~~~~~~ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:289:1: error: 'qIsTrivial' was not declared in this scope Q_DECLARE_TYPEINFO_BODY(QFlags, Q_PRIMITIVE_TYPE); ^ /usr/pkg/qt5/include/QtCore/qglobal.h:663:1: error: 'constexpr' does not name a type constexpr inline const T &qMin(const T &a, const T &b) { return (a < b) ? a : b; } ^~~~~~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:663:1: note: C++11 'constexpr' only available with -std=c++11 or -std=gnu++11 /usr/pkg/qt5/include/QtCore/qtypeinfo.h:289:1: note: suggested alternative: 'qCritical' /usr/pkg/qt5/include/QtCore/qtypeinfo.h:289:1: error: expected primary-expression before '>' token Q_DECLARE_TYPEINFO_BODY(QFlags, Q_PRIMITIVE_TYPE); ^ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:289:1: error: expected primary-expression before ')' token Q_DECLARE_TYPEINFO_BODY(QFlags, Q_PRIMITIVE_TYPE); ^ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:289:1: error: 'qIsRelocatable' was not declared in this scope Q_DECLARE_TYPEINFO_BODY(QFlags, Q_PRIMITIVE_TYPE); ^ /usr/pkg/qt5/include/QtCore/qglobal.h:665:1: error: 'constexpr' does not name a type constexpr inline const T &qMax(const T &a, const T &b) { return (a < b) ? b : a; } ^~~~~~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:665:1: note: C++11 'constexpr' only available with -std=c++11 or -std=gnu++11 /usr/pkg/qt5/include/QtCore/qglobal.h:667:1: error: 'constexpr' does not name a type constexpr inline const T &qBound(const T &min, const T &val, const T &max) ^~~~~~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:667:1: note: C++11 'constexpr' only available with -std=c++11 or -std=gnu++11 /usr/pkg/qt5/include/QtCore/qglobal.h:802:57: error: expected initializer before 'noexcept' Q_CORE_EXPORT Q_DECL_CONST_FUNCTION bool qSharedBuild() noexcept; ^~~~~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:845:81: error: expected initializer before 'noexcept' Q_CORE_EXPORT void qt_assert(const char *assertion, const char *file, int line) noexcept; ^~~~~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:859:97: error: expected initializer before 'noexcept' Q_CORE_EXPORT void qt_assert_x(const char *where, const char *what, const char *file, int line) noexcept; ^~~~~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:869:67: error: expected initializer before 'noexcept' Q_NORETURN Q_CORE_EXPORT void qt_check_pointer(const char *, int) noexcept; ^~~~~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h: In function 'T* q_check_ptr(T*)': /usr/pkg/qt5/include/QtCore/qglobal.h:884:31: error: there are no arguments to 'qt_check_pointer' that depend on a template parameter, so a declaration of 'qt_check_pointer' must be available [-fpermissive] inline T *q_check_ptr(T *p) { Q_CHECK_PTR(p); return p; } ^ /usr/pkg/qt5/include/QtCore/qglobal.h:884:31: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) In file included from /usr/pkg/qt5/include/QtCore/qglobal.h:105:0, from /usr/pkg/qt5/include/QtGui/qtguiglobal.h:43, from /usr/pkg/qt5/include/QtWidgets/qtwidgetsglobal.h:43, from /usr/pkg/qt5/include/QtWidgets/qaction.h:43, from /usr/pkg/qt5/include/QtWidgets/QAction:1, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/molsketch_LIB_autogen/T4QKTR7IAB/../../actions/genericaction.h:26, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/molsketch_LIB_autogen/T4QKTR7IAB/../../actions/abstractitemaction.h:23, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/molsketch_LIB_autogen/T4QKTR7IAB/moc_abstractitemaction.cpp:10, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/molsketch_LIB_autogen/mocs_compilation.cpp:2: /usr/pkg/qt5/include/QtCore/qglobal.h: At global scope: /usr/pkg/qt5/include/QtCore/qglobal.h:892:1: error: expected unqualified-id before '[' token Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qFuzzyCompare(double p1, double p2) ^ /usr/pkg/qt5/include/QtCore/qglobal.h:897:1: error: expected unqualified-id before '[' token Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qFuzzyCompare(float p1, float p2) ^ /usr/pkg/qt5/include/QtCore/qglobal.h:902:1: error: expected unqualified-id before '[' token Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qFuzzyIsNull(double d) ^ /usr/pkg/qt5/include/QtCore/qglobal.h:907:1: error: expected unqualified-id before '[' token Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qFuzzyIsNull(float f) ^ /usr/pkg/qt5/include/QtCore/qglobal.h:917:1: error: expected unqualified-id before '[' token Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qIsNull(double d) noexcept ^ /usr/pkg/qt5/include/QtCore/qglobal.h:922:1: error: expected unqualified-id before '[' token Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qIsNull(float f) noexcept ^ In file included from /usr/pkg/qt5/include/QtGui/qtguiglobal.h:43:0, from /usr/pkg/qt5/include/QtWidgets/qtwidgetsglobal.h:43, from /usr/pkg/qt5/include/QtWidgets/qaction.h:43, from /usr/pkg/qt5/include/QtWidgets/QAction:1, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/molsketch_LIB_autogen/T4QKTR7IAB/../../actions/genericaction.h:26, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/molsketch_LIB_autogen/T4QKTR7IAB/../../actions/abstractitemaction.h:23, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/molsketch_LIB_autogen/T4QKTR7IAB/moc_abstractitemaction.cpp:10, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/molsketch_LIB_autogen/mocs_compilation.cpp:2: /usr/pkg/qt5/include/QtCore/qglobal.h:959:9: error: expected initializer before 'noexcept' noexcept(noexcept(swap(t, t))); ^~~~~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:966:5: error: expected initializer before 'noexcept' noexcept(noexcept(QtPrivate::SwapExceptionTester::checkSwap(value1))) ^~~~~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h: In lambda function: /usr/pkg/qt5/include/QtCore/qglobal.h:1036:12: error: 'is_permutation' is not a member of 'std' return QT_3ARG_ALG(is_permutation, first1, last1, first2, last2); ^ /usr/pkg/qt5/include/QtCore/qglobal.h:1036:12: note: suggested alternative: 'prev_permutation' /usr/pkg/qt5/include/QtCore/qglobal.h: At global scope: /usr/pkg/qt5/include/QtCore/qglobal.h:1042:32: error: 'add_const' in namespace 'std' does not name a template type Q_DECL_CONSTEXPR typename std::add_const::type &qAsConst(T &t) noexcept { return t; } ^~~~~~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:1042:41: error: expected unqualified-id before '<' token Q_DECL_CONSTEXPR typename std::add_const::type &qAsConst(T &t) noexcept { return t; } ^ /usr/pkg/qt5/include/QtCore/qglobal.h:1045:23: error: expected ',' or '...' before '&&' token void qAsConst(const T &&) = delete; ^~ /usr/pkg/qt5/include/QtCore/qglobal.h:1049:46: error: expected ',' or '...' before '&&' token Q_DECL_RELAXED_CONSTEXPR T qExchange(T &t, U &&newValue) ^~ /usr/pkg/qt5/include/QtCore/qglobal.h:1049:56: error: default template arguments may not be used in function templates without -std=c++11 or -std=gnu++11 Q_DECL_RELAXED_CONSTEXPR T qExchange(T &t, U &&newValue) ^ /usr/pkg/qt5/include/QtCore/qglobal.h: In function 'T qExchange(T&, U)': /usr/pkg/qt5/include/QtCore/qglobal.h:1051:18: error: 'move' is not a member of 'std' T old = std::move(t); ^~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:1051:18: note: suggested alternative: 'remove' T old = std::move(t); ^~~~ remove /usr/pkg/qt5/include/QtCore/qglobal.h:1052:14: error: 'forward' is not a member of 'std' t = std::forward(newValue); ^~~~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:1052:14: note: suggested alternative: 'for_each' t = std::forward(newValue); ^~~~~~~ for_each /usr/pkg/qt5/include/QtCore/qglobal.h:1052:23: error: expected primary-expression before '>' token t = std::forward(newValue); ^ /usr/pkg/qt5/include/QtCore/qglobal.h:1052:25: error: 'newValue' was not declared in this scope t = std::forward(newValue); ^~~~~~~~ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:289:1: error: expected primary-expression before '>' token Q_DECLARE_TYPEINFO_BODY(QFlags, Q_PRIMITIVE_TYPE); ^ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:289:1: error: expected primary-expression before ')' token Q_DECLARE_TYPEINFO_BODY(QFlags, Q_PRIMITIVE_TYPE); ^ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:289:1: error: 'is_integral' is not a member of 'std' Q_DECLARE_TYPEINFO_BODY(QFlags, Q_PRIMITIVE_TYPE); ^ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:289:1: note: suggested alternative: '__is_integer' /usr/pkg/qt5/include/QtCore/qtypeinfo.h:289:1: error: expected primary-expression before '>' token Q_DECLARE_TYPEINFO_BODY(QFlags, Q_PRIMITIVE_TYPE); ^ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:289:1: error: '::value' has not been declared Q_DECLARE_TYPEINFO_BODY(QFlags, Q_PRIMITIVE_TYPE); ^ /usr/pkg/qt5/include/QtCore/qglobal.h: At global scope: /usr/pkg/qt5/include/QtCore/qglobal.h:1065:25: error: expected ',' or '...' before '&&' token QForeachContainer(T &&t) : c(std::move(t)), i(qAsConst(c).begin()), e(qAsConst(c).end()) {} ^~ /usr/pkg/qt5/include/QtCore/qglobal.h:1067:41: error: expected ',' or '...' before '&&' token QForeachContainer(QForeachContainer &&other) ^~ /usr/pkg/qt5/include/QtCore/qglobal.h:1067:48: error: invalid constructor; you probably meant 'QtPrivate::QForeachContainer (const QtPrivate::QForeachContainer&)' QForeachContainer(QForeachContainer &&other) ^ /usr/pkg/qt5/include/QtCore/qglobal.h:1075:52: error: expected ',' or '...' before '&&' token QForeachContainer &operator=(QForeachContainer &&other) ^~ /usr/pkg/qt5/include/QtCore/qglobal.h: In constructor 'QtPrivate::QForeachContainer::QForeachContainer(T)': /usr/pkg/qt5/include/QtCore/qglobal.h:1065:39: error: 'move' is not a member of 'std' QForeachContainer(T &&t) : c(std::move(t)), i(qAsConst(c).begin()), e(qAsConst(c).end()) {} ^~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:1065:39: note: suggested alternative: 'remove' QForeachContainer(T &&t) : c(std::move(t)), i(qAsConst(c).begin()), e(qAsConst(c).end()) {} ^~~~ remove /usr/pkg/qt5/include/QtCore/qglobal.h:1065:44: error: 't' was not declared in this scope QForeachContainer(T &&t) : c(std::move(t)), i(qAsConst(c).begin()), e(qAsConst(c).end()) {} ^ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:289:1: note: suggested alternative: 'valloc' /usr/pkg/qt5/include/QtCore/qtypeinfo.h:319:1: error: 'qIsTrivial' was not declared in this scope Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); ^ /usr/pkg/qt5/include/QtCore/qglobal.h: In member function 'QtPrivate::QForeachContainer& QtPrivate::QForeachContainer::operator=(QtPrivate::QForeachContainer)': /usr/pkg/qt5/include/QtCore/qglobal.h:1077:18: error: 'move' is not a member of 'std' c = std::move(other.c); ^~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:1077:18: note: suggested alternative: 'remove' c = std::move(other.c); ^~~~ remove /usr/pkg/qt5/include/QtCore/qglobal.h:1077:23: error: 'other' was not declared in this scope c = std::move(other.c); ^~~~~ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:319:1: note: suggested alternative: 'qCritical' /usr/pkg/qt5/include/QtCore/qglobal.h:1080:24: error: 'move' is not a member of 'std' control = std::move(other.control); ^~~~ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:319:1: error: expected primary-expression before 'bool' Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); ^ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:319:1: error: expected '}' before 'bool' /usr/pkg/qt5/include/QtCore/qglobal.h:1080:24: note: suggested alternative: 'remove' control = std::move(other.control); ^~~~ remove /usr/pkg/qt5/include/QtCore/qtypeinfo.h:319:1: error: expected unqualified-id before '>' token Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); ^ /usr/pkg/qt5/include/QtCore/qglobal.h: At global scope: /usr/pkg/qt5/include/QtCore/qglobal.h:1090:33: error: 'decay' in namespace 'std' does not name a template type QForeachContainer::type> qMakeForeachContainer(T &&t) ^~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:1090:38: error: expected template-argument before '<' token QForeachContainer::type> qMakeForeachContainer(T &&t) ^ /usr/pkg/qt5/include/QtCore/qglobal.h:1090:38: error: expected '>' before '<' token /usr/pkg/qt5/include/QtCore/qglobal.h:1090:47: error: template argument 1 is invalid QForeachContainer::type> qMakeForeachContainer(T &&t) ^ /usr/pkg/qt5/include/QtCore/qglobal.h:1090:73: error: expected ',' or '...' before '&&' token QForeachContainer::type> qMakeForeachContainer(T &&t) ^~ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:319:1: error: expected declaration before '}' token Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); ^ /usr/pkg/qt5/include/QtCore/qglobal.h: In function 'int QtPrivate::qMakeForeachContainer(T)': /usr/pkg/qt5/include/QtCore/qglobal.h:1092:44: error: 'decay' in namespace 'std' does not name a template type return QForeachContainer::type>(std::forward(t)); ^~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:1092:49: error: expected template-argument before '<' token return QForeachContainer::type>(std::forward(t)); ^ /usr/pkg/qt5/include/QtCore/qglobal.h:1092:49: error: expected '>' before '<' token /usr/pkg/qt5/include/QtCore/qglobal.h:1092:58: error: template argument 1 is invalid return QForeachContainer::type>(std::forward(t)); ^ /usr/pkg/qt5/include/QtCore/qglobal.h:1092:65: error: 'forward' is not a member of 'std' return QForeachContainer::type>(std::forward(t)); ^~~~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:1092:65: note: suggested alternative: 'for_each' return QForeachContainer::type>(std::forward(t)); ^~~~~~~ for_each /usr/pkg/qt5/include/QtCore/qglobal.h:1092:76: error: 't' was not declared in this scope return QForeachContainer::type>(std::forward(t)); ^ /usr/pkg/qt5/include/QtCore/qglobal.h:1092:65: error: 'forward' is not a member of 'std' return QForeachContainer::type>(std::forward(t)); ^~~~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:1092:65: note: suggested alternative: 'for_each' return QForeachContainer::type>(std::forward(t)); ^~~~~~~ for_each /usr/pkg/qt5/include/QtCore/qglobal.h:1092:74: error: expected primary-expression before '>' token return QForeachContainer::type>(std::forward(t)); ^ /usr/pkg/qt5/include/QtCore/qglobal.h: At global scope: /usr/pkg/qt5/include/QtCore/qglobal.h:1135:64: error: expected type-specifier before 'decltype' template inline auto qGetPtrHelper(Ptr &ptr) -> decltype(ptr.operator->()) { return ptr.operator->(); } ^~~~~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:1135:64: error: expected initializer before 'decltype' /usr/pkg/qt5/include/QtCore/qglobal.h:1267:69: error: expected initializer before 'noexcept' Q_CORE_EXPORT bool qEnvironmentVariableIsEmpty(const char *varName) noexcept; ^~~~~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:1268:67: error: expected initializer before 'noexcept' Q_CORE_EXPORT bool qEnvironmentVariableIsSet(const char *varName) noexcept; ^~~~~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:1269:79: error: 'nullptr' was not declared in this scope Q_CORE_EXPORT int qEnvironmentVariableIntValue(const char *varName, bool *ok=nullptr) noexcept; ^~~~~~~ /usr/pkg/qt5/include/QtCore/qglobal.h:1269:88: error: expected initializer before 'noexcept' Q_CORE_EXPORT int qEnvironmentVariableIntValue(const char *varName, bool *ok=nullptr) noexcept; ^~~~~~~~ In file included from /usr/pkg/qt5/include/QtCore/qglobal.h:1300:0, from /usr/pkg/qt5/include/QtGui/qtguiglobal.h:43, from /usr/pkg/qt5/include/QtWidgets/qtwidgetsglobal.h:43, from /usr/pkg/qt5/include/QtWidgets/qaction.h:43, from /usr/pkg/qt5/include/QtWidgets/QAction:1, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/molsketch_LIB_autogen/T4QKTR7IAB/../../actions/genericaction.h:26, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/molsketch_LIB_autogen/T4QKTR7IAB/../../actions/abstractitemaction.h:23, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/molsketch_LIB_autogen/T4QKTR7IAB/moc_abstractitemaction.cpp:10, from /tmp/biology/molsketch/work/Molsketch-0.7.2/libmolsketch/molsketch_LIB_autogen/mocs_compilation.cpp:2: /usr/pkg/qt5/include/QtCore/qtypeinfo.h:53:8: error: 'constexpr' does not name a type static constexpr bool qIsRelocatable() ^~~~~~~~~ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:53:8: note: C++11 'constexpr' only available with -std=c++11 or -std=gnu++11 --- libmolsketch/CMakeFiles/molsketch_LIB.dir/TextInputItem.cpp.o --- *** [libmolsketch/CMakeFiles/molsketch_LIB.dir/TextInputItem.cpp.o] Error code 1 make[2]: stopped in /tmp/biology/molsketch/work/Molsketch-0.7.2 /usr/pkg/qt5/include/QtCore/qtypeinfo.h:63:8: error: 'constexpr' does not name a type static constexpr bool qIsTrivial() ^~~~~~~~~ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:63:8: note: C++11 'constexpr' only available with -std=c++11 or -std=gnu++11 /usr/pkg/qt5/include/QtCore/qtypeinfo.h:81:30: error: 'is_enum' is not a member of 'std' isSpecialized = std::is_enum::value, // don't require every enum to be marked manually ^~~~~~~ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:81:39: error: expected primary-expression before '>' token isSpecialized = std::is_enum::value, // don't require every enum to be marked manually ^ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:81:42: error: '::value' has not been declared isSpecialized = std::is_enum::value, // don't require every enum to be marked manually ^~~~~ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:81:42: note: suggested alternative: 'valloc' isSpecialized = std::is_enum::value, // don't require every enum to be marked manually ^~~~~ valloc /usr/pkg/qt5/include/QtCore/qtypeinfo.h:83:27: error: 'is_integral' is not a member of 'std' isIntegral = std::is_integral::value, ^~~~~~~~~~~ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:83:27: note: suggested alternative: '__is_integer' isIntegral = std::is_integral::value, ^~~~~~~~~~~ __is_integer /usr/pkg/qt5/include/QtCore/qtypeinfo.h:83:40: error: expected primary-expression before '>' token isIntegral = std::is_integral::value, ^ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:83:43: error: '::value' has not been declared isIntegral = std::is_integral::value, ^~~~~ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:83:43: note: suggested alternative: 'valloc' isIntegral = std::is_integral::value, ^~~~~ valloc /usr/pkg/qt5/include/QtCore/qtypeinfo.h:84:22: error: 'qIsTrivial' was not declared in this scope isComplex = !qIsTrivial(), ^~~~~~~~~~ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:84:22: note: suggested alternative: 'qCritical' isComplex = !qIsTrivial(), ^~~~~~~~~~ qCritical /usr/pkg/qt5/include/QtCore/qtypeinfo.h:84:34: error: expected primary-expression before '>' token isComplex = !qIsTrivial(), ^ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:84:36: error: expected primary-expression before ')' token isComplex = !qIsTrivial(), ^ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:86:25: error: 'qIsRelocatable' was not declared in this scope isRelocatable = qIsRelocatable(), ^~~~~~~~~~~~~~ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:86:41: error: expected primary-expression before '>' token isRelocatable = qIsRelocatable(), ^ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:86:43: error: expected primary-expression before ')' token isRelocatable = qIsRelocatable(), ^ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:150:40: error: 'enable_if' in namespace 'std' does not name a template type struct QTypeInfoQuery::isRelocatable || true>::type> : public QTypeInfo ^~~~~~~~~ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:150:49: error: expected template-argument before '<' token struct QTypeInfoQuery::isRelocatable || true>::type> : public QTypeInfo ^ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:150:49: error: expected '>' before '<' token /usr/pkg/qt5/include/QtCore/qtypeinfo.h:150:92: error: template argument 2 is invalid struct QTypeInfoQuery::isRelocatable || true>::type> : public QTypeInfo ^ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:289:1: error: 'qIsTrivial' was not declared in this scope Q_DECLARE_TYPEINFO_BODY(QFlags, Q_PRIMITIVE_TYPE); ^ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:289:1: note: suggested alternative: 'qCritical' /usr/pkg/qt5/include/QtCore/qtypeinfo.h:289:1: error: expected primary-expression before '>' token Q_DECLARE_TYPEINFO_BODY(QFlags, Q_PRIMITIVE_TYPE); ^ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:289:1: error: expected primary-expression before ')' token Q_DECLARE_TYPEINFO_BODY(QFlags, Q_PRIMITIVE_TYPE); ^ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:289:1: error: 'qIsRelocatable' was not declared in this scope Q_DECLARE_TYPEINFO_BODY(QFlags, Q_PRIMITIVE_TYPE); ^ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:289:1: error: expected primary-expression before '>' token Q_DECLARE_TYPEINFO_BODY(QFlags, Q_PRIMITIVE_TYPE); ^ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:289:1: error: expected primary-expression before ')' token Q_DECLARE_TYPEINFO_BODY(QFlags, Q_PRIMITIVE_TYPE); ^ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:289:1: error: 'is_integral' is not a member of 'std' Q_DECLARE_TYPEINFO_BODY(QFlags, Q_PRIMITIVE_TYPE); ^ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:289:1: note: suggested alternative: '__is_integer' /usr/pkg/qt5/include/QtCore/qtypeinfo.h:289:1: error: expected primary-expression before '>' token Q_DECLARE_TYPEINFO_BODY(QFlags, Q_PRIMITIVE_TYPE); ^ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:289:1: error: '::value' has not been declared Q_DECLARE_TYPEINFO_BODY(QFlags, Q_PRIMITIVE_TYPE); ^ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:289:1: note: suggested alternative: 'valloc' /usr/pkg/qt5/include/QtCore/qtypeinfo.h:319:1: error: 'qIsTrivial' was not declared in this scope Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); ^ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:319:1: note: suggested alternative: 'qCritical' /usr/pkg/qt5/include/QtCore/qtypeinfo.h:319:1: error: expected primary-expression before 'bool' Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); ^ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:319:1: error: expected '}' before 'bool' /usr/pkg/qt5/include/QtCore/qtypeinfo.h:319:1: error: expected unqualified-id before '>' token Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); ^ /usr/pkg/qt5/include/QtCore/qtypeinfo.h:319:1: error: expected declaration before '}' token Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); ^ --- libmolsketch/CMakeFiles/molsketch_LIB.dir/molsketch_LIB_autogen/mocs_compilation.cpp.o --- *** [libmolsketch/CMakeFiles/molsketch_LIB.dir/molsketch_LIB_autogen/mocs_compilation.cpp.o] Error code 1 make[2]: stopped in /tmp/biology/molsketch/work/Molsketch-0.7.2 4 errors make[2]: stopped in /tmp/biology/molsketch/work/Molsketch-0.7.2 --- libmolsketch/CMakeFiles/molsketch_LIB.dir/all --- *** [libmolsketch/CMakeFiles/molsketch_LIB.dir/all] Error code 2 make[1]: stopped in /tmp/biology/molsketch/work/Molsketch-0.7.2 1 error make[1]: stopped in /tmp/biology/molsketch/work/Molsketch-0.7.2 *** [all] Error code 2 make: stopped in /tmp/biology/molsketch/work/Molsketch-0.7.2 1 error make: stopped in /tmp/biology/molsketch/work/Molsketch-0.7.2 *** Error code 2 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/biology/molsketch *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/biology/molsketch