* Package: dev-libs/grantlee-5.1.0  * Repository: dev-kit  * Maintainer: kde@gentoo.org  * USE: amd64 elibc_glibc kernel_linux userland_GNU  * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory >>> Unpacking source... >>> Unpacking grantlee-5.1.0.tar.gz to /var/tmp/portage/dev-libs/grantlee-5.1.0/work >>> Source unpacked in /var/tmp/portage/dev-libs/grantlee-5.1.0/work shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory >>> Preparing source in /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0 ... * Applying grantlee-0.3.0-nonfatal-warnings.patch ...  [ ok ] * Applying grantlee-5.1.0-slot.patch ...  [ ok ] * Applying grantlee-5.1.0-qt-5.13.patch ...  [ ok ] >>> Source prepared. shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory >>> Configuring source in /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0 ... >>> Working in BUILD_DIR: "/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build" cmake -C /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/gentoo_common_config.cmake -G Unix Makefiles -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_TESTS=no -DCMAKE_BUILD_TYPE=RELEASE -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/gentoo_toolchain.cmake /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0 loading initial cache file /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/gentoo_common_config.cmake -- The C compiler identification is GNU 9.2.0 -- The CXX compiler identification is GNU 9.2.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success -- Performing Test COMPILER_HAS_DEPRECATED_ATTR -- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- Could NOT find LCov (missing: LCOV_EXECUTABLE GENHTML_EXECUTABLE) -- Could NOT find Cccc (missing: CCCC_EXECUTABLE) -- <<< Gentoo configuration >>> Build type RELEASE Install path /usr Compiler flags: C -march=native -O2 -pipe -std=c++11 -std=gnu++11 -Wno-long-long -std=iso9899:1990 -Wundef -Wcast-align -Werror-implicit-function-declaration -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fno-common C++ -march=native -O2 -pipe -std=c++11 -std=gnu++11 -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-check-new -fno-common -pedantic-errors Linker flags: Executable -Wl,-O1 -Wl,--sort-common -Wl,--as-needed Module -Wl,--no-undefined -Wl,-O1 -Wl,--sort-common -Wl,--as-needed Shared -Wl,--no-undefined -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -- Configuring done -- Generating done -- Build files have been written to: /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build >>> Source configured. shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory >>> Compiling source in /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0 ... >>> Working in BUILD_DIR: "/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build" make -j5 VERBOSE=1 /usr/bin/cmake -S/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0 -B/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/CMakeFiles /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build//CMakeFiles/progress.marks make -f CMakeFiles/Makefile2 all make[1]: Entering directory '/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build' make -f templates/lib/CMakeFiles/Grantlee_Templates_autogen.dir/build.make templates/lib/CMakeFiles/Grantlee_Templates_autogen.dir/depend make -f textdocument/lib/CMakeFiles/Grantlee_TextDocument_autogen.dir/build.make textdocument/lib/CMakeFiles/Grantlee_TextDocument_autogen.dir/depend make[2]: Entering directory '/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build' cd /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0 /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/templates/lib /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/templates/lib /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/templates/lib/CMakeFiles/Grantlee_Templates_autogen.dir/DependInfo.cmake --color= make[2]: Entering directory '/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build' cd /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0 /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/textdocument/lib /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/textdocument/lib/CMakeFiles/Grantlee_TextDocument_autogen.dir/DependInfo.cmake --color= Dependee "/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/templates/lib/CMakeFiles/Grantlee_Templates_autogen.dir/DependInfo.cmake" is newer than depender "/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/templates/lib/CMakeFiles/Grantlee_Templates_autogen.dir/depend.internal". Dependee "/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/templates/lib/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/templates/lib/CMakeFiles/Grantlee_Templates_autogen.dir/depend.internal". Scanning dependencies of target Grantlee_Templates_autogen make[2]: Leaving directory '/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build' Dependee "/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/textdocument/lib/CMakeFiles/Grantlee_TextDocument_autogen.dir/DependInfo.cmake" is newer than depender "/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/textdocument/lib/CMakeFiles/Grantlee_TextDocument_autogen.dir/depend.internal". make -f templates/lib/CMakeFiles/Grantlee_Templates_autogen.dir/build.make templates/lib/CMakeFiles/Grantlee_Templates_autogen.dir/build Dependee "/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/textdocument/lib/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/textdocument/lib/CMakeFiles/Grantlee_TextDocument_autogen.dir/depend.internal". Scanning dependencies of target Grantlee_TextDocument_autogen make[2]: Leaving directory '/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build' make -f textdocument/lib/CMakeFiles/Grantlee_TextDocument_autogen.dir/build.make textdocument/lib/CMakeFiles/Grantlee_TextDocument_autogen.dir/build make[2]: Entering directory '/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build' make[2]: Entering directory '/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build' [ 1%] Automatic MOC for target Grantlee_Templates cd /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/templates/lib && /usr/bin/cmake -E cmake_autogen /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/templates/lib/CMakeFiles/Grantlee_Templates_autogen.dir/AutogenInfo.json RELEASE [ 2%] Automatic MOC for target Grantlee_TextDocument cd /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/textdocument/lib && /usr/bin/cmake -E cmake_autogen /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/textdocument/lib/CMakeFiles/Grantlee_TextDocument_autogen.dir/AutogenInfo.json RELEASE AutoGen: Refreshing parse cache because it doesn't exist. AutoMoc: Generating "SRC:_build/templates/lib/Grantlee_Templates_autogen/moc_predefs.h", because it doesn't exist. /usr/bin/x86_64-pc-linux-gnu-g++ -dM -E -c /usr/share/cmake/Modules/CMakeCXXCompilerABI.cpp -DGrantlee_Templates_EXPORTS -DPLUGINS_PREFER_DEBUG_POSTFIX=0 -DQT_CORE_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_URL_CAST_FROM_STRING -DQT_SCRIPT_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -I/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/templates/lib -I/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/templates/lib -I/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/templates/scriptabletags -I/usr/include/qt5 -I/usr/include/qt5/QtScript -I/usr/include/qt5/QtCore -I/usr/lib64/qt5/mkspecs/linux-g++ -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9.2.0 -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9.2.0/x86_64-pc-linux-gnu -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9.2.0/backward -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include-fixed -I/usr/include AutoGen: Refreshing parse cache because it doesn't exist. AutoMoc: Generating "SRC:_build/textdocument/lib/Grantlee_TextDocument_autogen/moc_predefs.h", because it doesn't exist. /usr/bin/x86_64-pc-linux-gnu-g++ -dM -E -c /usr/share/cmake/Modules/CMakeCXXCompilerABI.cpp -DGrantlee_TextDocument_EXPORTS -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -I/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/textdocument/lib -I/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I/usr/lib64/qt5/mkspecs/linux-g++ -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9.2.0 -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9.2.0/x86_64-pc-linux-gnu -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9.2.0/backward -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include-fixed -I/usr/include AutoGen: Parsing "SRC:/templates/lib/abstractlocalizer.h" AutoGen: Parsing "SRC:/templates/lib/cachingloaderdecorator.h" AutoGen: Parsing "SRC:/templates/lib/context.h" AutoGen: Parsing "SRC:/templates/lib/customtyperegistry_p.h" AutoGen: Parsing "SRC:/templates/lib/engine.h" AutoGen: Parsing "SRC:/templates/lib/engine_p.h" AutoGen: Parsing "SRC:/templates/lib/exception.h" AutoGen: Parsing "SRC:/textdocument/lib/abstractmarkupbuilder.h" AutoGen: Parsing "SRC:/textdocument/lib/bbcodebuilder.h" AutoGen: Parsing "SRC:/textdocument/lib/grantlee_textdocument.h" AutoGen: Parsing "SRC:/textdocument/lib/markupdirector.h" AutoGen: Parsing "SRC:/templates/lib/filter.h" AutoGen: Parsing "SRC:/textdocument/lib/markupdirector_p.h" AutoGen: Parsing "SRC:/templates/lib/filterexpression.h" AutoGen: Parsing "SRC:/textdocument/lib/mediawikimarkupbuilder.h" AutoGen: Parsing "SRC:/textdocument/lib/plaintextmarkupbuilder.h" AutoGen: Parsing "SRC:/templates/lib/grantlee_tags_p.h" AutoGen: Parsing "SRC:/textdocument/lib/texthtmlbuilder.h" AutoGen: Parsing "SRC:/templates/lib/grantlee_templates.h" AutoGen: Parsing "SRC:/templates/lib/lexer_p.h" AutoGen: Parsing "SRC:/textdocument/lib/bbcodebuilder.cpp" AutoGen: Parsing "SRC:/templates/lib/metaenumvariable_p.h" AutoGen: Parsing "SRC:/templates/lib/metatype.h" AutoGen: Parsing "SRC:/textdocument/lib/markupdirector.cpp" AutoGen: Parsing "SRC:/templates/lib/node.h" AutoGen: Parsing "SRC:/textdocument/lib/mediawikimarkupbuilder.cpp" AutoGen: Parsing "SRC:/templates/lib/nodebuiltins_p.h" AutoGen: Parsing "SRC:/textdocument/lib/plaintextmarkupbuilder.cpp" AutoGen: Parsing "SRC:/templates/lib/nulllocalizer_p.h" AutoGen: Parsing "SRC:/templates/lib/outputstream.h" AutoGen: Parsing "SRC:/textdocument/lib/texthtmlbuilder.cpp" AutoGen: Parsing "SRC:/templates/lib/parser.h" AutoGen: Parsing "SRC:/templates/lib/pluginpointer_p.h" AutoGen: Parsing "SRC:/templates/lib/qtlocalizer.h" AutoGen: Parsing "SRC:/templates/lib/rendercontext.h" AutoGen: Parsing "SRC:/templates/lib/safestring.h" AutoGen: Parsing "SRC:/templates/lib/statemachine_p.h" AutoGen: Parsing "SRC:/templates/lib/template.h" AutoGen: Parsing "SRC:/templates/lib/template_p.h" AutoGen: Parsing "SRC:/templates/lib/templateloader.h" AutoGen: Parsing "SRC:/templates/lib/textprocessingmachine_p.h" AutoGen: Parsing "SRC:/templates/lib/token.h" AutoGen: Parsing "SRC:/templates/lib/typeaccessor.h" AutoGen: Parsing "SRC:/templates/lib/util.h" AutoGen: Parsing "SRC:/templates/lib/variable.h" AutoGen: Parsing "SRC:/templates/scriptabletags/scriptablecontext.h" AutoGen: Parsing "SRC:/templates/scriptabletags/scriptablefilter.h" AutoGen: Parsing "SRC:/templates/scriptabletags/scriptablefilterexpression.h" AutoGen: Parsing "SRC:/templates/scriptabletags/scriptablenode.h" AutoGen: Parsing "SRC:/templates/scriptabletags/scriptableparser.h" AutoGen: Parsing "SRC:/templates/scriptabletags/scriptablesafestring.h" AutoGen: Parsing "SRC:/templates/scriptabletags/scriptabletags.h" AutoMoc: Generating MOC compilation "SRC:_build/textdocument/lib/Grantlee_TextDocument_autogen/mocs_compilation.cpp" AutoGen: Parsing "SRC:/templates/scriptabletags/scriptabletemplate.h" AutoGen: Parsing "SRC:/templates/scriptabletags/scriptablevariable.h" AutoGen: Parsing "SRC:/templates/lib/abstractlocalizer.cpp" AutoGen: Parsing "SRC:/templates/lib/cachingloaderdecorator.cpp" AutoGen: Parsing "SRC:/templates/lib/context.cpp" AutoGen: Parsing "SRC:/templates/lib/customtyperegistry.cpp" AutoGen: Parsing "SRC:/templates/lib/engine.cpp" AutoGen: Parsing "SRC:/templates/lib/lexer.cpp" AutoGen: Parsing "SRC:/templates/lib/filter.cpp" AutoGen: Parsing "SRC:/templates/lib/filterexpression.cpp" AutoGen: Writing the parse cache file "SRC:_build/textdocument/lib/CMakeFiles/Grantlee_TextDocument_autogen.dir/ParseCache.txt" AutoGen: Parsing "SRC:/templates/lib/metatype.cpp" AutoGen: Parsing "SRC:/templates/lib/node.cpp" AutoGen: Parsing "SRC:/templates/lib/nodebuiltins.cpp" AutoGen: Parsing "SRC:/templates/lib/nulllocalizer.cpp" AutoGen: Writing the settings file "SRC:_build/textdocument/lib/CMakeFiles/Grantlee_TextDocument_autogen.dir/AutogenUsed.txt" AutoGen: Parsing "SRC:/templates/lib/outputstream.cpp" AutoGen: Parsing "SRC:/templates/lib/parser.cpp" AutoGen: Parsing "SRC:/templates/lib/qtlocalizer.cpp" AutoGen: Parsing "SRC:/templates/lib/rendercontext.cpp" AutoGen: Parsing "SRC:/templates/lib/safestring.cpp" make[2]: Leaving directory '/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build' AutoGen: Parsing "SRC:/templates/lib/template.cpp" AutoGen: Parsing "SRC:/templates/lib/templateloader.cpp" AutoGen: Parsing "SRC:/templates/lib/textprocessingmachine.cpp" AutoGen: Parsing "SRC:/templates/lib/typeaccessors.cpp" AutoGen: Parsing "SRC:/templates/lib/util.cpp" AutoGen: Parsing "SRC:/templates/lib/variable.cpp" AutoGen: Parsing "SRC:/templates/scriptabletags/scriptablecontext.cpp" AutoGen: Parsing "SRC:/templates/scriptabletags/scriptablefilter.cpp" AutoGen: Parsing "SRC:/templates/scriptabletags/scriptablefilterexpression.cpp" AutoGen: Parsing "SRC:/templates/scriptabletags/scriptablenode.cpp" AutoGen: Parsing "SRC:/templates/scriptabletags/scriptableparser.cpp" AutoGen: Parsing "SRC:/templates/scriptabletags/scriptablesafestring.cpp" AutoGen: Parsing "SRC:/templates/scriptabletags/scriptabletags.cpp" AutoGen: Parsing "SRC:/templates/scriptabletags/scriptabletemplate.cpp" AutoGen: Parsing "SRC:/templates/scriptabletags/scriptablevariable.cpp" AutoMoc: Generating "SRC:_build/templates/lib/Grantlee_Templates_autogen/EWIEGA46WW/moc_node.cpp", because it doesn't exist, from "SRC:/templates/lib/node.h" /usr/lib64/qt5/bin/moc -DGrantlee_Templates_EXPORTS -DPLUGINS_PREFER_DEBUG_POSTFIX=0 -DQT_CORE_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_URL_CAST_FROM_STRING -DQT_SCRIPT_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -I/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/templates/lib -I/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/templates/lib -I/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/templates/scriptabletags -I/usr/include/qt5 -I/usr/include/qt5/QtScript -I/usr/include/qt5/QtCore -I/usr/lib64/qt5/mkspecs/linux-g++ -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9.2.0 -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9.2.0/x86_64-pc-linux-gnu -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9.2.0/backward -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include-fixed -I/usr/include --include /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/templates/lib/Grantlee_Templates_autogen/moc_predefs.h -o /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/templates/lib/Grantlee_Templates_autogen/EWIEGA46WW/moc_node.cpp /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/templates/lib/node.h AutoMoc: Generating "SRC:_build/templates/lib/Grantlee_Templates_autogen/include/moc_nodebuiltins_p.cpp", because it doesn't exist, from "SRC:/templates/lib/nodebuiltins_p.h" /usr/lib64/qt5/bin/moc -DGrantlee_Templates_EXPORTS -DPLUGINS_PREFER_DEBUG_POSTFIX=0 -DQT_CORE_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_URL_CAST_FROM_STRING -DQT_SCRIPT_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -I/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/templates/lib -I/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/templates/lib -I/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/templates/scriptabletags -I/usr/include/qt5 -I/usr/include/qt5/QtScript -I/usr/include/qt5/QtCore -I/usr/lib64/qt5/mkspecs/linux-g++ -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9.2.0 -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9.2.0/x86_64-pc-linux-gnu -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9.2.0/backward -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include-fixed -I/usr/include --include /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/templates/lib/Grantlee_Templates_autogen/moc_predefs.h -o /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/templates/lib/Grantlee_Templates_autogen/include/moc_nodebuiltins_p.cpp /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/templates/lib/nodebuiltins_p.h AutoMoc: Generating "SRC:_build/templates/lib/Grantlee_Templates_autogen/EWIEGA46WW/moc_engine.cpp", because it doesn't exist, from "SRC:/templates/lib/engine.h" /usr/lib64/qt5/bin/moc -DGrantlee_Templates_EXPORTS -DPLUGINS_PREFER_DEBUG_POSTFIX=0 -DQT_CORE_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_URL_CAST_FROM_STRING -DQT_SCRIPT_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -I/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/templates/lib -I/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/templates/lib -I/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/templates/scriptabletags -I/usr/include/qt5 -I/usr/include/qt5/QtScript -I/usr/include/qt5/QtCore -I/usr/lib64/qt5/mkspecs/linux-g++ -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9.2.0 -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9.2.0/x86_64-pc-linux-gnu -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9.2.0/backward -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include-fixed -I/usr/include --include /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/templates/lib/Grantlee_Templates_autogen/moc_predefs.h -o /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/templates/lib/Grantlee_Templates_autogen/EWIEGA46WW/moc_engine.cpp /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/templates/lib/engine.h AutoMoc: Generating "SRC:_build/templates/lib/Grantlee_Templates_autogen/EWIEGA46WW/moc_parser.cpp", because it doesn't exist, from "SRC:/templates/lib/parser.h" /usr/lib64/qt5/bin/moc -DGrantlee_Templates_EXPORTS -DPLUGINS_PREFER_DEBUG_POSTFIX=0 -DQT_CORE_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_URL_CAST_FROM_STRING -DQT_SCRIPT_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -I/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/templates/lib -I/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/templates/lib -I/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/templates/scriptabletags -I/usr/include/qt5 -I/usr/include/qt5/QtScript -I/usr/include/qt5/QtCore -I/usr/lib64/qt5/mkspecs/linux-g++ -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9.2.0 -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9.2.0/x86_64-pc-linux-gnu -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9.2.0/backward -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include-fixed -I/usr/include --include /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/templates/lib/Grantlee_Templates_autogen/moc_predefs.h -o /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/templates/lib/Grantlee_Templates_autogen/EWIEGA46WW/moc_parser.cpp /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/templates/lib/parser.h [ 2%] Built target Grantlee_TextDocument_autogen make -f textdocument/lib/CMakeFiles/Grantlee_TextDocument.dir/build.make textdocument/lib/CMakeFiles/Grantlee_TextDocument.dir/depend make[2]: Entering directory '/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build' cd /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0 /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/textdocument/lib /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/textdocument/lib/CMakeFiles/Grantlee_TextDocument.dir/DependInfo.cmake --color= Dependee "/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/textdocument/lib/CMakeFiles/Grantlee_TextDocument.dir/DependInfo.cmake" is newer than depender "/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/textdocument/lib/CMakeFiles/Grantlee_TextDocument.dir/depend.internal". Dependee "/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/textdocument/lib/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/textdocument/lib/CMakeFiles/Grantlee_TextDocument.dir/depend.internal". Scanning dependencies of target Grantlee_TextDocument make[2]: Leaving directory '/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build' make -f textdocument/lib/CMakeFiles/Grantlee_TextDocument.dir/build.make textdocument/lib/CMakeFiles/Grantlee_TextDocument.dir/build make[2]: Entering directory '/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build' [ 3%] Building CXX object textdocument/lib/CMakeFiles/Grantlee_TextDocument.dir/Grantlee_TextDocument_autogen/mocs_compilation.cpp.o cd /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/textdocument/lib && /usr/bin/x86_64-pc-linux-gnu-g++ -DGrantlee_TextDocument_EXPORTS -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -I/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/textdocument/lib -I/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib -I/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/textdocument/lib/Grantlee_TextDocument_autogen/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -march=native -O2 -pipe -std=c++11 -std=gnu++11 -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-check-new -fno-common -pedantic-errors -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -o CMakeFiles/Grantlee_TextDocument.dir/Grantlee_TextDocument_autogen/mocs_compilation.cpp.o -c /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/textdocument/lib/Grantlee_TextDocument_autogen/mocs_compilation.cpp [ 4%] Building CXX object textdocument/lib/CMakeFiles/Grantlee_TextDocument.dir/bbcodebuilder.cpp.o AutoMoc: Generating "SRC:_build/templates/lib/Grantlee_Templates_autogen/EWIEGA46WW/moc_template.cpp", because it doesn't exist, from "SRC:/templates/lib/template.h" /usr/lib64/qt5/bin/moc -DGrantlee_Templates_EXPORTS -DPLUGINS_PREFER_DEBUG_POSTFIX=0 -DQT_CORE_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_URL_CAST_FROM_STRING -DQT_SCRIPT_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -I/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/templates/lib -I/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/templates/lib -I/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/templates/scriptabletags -I/usr/include/qt5 -I/usr/include/qt5/QtScript -I/usr/include/qt5/QtCore -I/usr/lib64/qt5/mkspecs/linux-g++ -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9.2.0 -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9.2.0/x86_64-pc-linux-gnu -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9.2.0/backward -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include-fixed -I/usr/include --include /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/templates/lib/Grantlee_Templates_autogen/moc_predefs.h -o /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/templates/lib/Grantlee_Templates_autogen/EWIEGA46WW/moc_template.cpp /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/templates/lib/template.h cd /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/textdocument/lib && /usr/bin/x86_64-pc-linux-gnu-g++ -DGrantlee_TextDocument_EXPORTS -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -I/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/textdocument/lib -I/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib -I/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/textdocument/lib/Grantlee_TextDocument_autogen/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -march=native -O2 -pipe -std=c++11 -std=gnu++11 -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-check-new -fno-common -pedantic-errors -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -o CMakeFiles/Grantlee_TextDocument.dir/bbcodebuilder.cpp.o -c /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.cpp [ 5%] Building CXX object textdocument/lib/CMakeFiles/Grantlee_TextDocument.dir/markupdirector.cpp.o cd /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/textdocument/lib && /usr/bin/x86_64-pc-linux-gnu-g++ -DGrantlee_TextDocument_EXPORTS -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -I/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/textdocument/lib -I/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib -I/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/textdocument/lib/Grantlee_TextDocument_autogen/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -march=native -O2 -pipe -std=c++11 -std=gnu++11 -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-check-new -fno-common -pedantic-errors -fPIC -fvisibility=hiddIn file included from /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9.2.0/type_traits:35, from /usr/include/qt5/QtCore/qglobal.h:45, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.cpp:21: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9.2.0/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. 32 | #error This file requires compiler and library support \ | ^~~~~ en -fvisibility-inlines-hidden -fPIC -o CMakeFiles/Grantlee_TextDocument.dir/markupdirector.cpp.o -c /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.cpp In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.cpp:21: /usr/include/qt5/QtCore/qcompilerdetection.h:564:6: error: #error Qt requires a C++11 compiler and yours does not seem to be that. 564 | # error Qt requires a C++11 compiler and yours does not seem to be that. | ^~~~~ AutoMoc: Generating "SRC:_build/templates/lib/Grantlee_Templates_autogen/MTDBPGIEEV/moc_scriptablecontext.cpp", because it doesn't exist, from "SRC:/templates/scriptabletags/scriptablecontext.h" /usr/lib64/qt5/bin/moc -DGrantlee_Templates_EXPORTS -DPLUGINS_PREFER_DEBUG_POSTFIX=0 -DQT_CORE_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_URL_CAST_FROM_STRING -DQT_SCRIPT_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -I/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/templates/lib -I/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/templates/lib -I/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/templates/scriptabletags -I/usr/include/qt5 -I/usr/include/qt5/QtScript -I/usr/include/qt5/QtCore -I/usr/lib64/qt5/mkspecs/linux-g++ -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9.2.0 -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9.2.0/x86_64-pc-linux-gnu -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9.2.0/backward -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include-fixed -I/usr/include --include /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/templates/lib/Grantlee_Templates_autogen/moc_predefs.h -o /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/templates/lib/Grantlee_Templates_autogen/MTDBPGIEEV/moc_scriptablecontext.cpp /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/templates/scriptabletags/scriptablecontext.h AutoMoc: Generating "SRC:_build/templates/lib/Grantlee_Templates_autogen/MTDBPGIEEV/moc_scriptablefilterexpression.cpp", because it doesn't exist, from "SRC:/templates/scriptabletags/scriptablefilterexpression.h" /usr/lib64/qt5/bin/moc -DGrantlee_Templates_EXPORTS -DPLUGINS_PREFER_DEBUG_POSTFIX=0 -DQT_CORE_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_URL_CAST_FROM_STRING -DQT_SCRIPT_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -I/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/templates/lib -I/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/templates/lib -I/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/templates/scriptabletags -I/usr/include/qt5 -I/usr/include/qt5/QtScript -I/usr/include/qt5/QtCore -I/usr/lib64/qt5/mkspecs/linux-g++ -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9.2.0 -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9.2.0/x86_64-pc-linux-gnu -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9.2.0/backward -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include-fixed -I/usr/include --include /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/templates/lib/Grantlee_Templates_autogen/moc_predefs.h -o /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/templates/lib/Grantlee_Templates_autogen/MTDBPGIEEV/moc_scriptablefilterexpression.cpp /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/templates/scriptabletags/scriptablefilterexpression.h In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9.2.0/type_traits:35, from /usr/include/qt5/QtCore/qglobal.h:45, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.cpp:21: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9.2.0/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. 32 | #error This file requires compiler and library support \ | ^~~~~ In file included from /usr/include/qt5/QtCore/qatomic.h:46, from /usr/include/qt5/QtCore/qglobal.h:1210, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.cpp:21: /usr/include/qt5/QtCore/qbasicatomic.h:61:4: error: #error "Qt requires C++11 support" 61 | # error "Qt requires C++11 support" | ^~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.cpp:21: /usr/include/qt5/QtCore/qcompilerdetection.h:564:6: error: #error Qt requires a C++11 compiler and yours does not seem to be that. 564 | # error Qt requires a C++11 compiler and yours does not seem to be that. | ^~~~~ [ 6%] Building CXX object textdocument/lib/CMakeFiles/Grantlee_TextDocument.dir/plaintextmarkupbuilder.cpp.o [ 7%] Building CXX object textdocument/lib/CMakeFiles/Grantlee_TextDocument.dir/texthtmlbuilder.cpp.o AutoMoc: Generating "SRC:_build/templates/lib/Grantlee_Templates_autogen/MTDBPGIEEV/moc_scriptablenode.cpp", because it doesn't exist, from "SRC:/templates/scriptabletags/scriptablenode.h" /usr/lib64/qt5/bin/moc -DGrantlee_Templates_EXPORTS -DPLUGINS_PREFER_DEBUG_POSTFIX=0 -DQT_CORE_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_URL_CAST_FROM_STRING -DQT_SCRIPT_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -I/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/templates/lib -I/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/templates/lib -I/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/templates/scriptabletags -I/usr/include/qt5 -I/usr/include/qt5/QtScript -I/usr/include/qt5/QtCore -I/usr/lib64/qt5/mkspecs/linux-g++ -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9.2.0 -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9.2.0/x86_64-pc-linux-gnu -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9.2.0/backward -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include-fixed -I/usr/include --include /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/templates/lib/Grantlee_Templates_autogen/moc_predefs.h -o /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/templates/lib/Grantlee_Templates_autogen/MTDBPGIEEV/moc_scriptablenode.cpp /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/templates/scriptabletags/scriptablenode.h AutoMoc: Generating "SRC:_build/templates/lib/Grantlee_Templates_autogen/MTDBPGIEEV/moc_scriptableparser.cpp", because it doesn't exist, from "SRC:/templates/scriptabletags/scriptableparser.h" /usr/lib64/qt5/bin/moc -DGrantlee_Templates_EXPORTS -DPLUGINS_PREFER_DEBUG_POSTFIX=0 -DQT_CORE_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_URL_CAST_FROM_STRING -DQT_SCRIPT_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -I/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/templates/lib -I/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/templates/lib -I/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/templates/scriptabletags -I/usr/include/qt5 -I/usr/include/qt5/QtScript -I/usr/include/qt5/QtCore -I/usr/lib64/qt5/mkspecs/linux-g++ -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9.2.0 -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9.2.0/x86_64-pc-linux-gnu -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9.2.0/backward -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include-fixed -I/usr/include --include /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/templates/lib/Grantlee_Templates_autogen/moc_predefs.h -o /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/templates/lib/Grantlee_Templates_autogen/MTDBPGIEEV/moc_scriptableparser.cpp /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/templates/scriptabletags/scriptableparser.h AutoMoc: Generating "SRC:_build/templates/lib/Grantlee_Templates_autogen/MTDBPGIEEV/moc_scriptablesafestring.cpp", because it doesn't exist, from "SRC:/templates/scriptabletags/scriptablesafestring.h" /usr/lib64/qt5/bin/moc -DGrantlee_Templates_EXPORTS -DPLUGINS_PREFER_DEBUG_POSTFIX=0 -DQT_CORE_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_URL_CAST_FROM_STRING -DQT_SCRIPT_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -I/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/templates/lib -I/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/templates/lib -I/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/templates/scriptabletags -I/usr/include/qt5 -I/usr/include/qt5/QtScript -I/usr/include/qt5/QtCore -I/usr/lib64/qt5/mkspecs/linux-g++ -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9.2.0 -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9.2.0/x86_64-pc-linux-gnu -I/usr/lib/gcc/x86_64-pc-linux-gcd /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/textdocument/lib && /usr/bin/x86_64-pc-linux-gnu-g++ -DGrantlee_TextDocument_EXPORTS -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -I/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/textdocument/lib -I/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib -I/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/textdocument/lib/Grantlee_TextDocument_autogen/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -march=native -O2 -pipe -std=c++11 -std=gnu++11 -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-check-new -fno-common -pedantic-errors -fPIC -fvisibility=hiddnu/9.2.0/include/g++-v9.2.0/backward -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include-fixed -I/usr/include --include /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/templates/lib/Grantlee_Templates_autogen/moc_predefs.h -o /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/templates/lib/Grantlee_Templates_autogen/MTDBPGIEEV/moc_scriptablesafestring.cpp /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/templates/scriptabletags/scriptablesafestring.h en -fvisibility-inlines-hidden -fPIC -o CMakeFiles/Grantlee_TextDocument.dir/plaintextmarkupbuilder.cpp.o -c /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.cpp AutoMoc: Generating "SRC:_build/templates/lib/Grantlee_Templates_autogen/MTDBPGIEEV/moc_scriptabletags.cpp", because it doesn't exist, from "SRC:/templates/scriptabletags/scriptabletags.h" /usr/lib64/qt5/bin/moc -DGrantlee_Templates_EXPORTS -DPLUGINS_PREFER_DEBUG_POSTFIX=0 -DQT_CORE_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_URL_CAST_FROM_STRING -DQT_SCRIPT_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -I/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/templates/lib -I/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/templates/lib -I/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/templates/scriptabletags -I/usr/include/qt5 -I/usr/include/qt5/QtScript -I/usr/include/qt5/QtCore -I/usr/lib64/qt5/mkspecs/linux-g++ -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9.2.0 -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9.2.0/x86_64-pc-linux-gnu -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9.2.0/backward -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include-fixed -I/usr/include --include /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/templates/lib/Grantlee_Templates_autogen/moc_predefs.h -o /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/templates/lib/Grantlee_Templates_autogen/MTDBPGIEEV/moc_scriptabletags.cpp /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/templates/scriptabletags/scriptabletags.h In file included from /usr/include/qt5/QtCore/qatomic.h:46, from /usr/include/qt5/QtCore/qglobal.h:1210, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.cpp:21: /usr/include/qt5/QtCore/qbasicatomic.h:61:4: error: #error "Qt requires C++11 support" 61 | # error "Qt requires C++11 support" | ^~~~~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.cpp:21: /usr/include/qt5/QtCore/qglobal.h:505:7: error: expected nested-name-specifier before ‘qsizetype’ 505 | using qsizetype = QIntegerForSizeof::Signed; | ^~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.cpp:21: /usr/include/qt5/QtCore/qglobal.h:827:1: error: expected unqualified-id before ‘[’ token 827 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qFuzzyCompare(double p1, double p2) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:832:1: error: expected unqualified-id before ‘[’ token 832 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qFuzzyCompare(float p1, float p2) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:837:1: error: expected unqualified-id before ‘[’ token 837 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qFuzzyIsNull(double d) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:842:1: error: expected unqualified-id before ‘[’ token 842 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qFuzzyIsNull(float f) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:852:1: error: expected unqualified-id before ‘[’ token 852 | Q_REQUIRED_RESULT static inline Q_DECL_UNUSED bool qIsNull(double d) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:868:1: error: expected unqualified-id before ‘[’ token 868 | Q_REQUIRED_RESULT static inline Q_DECL_UNUSED bool qIsNull(float f) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.cpp:21: /usr/include/qt5/QtCore/qglobal.h:963:32: error: ‘add_const’ in namespace ‘std’ does not name a template type 963 | Q_DECL_CONSTEXPR typename std::add_const::type &qAsConst(T &t) Q_DECL_NOTHROW { return t; } | ^~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:963:41: error: expected unqualified-id before ‘<’ token 963 | Q_DECL_CONSTEXPR typename std::add_const<T>::type &qAsConst(T &t) Q_DECL_NOTHROW { return t; } | ^ /usr/include/qt5/QtCore/qglobal.h:966:23: error: expected ‘,’ or ‘...’ before ‘&&’ token 966 | void qAsConst(const T &&) Q_DECL_EQ_DELETE; | ^~ /usr/include/qt5/QtCore/qglobal.h:977:25: error: expected ‘,’ or ‘...’ before ‘&&’ token 977 | QForeachContainer(T &&t) : c(std::move(t)), i(qAsConst(c).begin()), e(qAsConst(c).end()) {} | ^~ /usr/include/qt5/QtCore/qglobal.h:979:41: error: expected ‘,’ or ‘...’ before ‘&&’ token 979 | QForeachContainer(QForeachContainer &&other) | ^~ /usr/include/qt5/QtCore/qglobal.h:979:48: error: invalid constructor; you probably meant ‘QtPrivate::QForeachContainer (const QtPrivate::QForeachContainer&)’ 979 | QForeachContainer(QForeachContainer &&other) | ^ /usr/include/qt5/QtCore/qglobal.h:987:52: error: expected ‘,’ or ‘...’ before ‘&&’ token 987 | QForeachContainer &operator=(QForeachContainer &&other) | ^~ /usr/include/qt5/QtCore/qglobal.h: In constructor ‘QtPrivate::QForeachContainer::QForeachContainer(T)’: /usr/include/qt5/QtCore/qglobal.h:977:39: error: ‘move’ is not a member of ‘std’ 977 | QForeachContainer(T &&t) : c(std::move(t)), i(qAsConst(c).begin()), e(qAsConst(c).end()) {} | ^~~~ /usr/include/qt5/QtCore/qglobal.h:977:39: note: ‘std::move’ is only available from C++11 onwards /usr/include/qt5/QtCore/qglobal.h:977:44: error: ‘t’ was not declared in this scope 977 | QForeachContainer(T &&t) : c(std::move(t)), i(qAsConst(c).begin()), e(qAsConst(c).end()) {} | ^ /usr/include/qt5/QtCore/qglobal.h: In member function ‘QtPrivate::QForeachContainer& QtPrivate::QForeachContainer::operator=(QtPrivate::QForeachContainer)’: /usr/include/qt5/QtCore/qglobal.h:989:18: error: ‘move’ is not a member of ‘std’ 989 | c = std::move(other.c); | ^~~~ /usr/include/qt5/QtCore/qglobal.h:989:18: note: ‘std::move’ is only available from C++11 onwards /usr/include/qt5/QtCore/qglobal.h:989:23: error: ‘other’ was not declared in this scope 989 | c = std::move(other.c); | ^~~~~ /usr/include/qt5/QtCore/qglobal.h:992:24: error: ‘move’ is not a member of ‘std’ 992 | control = std::move(other.control); | ^~~~ /usr/include/qt5/QtCore/qglobal.h:992:24: note: ‘std::move’ is only available from C++11 onwards /usr/include/qt5/QtCore/qglobal.h: At global scope: /usr/include/qt5/QtCore/qglobal.h:1002:33: error: ‘decay’ in namespace ‘std’ does not name a template type 1002 | QForeachContainer::type> qMakeForeachContainer(T &&t) | ^~~~~ /usr/include/qt5/QtCore/qglobal.h:1002:38: error: expected template-argument before ‘<’ token 1002 | QForeachContainer::type> qMakeForeachContainer(T &&t) | ^ /usr/include/qt5/QtCore/qglobal.h:1002:38: error: expected ‘>’ before ‘<’ token /usr/include/qt5/QtCore/qglobal.h:1002:47: error: template argument 1 is invalid 1002 | QForeachContainer::type> qMakeForeachContainer(T &&t) | ^ /usr/include/qt5/QtCore/qglobal.h:1002:73: error: expected ‘,’ or ‘...’ before ‘&&’ token 1002 | QForeachContainer::type> qMakeForeachContainer(T &&t) | ^~ cd /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/textdocument/lib && /usr/bin/x86_64-pc-linux-gnu-g++ -DGrantlee_TextDocument_EXPORTS -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -I/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/textdocument/lib -I/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib -I/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/textdocument/lib/Grantlee_TextDocument_autogen/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -march=native -O2 -pipe -std=c++11 -std=gnu++11 -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-check-new -fno-common -pedantic-errors -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -o CMakeFiles/Grantlee_TextDocument.dir/texthtmlbuilder.cpp.o -c /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/texthtmlbuilder.cpp In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9.2.0/type_traits:35, from /usr/include/qt5/QtCore/qglobal.h:45, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.h:31, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.cpp:21: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9.2.0/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. 32 | #error This file requires compiler and library support \ | ^~~~~ AutoMoc: Generating "SRC:_build/templates/lib/Grantlee_Templates_autogen/MTDBPGIEEV/moc_scriptabletemplate.cpp", because it doesn't exist, from "SRC:/templates/scriptabletags/scriptabletemplate.h" /usr/lib64/qt5/bin/moc -DGrantlee_Templates_EXPORTS -DPLUGINS_PREFER_DEBUG_POSTFIX=0 -DQT_CORE_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_URL_CAST_FROM_STRING -DQT_SCRIPT_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -I/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/templates/lib -I/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/templates/lib -I/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/templates/scriptabletags -I/usr/include/qt5 -I/usr/include/qt5/QtScript -I/usr/include/qt5/QtCore -I/usr/lib64/qt5/mkspecs/linux-g++ -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9.2.0 -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9.2.0/x86_64-pc-linux-gnu -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9.2.0/backward -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include-fixed -I/usr/include --include /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/templates/lib/Grantlee_Templates_autogen/moc_predefs.h -o /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/templates/lib/Grantlee_Templates_autogen/MTDBPGIEEV/moc_scriptabletemplate.cpp /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/templates/scriptabletags/scriptabletemplate.h AutoMoc: Generating "SRC:_build/templates/lib/Grantlee_Templates_autogen/MTDBPGIEEV/moc_scriptablevariable.cpp", because it doesn't exist, from "SRC:/templates/scriptabletags/scriptablevariable.h" /usr/lib64/qt5/bin/moc -DGrantlee_Templates_EXPORTS -DPLUGINS_PREFER_DEBUG_POSTFIX=0 -DQT_CORE_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_URL_CAST_FROM_STRING -DQT_SCRIPT_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -I/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/templates/lib -I/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/templates/lib -I/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/templates/scriptabletags -I/usr/include/qt5 -I/usr/include/qt5/QtScript -I/usr/include/qt5/QtCore -I/usr/lib64/qt5/mkspecs/linux-g++ -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9.2.0 -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9.2.0/x86_64-pc-linux-gnu -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9.2.0/backward -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include-fixed -I/usr/include --include /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/templates/lib/Grantlee_Templates_autogen/moc_predefs.h -o /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/templates/lib/Grantlee_Templates_autogen/MTDBPGIEEV/moc_scriptablevariable.cpp /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/templates/scriptabletags/scriptablevariable.h In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.cpp:21: /usr/include/qt5/QtCore/qglobal.h:505:7: error: expected nested-name-specifier before ‘qsizetype’ 505 | using qsizetype = QIntegerForSizeof::Signed; | ^~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h: In function ‘int QtPrivate::qMakeForeachContainer(T)’: /usr/include/qt5/QtCore/qglobal.h:1004:44: error: ‘decay’ in namespace ‘std’ does not name a template type 1004 | return QForeachContainer::type>(std::forward(t)); | ^~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9.2.0/type_traits:35, from /usr/include/qt5/QtCore/qglobal.h:45, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/texthtmlbuilder.h:28, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/texthtmlbuilder.cpp:21: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9.2.0/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. 32 | #error This file requires compiler and library support \ | ^~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.h:31, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.cpp:21: /usr/include/qt5/QtCore/qcompilerdetection.h:564:6: error: #error Qt requires a C++11 compiler and yours does not seem to be that. 564 | # error Qt requires a C++11 compiler and yours does not seem to be that. | ^~~~~ AutoMoc: Generating MOC compilation "SRC:_build/templates/lib/Grantlee_Templates_autogen/mocs_compilation.cpp" /usr/include/qt5/QtCore/qglobal.h:1004:49: error: expected template-argument before ‘<’ token 1004 | return QForeachContainer::type>(std::forward(t)); | ^ /usr/include/qt5/QtCore/qglobal.h:1004:49: error: expected ‘>’ before ‘<’ token /usr/include/qt5/QtCore/qglobal.h:1004:58: error: template argument 1 is invalid 1004 | return QForeachContainer::type>(std::forward(t)); | ^ /usr/include/qt5/QtCore/qglobal.h:1004:65: error: ‘forward’ is not a member of ‘std’ 1004 | return QForeachContainer::type>(std::forward(t)); | ^~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1004:65: note: ‘std::forward’ is only available from C++11 onwards In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.cpp:21: /usr/include/qt5/QtCore/qglobal.h:827:1: error: expected unqualified-id before ‘[’ token 827 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qFuzzyCompare(double p1, double p2) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:832:1: error: expected unqualified-id before ‘[’ token 832 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qFuzzyCompare(float p1, float p2) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:837:1: error: expected unqualified-id before ‘[’ token 837 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qFuzzyIsNull(double d) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:842:1: error: expected unqualified-id before ‘[’ token 842 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qFuzzyIsNull(float f) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:852:1: error: expected unqualified-id before ‘[’ token 852 | Q_REQUIRED_RESULT static inline Q_DECL_UNUSED bool qIsNull(double d) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:868:1: error: expected unqualified-id before ‘[’ token 868 | Q_REQUIRED_RESULT static inline Q_DECL_UNUSED bool qIsNull(float f) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1004:76: error: ‘t’ was not declared in this scope 1004 | return QForeachContainer::type>(std::forward(t)); | ^ /usr/include/qt5/QtCore/qglobal.h:1004:65: error: ‘forward’ is not a member of ‘std’ 1004 | return QForeachContainer::type>(std::forward(t)); | ^~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1004:65: note: ‘std::forward’ is only available from C++11 onwards /usr/include/qt5/QtCore/qglobal.h:1004:74: error: expected primary-expression before ‘>’ token 1004 | return QForeachContainer::type>(std::forward(t)); | ^ /usr/include/qt5/QtCore/qglobal.h: At global scope: /usr/include/qt5/QtCore/qglobal.h:1038:70: error: expected type-specifier before ‘decltype’ 1038 | template inline auto qGetPtrHelper(const Ptr &ptr) -> decltype(ptr.operator->()) { return ptr.operator->(); } | ^~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1038:70: error: expected initializer before ‘decltype’ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.cpp:21: /usr/include/qt5/QtCore/qglobal.h:963:32: error: ‘add_const’ in namespace ‘std’ does not name a template type 963 | Q_DECL_CONSTEXPR typename std::add_const::type &qAsConst(T &t) Q_DECL_NOTHROW { return t; } | ^~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1172:79: error: ‘nullptr’ was not declared in this scope 1172 | Q_CORE_EXPORT int qEnvironmentVariableIntValue(const char *varName, bool *ok=nullptr) Q_DECL_NOEXCEPT; | ^~~~~~~ /usr/include/qt5/QtCore/qglobal.h:963:41: error: expected unqualified-id before ‘<’ token 963 | Q_DECL_CONSTEXPR typename std::add_const<T>::type &qAsConst(T &t) Q_DECL_NOTHROW { return t; } | ^ AutoGen: Writing the parse cache file "SRC:_build/templates/lib/CMakeFiles/Grantlee_Templates_autogen.dir/ParseCache.txt" /usr/include/qt5/QtCore/qglobal.h:966:23: error: expected ‘,’ or ‘...’ before ‘&&’ token 966 | void qAsConst(const T &&) Q_DECL_EQ_DELETE; | ^~ /usr/include/qt5/QtCore/qglobal.h:977:25: error: expected ‘,’ or ‘...’ before ‘&&’ token 977 | QForeachContainer(T &&t) : c(std::move(t)), i(qAsConst(c).begin()), e(qAsConst(c).end()) {} | ^~ /usr/include/qt5/QtCore/qglobal.h:979:41: error: expected ‘,’ or ‘...’ before ‘&&’ token 979 | QForeachContainer(QForeachContainer &&other) | ^~ /usr/include/qt5/QtCore/qglobal.h:979:48: error: invalid constructor; you probably meant ‘QtPrivate::QForeachContainer (const QtPrivate::QForeachContainer&)’ 979 | QForeachContainer(QForeachContainer &&other) | ^ /usr/include/qt5/QtCore/qglobal.h:987:52: error: expected ‘,’ or ‘...’ before ‘&&’ token 987 | QForeachContainer &operator=(QForeachContainer &&other) | ^~ /usr/include/qt5/QtCore/qglobal.h: In constructor ‘QtPrivate::QForeachContainer::QForeachContainer(T)’: /usr/include/qt5/QtCore/qglobal.h:977:39: error: ‘move’ is not a member of ‘std’ 977 | QForeachContainer(T &&t) : c(std::move(t)), i(qAsConst(c).begin()), e(qAsConst(c).end()) {} | ^~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/texthtmlbuilder.h:28, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/texthtmlbuilder.cpp:21: /usr/include/qt5/QtCore/qcompilerdetection.h:564:6: error: #error Qt requires a C++11 compiler and yours does not seem to be that. 564 | # error Qt requires a C++11 compiler and yours does not seem to be that. | ^~~~~ In file included from /usr/include/qt5/QtCore/qatomic.h:46, from /usr/include/qt5/QtCore/qglobal.h:1210, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.h:31, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.cpp:21: /usr/include/qt5/QtCore/qbasicatomic.h:61:4: error: #error "Qt requires C++11 support" 61 | # error "Qt requires C++11 support" | ^~~~~ AutoGen: Writing the settings file "SRC:_build/templates/lib/CMakeFiles/Grantlee_Templates_autogen.dir/AutogenUsed.txt" In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.cpp:21: /usr/include/qt5/QtCore/qtypeinfo.h:61:30: error: ‘is_enum’ is not a member of ‘std’ 61 | isSpecialized = std::is_enum::value, // don't require every enum to be marked manually | ^~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:61:39: error: expected primary-expression before ‘>’ token 61 | isSpecialized = std::is_enum::value, // don't require every enum to be marked manually | ^ /usr/include/qt5/QtCore/qtypeinfo.h:61:42: error: ‘::value’ has not been declared 61 | isSpecialized = std::is_enum::value, // don't require every enum to be marked manually | ^~~~~ make[2]: Leaving directory '/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build' /usr/include/qt5/QtCore/qtypeinfo.h:63:27: error: ‘is_integral’ is not a member of ‘std’ 63 | isIntegral = std::is_integral::value, | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:63:40: error: expected primary-expression before ‘>’ token 63 | isIntegral = std::is_integral::value, | ^ /usr/include/qt5/QtCore/qtypeinfo.h:63:43: error: ‘::value’ has not been declared 63 | isIntegral = std::is_integral::value, | ^~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:64:42: error: ‘is_enum’ is not a member of ‘std’ 64 | isComplex = !isIntegral && !std::is_enum::value, | ^~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:64:51: error: expected primary-expression before ‘>’ token 64 | isComplex = !isIntegral && !std::is_enum::value, | ^ /usr/include/qt5/QtCore/qtypeinfo.h:64:54: error: ‘::value’ has not been declared 64 | isComplex = !isIntegral && !std::is_enum::value, | ^~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:66:30: error: ‘is_enum’ is not a member of ‘std’ 66 | isRelocatable = std::is_enum::value, | ^~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:66:39: error: expected primary-expression before ‘>’ token 66 | isRelocatable = std::is_enum::value, | ^ /usr/include/qt5/QtCore/qtypeinfo.h:66:42: error: ‘::value’ has not been declared 66 | isRelocatable = std::is_enum::value, | ^~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:130:40: error: ‘enable_if’ in namespace ‘std’ does not name a template type 130 | struct QTypeInfoQuery::isRelocatable || true>::type> : public QTypeInfo | ^~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:130:49: error: expected template-argument before ‘<’ token 130 | struct QTypeInfoQuery::isRelocatable || true>::type> : public QTypeInfo | ^ /usr/include/qt5/QtCore/qtypeinfo.h:130:49: error: expected ‘>’ before ‘<’ token /usr/include/qt5/QtCore/qtypeinfo.h:130:92: error: template argument 2 is invalid 130 | struct QTypeInfoQuery::isRelocatable || true>::type> : public QTypeInfo | ^ /usr/include/qt5/QtCore/qtypeinfo.h:270:1: error: ‘is_integral’ is not a member of ‘std’ 270 | Q_DECLARE_TYPEINFO_BODY(QFlags, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:270:1: error: expected primary-expression before ‘>’ token 270 | Q_DECLARE_TYPEINFO_BODY(QFlags, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:270:1: error: ‘::value’ has not been declared 270 | Q_DECLARE_TYPEINFO_BODY(QFlags, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: error: ‘is_integral’ is not a member of ‘std’ 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: error: expected primary-expression before ‘bool’ 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: error: expected ‘}’ before ‘bool’ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: to match this ‘{’ 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: error: expected unqualified-id before ‘>’ token 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: error: expected declaration before ‘}’ token 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:977:39: note: ‘std::move’ is only available from C++11 onwards /usr/include/qt5/QtCore/qglobal.h:977:44: error: ‘t’ was not declared in this scope 977 | QForeachContainer(T &&t) : c(std::move(t)), i(qAsConst(c).begin()), e(qAsConst(c).end()) {} | ^ /usr/include/qt5/QtCore/qglobal.h: In member function ‘QtPrivate::QForeachContainer& QtPrivate::QForeachContainer::operator=(QtPrivate::QForeachContainer)’: /usr/include/qt5/QtCore/qglobal.h:989:18: error: ‘move’ is not a member of ‘std’ 989 | c = std::move(other.c); | ^~~~ /usr/include/qt5/QtCore/qglobal.h:989:18: note: ‘std::move’ is only available from C++11 onwards /usr/include/qt5/QtCore/qglobal.h:989:23: error: ‘other’ was not declared in this scope 989 | c = std::move(other.c); | ^~~~~ /usr/include/qt5/QtCore/qglobal.h:992:24: error: ‘move’ is not a member of ‘std’ 992 | control = std::move(other.control); | ^~~~ /usr/include/qt5/QtCore/qglobal.h:992:24: note: ‘std::move’ is only available from C++11 onwards /usr/include/qt5/QtCore/qglobal.h: At global scope: /usr/include/qt5/QtCore/qglobal.h:1002:33: error: ‘decay’ in namespace ‘std’ does not name a template type 1002 | QForeachContainer::type> qMakeForeachContainer(T &&t) | ^~~~~ In file included from /usr/include/qt5/QtCore/qatomic.h:46, from /usr/include/qt5/QtCore/qglobal.h:1210, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/texthtmlbuilder.h:28, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/texthtmlbuilder.cpp:21: /usr/include/qt5/QtCore/qbasicatomic.h:61:4: error: #error "Qt requires C++11 support" 61 | # error "Qt requires C++11 support" | ^~~~~ /usr/include/qt5/QtCore/qglobal.h:1002:38: error: expected template-argument before ‘<’ token 1002 | QForeachContainer::type> qMakeForeachContainer(T &&t) | ^ /usr/include/qt5/QtCore/qglobal.h:1002:38: error: expected ‘>’ before ‘<’ token [ 7%] Built target Grantlee_Templates_autogen /usr/include/qt5/QtCore/qglobal.h:1002:47: error: template argument 1 is invalid 1002 | QForeachContainer::type> qMakeForeachContainer(T &&t) | ^ /usr/include/qt5/QtCore/qglobal.h:1002:73: error: expected ‘,’ or ‘...’ before ‘&&’ token 1002 | QForeachContainer::type> qMakeForeachContainer(T &&t) | ^~ /usr/include/qt5/QtCore/qglobal.h: In function ‘int QtPrivate::qMakeForeachContainer(T)’: /usr/include/qt5/QtCore/qglobal.h:1004:44: error: ‘decay’ in namespace ‘std’ does not name a template type 1004 | return QForeachContainer::type>(std::forward(t)); | ^~~~~ /usr/include/qt5/QtCore/qglobal.h:1004:49: error: expected template-argument before ‘<’ token 1004 | return QForeachContainer::type>(std::forward(t)); | ^ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: ‘is_integral’ is not a member of ‘std’ 301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.h:31, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.cpp:21: /usr/include/qt5/QtCore/qglobal.h:505:7: error: expected nested-name-specifier before ‘qsizetype’ 505 | using qsizetype = QIntegerForSizeof::Signed; | ^~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: expected primary-expression before ‘char’ 301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: expected ‘}’ before ‘char’ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: note: to match this ‘{’ 301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: expected unqualified-id before ‘>’ token 301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: redefinition of ‘const char* name()’ 301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: ‘const char* name()’ previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: expected declaration before ‘}’ token 301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: error: ‘is_integral’ is not a member of ‘std’ 302 | Q_DECLARE_TYPEINFO(signed char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: error: expected primary-expression before ‘signed’ 302 | Q_DECLARE_TYPEINFO(signed char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: error: expected ‘}’ before ‘signed’ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: note: to match this ‘{’ 302 | Q_DECLARE_TYPEINFO(signed char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.h:31, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.cpp:21: /usr/include/qt5/QtCore/qglobal.h:827:1: error: expected unqualified-id before ‘[’ token 827 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qFuzzyCompare(double p1, double p2) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:832:1: error: expected unqualified-id before ‘[’ token 832 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qFuzzyCompare(float p1, float p2) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: error: expected unqualified-id before ‘>’ token 302 | Q_DECLARE_TYPEINFO(signed char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:837:1: error: expected unqualified-id before ‘[’ token 837 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qFuzzyIsNull(double d) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:842:1: error: expected unqualified-id before ‘[’ token 842 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qFuzzyIsNull(float f) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:852:1: error: expected unqualified-id before ‘[’ token 852 | Q_REQUIRED_RESULT static inline Q_DECL_UNUSED bool qIsNull(double d) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: error: redefinition of ‘const char* name()’ 302 | Q_DECLARE_TYPEINFO(signed char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ [ 8%] Building CXX object textdocument/lib/CMakeFiles/Grantlee_TextDocument.dir/mediawikimarkupbuilder.cpp.o /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: ‘const char* name()’ previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: error: expected declaration before ‘}’ token 302 | Q_DECLARE_TYPEINFO(signed char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:303:1: error: ‘is_integral’ is not a member of ‘std’ 303 | Q_DECLARE_TYPEINFO(uchar, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:303:1: error: expected primary-expression before ‘>’ token 303 | Q_DECLARE_TYPEINFO(uchar, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ cd /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/textdocument/lib && /usr/bin/x86_64-pc-linux-gnu-g++ -DGrantlee_TextDocument_EXPORTS -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -I/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/textdocument/lib -I/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib -I/var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0_build/textdocument/lib/Grantlee_TextDocument_autogen/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -march=native -O2 -pipe -std=c++11 -std=gnu++11 -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-check-new -fno-common -pedantic-errors -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -o CMakeFiles/Grantlee_TextDocument.dir/mediawikimarkupbuilder.cpp.o -c /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/mediawikimarkupbuilder.cpp /usr/include/qt5/QtCore/qtypeinfo.h:303:1: error: ‘::value’ has not been declared 303 | Q_DECLARE_TYPEINFO(uchar, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: error: ‘is_integral’ is not a member of ‘std’ 304 | Q_DECLARE_TYPEINFO(short, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: error: expected primary-expression before ‘short’ 304 | Q_DECLARE_TYPEINFO(short, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: error: expected ‘}’ before ‘short’ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: note: to match this ‘{’ 304 | Q_DECLARE_TYPEINFO(short, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: error: expected unqualified-id before ‘>’ token 304 | Q_DECLARE_TYPEINFO(short, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: error: redefinition of ‘const char* name()’ 304 | Q_DECLARE_TYPEINFO(short, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: ‘const char* name()’ previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1004:49: error: expected ‘>’ before ‘<’ token /usr/include/qt5/QtCore/qglobal.h:1004:58: error: template argument 1 is invalid 1004 | return QForeachContainer::type>(std::forward(t)); | ^ /usr/include/qt5/QtCore/qglobal.h:1004:65: error: ‘forward’ is not a member of ‘std’ 1004 | return QForeachContainer::type>(std::forward(t)); | ^~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: error: expected declaration before ‘}’ token 304 | Q_DECLARE_TYPEINFO(short, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1004:65: note: ‘std::forward’ is only available from C++11 onwards /usr/include/qt5/QtCore/qtypeinfo.h:305:1: error: ‘is_integral’ is not a member of ‘std’ 305 | Q_DECLARE_TYPEINFO(ushort, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:305:1: error: expected primary-expression before ‘>’ token 305 | Q_DECLARE_TYPEINFO(ushort, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1004:76: error: ‘t’ was not declared in this scope 1004 | return QForeachContainer::type>(std::forward(t)); | ^ /usr/include/qt5/QtCore/qglobal.h:1004:65: error: ‘forward’ is not a member of ‘std’ 1004 | return QForeachContainer::type>(std::forward(t)); | ^~~~~~~ /usr/include/qt5/QtCore/qglobal.h:868:1: error: expected unqualified-id before ‘[’ token 868 | Q_REQUIRED_RESULT static inline Q_DECL_UNUSED bool qIsNull(float f) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1004:65: note: ‘std::forward’ is only available from C++11 onwards In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/texthtmlbuilder.h:28, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/texthtmlbuilder.cpp:21: /usr/include/qt5/QtCore/qglobal.h:505:7: error: expected nested-name-specifier before ‘qsizetype’ 505 | using qsizetype = QIntegerForSizeof::Signed; | ^~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1004:74: error: expected primary-expression before ‘>’ token 1004 | return QForeachContainer::type>(std::forward(t)); | ^ /usr/include/qt5/QtCore/qglobal.h: At global scope: /usr/include/qt5/QtCore/qglobal.h:1038:70: error: expected type-specifier before ‘decltype’ 1038 | template inline auto qGetPtrHelper(const Ptr &ptr) -> decltype(ptr.operator->()) { return ptr.operator->(); } | ^~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1038:70: error: expected initializer before ‘decltype’ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.h:31, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.cpp:21: /usr/include/qt5/QtCore/qglobal.h:963:32: error: ‘add_const’ in namespace ‘std’ does not name a template type 963 | Q_DECL_CONSTEXPR typename std::add_const::type &qAsConst(T &t) Q_DECL_NOTHROW { return t; } | ^~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:963:41: error: expected unqualified-id before ‘<’ token 963 | Q_DECL_CONSTEXPR typename std::add_const<T>::type &qAsConst(T &t) Q_DECL_NOTHROW { return t; } | ^ /usr/include/qt5/QtCore/qglobal.h:966:23: error: expected ‘,’ or ‘...’ before ‘&&’ token 966 | void qAsConst(const T &&) Q_DECL_EQ_DELETE; | ^~ /usr/include/qt5/QtCore/qglobal.h:977:25: error: expected ‘,’ or ‘...’ before ‘&&’ token 977 | QForeachContainer(T &&t) : c(std::move(t)), i(qAsConst(c).begin()), e(qAsConst(c).end()) {} | ^~ /usr/include/qt5/QtCore/qglobal.h:979:41: error: expected ‘,’ or ‘...’ before ‘&&’ token 979 | QForeachContainer(QForeachContainer &&other) | ^~ /usr/include/qt5/QtCore/qglobal.h:979:48: error: invalid constructor; you probably meant ‘QtPrivate::QForeachContainer (const QtPrivate::QForeachContainer&)’ 979 | QForeachContainer(QForeachContainer &&other) | ^ /usr/include/qt5/QtCore/qglobal.h:987:52: error: expected ‘,’ or ‘...’ before ‘&&’ token 987 | QForeachContainer &operator=(QForeachContainer &&other) | ^~ /usr/include/qt5/QtCore/qglobal.h: In constructor ‘QtPrivate::QForeachContainer::QForeachContainer(T)’: /usr/include/qt5/QtCore/qglobal.h:977:39: error: ‘move’ is not a member of ‘std’ 977 | QForeachContainer(T &&t) : c(std::move(t)), i(qAsConst(c).begin()), e(qAsConst(c).end()) {} | ^~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9.2.0/type_traits:35, from /usr/include/qt5/QtCore/qglobal.h:45, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/mediawikimarkupbuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/mediawikimarkupbuilder.cpp:21: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9.2.0/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. 32 | #error This file requires compiler and library support \ | ^~~~~ /usr/include/qt5/QtCore/qglobal.h:977:39: note: ‘std::move’ is only available from C++11 onwards /usr/include/qt5/QtCore/qtypeinfo.h:305:1: error: ‘::value’ has not been declared 305 | Q_DECLARE_TYPEINFO(ushort, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/texthtmlbuilder.h:28, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/texthtmlbuilder.cpp:21: /usr/include/qt5/QtCore/qglobal.h:827:1: error: expected unqualified-id before ‘[’ token 827 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qFuzzyCompare(double p1, double p2) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:832:1: error: expected unqualified-id before ‘[’ token 832 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qFuzzyCompare(float p1, float p2) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:837:1: error: expected unqualified-id before ‘[’ token 837 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qFuzzyIsNull(double d) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:842:1: error: expected unqualified-id before ‘[’ token 842 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qFuzzyIsNull(float f) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:852:1: error: expected unqualified-id before ‘[’ token 852 | Q_REQUIRED_RESULT static inline Q_DECL_UNUSED bool qIsNull(double d) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:868:1: error: expected unqualified-id before ‘[’ token 868 | Q_REQUIRED_RESULT static inline Q_DECL_UNUSED bool qIsNull(float f) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1172:79: error: ‘nullptr’ was not declared in this scope 1172 | Q_CORE_EXPORT int qEnvironmentVariableIntValue(const char *varName, bool *ok=nullptr) Q_DECL_NOEXCEPT; | ^~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: error: ‘is_integral’ is not a member of ‘std’ 306 | Q_DECLARE_TYPEINFO(int, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: error: expected primary-expression before ‘int’ 306 | Q_DECLARE_TYPEINFO(int, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: error: expected ‘}’ before ‘int’ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: note: to match this ‘{’ 306 | Q_DECLARE_TYPEINFO(int, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: error: expected unqualified-id before ‘>’ token 306 | Q_DECLARE_TYPEINFO(int, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: error: redefinition of ‘const char* name()’ 306 | Q_DECLARE_TYPEINFO(int, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: ‘const char* name()’ previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: error: expected declaration before ‘}’ token 306 | Q_DECLARE_TYPEINFO(int, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/texthtmlbuilder.h:28, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/texthtmlbuilder.cpp:21: /usr/include/qt5/QtCore/qglobal.h:963:32: error: ‘add_const’ in namespace ‘std’ does not name a template type 963 | Q_DECL_CONSTEXPR typename std::add_const::type &qAsConst(T &t) Q_DECL_NOTHROW { return t; } | ^~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:963:41: error: expected unqualified-id before ‘<’ token 963 | Q_DECL_CONSTEXPR typename std::add_const<T>::type &qAsConst(T &t) Q_DECL_NOTHROW { return t; } | ^ /usr/include/qt5/QtCore/qglobal.h:966:23: error: expected ‘,’ or ‘...’ before ‘&&’ token 966 | void qAsConst(const T &&) Q_DECL_EQ_DELETE; | ^~ /usr/include/qt5/QtCore/qglobal.h:977:25: error: expected ‘,’ or ‘...’ before ‘&&’ token 977 | QForeachContainer(T &&t) : c(std::move(t)), i(qAsConst(c).begin()), e(qAsConst(c).end()) {} | ^~ /usr/include/qt5/QtCore/qglobal.h:979:41: error: expected ‘,’ or ‘...’ before ‘&&’ token 979 | QForeachContainer(QForeachContainer &&other) | ^~ /usr/include/qt5/QtCore/qglobal.h:977:44: error: ‘t’ was not declared in this scope 977 | QForeachContainer(T &&t) : c(std::move(t)), i(qAsConst(c).begin()), e(qAsConst(c).end()) {} | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/mediawikimarkupbuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/mediawikimarkupbuilder.cpp:21: /usr/include/qt5/QtCore/qcompilerdetection.h:564:6: error: #error Qt requires a C++11 compiler and yours does not seem to be that. 564 | # error Qt requires a C++11 compiler and yours does not seem to be that. | ^~~~~ /usr/include/qt5/QtCore/qglobal.h:979:48: error: invalid constructor; you probably meant ‘QtPrivate::QForeachContainer (const QtPrivate::QForeachContainer&)’ 979 | QForeachContainer(QForeachContainer &&other) | ^ /usr/include/qt5/QtCore/qtypeinfo.h:307:1: error: ‘is_integral’ is not a member of ‘std’ 307 | Q_DECLARE_TYPEINFO(uint, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:987:52: error: expected ‘,’ or ‘...’ before ‘&&’ token 987 | QForeachContainer &operator=(QForeachContainer &&other) | ^~ /usr/include/qt5/QtCore/qtypeinfo.h:307:1: error: expected primary-expression before ‘>’ token 307 | Q_DECLARE_TYPEINFO(uint, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h: In member function ‘QtPrivate::QForeachContainer& QtPrivate::QForeachContainer::operator=(QtPrivate::QForeachContainer)’: /usr/include/qt5/QtCore/qglobal.h:989:18: error: ‘move’ is not a member of ‘std’ 989 | c = std::move(other.c); | ^~~~ /usr/include/qt5/QtCore/qglobal.h:989:18: note: ‘std::move’ is only available from C++11 onwards /usr/include/qt5/QtCore/qglobal.h: In constructor ‘QtPrivate::QForeachContainer::QForeachContainer(T)’: /usr/include/qt5/QtCore/qglobal.h:977:39: error: ‘move’ is not a member of ‘std’ 977 | QForeachContainer(T &&t) : c(std::move(t)), i(qAsConst(c).begin()), e(qAsConst(c).end()) {} | ^~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.cpp:21: /usr/include/qt5/QtCore/qtypeinfo.h:61:30: error: ‘is_enum’ is not a member of ‘std’ 61 | isSpecialized = std::is_enum::value, // don't require every enum to be marked manually | ^~~~~~~ /usr/include/qt5/QtCore/qglobal.h:977:39: note: ‘std::move’ is only available from C++11 onwards /usr/include/qt5/QtCore/qtypeinfo.h:61:39: error: expected primary-expression before ‘>’ token 61 | isSpecialized = std::is_enum::value, // don't require every enum to be marked manually | ^ /usr/include/qt5/QtCore/qglobal.h:977:44: error: ‘t’ was not declared in this scope 977 | QForeachContainer(T &&t) : c(std::move(t)), i(qAsConst(c).begin()), e(qAsConst(c).end()) {} | ^ /usr/include/qt5/QtCore/qglobal.h: In member function ‘QtPrivate::QForeachContainer& QtPrivate::QForeachContainer::operator=(QtPrivate::QForeachContainer)’: /usr/include/qt5/QtCore/qglobal.h:989:18: error: ‘move’ is not a member of ‘std’ 989 | c = std::move(other.c); | ^~~~ /usr/include/qt5/QtCore/qtypeinfo.h:61:42: error: ‘::value’ has not been declared 61 | isSpecialized = std::is_enum::value, // don't require every enum to be marked manually | ^~~~~ /usr/include/qt5/QtCore/qglobal.h:989:18: note: ‘std::move’ is only available from C++11 onwards /usr/include/qt5/QtCore/qtypeinfo.h:63:27: error: ‘is_integral’ is not a member of ‘std’ 63 | isIntegral = std::is_integral::value, | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:63:40: error: expected primary-expression before ‘>’ token 63 | isIntegral = std::is_integral::value, | ^ /usr/include/qt5/QtCore/qglobal.h:989:23: error: ‘other’ was not declared in this scope 989 | c = std::move(other.c); | ^~~~~ /usr/include/qt5/QtCore/qglobal.h:992:24: error: ‘move’ is not a member of ‘std’ 992 | control = std::move(other.control); | ^~~~ /usr/include/qt5/QtCore/qtypeinfo.h:307:1: error: ‘::value’ has not been declared 307 | Q_DECLARE_TYPEINFO(uint, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:992:24: note: ‘std::move’ is only available from C++11 onwards /usr/include/qt5/QtCore/qglobal.h: At global scope: /usr/include/qt5/QtCore/qglobal.h:1002:33: error: ‘decay’ in namespace ‘std’ does not name a template type 1002 | QForeachContainer::type> qMakeForeachContainer(T &&t) | ^~~~~ /usr/include/qt5/QtCore/qglobal.h:1002:38: error: expected template-argument before ‘<’ token 1002 | QForeachContainer::type> qMakeForeachContainer(T &&t) | ^ /usr/include/qt5/QtCore/qglobal.h:1002:38: error: expected ‘>’ before ‘<’ token /usr/include/qt5/QtCore/qglobal.h:1002:47: error: template argument 1 is invalid 1002 | QForeachContainer::type> qMakeForeachContainer(T &&t) | ^ /usr/include/qt5/QtCore/qglobal.h:1002:73: error: expected ‘,’ or ‘...’ before ‘&&’ token 1002 | QForeachContainer::type> qMakeForeachContainer(T &&t) | ^~ /usr/include/qt5/QtCore/qglobal.h: In function ‘int QtPrivate::qMakeForeachContainer(T)’: /usr/include/qt5/QtCore/qglobal.h:1004:44: error: ‘decay’ in namespace ‘std’ does not name a template type 1004 | return QForeachContainer::type>(std::forward(t)); | ^~~~~ /usr/include/qt5/QtCore/qglobal.h:1004:49: error: expected template-argument before ‘<’ token 1004 | return QForeachContainer::type>(std::forward(t)); | ^ /usr/include/qt5/QtCore/qglobal.h:1004:49: error: expected ‘>’ before ‘<’ token /usr/include/qt5/QtCore/qglobal.h:1004:58: error: template argument 1 is invalid 1004 | return QForeachContainer::type>(std::forward(t)); | ^ /usr/include/qt5/QtCore/qglobal.h:1004:65: error: ‘forward’ is not a member of ‘std’ 1004 | return QForeachContainer::type>(std::forward(t)); | ^~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1004:65: note: ‘std::forward’ is only available from C++11 onwards /usr/include/qt5/QtCore/qtypeinfo.h:308:1: error: ‘is_integral’ is not a member of ‘std’ 308 | Q_DECLARE_TYPEINFO(long, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: error: expected primary-expression before ‘long’ 308 | Q_DECLARE_TYPEINFO(long, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:989:23: error: ‘other’ was not declared in this scope 989 | c = std::move(other.c); | ^~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: error: expected ‘}’ before ‘long’ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: note: to match this ‘{’ 308 | Q_DECLARE_TYPEINFO(long, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: error: expected unqualified-id before ‘>’ token 308 | Q_DECLARE_TYPEINFO(long, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:992:24: error: ‘move’ is not a member of ‘std’ 992 | control = std::move(other.control); | ^~~~ In file included from /usr/include/qt5/QtCore/qatomic.h:46, from /usr/include/qt5/QtCore/qglobal.h:1210, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/mediawikimarkupbuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/mediawikimarkupbuilder.cpp:21: /usr/include/qt5/QtCore/qbasicatomic.h:61:4: error: #error "Qt requires C++11 support" 61 | # error "Qt requires C++11 support" | ^~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:63:43: error: ‘::value’ has not been declared 63 | isIntegral = std::is_integral::value, | ^~~~~ /usr/include/qt5/QtCore/qglobal.h:992:24: note: ‘std::move’ is only available from C++11 onwards /usr/include/qt5/QtCore/qglobal.h:1004:76: error: ‘t’ was not declared in this scope 1004 | return QForeachContainer::type>(std::forward(t)); | ^ /usr/include/qt5/QtCore/qglobal.h:1004:65: error: ‘forward’ is not a member of ‘std’ 1004 | return QForeachContainer::type>(std::forward(t)); | ^~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1004:65: note: ‘std::forward’ is only available from C++11 onwards /usr/include/qt5/QtCore/qglobal.h:1004:74: error: expected primary-expression before ‘>’ token 1004 | return QForeachContainer::type>(std::forward(t)); | ^ /usr/include/qt5/QtCore/qglobal.h: At global scope: /usr/include/qt5/QtCore/qglobal.h:1002:33: error: ‘decay’ in namespace ‘std’ does not name a template type 1002 | QForeachContainer::type> qMakeForeachContainer(T &&t) | ^~~~~ /usr/include/qt5/QtCore/qglobal.h:1002:38: error: expected template-argument before ‘<’ token 1002 | QForeachContainer::type> qMakeForeachContainer(T &&t) | ^ /usr/include/qt5/QtCore/qglobal.h:1002:38: error: expected ‘>’ before ‘<’ token /usr/include/qt5/QtCore/qglobal.h:1002:47: error: template argument 1 is invalid 1002 | QForeachContainer::type> qMakeForeachContainer(T &&t) | ^ /usr/include/qt5/QtCore/qglobal.h: At global scope: /usr/include/qt5/QtCore/qglobal.h:1038:70: error: expected type-specifier before ‘decltype’ 1038 | template inline auto qGetPtrHelper(const Ptr &ptr) -> decltype(ptr.operator->()) { return ptr.operator->(); } | ^~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1038:70: error: expected initializer before ‘decltype’ /usr/include/qt5/QtCore/qglobal.h:1002:73: error: expected ‘,’ or ‘...’ before ‘&&’ token 1002 | QForeachContainer::type> qMakeForeachContainer(T &&t) | ^~ /usr/include/qt5/QtCore/qglobal.h: In function ‘int QtPrivate::qMakeForeachContainer(T)’: /usr/include/qt5/QtCore/qglobal.h:1004:44: error: ‘decay’ in namespace ‘std’ does not name a template type 1004 | return QForeachContainer::type>(std::forward(t)); | ^~~~~ /usr/include/qt5/QtCore/qglobal.h:1004:49: error: expected template-argument before ‘<’ token 1004 | return QForeachContainer::type>(std::forward(t)); | ^ /usr/include/qt5/QtCore/qglobal.h:1004:49: error: expected ‘>’ before ‘<’ token /usr/include/qt5/QtCore/qtypeinfo.h:64:42: error: ‘is_enum’ is not a member of ‘std’ 64 | isComplex = !isIntegral && !std::is_enum::value, | ^~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1004:58: error: template argument 1 is invalid 1004 | return QForeachContainer::type>(std::forward(t)); | ^ /usr/include/qt5/QtCore/qtypeinfo.h:64:51: error: expected primary-expression before ‘>’ token 64 | isComplex = !isIntegral && !std::is_enum::value, | ^ /usr/include/qt5/QtCore/qglobal.h:1004:65: error: ‘forward’ is not a member of ‘std’ 1004 | return QForeachContainer::type>(std::forward(t)); | ^~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1004:65: note: ‘std::forward’ is only available from C++11 onwards /usr/include/qt5/QtCore/qglobal.h:1004:76: error: ‘t’ was not declared in this scope 1004 | return QForeachContainer::type>(std::forward(t)); | ^ /usr/include/qt5/QtCore/qtypeinfo.h:64:54: error: ‘::value’ has not been declared 64 | isComplex = !isIntegral && !std::is_enum::value, | ^~~~~ /usr/include/qt5/QtCore/qglobal.h:1004:65: error: ‘forward’ is not a member of ‘std’ 1004 | return QForeachContainer::type>(std::forward(t)); | ^~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1004:65: note: ‘std::forward’ is only available from C++11 onwards /usr/include/qt5/QtCore/qglobal.h:1004:74: error: expected primary-expression before ‘>’ token 1004 | return QForeachContainer::type>(std::forward(t)); | ^ /usr/include/qt5/QtCore/qglobal.h:1172:79: error: ‘nullptr’ was not declared in this scope 1172 | Q_CORE_EXPORT int qEnvironmentVariableIntValue(const char *varName, bool *ok=nullptr) Q_DECL_NOEXCEPT; | ^~~~~~~ /usr/include/qt5/QtCore/qglobal.h: At global scope: /usr/include/qt5/QtCore/qglobal.h:1038:70: error: expected type-specifier before ‘decltype’ 1038 | template inline auto qGetPtrHelper(const Ptr &ptr) -> decltype(ptr.operator->()) { return ptr.operator->(); } | ^~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1038:70: error: expected initializer before ‘decltype’ /usr/include/qt5/QtCore/qtypeinfo.h:66:30: error: ‘is_enum’ is not a member of ‘std’ 66 | isRelocatable = std::is_enum::value, | ^~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:66:39: error: expected primary-expression before ‘>’ token 66 | isRelocatable = std::is_enum::value, | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/texthtmlbuilder.h:28, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/texthtmlbuilder.cpp:21: /usr/include/qt5/QtCore/qtypeinfo.h:61:30: error: ‘is_enum’ is not a member of ‘std’ 61 | isSpecialized = std::is_enum::value, // don't require every enum to be marked manually | ^~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: error: redefinition of ‘const char* name()’ 308 | Q_DECLARE_TYPEINFO(long, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: ‘const char* name()’ previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: error: expected declaration before ‘}’ token 308 | Q_DECLARE_TYPEINFO(long, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:309:1: error: ‘is_integral’ is not a member of ‘std’ 309 | Q_DECLARE_TYPEINFO(ulong, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:309:1: error: expected primary-expression before ‘>’ token 309 | Q_DECLARE_TYPEINFO(ulong, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:309:1: error: ‘::value’ has not been declared 309 | Q_DECLARE_TYPEINFO(ulong, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:310:1: error: ‘is_integral’ is not a member of ‘std’ 310 | Q_DECLARE_TYPEINFO(qint64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:310:1: error: expected primary-expression before ‘>’ token 310 | Q_DECLARE_TYPEINFO(qint64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:310:1: error: ‘::value’ has not been declared 310 | Q_DECLARE_TYPEINFO(qint64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:311:1: error: ‘is_integral’ is not a member of ‘std’ 311 | Q_DECLARE_TYPEINFO(quint64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:311:1: error: expected primary-expression before ‘>’ token 311 | Q_DECLARE_TYPEINFO(quint64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:311:1: error: ‘::value’ has not been declared 311 | Q_DECLARE_TYPEINFO(quint64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: error: ‘is_integral’ is not a member of ‘std’ 312 | Q_DECLARE_TYPEINFO(float, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: error: expected primary-expression before ‘float’ 312 | Q_DECLARE_TYPEINFO(float, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: error: expected ‘}’ before ‘float’ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: note: to match this ‘{’ 312 | Q_DECLARE_TYPEINFO(float, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:66:42: error: ‘::value’ has not been declared 66 | isRelocatable = std::is_enum::value, | ^~~~~ /usr/include/qt5/QtCore/qglobal.h:1172:79: error: ‘nullptr’ was not declared in this scope 1172 | Q_CORE_EXPORT int qEnvironmentVariableIntValue(const char *varName, bool *ok=nullptr) Q_DECL_NOEXCEPT; | ^~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: error: expected unqualified-id before ‘>’ token 312 | Q_DECLARE_TYPEINFO(float, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: error: redefinition of ‘const char* name()’ 312 | Q_DECLARE_TYPEINFO(float, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: ‘const char* name()’ previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: error: expected declaration before ‘}’ token 312 | Q_DECLARE_TYPEINFO(float, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:130:40: error: ‘enable_if’ in namespace ‘std’ does not name a template type 130 | struct QTypeInfoQuery::isRelocatable || true>::type> : public QTypeInfo | ^~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:130:49: error: expected template-argument before ‘<’ token 130 | struct QTypeInfoQuery::isRelocatable || true>::type> : public QTypeInfo | ^ /usr/include/qt5/QtCore/qtypeinfo.h:130:49: error: expected ‘>’ before ‘<’ token /usr/include/qt5/QtCore/qtypeinfo.h:130:92: error: template argument 2 is invalid 130 | struct QTypeInfoQuery::isRelocatable || true>::type> : public QTypeInfo | ^ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: error: ‘is_integral’ is not a member of ‘std’ 313 | Q_DECLARE_TYPEINFO(double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: error: expected primary-expression before ‘double’ 313 | Q_DECLARE_TYPEINFO(double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: error: expected ‘}’ before ‘double’ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: note: to match this ‘{’ 313 | Q_DECLARE_TYPEINFO(double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:61:39: error: expected primary-expression before ‘>’ token 61 | isSpecialized = std::is_enum::value, // don't require every enum to be marked manually | ^ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: error: expected unqualified-id before ‘>’ token 313 | Q_DECLARE_TYPEINFO(double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: error: redefinition of ‘const char* name()’ 313 | Q_DECLARE_TYPEINFO(double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: ‘const char* name()’ previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/mediawikimarkupbuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/mediawikimarkupbuilder.cpp:21: /usr/include/qt5/QtCore/qglobal.h:505:7: error: expected nested-name-specifier before ‘qsizetype’ 505 | using qsizetype = QIntegerForSizeof::Signed; | ^~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.h:31, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.cpp:21: /usr/include/qt5/QtCore/qtypeinfo.h:61:30: error: ‘is_enum’ is not a member of ‘std’ 61 | isSpecialized = std::is_enum::value, // don't require every enum to be marked manually | ^~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:270:1: error: ‘is_integral’ is not a member of ‘std’ 270 | Q_DECLARE_TYPEINFO_BODY(QFlags, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: error: expected declaration before ‘}’ token 313 | Q_DECLARE_TYPEINFO(double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:61:39: error: expected primary-expression before ‘>’ token 61 | isSpecialized = std::is_enum::value, // don't require every enum to be marked manually | ^ /usr/include/qt5/QtCore/qtypeinfo.h:270:1: error: expected primary-expression before ‘>’ token 270 | Q_DECLARE_TYPEINFO_BODY(QFlags, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:270:1: error: ‘::value’ has not been declared 270 | Q_DECLARE_TYPEINFO_BODY(QFlags, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: error: ‘is_integral’ is not a member of ‘std’ 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: error: expected primary-expression before ‘bool’ 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: error: expected ‘}’ before ‘bool’ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: to match this ‘{’ 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: error: expected unqualified-id before ‘>’ token 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: error: expected declaration before ‘}’ token 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: ‘is_integral’ is not a member of ‘std’ 301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: expected primary-expression before ‘char’ 301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: expected ‘}’ before ‘char’ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: note: to match this ‘{’ 301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: expected unqualified-id before ‘>’ token 301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: redefinition of ‘const char* name()’ 301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: ‘const char* name()’ previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: expected declaration before ‘}’ token 301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: error: ‘is_integral’ is not a member of ‘std’ 302 | Q_DECLARE_TYPEINFO(signed char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: error: expected primary-expression before ‘signed’ 302 | Q_DECLARE_TYPEINFO(signed char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: error: expected ‘}’ before ‘signed’ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: note: to match this ‘{’ 302 | Q_DECLARE_TYPEINFO(signed char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: error: expected unqualified-id before ‘>’ token 302 | Q_DECLARE_TYPEINFO(signed char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: error: redefinition of ‘const char* name()’ 302 | Q_DECLARE_TYPEINFO(signed char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: ‘const char* name()’ previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: error: expected declaration before ‘}’ token 302 | Q_DECLARE_TYPEINFO(signed char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:303:1: error: ‘is_integral’ is not a member of ‘std’ 303 | Q_DECLARE_TYPEINFO(uchar, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:303:1: error: expected primary-expression before ‘>’ token 303 | Q_DECLARE_TYPEINFO(uchar, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:303:1: error: ‘::value’ has not been declared 303 | Q_DECLARE_TYPEINFO(uchar, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: error: ‘is_integral’ is not a member of ‘std’ 304 | Q_DECLARE_TYPEINFO(short, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: error: expected primary-expression before ‘short’ 304 | Q_DECLARE_TYPEINFO(short, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: error: expected ‘}’ before ‘short’ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: note: to match this ‘{’ 304 | Q_DECLARE_TYPEINFO(short, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: error: expected unqualified-id before ‘>’ token 304 | Q_DECLARE_TYPEINFO(short, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: error: redefinition of ‘const char* name()’ 304 | Q_DECLARE_TYPEINFO(short, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: ‘const char* name()’ previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: error: expected declaration before ‘}’ token 304 | Q_DECLARE_TYPEINFO(short, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:305:1: error: ‘is_integral’ is not a member of ‘std’ 305 | Q_DECLARE_TYPEINFO(ushort, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: error: ‘is_integral’ is not a member of ‘std’ 328 | Q_DECLARE_TYPEINFO(long double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:305:1: error: expected primary-expression before ‘>’ token 305 | Q_DECLARE_TYPEINFO(ushort, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: error: expected primary-expression before ‘long’ 328 | Q_DECLARE_TYPEINFO(long double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: error: expected ‘}’ before ‘long’ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: note: to match this ‘{’ 328 | Q_DECLARE_TYPEINFO(long double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: error: expected unqualified-id before ‘>’ token 328 | Q_DECLARE_TYPEINFO(long double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: error: redefinition of ‘const char* name()’ 328 | Q_DECLARE_TYPEINFO(long double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: ‘const char* name()’ previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: error: expected declaration before ‘}’ token 328 | Q_DECLARE_TYPEINFO(long double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: error: ‘is_integral’ is not a member of ‘std’ 337 | Q_DECLARE_TYPEINFO(wchar_t, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: error: expected primary-expression before ‘wchar_t’ 337 | Q_DECLARE_TYPEINFO(wchar_t, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: error: expected ‘}’ before ‘wchar_t’ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: note: to match this ‘{’ 337 | Q_DECLARE_TYPEINFO(wchar_t, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:305:1: error: ‘::value’ has not been declared 305 | Q_DECLARE_TYPEINFO(ushort, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: error: expected unqualified-id before ‘>’ token 337 | Q_DECLARE_TYPEINFO(wchar_t, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: error: redefinition of ‘const char* name()’ 337 | Q_DECLARE_TYPEINFO(wchar_t, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: ‘const char* name()’ previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: error: expected declaration before ‘}’ token 337 | Q_DECLARE_TYPEINFO(wchar_t, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: error: ‘is_integral’ is not a member of ‘std’ 306 | Q_DECLARE_TYPEINFO(int, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:61:42: error: ‘::value’ has not been declared 61 | isSpecialized = std::is_enum::value, // don't require every enum to be marked manually | ^~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: error: expected primary-expression before ‘int’ 306 | Q_DECLARE_TYPEINFO(int, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: error: expected ‘}’ before ‘int’ /usr/include/qt5/QtCore/qtypeinfo.h:61:42: error: ‘::value’ has not been declared 61 | isSpecialized = std::is_enum::value, // don't require every enum to be marked manually | ^~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: note: to match this ‘{’ 306 | Q_DECLARE_TYPEINFO(int, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: error: expected unqualified-id before ‘>’ token 306 | Q_DECLARE_TYPEINFO(int, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: error: redefinition of ‘const char* name()’ 306 | Q_DECLARE_TYPEINFO(int, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: ‘const char* name()’ previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: error: expected declaration before ‘}’ token 306 | Q_DECLARE_TYPEINFO(int, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:63:27: error: ‘is_integral’ is not a member of ‘std’ 63 | isIntegral = std::is_integral::value, | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:63:40: error: expected primary-expression before ‘>’ token 63 | isIntegral = std::is_integral::value, | ^ /usr/include/qt5/QtCore/qtypeinfo.h:63:27: error: ‘is_integral’ is not a member of ‘std’ 63 | isIntegral = std::is_integral::value, | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:63:40: error: expected primary-expression before ‘>’ token 63 | isIntegral = std::is_integral::value, | ^ /usr/include/qt5/QtCore/qtypeinfo.h:307:1: error: ‘is_integral’ is not a member of ‘std’ 307 | Q_DECLARE_TYPEINFO(uint, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/mediawikimarkupbuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/mediawikimarkupbuilder.cpp:21: /usr/include/qt5/QtCore/qglobal.h:827:1: error: expected unqualified-id before ‘[’ token 827 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qFuzzyCompare(double p1, double p2) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:307:1: error: expected primary-expression before ‘>’ token 307 | Q_DECLARE_TYPEINFO(uint, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:832:1: error: expected unqualified-id before ‘[’ token 832 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qFuzzyCompare(float p1, float p2) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:837:1: error: expected unqualified-id before ‘[’ token 837 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qFuzzyIsNull(double d) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:842:1: error: expected unqualified-id before ‘[’ token 842 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qFuzzyIsNull(float f) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:852:1: error: expected unqualified-id before ‘[’ token 852 | Q_REQUIRED_RESULT static inline Q_DECL_UNUSED bool qIsNull(double d) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:868:1: error: expected unqualified-id before ‘[’ token 868 | Q_REQUIRED_RESULT static inline Q_DECL_UNUSED bool qIsNull(float f) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/mediawikimarkupbuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/mediawikimarkupbuilder.cpp:21: /usr/include/qt5/QtCore/qglobal.h:963:32: error: ‘add_const’ in namespace ‘std’ does not name a template type 963 | Q_DECL_CONSTEXPR typename std::add_const::type &qAsConst(T &t) Q_DECL_NOTHROW { return t; } | ^~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1206, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.cpp:21: /usr/include/qt5/QtCore/qlogging.h: In constructor ‘QMessageLogContext::QMessageLogContext()’: /usr/include/qt5/QtCore/qlogging.h:67:37: error: ‘nullptr’ was not declared in this scope 67 | : version(2), line(0), file(nullptr), function(nullptr), category(nullptr) {} | ^~~~~~~ /usr/include/qt5/QtCore/qglobal.h:963:41: error: expected unqualified-id before ‘<’ token 963 | Q_DECL_CONSTEXPR typename std::add_const<T>::type &qAsConst(T &t) Q_DECL_NOTHROW { return t; } | ^ /usr/include/qt5/QtCore/qglobal.h:966:23: error: expected ‘,’ or ‘...’ before ‘&&’ token 966 | void qAsConst(const T &&) Q_DECL_EQ_DELETE; | ^~ /usr/include/qt5/QtCore/qglobal.h:977:25: error: expected ‘,’ or ‘...’ before ‘&&’ token 977 | QForeachContainer(T &&t) : c(std::move(t)), i(qAsConst(c).begin()), e(qAsConst(c).end()) {} | ^~ /usr/include/qt5/QtCore/qglobal.h:979:41: error: expected ‘,’ or ‘...’ before ‘&&’ token 979 | QForeachContainer(QForeachContainer &&other) | ^~ /usr/include/qt5/QtCore/qglobal.h:979:48: error: invalid constructor; you probably meant ‘QtPrivate::QForeachContainer (const QtPrivate::QForeachContainer&)’ 979 | QForeachContainer(QForeachContainer &&other) | ^ /usr/include/qt5/QtCore/qglobal.h:987:52: error: expected ‘,’ or ‘...’ before ‘&&’ token 987 | QForeachContainer &operator=(QForeachContainer &&other) | ^~ /usr/include/qt5/QtCore/qglobal.h: In constructor ‘QtPrivate::QForeachContainer::QForeachContainer(T)’: /usr/include/qt5/QtCore/qglobal.h:977:39: error: ‘move’ is not a member of ‘std’ 977 | QForeachContainer(T &&t) : c(std::move(t)), i(qAsConst(c).begin()), e(qAsConst(c).end()) {} | ^~~~ /usr/include/qt5/QtCore/qglobal.h:977:39: note: ‘std::move’ is only available from C++11 onwards /usr/include/qt5/QtCore/qglobal.h:977:44: error: ‘t’ was not declared in this scope 977 | QForeachContainer(T &&t) : c(std::move(t)), i(qAsConst(c).begin()), e(qAsConst(c).end()) {} | ^ /usr/include/qt5/QtCore/qglobal.h: In member function ‘QtPrivate::QForeachContainer& QtPrivate::QForeachContainer::operator=(QtPrivate::QForeachContainer)’: /usr/include/qt5/QtCore/qglobal.h:989:18: error: ‘move’ is not a member of ‘std’ 989 | c = std::move(other.c); | ^~~~ /usr/include/qt5/QtCore/qglobal.h:989:18: note: ‘std::move’ is only available from C++11 onwards /usr/include/qt5/QtCore/qglobal.h:989:23: error: ‘other’ was not declared in this scope 989 | c = std::move(other.c); | ^~~~~ /usr/include/qt5/QtCore/qglobal.h:992:24: error: ‘move’ is not a member of ‘std’ 992 | control = std::move(other.control); | ^~~~ /usr/include/qt5/QtCore/qglobal.h:992:24: note: ‘std::move’ is only available from C++11 onwards /usr/include/qt5/QtCore/qglobal.h: At global scope: /usr/include/qt5/QtCore/qglobal.h:1002:33: error: ‘decay’ in namespace ‘std’ does not name a template type 1002 | QForeachContainer::type> qMakeForeachContainer(T &&t) | ^~~~~ /usr/include/qt5/QtCore/qglobal.h:1002:38: error: expected template-argument before ‘<’ token 1002 | QForeachContainer::type> qMakeForeachContainer(T &&t) | ^ /usr/include/qt5/QtCore/qglobal.h:1002:38: error: expected ‘>’ before ‘<’ token /usr/include/qt5/QtCore/qglobal.h:1002:47: error: template argument 1 is invalid 1002 | QForeachContainer::type> qMakeForeachContainer(T &&t) | ^ /usr/include/qt5/QtCore/qglobal.h:1002:73: error: expected ‘,’ or ‘...’ before ‘&&’ token 1002 | QForeachContainer::type> qMakeForeachContainer(T &&t) | ^~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.cpp:21: /usr/include/qt5/QtCore/qflags.h: At global scope: /usr/include/qt5/QtCore/qflags.h:74:1: error: ‘is_integral’ is not a member of ‘std’ 74 | Q_DECLARE_TYPEINFO(QFlag, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:63:43: error: ‘::value’ has not been declared 63 | isIntegral = std::is_integral::value, | ^~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:63:43: error: ‘::value’ has not been declared 63 | isIntegral = std::is_integral::value, | ^~~~~ /usr/include/qt5/QtCore/qflags.h:74:1: error: expected primary-expression before ‘>’ token 74 | Q_DECLARE_TYPEINFO(QFlag, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:307:1: error: ‘::value’ has not been declared 307 | Q_DECLARE_TYPEINFO(uint, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:64:42: error: ‘is_enum’ is not a member of ‘std’ 64 | isComplex = !isIntegral && !std::is_enum::value, | ^~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:64:42: error: ‘is_enum’ is not a member of ‘std’ 64 | isComplex = !isIntegral && !std::is_enum::value, | ^~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:64:51: error: expected primary-expression before ‘>’ token 64 | isComplex = !isIntegral && !std::is_enum::value, | ^ /usr/include/qt5/QtCore/qtypeinfo.h:64:51: error: expected primary-expression before ‘>’ token 64 | isComplex = !isIntegral && !std::is_enum::value, | ^ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: error: ‘is_integral’ is not a member of ‘std’ 308 | Q_DECLARE_TYPEINFO(long, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: error: expected primary-expression before ‘long’ 308 | Q_DECLARE_TYPEINFO(long, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: error: expected ‘}’ before ‘long’ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: note: to match this ‘{’ 308 | Q_DECLARE_TYPEINFO(long, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: error: expected unqualified-id before ‘>’ token 308 | Q_DECLARE_TYPEINFO(long, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: error: redefinition of ‘const char* name()’ 308 | Q_DECLARE_TYPEINFO(long, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: ‘const char* name()’ previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: error: expected declaration before ‘}’ token 308 | Q_DECLARE_TYPEINFO(long, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:64:54: error: ‘::value’ has not been declared 64 | isComplex = !isIntegral && !std::is_enum::value, | ^~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:64:54: error: ‘::value’ has not been declared 64 | isComplex = !isIntegral && !std::is_enum::value, | ^~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:66:30: error: ‘is_enum’ is not a member of ‘std’ 66 | isRelocatable = std::is_enum::value, | ^~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:66:39: error: expected primary-expression before ‘>’ token 66 | isRelocatable = std::is_enum::value, | ^ /usr/include/qt5/QtCore/qtypeinfo.h:66:30: error: ‘is_enum’ is not a member of ‘std’ 66 | isRelocatable = std::is_enum::value, | ^~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:66:39: error: expected primary-expression before ‘>’ token 66 | isRelocatable = std::is_enum::value, | ^ /usr/include/qt5/QtCore/qtypeinfo.h:66:42: error: ‘::value’ has not been declared 66 | isRelocatable = std::is_enum::value, | ^~~~~ /usr/include/qt5/QtCore/qflags.h:74:1: error: ‘::value’ has not been declared 74 | Q_DECLARE_TYPEINFO(QFlag, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:66:42: error: ‘::value’ has not been declared 66 | isRelocatable = std::is_enum::value, | ^~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:130:40: error: ‘enable_if’ in namespace ‘std’ does not name a template type 130 | struct QTypeInfoQuery::isRelocatable || true>::type> : public QTypeInfo | ^~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:130:40: error: ‘enable_if’ in namespace ‘std’ does not name a template type 130 | struct QTypeInfoQuery::isRelocatable || true>::type> : public QTypeInfo | ^~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:130:49: error: expected template-argument before ‘<’ token 130 | struct QTypeInfoQuery::isRelocatable || true>::type> : public QTypeInfo | ^ /usr/include/qt5/QtCore/qglobal.h: In function ‘int QtPrivate::qMakeForeachContainer(T)’: /usr/include/qt5/QtCore/qglobal.h:1004:44: error: ‘decay’ in namespace ‘std’ does not name a template type 1004 | return QForeachContainer::type>(std::forward(t)); | ^~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:130:49: error: expected template-argument before ‘<’ token 130 | struct QTypeInfoQuery::isRelocatable || true>::type> : public QTypeInfo | ^ /usr/include/qt5/QtCore/qflags.h:83:1: error: ‘is_integral’ is not a member of ‘std’ 83 | Q_DECLARE_TYPEINFO(QIncompatibleFlag, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1004:49: error: expected template-argument before ‘<’ token 1004 | return QForeachContainer::type>(std::forward(t)); | ^ /usr/include/qt5/QtCore/qtypeinfo.h:309:1: error: ‘is_integral’ is not a member of ‘std’ 309 | Q_DECLARE_TYPEINFO(ulong, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1004:49: error: expected ‘>’ before ‘<’ token /usr/include/qt5/QtCore/qtypeinfo.h:130:49: error: expected ‘>’ before ‘<’ token /usr/include/qt5/QtCore/qtypeinfo.h:130:49: error: expected ‘>’ before ‘<’ token /usr/include/qt5/QtCore/qglobal.h:1004:58: error: template argument 1 is invalid 1004 | return QForeachContainer::type>(std::forward(t)); | ^ /usr/include/qt5/QtCore/qtypeinfo.h:130:92: error: template argument 2 is invalid 130 | struct QTypeInfoQuery::isRelocatable || true>::type> : public QTypeInfo | ^ /usr/include/qt5/QtCore/qtypeinfo.h:130:92: error: template argument 2 is invalid 130 | struct QTypeInfoQuery::isRelocatable || true>::type> : public QTypeInfo | ^ /usr/include/qt5/QtCore/qglobal.h:1004:65: error: ‘forward’ is not a member of ‘std’ 1004 | return QForeachContainer::type>(std::forward(t)); | ^~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1004:65: note: ‘std::forward’ is only available from C++11 onwards /usr/include/qt5/QtCore/qglobal.h:1004:76: error: ‘t’ was not declared in this scope 1004 | return QForeachContainer::type>(std::forward(t)); | ^ /usr/include/qt5/QtCore/qglobal.h:1004:65: error: ‘forward’ is not a member of ‘std’ 1004 | return QForeachContainer::type>(std::forward(t)); | ^~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1004:65: note: ‘std::forward’ is only available from C++11 onwards /usr/include/qt5/QtCore/qglobal.h:1004:74: error: expected primary-expression before ‘>’ token 1004 | return QForeachContainer::type>(std::forward(t)); | ^ /usr/include/qt5/QtCore/qglobal.h: At global scope: /usr/include/qt5/QtCore/qglobal.h:1038:70: error: expected type-specifier before ‘decltype’ 1038 | template inline auto qGetPtrHelper(const Ptr &ptr) -> decltype(ptr.operator->()) { return ptr.operator->(); } | ^~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1038:70: error: expected initializer before ‘decltype’ /usr/include/qt5/QtCore/qtypeinfo.h:270:1: error: ‘is_integral’ is not a member of ‘std’ 270 | Q_DECLARE_TYPEINFO_BODY(QFlags, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:270:1: error: ‘is_integral’ is not a member of ‘std’ 270 | Q_DECLARE_TYPEINFO_BODY(QFlags, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:270:1: error: expected primary-expression before ‘>’ token 270 | Q_DECLARE_TYPEINFO_BODY(QFlags, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:270:1: error: expected primary-expression before ‘>’ token 270 | Q_DECLARE_TYPEINFO_BODY(QFlags, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:309:1: error: expected primary-expression before ‘>’ token 309 | Q_DECLARE_TYPEINFO(ulong, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1172:79: error: ‘nullptr’ was not declared in this scope 1172 | Q_CORE_EXPORT int qEnvironmentVariableIntValue(const char *varName, bool *ok=nullptr) Q_DECL_NOEXCEPT; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/mediawikimarkupbuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/mediawikimarkupbuilder.cpp:21: /usr/include/qt5/QtCore/qtypeinfo.h:61:30: error: ‘is_enum’ is not a member of ‘std’ 61 | isSpecialized = std::is_enum::value, // don't require every enum to be marked manually | ^~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:270:1: error: ‘::value’ has not been declared 270 | Q_DECLARE_TYPEINFO_BODY(QFlags, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:61:39: error: expected primary-expression before ‘>’ token 61 | isSpecialized = std::is_enum::value, // don't require every enum to be marked manually | ^ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: error: ‘is_integral’ is not a member of ‘std’ 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: error: expected primary-expression before ‘bool’ 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: error: expected ‘}’ before ‘bool’ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: to match this ‘{’ 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: error: expected unqualified-id before ‘>’ token 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: error: expected declaration before ‘}’ token 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:61:42: error: ‘::value’ has not been declared 61 | isSpecialized = std::is_enum::value, // don't require every enum to be marked manually | ^~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:63:27: error: ‘is_integral’ is not a member of ‘std’ 63 | isIntegral = std::is_integral::value, | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: ‘is_integral’ is not a member of ‘std’ 301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:63:40: error: expected primary-expression before ‘>’ token 63 | isIntegral = std::is_integral::value, | ^ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: expected primary-expression before ‘char’ 301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: expected ‘}’ before ‘char’ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: note: to match this ‘{’ 301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: expected unqualified-id before ‘>’ token 301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: redefinition of ‘const char* name()’ 301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: ‘const char* name()’ previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: expected declaration before ‘}’ token 301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: error: ‘is_integral’ is not a member of ‘std’ 302 | Q_DECLARE_TYPEINFO(signed char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:309:1: error: ‘::value’ has not been declared 309 | Q_DECLARE_TYPEINFO(ulong, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:270:1: error: ‘::value’ has not been declared 270 | Q_DECLARE_TYPEINFO_BODY(QFlags, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: error: ‘is_integral’ is not a member of ‘std’ 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: error: expected primary-expression before ‘bool’ 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: error: expected ‘}’ before ‘bool’ /usr/include/qt5/QtCore/qtypeinfo.h:310:1: error: ‘is_integral’ is not a member of ‘std’ 310 | Q_DECLARE_TYPEINFO(qint64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: to match this ‘{’ 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:310:1: error: expected primary-expression before ‘>’ token 310 | Q_DECLARE_TYPEINFO(qint64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: error: expected unqualified-id before ‘>’ token 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: error: expected declaration before ‘}’ token 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: ‘is_integral’ is not a member of ‘std’ 301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:83:1: error: expected primary-expression before ‘>’ token 83 | Q_DECLARE_TYPEINFO(QIncompatibleFlag, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: expected primary-expression before ‘char’ 301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: expected ‘}’ before ‘char’ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: note: to match this ‘{’ 301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: expected unqualified-id before ‘>’ token 301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: redefinition of ‘const char* name()’ 301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: ‘const char* name()’ previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: expected declaration before ‘}’ token 301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: error: ‘is_integral’ is not a member of ‘std’ 302 | Q_DECLARE_TYPEINFO(signed char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: error: expected primary-expression before ‘signed’ 302 | Q_DECLARE_TYPEINFO(signed char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: error: expected ‘}’ before ‘signed’ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: note: to match this ‘{’ 302 | Q_DECLARE_TYPEINFO(signed char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: error: expected unqualified-id before ‘>’ token 302 | Q_DECLARE_TYPEINFO(signed char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: error: redefinition of ‘const char* name()’ 302 | Q_DECLARE_TYPEINFO(signed char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: ‘const char* name()’ previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: error: expected declaration before ‘}’ token 302 | Q_DECLARE_TYPEINFO(signed char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:83:1: error: ‘::value’ has not been declared 83 | Q_DECLARE_TYPEINFO(QIncompatibleFlag, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:303:1: error: ‘is_integral’ is not a member of ‘std’ 303 | Q_DECLARE_TYPEINFO(uchar, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:303:1: error: expected primary-expression before ‘>’ token 303 | Q_DECLARE_TYPEINFO(uchar, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.cpp:21: /usr/include/qt5/QtCore/qflags.h:96:5: error: ‘is_enum’ is not a member of ‘std’ 96 | Q_STATIC_ASSERT_X((std::is_enum::value), "QFlags is only usable on enumeration types."); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:63:43: error: ‘::value’ has not been declared 63 | isIntegral = std::is_integral::value, | ^~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: error: expected primary-expression before ‘signed’ 302 | Q_DECLARE_TYPEINFO(signed char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: error: expected ‘}’ before ‘signed’ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: note: to match this ‘{’ 302 | Q_DECLARE_TYPEINFO(signed char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: error: expected unqualified-id before ‘>’ token 302 | Q_DECLARE_TYPEINFO(signed char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: error: redefinition of ‘const char* name()’ 302 | Q_DECLARE_TYPEINFO(signed char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: ‘const char* name()’ previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: error: expected declaration before ‘}’ token 302 | Q_DECLARE_TYPEINFO(signed char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:64:42: error: ‘is_enum’ is not a member of ‘std’ 64 | isComplex = !isIntegral && !std::is_enum::value, | ^~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:64:51: error: expected primary-expression before ‘>’ token 64 | isComplex = !isIntegral && !std::is_enum::value, | ^ /usr/include/qt5/QtCore/qtypeinfo.h:303:1: error: ‘is_integral’ is not a member of ‘std’ 303 | Q_DECLARE_TYPEINFO(uchar, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:303:1: error: expected primary-expression before ‘>’ token 303 | Q_DECLARE_TYPEINFO(uchar, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:64:54: error: ‘::value’ has not been declared 64 | isComplex = !isIntegral && !std::is_enum::value, | ^~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:66:30: error: ‘is_enum’ is not a member of ‘std’ 66 | isRelocatable = std::is_enum::value, | ^~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:66:39: error: expected primary-expression before ‘>’ token 66 | isRelocatable = std::is_enum::value, | ^ /usr/include/qt5/QtCore/qtypeinfo.h:303:1: error: ‘::value’ has not been declared 303 | Q_DECLARE_TYPEINFO(uchar, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:66:42: error: ‘::value’ has not been declared 66 | isRelocatable = std::is_enum::value, | ^~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: error: ‘is_integral’ is not a member of ‘std’ 304 | Q_DECLARE_TYPEINFO(short, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: error: expected primary-expression before ‘short’ 304 | Q_DECLARE_TYPEINFO(short, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: error: expected ‘}’ before ‘short’ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: note: to match this ‘{’ 304 | Q_DECLARE_TYPEINFO(short, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: error: expected unqualified-id before ‘>’ token 304 | Q_DECLARE_TYPEINFO(short, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: error: redefinition of ‘const char* name()’ 304 | Q_DECLARE_TYPEINFO(short, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: ‘const char* name()’ previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: error: expected declaration before ‘}’ token 304 | Q_DECLARE_TYPEINFO(short, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:130:40: error: ‘enable_if’ in namespace ‘std’ does not name a template type 130 | struct QTypeInfoQuery::isRelocatable || true>::type> : public QTypeInfo | ^~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:130:49: error: expected template-argument before ‘<’ token 130 | struct QTypeInfoQuery::isRelocatable || true>::type> : public QTypeInfo | ^ /usr/include/qt5/QtCore/qtypeinfo.h:130:49: error: expected ‘>’ before ‘<’ token /usr/include/qt5/QtCore/qtypeinfo.h:130:92: error: template argument 2 is invalid 130 | struct QTypeInfoQuery::isRelocatable || true>::type> : public QTypeInfo | ^ /usr/include/qt5/QtCore/qtypeinfo.h:310:1: error: ‘::value’ has not been declared 310 | Q_DECLARE_TYPEINFO(qint64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:303:1: error: ‘::value’ has not been declared 303 | Q_DECLARE_TYPEINFO(uchar, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:311:1: error: ‘is_integral’ is not a member of ‘std’ 311 | Q_DECLARE_TYPEINFO(quint64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:96:5: error: expected primary-expression before ‘>’ token 96 | Q_STATIC_ASSERT_X((std::is_enum::value), "QFlags is only usable on enumeration types."); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:311:1: error: expected primary-expression before ‘>’ token 311 | Q_DECLARE_TYPEINFO(quint64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:311:1: error: ‘::value’ has not been declared 311 | Q_DECLARE_TYPEINFO(quint64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:270:1: error: ‘is_integral’ is not a member of ‘std’ 270 | Q_DECLARE_TYPEINFO_BODY(QFlags, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:270:1: error: expected primary-expression before ‘>’ token 270 | Q_DECLARE_TYPEINFO_BODY(QFlags, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: error: ‘is_integral’ is not a member of ‘std’ 304 | Q_DECLARE_TYPEINFO(short, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: error: expected primary-expression before ‘short’ 304 | Q_DECLARE_TYPEINFO(short, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:305:1: error: ‘is_integral’ is not a member of ‘std’ 305 | Q_DECLARE_TYPEINFO(ushort, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: error: expected ‘}’ before ‘short’ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: note: to match this ‘{’ 304 | Q_DECLARE_TYPEINFO(short, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:305:1: error: expected primary-expression before ‘>’ token 305 | Q_DECLARE_TYPEINFO(ushort, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: error: expected unqualified-id before ‘>’ token 304 | Q_DECLARE_TYPEINFO(short, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: error: redefinition of ‘const char* name()’ 304 | Q_DECLARE_TYPEINFO(short, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: ‘const char* name()’ previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: error: expected declaration before ‘}’ token 304 | Q_DECLARE_TYPEINFO(short, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:305:1: error: ‘is_integral’ is not a member of ‘std’ 305 | Q_DECLARE_TYPEINFO(ushort, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:305:1: error: expected primary-expression before ‘>’ token 305 | Q_DECLARE_TYPEINFO(ushort, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:305:1: error: ‘::value’ has not been declared 305 | Q_DECLARE_TYPEINFO(ushort, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: error: ‘is_integral’ is not a member of ‘std’ 306 | Q_DECLARE_TYPEINFO(int, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:305:1: error: ‘::value’ has not been declared 305 | Q_DECLARE_TYPEINFO(ushort, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: error: expected primary-expression before ‘int’ 306 | Q_DECLARE_TYPEINFO(int, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: error: expected ‘}’ before ‘int’ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: note: to match this ‘{’ 306 | Q_DECLARE_TYPEINFO(int, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: error: expected unqualified-id before ‘>’ token 306 | Q_DECLARE_TYPEINFO(int, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: error: redefinition of ‘const char* name()’ 306 | Q_DECLARE_TYPEINFO(int, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:96:5: error: ‘::value’ has not been declared 96 | Q_STATIC_ASSERT_X((std::is_enum::value), "QFlags is only usable on enumeration types."); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: ‘const char* name()’ previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: error: expected declaration before ‘}’ token 306 | Q_DECLARE_TYPEINFO(int, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.cpp:21: /usr/include/qt5/QtCore/qflags.h:108:27: error: ‘conditional’ in namespace ‘std’ does not name a template type 108 | typedef typename std::conditional< | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:108:38: error: expected unqualified-id before ‘<’ token 108 | typedef typename std::conditional< | ^ /usr/include/qt5/QtCore/qtypeinfo.h:307:1: error: ‘is_integral’ is not a member of ‘std’ 307 | Q_DECLARE_TYPEINFO(uint, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:307:1: error: expected primary-expression before ‘>’ token 307 | Q_DECLARE_TYPEINFO(uint, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:137:38: error: expected type-specifier before ‘Int’ 137 | Q_DECL_CONSTEXPR inline operator Int() const Q_DECL_NOTHROW { return i; } | ^~~ /usr/include/qt5/QtCore/qtypeinfo.h:307:1: error: ‘::value’ has not been declared 307 | Q_DECLARE_TYPEINFO(uint, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.cpp:21: /usr/include/qt5/QtCore/qflags.h:166:5: error: ‘Int’ does not name a type; did you mean ‘int’? 166 | Int i; | ^~~ | int /usr/include/qt5/QtCore/qtypeinfo.h:312:1: error: ‘is_integral’ is not a member of ‘std’ 312 | Q_DECLARE_TYPEINFO(float, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:270:1: error: ‘::value’ has not been declared 270 | Q_DECLARE_TYPEINFO_BODY(QFlags, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: error: expected primary-expression before ‘float’ 312 | Q_DECLARE_TYPEINFO(float, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: error: expected ‘}’ before ‘float’ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.cpp:21: /usr/include/qt5/QtCore/qflags.h: In constructor ‘QFlags::QFlags(Enum)’: /usr/include/qt5/QtCore/qflags.h:120:65: error: class ‘QFlags’ does not have any field named ‘i’ 120 | Q_DECL_CONSTEXPR inline QFlags(Enum flags) Q_DECL_NOTHROW : i(Int(flags)) {} | ^ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: note: to match this ‘{’ 312 | Q_DECLARE_TYPEINFO(float, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: error: expected unqualified-id before ‘>’ token 312 | Q_DECLARE_TYPEINFO(float, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h: In constructor ‘QFlags::QFlags(QFlags::Zero)’: /usr/include/qt5/QtCore/qflags.h:121:71: error: class ‘QFlags’ does not have any field named ‘i’ 121 | Q_DECL_CONSTEXPR inline QFlags(Zero = Q_NULLPTR) Q_DECL_NOTHROW : i(0) {} | ^ /usr/include/qt5/QtCore/qflags.h: In constructor ‘QFlags::QFlags(QFlag)’: /usr/include/qt5/QtCore/qflags.h:122:65: error: class ‘QFlags’ does not have any field named ‘i’ 122 | Q_DECL_CONSTEXPR inline QFlags(QFlag flag) Q_DECL_NOTHROW : i(flag) {} | ^ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: error: redefinition of ‘const char* name()’ 312 | Q_DECLARE_TYPEINFO(float, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: ‘const char* name()’ previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: error: expected declaration before ‘}’ token 312 | Q_DECLARE_TYPEINFO(float, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: error: ‘is_integral’ is not a member of ‘std’ 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: error: expected primary-expression before ‘bool’ 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: error: expected ‘}’ before ‘bool’ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: error: ‘is_integral’ is not a member of ‘std’ 313 | Q_DECLARE_TYPEINFO(double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: to match this ‘{’ 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: error: expected primary-expression before ‘double’ 313 | Q_DECLARE_TYPEINFO(double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: error: expected ‘}’ before ‘double’ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: error: expected unqualified-id before ‘>’ token 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: note: to match this ‘{’ 313 | Q_DECLARE_TYPEINFO(double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: error: expected unqualified-id before ‘>’ token 313 | Q_DECLARE_TYPEINFO(double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: error: ‘is_integral’ is not a member of ‘std’ 306 | Q_DECLARE_TYPEINFO(int, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: error: expected primary-expression before ‘int’ 306 | Q_DECLARE_TYPEINFO(int, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: error: redefinition of ‘const char* name()’ 313 | Q_DECLARE_TYPEINFO(double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: error: expected ‘}’ before ‘int’ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: ‘const char* name()’ previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: note: to match this ‘{’ 306 | Q_DECLARE_TYPEINFO(int, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: error: expected unqualified-id before ‘>’ token 306 | Q_DECLARE_TYPEINFO(int, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: error: expected declaration before ‘}’ token 313 | Q_DECLARE_TYPEINFO(double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: error: redefinition of ‘const char* name()’ 306 | Q_DECLARE_TYPEINFO(int, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: ‘const char* name()’ previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: error: ‘is_integral’ is not a member of ‘std’ 308 | Q_DECLARE_TYPEINFO(long, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: error: expected declaration before ‘}’ token 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: error: expected primary-expression before ‘long’ 308 | Q_DECLARE_TYPEINFO(long, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: error: expected declaration before ‘}’ token 306 | Q_DECLARE_TYPEINFO(int, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: error: expected ‘}’ before ‘long’ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: note: to match this ‘{’ 308 | Q_DECLARE_TYPEINFO(long, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: error: expected unqualified-id before ‘>’ token 308 | Q_DECLARE_TYPEINFO(long, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: error: redefinition of ‘const char* name()’ 308 | Q_DECLARE_TYPEINFO(long, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: ‘const char* name()’ previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: error: expected declaration before ‘}’ token 308 | Q_DECLARE_TYPEINFO(long, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: ‘is_integral’ is not a member of ‘std’ 301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: expected primary-expression before ‘char’ 301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: expected ‘}’ before ‘char’ /usr/include/qt5/QtCore/qtypeinfo.h:307:1: error: ‘is_integral’ is not a member of ‘std’ 307 | Q_DECLARE_TYPEINFO(uint, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: note: to match this ‘{’ 301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h: In member function ‘QFlags& QFlags::operator&=(int)’: /usr/include/qt5/QtCore/qflags.h:129:83: error: ‘i’ was not declared in this scope 129 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator&=(int mask) Q_DECL_NOTHROW { i &= mask; return *this; } | ^ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: expected unqualified-id before ‘>’ token 301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: redefinition of ‘const char* name()’ 301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: ‘const char* name()’ previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: error: ‘is_integral’ is not a member of ‘std’ 328 | Q_DECLARE_TYPEINFO(long double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: expected declaration before ‘}’ token 301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: error: expected primary-expression before ‘long’ 328 | Q_DECLARE_TYPEINFO(long double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: error: expected ‘}’ before ‘long’ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: note: to match this ‘{’ 328 | Q_DECLARE_TYPEINFO(long double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: error: expected unqualified-id before ‘>’ token 328 | Q_DECLARE_TYPEINFO(long double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: error: redefinition of ‘const char* name()’ 328 | Q_DECLARE_TYPEINFO(long double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: ‘const char* name()’ previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: error: expected declaration before ‘}’ token 328 | Q_DECLARE_TYPEINFO(long double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:307:1: error: expected primary-expression before ‘>’ token 307 | Q_DECLARE_TYPEINFO(uint, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: error: ‘is_integral’ is not a member of ‘std’ 337 | Q_DECLARE_TYPEINFO(wchar_t, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: error: expected primary-expression before ‘wchar_t’ 337 | Q_DECLARE_TYPEINFO(wchar_t, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: error: expected ‘}’ before ‘wchar_t’ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: note: to match this ‘{’ 337 | Q_DECLARE_TYPEINFO(wchar_t, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: error: expected unqualified-id before ‘>’ token 337 | Q_DECLARE_TYPEINFO(wchar_t, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: error: redefinition of ‘const char* name()’ 337 | Q_DECLARE_TYPEINFO(wchar_t, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: ‘const char* name()’ previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: error: expected declaration before ‘}’ token 337 | Q_DECLARE_TYPEINFO(wchar_t, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:307:1: error: ‘::value’ has not been declared 307 | Q_DECLARE_TYPEINFO(uint, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: error: ‘is_integral’ is not a member of ‘std’ 308 | Q_DECLARE_TYPEINFO(long, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: error: expected primary-expression before ‘long’ 308 | Q_DECLARE_TYPEINFO(long, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: error: expected ‘}’ before ‘long’ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: note: to match this ‘{’ 308 | Q_DECLARE_TYPEINFO(long, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: error: expected unqualified-id before ‘>’ token 308 | Q_DECLARE_TYPEINFO(long, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: error: redefinition of ‘const char* name()’ 308 | Q_DECLARE_TYPEINFO(long, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: ‘const char* name()’ previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:309:1: error: ‘is_integral’ is not a member of ‘std’ 309 | Q_DECLARE_TYPEINFO(ulong, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: error: ‘is_integral’ is not a member of ‘std’ 302 | Q_DECLARE_TYPEINFO(signed char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:309:1: error: expected primary-expression before ‘>’ token 309 | Q_DECLARE_TYPEINFO(ulong, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: error: expected primary-expression before ‘signed’ 302 | Q_DECLARE_TYPEINFO(signed char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: error: expected ‘}’ before ‘signed’ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: note: to match this ‘{’ 302 | Q_DECLARE_TYPEINFO(signed char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: error: expected unqualified-id before ‘>’ token 302 | Q_DECLARE_TYPEINFO(signed char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: error: redefinition of ‘const char* name()’ 302 | Q_DECLARE_TYPEINFO(signed char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: ‘const char* name()’ previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: error: expected declaration before ‘}’ token 302 | Q_DECLARE_TYPEINFO(signed char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:303:1: error: ‘is_integral’ is not a member of ‘std’ 303 | Q_DECLARE_TYPEINFO(uchar, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:303:1: error: expected primary-expression before ‘>’ token 303 | Q_DECLARE_TYPEINFO(uchar, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:309:1: error: ‘::value’ has not been declared 309 | Q_DECLARE_TYPEINFO(ulong, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:310:1: error: ‘is_integral’ is not a member of ‘std’ 310 | Q_DECLARE_TYPEINFO(qint64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:310:1: error: expected primary-expression before ‘>’ token 310 | Q_DECLARE_TYPEINFO(qint64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:303:1: error: ‘::value’ has not been declared 303 | Q_DECLARE_TYPEINFO(uchar, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: error: ‘is_integral’ is not a member of ‘std’ 304 | Q_DECLARE_TYPEINFO(short, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: error: expected primary-expression before ‘short’ 304 | Q_DECLARE_TYPEINFO(short, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: error: expected ‘}’ before ‘short’ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: note: to match this ‘{’ 304 | Q_DECLARE_TYPEINFO(short, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: error: expected unqualified-id before ‘>’ token 304 | Q_DECLARE_TYPEINFO(short, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: error: redefinition of ‘const char* name()’ 304 | Q_DECLARE_TYPEINFO(short, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: ‘const char* name()’ previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: error: expected declaration before ‘}’ token 304 | Q_DECLARE_TYPEINFO(short, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:310:1: error: ‘::value’ has not been declared 310 | Q_DECLARE_TYPEINFO(qint64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:305:1: error: ‘is_integral’ is not a member of ‘std’ 305 | Q_DECLARE_TYPEINFO(ushort, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:305:1: error: expected primary-expression before ‘>’ token 305 | Q_DECLARE_TYPEINFO(ushort, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:311:1: error: ‘is_integral’ is not a member of ‘std’ 311 | Q_DECLARE_TYPEINFO(quint64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:311:1: error: expected primary-expression before ‘>’ token 311 | Q_DECLARE_TYPEINFO(quint64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:305:1: error: ‘::value’ has not been declared 305 | Q_DECLARE_TYPEINFO(ushort, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:311:1: error: ‘::value’ has not been declared 311 | Q_DECLARE_TYPEINFO(quint64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: error: ‘is_integral’ is not a member of ‘std’ 306 | Q_DECLARE_TYPEINFO(int, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: error: expected primary-expression before ‘int’ 306 | Q_DECLARE_TYPEINFO(int, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: error: expected ‘}’ before ‘int’ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: note: to match this ‘{’ 306 | Q_DECLARE_TYPEINFO(int, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: error: expected unqualified-id before ‘>’ token 306 | Q_DECLARE_TYPEINFO(int, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: error: redefinition of ‘const char* name()’ 306 | Q_DECLARE_TYPEINFO(int, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: ‘const char* name()’ previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: error: expected declaration before ‘}’ token 306 | Q_DECLARE_TYPEINFO(int, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: error: ‘is_integral’ is not a member of ‘std’ 312 | Q_DECLARE_TYPEINFO(float, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: error: expected primary-expression before ‘float’ 312 | Q_DECLARE_TYPEINFO(float, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: error: expected ‘}’ before ‘float’ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: note: to match this ‘{’ 312 | Q_DECLARE_TYPEINFO(float, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: error: expected unqualified-id before ‘>’ token 312 | Q_DECLARE_TYPEINFO(float, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: error: redefinition of ‘const char* name()’ 312 | Q_DECLARE_TYPEINFO(float, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: ‘const char* name()’ previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: error: expected declaration before ‘}’ token 312 | Q_DECLARE_TYPEINFO(float, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h: In member function ‘QFlags& QFlags::operator&=(uint)’: /usr/include/qt5/QtCore/qflags.h:130:84: error: ‘i’ was not declared in this scope 130 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator&=(uint mask) Q_DECL_NOTHROW { i &= mask; return *this; } | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1206, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.cpp:21: /usr/include/qt5/QtCore/qlogging.h: In constructor ‘QMessageLogContext::QMessageLogContext()’: /usr/include/qt5/QtCore/qlogging.h:67:37: error: ‘nullptr’ was not declared in this scope 67 | : version(2), line(0), file(nullptr), function(nullptr), category(nullptr) {} | ^~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: error: expected declaration before ‘}’ token 308 | Q_DECLARE_TYPEINFO(long, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:307:1: error: ‘is_integral’ is not a member of ‘std’ 307 | Q_DECLARE_TYPEINFO(uint, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:307:1: error: expected primary-expression before ‘>’ token 307 | Q_DECLARE_TYPEINFO(uint, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:307:1: error: ‘::value’ has not been declared 307 | Q_DECLARE_TYPEINFO(uint, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: error: ‘is_integral’ is not a member of ‘std’ 308 | Q_DECLARE_TYPEINFO(long, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: error: expected primary-expression before ‘long’ 308 | Q_DECLARE_TYPEINFO(long, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: error: expected ‘}’ before ‘long’ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: note: to match this ‘{’ 308 | Q_DECLARE_TYPEINFO(long, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: error: expected unqualified-id before ‘>’ token 308 | Q_DECLARE_TYPEINFO(long, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: error: redefinition of ‘const char* name()’ 308 | Q_DECLARE_TYPEINFO(long, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: ‘const char* name()’ previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: error: expected declaration before ‘}’ token 308 | Q_DECLARE_TYPEINFO(long, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:309:1: error: ‘is_integral’ is not a member of ‘std’ 309 | Q_DECLARE_TYPEINFO(ulong, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: error: ‘is_integral’ is not a member of ‘std’ 313 | Q_DECLARE_TYPEINFO(double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:309:1: error: expected primary-expression before ‘>’ token 309 | Q_DECLARE_TYPEINFO(ulong, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: error: expected primary-expression before ‘double’ 313 | Q_DECLARE_TYPEINFO(double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: error: expected ‘}’ before ‘double’ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: note: to match this ‘{’ 313 | Q_DECLARE_TYPEINFO(double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: error: expected unqualified-id before ‘>’ token 313 | Q_DECLARE_TYPEINFO(double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: error: redefinition of ‘const char* name()’ 313 | Q_DECLARE_TYPEINFO(double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: ‘const char* name()’ previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: error: expected declaration before ‘}’ token 313 | Q_DECLARE_TYPEINFO(double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: error: ‘is_integral’ is not a member of ‘std’ 328 | Q_DECLARE_TYPEINFO(long double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: error: expected primary-expression before ‘long’ 328 | Q_DECLARE_TYPEINFO(long double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: error: expected ‘}’ before ‘long’ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: note: to match this ‘{’ 328 | Q_DECLARE_TYPEINFO(long double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: error: expected unqualified-id before ‘>’ token 328 | Q_DECLARE_TYPEINFO(long double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:309:1: error: ‘::value’ has not been declared 309 | Q_DECLARE_TYPEINFO(ulong, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: error: redefinition of ‘const char* name()’ 328 | Q_DECLARE_TYPEINFO(long double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: ‘const char* name()’ previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: error: expected declaration before ‘}’ token 328 | Q_DECLARE_TYPEINFO(long double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: error: ‘is_integral’ is not a member of ‘std’ 337 | Q_DECLARE_TYPEINFO(wchar_t, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: error: expected primary-expression before ‘wchar_t’ 337 | Q_DECLARE_TYPEINFO(wchar_t, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: error: expected ‘}’ before ‘wchar_t’ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: note: to match this ‘{’ 337 | Q_DECLARE_TYPEINFO(wchar_t, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:310:1: error: ‘is_integral’ is not a member of ‘std’ 310 | Q_DECLARE_TYPEINFO(qint64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: error: expected unqualified-id before ‘>’ token 337 | Q_DECLARE_TYPEINFO(wchar_t, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:310:1: error: expected primary-expression before ‘>’ token 310 | Q_DECLARE_TYPEINFO(qint64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: error: redefinition of ‘const char* name()’ 337 | Q_DECLARE_TYPEINFO(wchar_t, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h: In member function ‘QFlags& QFlags::operator&=(Enum)’: /usr/include/qt5/QtCore/qflags.h:131:84: error: ‘i’ was not declared in this scope 131 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator&=(Enum mask) Q_DECL_NOTHROW { i &= Int(mask); return *this; } | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.cpp:21: /usr/include/qt5/QtCore/qflags.h: At global scope: /usr/include/qt5/QtCore/qflags.h:74:1: error: ‘is_integral’ is not a member of ‘std’ 74 | Q_DECLARE_TYPEINFO(QFlag, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:74:1: error: expected primary-expression before ‘>’ token 74 | Q_DECLARE_TYPEINFO(QFlag, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h: In member function ‘QFlags& QFlags::operator|=(QFlags)’: /usr/include/qt5/QtCore/qflags.h:132:87: error: ‘i’ was not declared in this scope 132 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator|=(QFlags other) Q_DECL_NOTHROW { i |= other.i; return *this; } | ^ /usr/include/qt5/QtCore/qflags.h:74:1: error: ‘::value’ has not been declared 74 | Q_DECLARE_TYPEINFO(QFlag, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h: In member function ‘QFlags& QFlags::operator|=(Enum)’: /usr/include/qt5/QtCore/qflags.h:133:85: error: ‘i’ was not declared in this scope 133 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator|=(Enum other) Q_DECL_NOTHROW { i |= Int(other); return *this; } | ^ /usr/include/qt5/QtCore/qflags.h:83:1: error: ‘is_integral’ is not a member of ‘std’ 83 | Q_DECLARE_TYPEINFO(QIncompatibleFlag, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:83:1: error: expected primary-expression before ‘>’ token 83 | Q_DECLARE_TYPEINFO(QIncompatibleFlag, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h: In member function ‘QFlags& QFlags::operator^=(QFlags)’: /usr/include/qt5/QtCore/qflags.h:134:87: error: ‘i’ was not declared in this scope 134 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator^=(QFlags other) Q_DECL_NOTHROW { i ^= other.i; return *this; } | ^ /usr/include/qt5/QtCore/qflags.h:83:1: error: ‘::value’ has not been declared 83 | Q_DECLARE_TYPEINFO(QIncompatibleFlag, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h: In member function ‘QFlags& QFlags::operator^=(Enum)’: /usr/include/qt5/QtCore/qflags.h:135:85: error: ‘i’ was not declared in this scope 135 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator^=(Enum other) Q_DECL_NOTHROW { i ^= Int(other); return *this; } | ^ /usr/include/qt5/QtCore/qtypeinfo.h:309:1: error: ‘is_integral’ is not a member of ‘std’ 309 | Q_DECLARE_TYPEINFO(ulong, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:310:1: error: ‘::value’ has not been declared 310 | Q_DECLARE_TYPEINFO(qint64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.cpp:21: /usr/include/qt5/QtCore/qflags.h:96:5: error: ‘is_enum’ is not a member of ‘std’ 96 | Q_STATIC_ASSERT_X((std::is_enum::value), "QFlags is only usable on enumeration types."); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:96:5: error: expected primary-expression before ‘>’ token 96 | Q_STATIC_ASSERT_X((std::is_enum::value), "QFlags is only usable on enumeration types."); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:311:1: error: ‘is_integral’ is not a member of ‘std’ 311 | Q_DECLARE_TYPEINFO(quint64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:311:1: error: expected primary-expression before ‘>’ token 311 | Q_DECLARE_TYPEINFO(quint64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:96:5: error: ‘::value’ has not been declared 96 | Q_STATIC_ASSERT_X((std::is_enum::value), "QFlags is only usable on enumeration types."); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.cpp:21: /usr/include/qt5/QtCore/qflags.h:108:27: error: ‘conditional’ in namespace ‘std’ does not name a template type 108 | typedef typename std::conditional< | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:108:38: error: expected unqualified-id before ‘<’ token 108 | typedef typename std::conditional< | ^ /usr/include/qt5/QtCore/qflags.h:137:38: error: expected type-specifier before ‘Int’ 137 | Q_DECL_CONSTEXPR inline operator Int() const Q_DECL_NOTHROW { return i; } | ^~~ /usr/include/qt5/QtCore/qtypeinfo.h:311:1: error: ‘::value’ has not been declared 311 | Q_DECLARE_TYPEINFO(quint64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: error: ‘is_integral’ is not a member of ‘std’ 312 | Q_DECLARE_TYPEINFO(float, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: error: expected primary-expression before ‘float’ 312 | Q_DECLARE_TYPEINFO(float, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: error: expected ‘}’ before ‘float’ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: note: to match this ‘{’ 312 | Q_DECLARE_TYPEINFO(float, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: error: expected unqualified-id before ‘>’ token 312 | Q_DECLARE_TYPEINFO(float, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: error: redefinition of ‘const char* name()’ 312 | Q_DECLARE_TYPEINFO(float, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: ‘const char* name()’ previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.cpp:21: /usr/include/qt5/QtCore/qflags.h:166:5: error: ‘Int’ does not name a type; did you mean ‘int’? 166 | Int i; | ^~~ | int /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: ‘const char* name()’ previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: error: expected declaration before ‘}’ token 312 | Q_DECLARE_TYPEINFO(float, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:309:1: error: expected primary-expression before ‘>’ token 309 | Q_DECLARE_TYPEINFO(ulong, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h: In member function ‘QFlags QFlags::operator|(QFlags) const’: /usr/include/qt5/QtCore/qflags.h:139:103: error: ‘i’ was not declared in this scope 139 | Q_DECL_CONSTEXPR inline QFlags operator|(QFlags other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | other.i)); } | ^ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: error: ‘is_integral’ is not a member of ‘std’ 313 | Q_DECLARE_TYPEINFO(double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: error: expected primary-expression before ‘double’ 313 | Q_DECLARE_TYPEINFO(double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: error: expected ‘}’ before ‘double’ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: note: to match this ‘{’ 313 | Q_DECLARE_TYPEINFO(double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: error: expected unqualified-id before ‘>’ token 313 | Q_DECLARE_TYPEINFO(double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: error: redefinition of ‘const char* name()’ 313 | Q_DECLARE_TYPEINFO(double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: ‘const char* name()’ previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: error: expected declaration before ‘}’ token 313 | Q_DECLARE_TYPEINFO(double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h: In member function ‘QFlags QFlags::operator|(Enum) const’: /usr/include/qt5/QtCore/qflags.h:140:101: error: ‘i’ was not declared in this scope 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ^ /usr/include/qt5/QtCore/qtypeinfo.h:309:1: error: ‘::value’ has not been declared 309 | Q_DECLARE_TYPEINFO(ulong, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: error: ‘is_integral’ is not a member of ‘std’ 328 | Q_DECLARE_TYPEINFO(long double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: error: expected primary-expression before ‘long’ 328 | Q_DECLARE_TYPEINFO(long double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: error: expected ‘}’ before ‘long’ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: note: to match this ‘{’ 328 | Q_DECLARE_TYPEINFO(long double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: error: expected unqualified-id before ‘>’ token 328 | Q_DECLARE_TYPEINFO(long double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: error: redefinition of ‘const char* name()’ 328 | Q_DECLARE_TYPEINFO(long double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: ‘const char* name()’ previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: error: expected declaration before ‘}’ token 328 | Q_DECLARE_TYPEINFO(long double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h: In member function ‘QFlags QFlags::operator^(QFlags) const’: /usr/include/qt5/QtCore/qflags.h:141:103: error: ‘i’ was not declared in this scope 141 | Q_DECL_CONSTEXPR inline QFlags operator^(QFlags other) const Q_DECL_NOTHROW { return QFlags(QFlag(i ^ other.i)); } | ^ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: error: ‘is_integral’ is not a member of ‘std’ 337 | Q_DECLARE_TYPEINFO(wchar_t, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:310:1: error: ‘is_integral’ is not a member of ‘std’ 310 | Q_DECLARE_TYPEINFO(qint64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: error: expected primary-expression before ‘wchar_t’ 337 | Q_DECLARE_TYPEINFO(wchar_t, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:310:1: error: expected primary-expression before ‘>’ token 310 | Q_DECLARE_TYPEINFO(qint64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: error: expected ‘}’ before ‘wchar_t’ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: note: to match this ‘{’ 337 | Q_DECLARE_TYPEINFO(wchar_t, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: error: expected unqualified-id before ‘>’ token 337 | Q_DECLARE_TYPEINFO(wchar_t, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: error: redefinition of ‘const char* name()’ 337 | Q_DECLARE_TYPEINFO(wchar_t, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: ‘const char* name()’ previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: error: expected declaration before ‘}’ token 337 | Q_DECLARE_TYPEINFO(wchar_t, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h: In member function ‘QFlags QFlags::operator^(Enum) const’: /usr/include/qt5/QtCore/qflags.h:142:101: error: ‘i’ was not declared in this scope 142 | Q_DECL_CONSTEXPR inline QFlags operator^(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i ^ Int(other))); } | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.cpp:21: /usr/include/qt5/QtCore/qflags.h: In constructor ‘QFlags::QFlags(Enum)’: /usr/include/qt5/QtCore/qflags.h:120:65: error: class ‘QFlags’ does not have any field named ‘i’ 120 | Q_DECL_CONSTEXPR inline QFlags(Enum flags) Q_DECL_NOTHROW : i(Int(flags)) {} | ^ /usr/include/qt5/QtCore/qflags.h: In constructor ‘QFlags::QFlags(QFlags::Zero)’: /usr/include/qt5/QtCore/qflags.h:121:71: error: class ‘QFlags’ does not have any field named ‘i’ 121 | Q_DECL_CONSTEXPR inline QFlags(Zero = Q_NULLPTR) Q_DECL_NOTHROW : i(0) {} | ^ /usr/include/qt5/QtCore/qflags.h: In constructor ‘QFlags::QFlags(QFlag)’: /usr/include/qt5/QtCore/qflags.h:122:65: error: class ‘QFlags’ does not have any field named ‘i’ 122 | Q_DECL_CONSTEXPR inline QFlags(QFlag flag) Q_DECL_NOTHROW : i(flag) {} | ^ /usr/include/qt5/QtCore/qflags.h: In member function ‘QFlags QFlags::operator&(int) const’: /usr/include/qt5/QtCore/qflags.h:143:99: error: ‘i’ was not declared in this scope 143 | Q_DECL_CONSTEXPR inline QFlags operator&(int mask) const Q_DECL_NOTHROW { return QFlags(QFlag(i & mask)); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function ‘QFlags& QFlags::operator&=(int)’: /usr/include/qt5/QtCore/qflags.h:129:83: error: ‘i’ was not declared in this scope 129 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator&=(int mask) Q_DECL_NOTHROW { i &= mask; return *this; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function ‘QFlags QFlags::operator&(uint) const’: /usr/include/qt5/QtCore/qflags.h:144:100: error: ‘i’ was not declared in this scope 144 | Q_DECL_CONSTEXPR inline QFlags operator&(uint mask) const Q_DECL_NOTHROW { return QFlags(QFlag(i & mask)); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function ‘QFlags& QFlags::operator&=(uint)’: /usr/include/qt5/QtCore/qflags.h:130:84: error: ‘i’ was not declared in this scope 130 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator&=(uint mask) Q_DECL_NOTHROW { i &= mask; return *this; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function ‘QFlags QFlags::operator&(Enum) const’: /usr/include/qt5/QtCore/qflags.h:145:101: error: ‘i’ was not declared in this scope 145 | Q_DECL_CONSTEXPR inline QFlags operator&(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i & Int(other))); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function ‘QFlags& QFlags::operator&=(Enum)’: /usr/include/qt5/QtCore/qflags.h:131:84: error: ‘i’ was not declared in this scope 131 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator&=(Enum mask) Q_DECL_NOTHROW { i &= Int(mask); return *this; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function ‘QFlags QFlags::operator~() const’: /usr/include/qt5/QtCore/qflags.h:146:92: error: ‘i’ was not declared in this scope 146 | Q_DECL_CONSTEXPR inline QFlags operator~() const Q_DECL_NOTHROW { return QFlags(QFlag(~i)); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function ‘QFlags& QFlags::operator|=(QFlags)’: /usr/include/qt5/QtCore/qflags.h:132:87: error: ‘i’ was not declared in this scope 132 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator|=(QFlags other) Q_DECL_NOTHROW { i |= other.i; return *this; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function ‘bool QFlags::operator!() const’: /usr/include/qt5/QtCore/qflags.h:148:77: error: ‘i’ was not declared in this scope 148 | Q_DECL_CONSTEXPR inline bool operator!() const Q_DECL_NOTHROW { return !i; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function ‘QFlags& QFlags::operator|=(Enum)’: /usr/include/qt5/QtCore/qflags.h:133:85: error: ‘i’ was not declared in this scope 133 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator|=(Enum other) Q_DECL_NOTHROW { i |= Int(other); return *this; } | ^ /usr/include/qt5/QtCore/qtypeinfo.h:310:1: error: ‘::value’ has not been declared 310 | Q_DECLARE_TYPEINFO(qint64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:311:1: error: ‘is_integral’ is not a member of ‘std’ 311 | Q_DECLARE_TYPEINFO(quint64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:311:1: error: expected primary-expression before ‘>’ token 311 | Q_DECLARE_TYPEINFO(quint64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h: In member function ‘QFlags& QFlags::operator^=(QFlags)’: /usr/include/qt5/QtCore/qflags.h:134:87: error: ‘i’ was not declared in this scope 134 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator^=(QFlags other) Q_DECL_NOTHROW { i ^= other.i; return *this; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function ‘QFlags& QFlags::operator^=(Enum)’: /usr/include/qt5/QtCore/qflags.h:135:85: error: ‘i’ was not declared in this scope 135 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator^=(Enum other) Q_DECL_NOTHROW { i ^= Int(other); return *this; } | ^ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: error: expected declaration before ‘}’ token 337 | Q_DECLARE_TYPEINFO(wchar_t, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1206, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/mediawikimarkupbuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/mediawikimarkupbuilder.cpp:21: /usr/include/qt5/QtCore/qlogging.h: In constructor ‘QMessageLogContext::QMessageLogContext()’: /usr/include/qt5/QtCore/qlogging.h:67:37: error: ‘nullptr’ was not declared in this scope 67 | : version(2), line(0), file(nullptr), function(nullptr), category(nullptr) {} | ^~~~~~~ /usr/include/qt5/QtCore/qflags.h: In member function ‘QFlags QFlags::operator|(QFlags) const’: /usr/include/qt5/QtCore/qflags.h:139:103: error: ‘i’ was not declared in this scope 139 | Q_DECL_CONSTEXPR inline QFlags operator|(QFlags other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | other.i)); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function ‘QFlags QFlags::operator|(Enum) const’: /usr/include/qt5/QtCore/qflags.h:140:101: error: ‘i’ was not declared in this scope 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function ‘QFlags QFlags::operator^(QFlags) const’: /usr/include/qt5/QtCore/qflags.h:141:103: error: ‘i’ was not declared in this scope 141 | Q_DECL_CONSTEXPR inline QFlags operator^(QFlags other) const Q_DECL_NOTHROW { return QFlags(QFlag(i ^ other.i)); } | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/mediawikimarkupbuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/mediawikimarkupbuilder.cpp:21: /usr/include/qt5/QtCore/qflags.h: At global scope: /usr/include/qt5/QtCore/qflags.h:74:1: error: ‘is_integral’ is not a member of ‘std’ 74 | Q_DECLARE_TYPEINFO(QFlag, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:74:1: error: expected primary-expression before ‘>’ token 74 | Q_DECLARE_TYPEINFO(QFlag, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h: In member function ‘QFlags QFlags::operator^(Enum) const’: /usr/include/qt5/QtCore/qflags.h:142:101: error: ‘i’ was not declared in this scope 142 | Q_DECL_CONSTEXPR inline QFlags operator^(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i ^ Int(other))); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function ‘bool QFlags::testFlag(Enum) const’: /usr/include/qt5/QtCore/qflags.h:150:85: error: ‘i’ was not declared in this scope 150 | Q_DECL_CONSTEXPR inline bool testFlag(Enum flag) const Q_DECL_NOTHROW { return (i & Int(flag)) == Int(flag) && (Int(flag) != 0 || i == Int(flag) ); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function ‘QFlags QFlags::operator&(int) const’: /usr/include/qt5/QtCore/qflags.h:143:99: error: ‘i’ was not declared in this scope 143 | Q_DECL_CONSTEXPR inline QFlags operator&(int mask) const Q_DECL_NOTHROW { return QFlags(QFlag(i & mask)); } | ^ In file included from /usr/include/qt5/QtCore/qatomic.h:46, from /usr/include/qt5/QtCore/qglobal.h:1210, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.cpp:21: /usr/include/qt5/QtCore/qbasicatomic.h: At global scope: /usr/include/qt5/QtCore/qbasicatomic.h:94:13: error: ‘QAtomicOps’ does not name a type 94 | typedef QAtomicOps Ops; | ^~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h: In member function ‘QFlags QFlags::operator&(uint) const’: /usr/include/qt5/QtCore/qflags.h:144:100: error: ‘i’ was not declared in this scope 144 | Q_DECL_CONSTEXPR inline QFlags operator&(uint mask) const Q_DECL_NOTHROW { return QFlags(QFlag(i & mask)); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function ‘QFlags QFlags::operator&(Enum) const’: /usr/include/qt5/QtCore/qflags.h:145:101: error: ‘i’ was not declared in this scope 145 | Q_DECL_CONSTEXPR inline QFlags operator&(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i & Int(other))); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function ‘QFlags QFlags::operator~() const’: /usr/include/qt5/QtCore/qflags.h:146:92: error: ‘i’ was not declared in this scope 146 | Q_DECL_CONSTEXPR inline QFlags operator~() const Q_DECL_NOTHROW { return QFlags(QFlag(~i)); } | ^ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.cpp:21: /usr/include/qt5/QtCore/qbasicatomic.h:97:5: error: ‘QAtomicOpsSupport’ was not declared in this scope 97 | Q_STATIC_ASSERT_X(QAtomicOpsSupport::IsSupported, "template parameter is an integral of a size not supported on this platform"); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:311:1: error: ‘::value’ has not been declared 311 | Q_DECLARE_TYPEINFO(quint64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:74:1: error: ‘::value’ has not been declared 74 | Q_DECLARE_TYPEINFO(QFlag, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: error: ‘is_integral’ is not a member of ‘std’ 312 | Q_DECLARE_TYPEINFO(float, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: error: expected primary-expression before ‘float’ 312 | Q_DECLARE_TYPEINFO(float, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1206, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/texthtmlbuilder.h:28, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/texthtmlbuilder.cpp:21: /usr/include/qt5/QtCore/qlogging.h: In constructor ‘QMessageLogContext::QMessageLogContext()’: /usr/include/qt5/QtCore/qlogging.h:67:37: error: ‘nullptr’ was not declared in this scope 67 | : version(2), line(0), file(nullptr), function(nullptr), category(nullptr) {} | ^~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: error: expected ‘}’ before ‘float’ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: note: to match this ‘{’ 312 | Q_DECLARE_TYPEINFO(float, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: error: expected unqualified-id before ‘>’ token 312 | Q_DECLARE_TYPEINFO(float, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:83:1: error: ‘is_integral’ is not a member of ‘std’ 83 | Q_DECLARE_TYPEINFO(QIncompatibleFlag, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:83:1: error: expected primary-expression before ‘>’ token 83 | Q_DECLARE_TYPEINFO(QIncompatibleFlag, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: error: redefinition of ‘const char* name()’ 312 | Q_DECLARE_TYPEINFO(float, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: ‘const char* name()’ previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: error: expected declaration before ‘}’ token 312 | Q_DECLARE_TYPEINFO(float, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: error: ‘is_integral’ is not a member of ‘std’ 313 | Q_DECLARE_TYPEINFO(double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: error: expected primary-expression before ‘double’ 313 | Q_DECLARE_TYPEINFO(double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: error: expected ‘}’ before ‘double’ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: note: to match this ‘{’ 313 | Q_DECLARE_TYPEINFO(double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: error: expected unqualified-id before ‘>’ token 313 | Q_DECLARE_TYPEINFO(double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: error: redefinition of ‘const char* name()’ 313 | Q_DECLARE_TYPEINFO(double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: ‘const char* name()’ previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: error: expected declaration before ‘}’ token 313 | Q_DECLARE_TYPEINFO(double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:83:1: error: ‘::value’ has not been declared 83 | Q_DECLARE_TYPEINFO(QIncompatibleFlag, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: error: ‘is_integral’ is not a member of ‘std’ 328 | Q_DECLARE_TYPEINFO(long double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h: In member function ‘bool QFlags::operator!() const’: /usr/include/qt5/QtCore/qflags.h:148:77: error: ‘i’ was not declared in this scope 148 | Q_DECL_CONSTEXPR inline bool operator!() const Q_DECL_NOTHROW { return !i; } | ^ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/mediawikimarkupbuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/mediawikimarkupbuilder.cpp:21: /usr/include/qt5/QtCore/qflags.h:96:5: error: ‘is_enum’ is not a member of ‘std’ 96 | Q_STATIC_ASSERT_X((std::is_enum::value), "QFlags is only usable on enumeration types."); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:96:5: error: expected primary-expression before ‘>’ token 96 | Q_STATIC_ASSERT_X((std::is_enum::value), "QFlags is only usable on enumeration types."); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h: In member function ‘bool QFlags::testFlag(Enum) const’: /usr/include/qt5/QtCore/qflags.h:150:85: error: ‘i’ was not declared in this scope 150 | Q_DECL_CONSTEXPR inline bool testFlag(Enum flag) const Q_DECL_NOTHROW { return (i & Int(flag)) == Int(flag) && (Int(flag) != 0 || i == Int(flag) ); } | ^ /usr/include/qt5/QtCore/qflags.h:96:5: error: ‘::value’ has not been declared 96 | Q_STATIC_ASSERT_X((std::is_enum::value), "QFlags is only usable on enumeration types."); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/mediawikimarkupbuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/mediawikimarkupbuilder.cpp:21: /usr/include/qt5/QtCore/qflags.h:108:27: error: ‘conditional’ in namespace ‘std’ does not name a template type 108 | typedef typename std::conditional< | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:108:38: error: expected unqualified-id before ‘<’ token 108 | typedef typename std::conditional< | ^ /usr/include/qt5/QtCore/qflags.h:137:38: error: expected type-specifier before ‘Int’ 137 | Q_DECL_CONSTEXPR inline operator Int() const Q_DECL_NOTHROW { return i; } | ^~~ In file included from /usr/include/qt5/QtCore/qatomic.h:46, from /usr/include/qt5/QtCore/qglobal.h:1210, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.cpp:21: /usr/include/qt5/QtCore/qbasicatomic.h: At global scope: /usr/include/qt5/QtCore/qbasicatomic.h:94:13: error: ‘QAtomicOps’ does not name a type 94 | typedef QAtomicOps Ops; | ^~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/mediawikimarkupbuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/mediawikimarkupbuilder.cpp:21: /usr/include/qt5/QtCore/qflags.h:166:5: error: ‘Int’ does not name a type; did you mean ‘int’? 166 | Int i; | ^~~ | int In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/mediawikimarkupbuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/mediawikimarkupbuilder.cpp:21: /usr/include/qt5/QtCore/qflags.h: In constructor ‘QFlags::QFlags(Enum)’: /usr/include/qt5/QtCore/qflags.h:120:65: error: class ‘QFlags’ does not have any field named ‘i’ 120 | Q_DECL_CONSTEXPR inline QFlags(Enum flags) Q_DECL_NOTHROW : i(Int(flags)) {} | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/texthtmlbuilder.h:28, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/texthtmlbuilder.cpp:21: /usr/include/qt5/QtCore/qflags.h: At global scope: /usr/include/qt5/QtCore/qflags.h:74:1: error: ‘is_integral’ is not a member of ‘std’ 74 | Q_DECLARE_TYPEINFO(QFlag, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbasicatomic.h:97:5: error: ‘::IsSupported’ has not been declared 97 | Q_STATIC_ASSERT_X(QAtomicOpsSupport::IsSupported, "template parameter is an integral of a size not supported on this platform"); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: error: expected primary-expression before ‘long’ 328 | Q_DECLARE_TYPEINFO(long double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:74:1: error: expected primary-expression before ‘>’ token 74 | Q_DECLARE_TYPEINFO(QFlag, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h: In constructor ‘QFlags::QFlags(QFlags::Zero)’: /usr/include/qt5/QtCore/qflags.h:121:71: error: class ‘QFlags’ does not have any field named ‘i’ 121 | Q_DECL_CONSTEXPR inline QFlags(Zero = Q_NULLPTR) Q_DECL_NOTHROW : i(0) {} | ^ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: error: expected ‘}’ before ‘long’ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: note: to match this ‘{’ 328 | Q_DECLARE_TYPEINFO(long double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h: In constructor ‘QFlags::QFlags(QFlag)’: /usr/include/qt5/QtCore/qflags.h:122:65: error: class ‘QFlags’ does not have any field named ‘i’ 122 | Q_DECL_CONSTEXPR inline QFlags(QFlag flag) Q_DECL_NOTHROW : i(flag) {} | ^ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: error: expected unqualified-id before ‘>’ token 328 | Q_DECLARE_TYPEINFO(long double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: error: redefinition of ‘const char* name()’ 328 | Q_DECLARE_TYPEINFO(long double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: ‘const char* name()’ previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: error: expected declaration before ‘}’ token 328 | Q_DECLARE_TYPEINFO(long double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: error: ‘is_integral’ is not a member of ‘std’ 337 | Q_DECLARE_TYPEINFO(wchar_t, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: error: expected primary-expression before ‘wchar_t’ 337 | Q_DECLARE_TYPEINFO(wchar_t, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: error: expected ‘}’ before ‘wchar_t’ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: note: to match this ‘{’ 337 | Q_DECLARE_TYPEINFO(wchar_t, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: error: expected unqualified-id before ‘>’ token 337 | Q_DECLARE_TYPEINFO(wchar_t, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: error: redefinition of ‘const char* name()’ 337 | Q_DECLARE_TYPEINFO(wchar_t, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h: In member function ‘QFlags& QFlags::operator&=(int)’: /usr/include/qt5/QtCore/qflags.h:129:83: error: ‘i’ was not declared in this scope 129 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator&=(int mask) Q_DECL_NOTHROW { i &= mask; return *this; } | ^ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.cpp:21: /usr/include/qt5/QtCore/qbasicatomic.h:97:5: error: ‘QAtomicOpsSupport’ was not declared in this scope 97 | Q_STATIC_ASSERT_X(QAtomicOpsSupport::IsSupported, "template parameter is an integral of a size not supported on this platform"); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: ‘const char* name()’ previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qatomic.h:46, from /usr/include/qt5/QtCore/qglobal.h:1210, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.cpp:21: /usr/include/qt5/QtCore/qbasicatomic.h:99:14: error: ‘Ops’ has not been declared 99 | typename Ops::Type _q_value; | ^~~ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: error: expected declaration before ‘}’ token 337 | Q_DECLARE_TYPEINFO(wchar_t, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::load() const’: /usr/include/qt5/QtCore/qbasicatomic.h:103:44: error: ‘Ops’ has not been declared 103 | T load() const Q_DECL_NOTHROW { return Ops::load(_q_value); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘void QBasicAtomicInteger::store(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:104:45: error: ‘Ops’ has not been declared 104 | void store(T newValue) Q_DECL_NOTHROW { Ops::store(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::loadAcquire() const’: /usr/include/qt5/QtCore/qbasicatomic.h:106:51: error: ‘Ops’ has not been declared 106 | T loadAcquire() const Q_DECL_NOTHROW { return Ops::loadAcquire(_q_value); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘void QBasicAtomicInteger::storeRelease(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:107:52: error: ‘Ops’ has not been declared 107 | void storeRelease(T newValue) Q_DECL_NOTHROW { Ops::storeRelease(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function ‘static bool QBasicAtomicInteger::isReferenceCountingNative()’: /usr/include/qt5/QtCore/qbasicatomic.h:111:86: error: ‘Ops’ has not been declared 111 | static Q_DECL_CONSTEXPR bool isReferenceCountingNative() Q_DECL_NOTHROW { return Ops::isReferenceCountingNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function ‘static bool QBasicAtomicInteger::isReferenceCountingWaitFree()’: /usr/include/qt5/QtCore/qbasicatomic.h:112:88: error: ‘Ops’ has not been declared 112 | static Q_DECL_CONSTEXPR bool isReferenceCountingWaitFree() Q_DECL_NOTHROW { return Ops::isReferenceCountingWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicInteger::ref()’: /usr/include/qt5/QtCore/qbasicatomic.h:114:40: error: ‘Ops’ has not been declared 114 | bool ref() Q_DECL_NOTHROW { return Ops::ref(_q_value); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicInteger::deref()’: /usr/include/qt5/QtCore/qbasicatomic.h:115:42: error: ‘Ops’ has not been declared 115 | bool deref() Q_DECL_NOTHROW { return Ops::deref(_q_value); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function ‘static bool QBasicAtomicInteger::isTestAndSetNative()’: /usr/include/qt5/QtCore/qbasicatomic.h:117:79: error: ‘Ops’ has not been declared 117 | static Q_DECL_CONSTEXPR bool isTestAndSetNative() Q_DECL_NOTHROW { return Ops::isTestAndSetNative(); } | ^~~ /usr/include/qt5/QtCore/qflags.h:74:1: error: ‘::value’ has not been declared 74 | Q_DECLARE_TYPEINFO(QFlag, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function ‘static bool QBasicAtomicInteger::isTestAndSetWaitFree()’: /usr/include/qt5/QtCore/qbasicatomic.h:118:81: error: ‘Ops’ has not been declared 118 | static Q_DECL_CONSTEXPR bool isTestAndSetWaitFree() Q_DECL_NOTHROW { return Ops::isTestAndSetWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicInteger::testAndSetRelaxed(T, T)’: /usr/include/qt5/QtCore/qbasicatomic.h:121:14: error: ‘Ops’ has not been declared 121 | { return Ops::testAndSetRelaxed(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicInteger::testAndSetAcquire(T, T)’: /usr/include/qt5/QtCore/qbasicatomic.h:123:14: error: ‘Ops’ has not been declared 123 | { return Ops::testAndSetAcquire(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicInteger::testAndSetRelease(T, T)’: /usr/include/qt5/QtCore/qbasicatomic.h:125:14: error: ‘Ops’ has not been declared 125 | { return Ops::testAndSetRelease(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicInteger::testAndSetOrdered(T, T)’: /usr/include/qt5/QtCore/qbasicatomic.h:127:14: error: ‘Ops’ has not been declared 127 | { return Ops::testAndSetOrdered(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicInteger::testAndSetRelaxed(T, T, T&)’: /usr/include/qt5/QtCore/qbasicatomic.h:130:14: error: ‘Ops’ has not been declared 130 | { return Ops::testAndSetRelaxed(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicInteger::testAndSetAcquire(T, T, T&)’: /usr/include/qt5/QtCore/qbasicatomic.h:132:14: error: ‘Ops’ has not been declared 132 | { return Ops::testAndSetAcquire(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicInteger::testAndSetRelease(T, T, T&)’: /usr/include/qt5/QtCore/qbasicatomic.h:134:14: error: ‘Ops’ has not been declared 134 | { return Ops::testAndSetRelease(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicInteger::testAndSetOrdered(T, T, T&)’: /usr/include/qt5/QtCore/qbasicatomic.h:136:14: error: ‘Ops’ has not been declared 136 | { return Ops::testAndSetOrdered(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function ‘static bool QBasicAtomicInteger::isFetchAndStoreNative()’: /usr/include/qt5/QtCore/qbasicatomic.h:138:82: error: ‘Ops’ has not been declared 138 | static Q_DECL_CONSTEXPR bool isFetchAndStoreNative() Q_DECL_NOTHROW { return Ops::isFetchAndStoreNative(); } | ^~~ /usr/include/qt5/QtCore/qflags.h: In member function ‘QFlags& QFlags::operator&=(uint)’: /usr/include/qt5/QtCore/qflags.h:130:84: error: ‘i’ was not declared in this scope 130 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator&=(uint mask) Q_DECL_NOTHROW { i &= mask; return *this; } | ^ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function ‘static bool QBasicAtomicInteger::isFetchAndStoreWaitFree()’: /usr/include/qt5/QtCore/qbasicatomic.h:139:84: error: ‘Ops’ has not been declared 139 | static Q_DECL_CONSTEXPR bool isFetchAndStoreWaitFree() Q_DECL_NOTHROW { return Ops::isFetchAndStoreWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndStoreRelaxed(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:142:14: error: ‘Ops’ has not been declared 142 | { return Ops::fetchAndStoreRelaxed(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndStoreAcquire(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:144:14: error: ‘Ops’ has not been declared 144 | { return Ops::fetchAndStoreAcquire(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndStoreRelease(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:146:14: error: ‘Ops’ has not been declared 146 | { return Ops::fetchAndStoreRelease(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndStoreOrdered(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:148:14: error: ‘Ops’ has not been declared 148 | { return Ops::fetchAndStoreOrdered(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function ‘static bool QBasicAtomicInteger::isFetchAndAddNative()’: /usr/include/qt5/QtCore/qbasicatomic.h:150:80: error: ‘Ops’ has not been declared 150 | static Q_DECL_CONSTEXPR bool isFetchAndAddNative() Q_DECL_NOTHROW { return Ops::isFetchAndAddNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h:97:5: error: ‘::IsSupported’ has not been declared 97 | Q_STATIC_ASSERT_X(QAtomicOpsSupport::IsSupported, "template parameter is an integral of a size not supported on this platform"); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function ‘static bool QBasicAtomicInteger::isFetchAndAddWaitFree()’: /usr/include/qt5/QtCore/qbasicatomic.h:151:82: error: ‘Ops’ has not been declared 151 | static Q_DECL_CONSTEXPR bool isFetchAndAddWaitFree() Q_DECL_NOTHROW { return Ops::isFetchAndAddWaitFree(); } | ^~~ In file included from /usr/include/qt5/QtCore/qatomic.h:46, from /usr/include/qt5/QtCore/qglobal.h:1210, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.cpp:21: /usr/include/qt5/QtCore/qbasicatomic.h:99:14: error: ‘Ops’ has not been declared 99 | typename Ops::Type _q_value; | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndAddRelaxed(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:154:14: error: ‘Ops’ has not been declared 154 | { return Ops::fetchAndAddRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndAddAcquire(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:156:14: error: ‘Ops’ has not been declared 156 | { return Ops::fetchAndAddAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndAddRelease(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:158:14: error: ‘Ops’ has not been declared 158 | { return Ops::fetchAndAddRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndAddOrdered(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:160:14: error: ‘Ops’ has not been declared 160 | { return Ops::fetchAndAddOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndSubRelaxed(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:163:14: error: ‘Ops’ has not been declared 163 | { return Ops::fetchAndSubRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndSubAcquire(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:165:14: error: ‘Ops’ has not been declared 165 | { return Ops::fetchAndSubAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndSubRelease(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:167:14: error: ‘Ops’ has not been declared 167 | { return Ops::fetchAndSubRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndSubOrdered(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:169:14: error: ‘Ops’ has not been declared 169 | { return Ops::fetchAndSubOrdered(_q_value, valueToAdd); } | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1206, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.h:31, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.cpp:21: /usr/include/qt5/QtCore/qlogging.h: In constructor ‘QMessageLogContext::QMessageLogContext()’: /usr/include/qt5/QtCore/qlogging.h:67:37: error: ‘nullptr’ was not declared in this scope 67 | : version(2), line(0), file(nullptr), function(nullptr), category(nullptr) {} | ^~~~~~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndAndRelaxed(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:172:14: error: ‘Ops’ has not been declared 172 | { return Ops::fetchAndAndRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndAndAcquire(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:174:14: error: ‘Ops’ has not been declared 174 | { return Ops::fetchAndAndAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndAndRelease(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:176:14: error: ‘Ops’ has not been declared 176 | { return Ops::fetchAndAndRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndAndOrdered(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:178:14: error: ‘Ops’ has not been declared 178 | { return Ops::fetchAndAndOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndOrRelaxed(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:181:14: error: ‘Ops’ has not been declared 181 | { return Ops::fetchAndOrRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndOrAcquire(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:183:14: error: ‘Ops’ has not been declared 183 | { return Ops::fetchAndOrAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndOrRelease(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:185:14: error: ‘Ops’ has not been declared 185 | { return Ops::fetchAndOrRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndOrOrdered(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:187:14: error: ‘Ops’ has not been declared 187 | { return Ops::fetchAndOrOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndXorRelaxed(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:190:14: error: ‘Ops’ has not been declared 190 | { return Ops::fetchAndXorRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndXorAcquire(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:192:14: error: ‘Ops’ has not been declared 192 | { return Ops::fetchAndXorAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndXorRelease(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:194:14: error: ‘Ops’ has not been declared 194 | { return Ops::fetchAndXorRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndXorOrdered(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:196:14: error: ‘Ops’ has not been declared 196 | { return Ops::fetchAndXorOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: At global scope: /usr/include/qt5/QtCore/qbasicatomic.h:234:13: error: ‘QAtomicOps’ does not name a type 234 | typedef QAtomicOps Ops; | ^~~~~~~~~~ /usr/include/qt5/QtCore/qbasicatomic.h:235:22: error: ‘Ops’ has not been declared 235 | typedef typename Ops::Type AtomicType; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.h:31, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.cpp:21: /usr/include/qt5/QtCore/qflags.h: At global scope: /usr/include/qt5/QtCore/qflags.h:74:1: error: ‘is_integral’ is not a member of ‘std’ 74 | Q_DECLARE_TYPEINFO(QFlag, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:83:1: error: ‘is_integral’ is not a member of ‘std’ 83 | Q_DECLARE_TYPEINFO(QIncompatibleFlag, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h: In member function ‘QFlags& QFlags::operator&=(Enum)’: /usr/include/qt5/QtCore/qflags.h:131:84: error: ‘i’ was not declared in this scope 131 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator&=(Enum mask) Q_DECL_NOTHROW { i &= Int(mask); return *this; } | ^ /usr/include/qt5/QtCore/qflags.h:83:1: error: expected primary-expression before ‘>’ token 83 | Q_DECLARE_TYPEINFO(QIncompatibleFlag, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::load() const’: /usr/include/qt5/QtCore/qbasicatomic.h:103:44: error: ‘Ops’ has not been declared 103 | T load() const Q_DECL_NOTHROW { return Ops::load(_q_value); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘void QBasicAtomicInteger::store(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:104:45: error: ‘Ops’ has not been declared 104 | void store(T newValue) Q_DECL_NOTHROW { Ops::store(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘X* QBasicAtomicPointer::load() const’: /usr/include/qt5/QtCore/qbasicatomic.h:239:47: error: ‘Ops’ has not been declared 239 | Type load() const Q_DECL_NOTHROW { return Ops::load(_q_value); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘void QBasicAtomicPointer::store(QBasicAtomicPointer::Type)’: /usr/include/qt5/QtCore/qbasicatomic.h:240:48: error: ‘Ops’ has not been declared 240 | void store(Type newValue) Q_DECL_NOTHROW { Ops::store(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::loadAcquire() const’: /usr/include/qt5/QtCore/qbasicatomic.h:106:51: error: ‘Ops’ has not been declared 106 | T loadAcquire() const Q_DECL_NOTHROW { return Ops::loadAcquire(_q_value); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘X* QBasicAtomicPointer::loadAcquire() const’: /usr/include/qt5/QtCore/qbasicatomic.h:245:54: error: ‘Ops’ has not been declared 245 | Type loadAcquire() const Q_DECL_NOTHROW { return Ops::loadAcquire(_q_value); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘void QBasicAtomicInteger::storeRelease(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:107:52: error: ‘Ops’ has not been declared 107 | void storeRelease(T newValue) Q_DECL_NOTHROW { Ops::storeRelease(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function ‘static bool QBasicAtomicInteger::isReferenceCountingNative()’: /usr/include/qt5/QtCore/qbasicatomic.h:111:86: error: ‘Ops’ has not been declared 111 | static Q_DECL_CONSTEXPR bool isReferenceCountingNative() Q_DECL_NOTHROW { return Ops::isReferenceCountingNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘void QBasicAtomicPointer::storeRelease(QBasicAtomicPointer::Type)’: /usr/include/qt5/QtCore/qbasicatomic.h:246:55: error: ‘Ops’ has not been declared 246 | void storeRelease(Type newValue) Q_DECL_NOTHROW { Ops::storeRelease(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function ‘static bool QBasicAtomicPointer::isTestAndSetNative()’: /usr/include/qt5/QtCore/qbasicatomic.h:248:79: error: ‘Ops’ has not been declared 248 | static Q_DECL_CONSTEXPR bool isTestAndSetNative() Q_DECL_NOTHROW { return Ops::isTestAndSetNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function ‘static bool QBasicAtomicInteger::isReferenceCountingWaitFree()’: /usr/include/qt5/QtCore/qbasicatomic.h:112:88: error: ‘Ops’ has not been declared 112 | static Q_DECL_CONSTEXPR bool isReferenceCountingWaitFree() Q_DECL_NOTHROW { return Ops::isReferenceCountingWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function ‘static bool QBasicAtomicPointer::isTestAndSetWaitFree()’: /usr/include/qt5/QtCore/qbasicatomic.h:249:81: error: ‘Ops’ has not been declared 249 | static Q_DECL_CONSTEXPR bool isTestAndSetWaitFree() Q_DECL_NOTHROW { return Ops::isTestAndSetWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicInteger::ref()’: /usr/include/qt5/QtCore/qbasicatomic.h:114:40: error: ‘Ops’ has not been declared 114 | bool ref() Q_DECL_NOTHROW { return Ops::ref(_q_value); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicPointer::testAndSetRelaxed(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type)’: /usr/include/qt5/QtCore/qbasicatomic.h:252:14: error: ‘Ops’ has not been declared 252 | { return Ops::testAndSetRelaxed(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicInteger::deref()’: /usr/include/qt5/QtCore/qbasicatomic.h:115:42: error: ‘Ops’ has not been declared 115 | bool deref() Q_DECL_NOTHROW { return Ops::deref(_q_value); } | ^~~ /usr/include/qt5/QtCore/qflags.h:74:1: error: expected primary-expression before ‘>’ token 74 | Q_DECLARE_TYPEINFO(QFlag, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicPointer::testAndSetAcquire(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type)’: /usr/include/qt5/QtCore/qbasicatomic.h:254:14: error: ‘Ops’ has not been declared 254 | { return Ops::testAndSetAcquire(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qflags.h: In member function ‘QFlags& QFlags::operator|=(QFlags)’: /usr/include/qt5/QtCore/qflags.h:132:87: error: ‘i’ was not declared in this scope 132 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator|=(QFlags other) Q_DECL_NOTHROW { i |= other.i; return *this; } | ^ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function ‘static bool QBasicAtomicInteger::isTestAndSetNative()’: /usr/include/qt5/QtCore/qbasicatomic.h:117:79: error: ‘Ops’ has not been declared 117 | static Q_DECL_CONSTEXPR bool isTestAndSetNative() Q_DECL_NOTHROW { return Ops::isTestAndSetNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicPointer::testAndSetRelease(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type)’: /usr/include/qt5/QtCore/qbasicatomic.h:256:14: error: ‘Ops’ has not been declared 256 | { return Ops::testAndSetRelease(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function ‘static bool QBasicAtomicInteger::isTestAndSetWaitFree()’: /usr/include/qt5/QtCore/qbasicatomic.h:118:81: error: ‘Ops’ has not been declared 118 | static Q_DECL_CONSTEXPR bool isTestAndSetWaitFree() Q_DECL_NOTHROW { return Ops::isTestAndSetWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicInteger::testAndSetRelaxed(T, T)’: /usr/include/qt5/QtCore/qbasicatomic.h:121:14: error: ‘Ops’ has not been declared 121 | { return Ops::testAndSetRelaxed(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicInteger::testAndSetAcquire(T, T)’: /usr/include/qt5/QtCore/qbasicatomic.h:123:14: error: ‘Ops’ has not been declared 123 | { return Ops::testAndSetAcquire(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicInteger::testAndSetRelease(T, T)’: /usr/include/qt5/QtCore/qbasicatomic.h:125:14: error: ‘Ops’ has not been declared 125 | { return Ops::testAndSetRelease(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qflags.h:83:1: error: ‘::value’ has not been declared 83 | Q_DECLARE_TYPEINFO(QIncompatibleFlag, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicInteger::testAndSetOrdered(T, T)’: /usr/include/qt5/QtCore/qbasicatomic.h:127:14: error: ‘Ops’ has not been declared 127 | { return Ops::testAndSetOrdered(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicInteger::testAndSetRelaxed(T, T, T&)’: /usr/include/qt5/QtCore/qbasicatomic.h:130:14: error: ‘Ops’ has not been declared 130 | { return Ops::testAndSetRelaxed(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicInteger::testAndSetAcquire(T, T, T&)’: /usr/include/qt5/QtCore/qbasicatomic.h:132:14: error: ‘Ops’ has not been declared 132 | { return Ops::testAndSetAcquire(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicInteger::testAndSetRelease(T, T, T&)’: /usr/include/qt5/QtCore/qbasicatomic.h:134:14: error: ‘Ops’ has not been declared 134 | { return Ops::testAndSetRelease(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicInteger::testAndSetOrdered(T, T, T&)’: /usr/include/qt5/QtCore/qbasicatomic.h:136:14: error: ‘Ops’ has not been declared 136 | { return Ops::testAndSetOrdered(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function ‘static bool QBasicAtomicInteger::isFetchAndStoreNative()’: /usr/include/qt5/QtCore/qbasicatomic.h:138:82: error: ‘Ops’ has not been declared 138 | static Q_DECL_CONSTEXPR bool isFetchAndStoreNative() Q_DECL_NOTHROW { return Ops::isFetchAndStoreNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function ‘static bool QBasicAtomicInteger::isFetchAndStoreWaitFree()’: /usr/include/qt5/QtCore/qbasicatomic.h:139:84: error: ‘Ops’ has not been declared 139 | static Q_DECL_CONSTEXPR bool isFetchAndStoreWaitFree() Q_DECL_NOTHROW { return Ops::isFetchAndStoreWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndStoreRelaxed(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:142:14: error: ‘Ops’ has not been declared 142 | { return Ops::fetchAndStoreRelaxed(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndStoreAcquire(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:144:14: error: ‘Ops’ has not been declared 144 | { return Ops::fetchAndStoreAcquire(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qflags.h: In member function ‘QFlags& QFlags::operator|=(Enum)’: /usr/include/qt5/QtCore/qflags.h:133:85: error: ‘i’ was not declared in this scope 133 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator|=(Enum other) Q_DECL_NOTHROW { i |= Int(other); return *this; } | ^ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndStoreRelease(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:146:14: error: ‘Ops’ has not been declared 146 | { return Ops::fetchAndStoreRelease(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndStoreOrdered(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:148:14: error: ‘Ops’ has not been declared 148 | { return Ops::fetchAndStoreOrdered(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qflags.h:74:1: error: ‘::value’ has not been declared 74 | Q_DECLARE_TYPEINFO(QFlag, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function ‘static bool QBasicAtomicInteger::isFetchAndAddNative()’: /usr/include/qt5/QtCore/qbasicatomic.h:150:80: error: ‘Ops’ has not been declared 150 | static Q_DECL_CONSTEXPR bool isFetchAndAddNative() Q_DECL_NOTHROW { return Ops::isFetchAndAddNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function ‘static bool QBasicAtomicInteger::isFetchAndAddWaitFree()’: /usr/include/qt5/QtCore/qbasicatomic.h:151:82: error: ‘Ops’ has not been declared 151 | static Q_DECL_CONSTEXPR bool isFetchAndAddWaitFree() Q_DECL_NOTHROW { return Ops::isFetchAndAddWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndAddRelaxed(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:154:14: error: ‘Ops’ has not been declared 154 | { return Ops::fetchAndAddRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndAddAcquire(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:156:14: error: ‘Ops’ has not been declared 156 | { return Ops::fetchAndAddAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndAddRelease(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:158:14: error: ‘Ops’ has not been declared 158 | { return Ops::fetchAndAddRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndAddOrdered(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:160:14: error: ‘Ops’ has not been declared 160 | { return Ops::fetchAndAddOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndSubRelaxed(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:163:14: error: ‘Ops’ has not been declared 163 | { return Ops::fetchAndSubRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndSubAcquire(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:165:14: error: ‘Ops’ has not been declared 165 | { return Ops::fetchAndSubAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndSubRelease(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:167:14: error: ‘Ops’ has not been declared 167 | { return Ops::fetchAndSubRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndSubOrdered(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:169:14: error: ‘Ops’ has not been declared 169 | { return Ops::fetchAndSubOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndAndRelaxed(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:172:14: error: ‘Ops’ has not been declared 172 | { return Ops::fetchAndAndRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndAndAcquire(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:174:14: error: ‘Ops’ has not been declared 174 | { return Ops::fetchAndAndAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndAndRelease(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:176:14: error: ‘Ops’ has not been declared 176 | { return Ops::fetchAndAndRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndAndOrdered(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:178:14: error: ‘Ops’ has not been declared 178 | { return Ops::fetchAndAndOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndOrRelaxed(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:181:14: error: ‘Ops’ has not been declared 181 | { return Ops::fetchAndOrRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndOrAcquire(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:183:14: error: ‘Ops’ has not been declared 183 | { return Ops::fetchAndOrAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndOrRelease(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:185:14: error: ‘Ops’ has not been declared 185 | { return Ops::fetchAndOrRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicPointer::testAndSetOrdered(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type)’: /usr/include/qt5/QtCore/qbasicatomic.h:258:14: error: ‘Ops’ has not been declared 258 | { return Ops::testAndSetOrdered(_q_value, expectedValue, newValue); } | ^~~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/texthtmlbuilder.h:28, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/texthtmlbuilder.cpp:21: /usr/include/qt5/QtCore/qflags.h:96:5: error: ‘is_enum’ is not a member of ‘std’ 96 | Q_STATIC_ASSERT_X((std::is_enum::value), "QFlags is only usable on enumeration types."); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:83:1: error: ‘is_integral’ is not a member of ‘std’ 83 | Q_DECLARE_TYPEINFO(QIncompatibleFlag, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:96:5: error: expected primary-expression before ‘>’ token 96 | Q_STATIC_ASSERT_X((std::is_enum::value), "QFlags is only usable on enumeration types."); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:83:1: error: expected primary-expression before ‘>’ token 83 | Q_DECLARE_TYPEINFO(QIncompatibleFlag, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicPointer::testAndSetRelaxed(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type, X*&)’: /usr/include/qt5/QtCore/qbasicatomic.h:261:14: error: ‘Ops’ has not been declared 261 | { return Ops::testAndSetRelaxed(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicPointer::testAndSetAcquire(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type, X*&)’: /usr/include/qt5/QtCore/qbasicatomic.h:263:14: error: ‘Ops’ has not been declared 263 | { return Ops::testAndSetAcquire(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicPointer::testAndSetRelease(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type, X*&)’: /usr/include/qt5/QtCore/qbasicatomic.h:265:14: error: ‘Ops’ has not been declared 265 | { return Ops::testAndSetRelease(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicPointer::testAndSetOrdered(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type, X*&)’: /usr/include/qt5/QtCore/qbasicatomic.h:267:14: error: ‘Ops’ has not been declared 267 | { return Ops::testAndSetOrdered(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function ‘static bool QBasicAtomicPointer::isFetchAndStoreNative()’: /usr/include/qt5/QtCore/qbasicatomic.h:269:82: error: ‘Ops’ has not been declared 269 | static Q_DECL_CONSTEXPR bool isFetchAndStoreNative() Q_DECL_NOTHROW { return Ops::isFetchAndStoreNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function ‘static bool QBasicAtomicPointer::isFetchAndStoreWaitFree()’: /usr/include/qt5/QtCore/qbasicatomic.h:270:84: error: ‘Ops’ has not been declared 270 | static Q_DECL_CONSTEXPR bool isFetchAndStoreWaitFree() Q_DECL_NOTHROW { return Ops::isFetchAndStoreWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘X* QBasicAtomicPointer::fetchAndStoreRelaxed(QBasicAtomicPointer::Type)’: /usr/include/qt5/QtCore/qbasicatomic.h:273:14: error: ‘Ops’ has not been declared 273 | { return Ops::fetchAndStoreRelaxed(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘X* QBasicAtomicPointer::fetchAndStoreAcquire(QBasicAtomicPointer::Type)’: /usr/include/qt5/QtCore/qbasicatomic.h:275:14: error: ‘Ops’ has not been declared 275 | { return Ops::fetchAndStoreAcquire(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘X* QBasicAtomicPointer::fetchAndStoreRelease(QBasicAtomicPointer::Type)’: /usr/include/qt5/QtCore/qbasicatomic.h:277:14: error: ‘Ops’ has not been declared 277 | { return Ops::fetchAndStoreRelease(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘X* QBasicAtomicPointer::fetchAndStoreOrdered(QBasicAtomicPointer::Type)’: /usr/include/qt5/QtCore/qbasicatomic.h:279:14: error: ‘Ops’ has not been declared 279 | { return Ops::fetchAndStoreOrdered(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function ‘static bool QBasicAtomicPointer::isFetchAndAddNative()’: /usr/include/qt5/QtCore/qbasicatomic.h:281:80: error: ‘Ops’ has not been declared 281 | static Q_DECL_CONSTEXPR bool isFetchAndAddNative() Q_DECL_NOTHROW { return Ops::isFetchAndAddNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function ‘static bool QBasicAtomicPointer::isFetchAndAddWaitFree()’: /usr/include/qt5/QtCore/qbasicatomic.h:282:82: error: ‘Ops’ has not been declared 282 | static Q_DECL_CONSTEXPR bool isFetchAndAddWaitFree() Q_DECL_NOTHROW { return Ops::isFetchAndAddWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘X* QBasicAtomicPointer::fetchAndAddRelaxed(qptrdiff)’: /usr/include/qt5/QtCore/qbasicatomic.h:285:14: error: ‘Ops’ has not been declared 285 | { return Ops::fetchAndAddRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘X* QBasicAtomicPointer::fetchAndAddAcquire(qptrdiff)’: /usr/include/qt5/QtCore/qbasicatomic.h:287:14: error: ‘Ops’ has not been declared 287 | { return Ops::fetchAndAddAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘X* QBasicAtomicPointer::fetchAndAddRelease(qptrdiff)’: /usr/include/qt5/QtCore/qbasicatomic.h:289:14: error: ‘Ops’ has not been declared 289 | { return Ops::fetchAndAddRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘X* QBasicAtomicPointer::fetchAndAddOrdered(qptrdiff)’: /usr/include/qt5/QtCore/qbasicatomic.h:291:14: error: ‘Ops’ has not been declared 291 | { return Ops::fetchAndAddOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘X* QBasicAtomicPointer::fetchAndSubRelaxed(qptrdiff)’: /usr/include/qt5/QtCore/qbasicatomic.h:294:14: error: ‘Ops’ has not been declared 294 | { return Ops::fetchAndSubRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qflags.h:83:1: error: ‘::value’ has not been declared 83 | Q_DECLARE_TYPEINFO(QIncompatibleFlag, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘X* QBasicAtomicPointer::fetchAndSubAcquire(qptrdiff)’: /usr/include/qt5/QtCore/qbasicatomic.h:296:14: error: ‘Ops’ has not been declared 296 | { return Ops::fetchAndSubAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘X* QBasicAtomicPointer::fetchAndSubRelease(qptrdiff)’: /usr/include/qt5/QtCore/qbasicatomic.h:298:14: error: ‘Ops’ has not been declared 298 | { return Ops::fetchAndSubRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘X* QBasicAtomicPointer::fetchAndSubOrdered(qptrdiff)’: /usr/include/qt5/QtCore/qbasicatomic.h:300:14: error: ‘Ops’ has not been declared 300 | { return Ops::fetchAndSubOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qflags.h:96:5: error: ‘::value’ has not been declared 96 | Q_STATIC_ASSERT_X((std::is_enum::value), "QFlags is only usable on enumeration types."); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h: In member function ‘QFlags& QFlags::operator^=(QFlags)’: /usr/include/qt5/QtCore/qflags.h:134:87: error: ‘i’ was not declared in this scope 134 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator^=(QFlags other) Q_DECL_NOTHROW { i ^= other.i; return *this; } | ^ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndOrOrdered(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:187:14: error: ‘Ops’ has not been declared 187 | { return Ops::fetchAndOrOrdered(_q_value, valueToAdd); } | ^~~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.h:31, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.cpp:21: /usr/include/qt5/QtCore/qflags.h:96:5: error: ‘is_enum’ is not a member of ‘std’ 96 | Q_STATIC_ASSERT_X((std::is_enum::value), "QFlags is only usable on enumeration types."); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1210, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.cpp:21: /usr/include/qt5/QtCore/qatomic.h: At global scope: /usr/include/qt5/QtCore/qatomic.h:173:38: error: ‘nullptr’ was not declared in this scope 173 | inline QAtomicPointer(T *value = nullptr) Q_DECL_NOTHROW | ^~~~~~~ /usr/include/qt5/QtCore/qflags.h:96:5: error: expected primary-expression before ‘>’ token 96 | Q_STATIC_ASSERT_X((std::is_enum::value), "QFlags is only usable on enumeration types."); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:96:5: error: ‘::value’ has not been declared 96 | Q_STATIC_ASSERT_X((std::is_enum::value), "QFlags is only usable on enumeration types."); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.h:31, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.cpp:21: /usr/include/qt5/QtCore/qflags.h:108:27: error: ‘conditional’ in namespace ‘std’ does not name a template type 108 | typedef typename std::conditional< | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:108:38: error: expected unqualified-id before ‘<’ token 108 | typedef typename std::conditional< | ^ /usr/include/qt5/QtCore/qflags.h:137:38: error: expected type-specifier before ‘Int’ 137 | Q_DECL_CONSTEXPR inline operator Int() const Q_DECL_NOTHROW { return i; } | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.h:31, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.cpp:21: /usr/include/qt5/QtCore/qflags.h:166:5: error: ‘Int’ does not name a type; did you mean ‘int’? 166 | Int i; | ^~~ | int In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.h:31, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.cpp:21: /usr/include/qt5/QtCore/qflags.h: In constructor ‘QFlags::QFlags(Enum)’: /usr/include/qt5/QtCore/qflags.h:120:65: error: class ‘QFlags’ does not have any field named ‘i’ 120 | Q_DECL_CONSTEXPR inline QFlags(Enum flags) Q_DECL_NOTHROW : i(Int(flags)) {} | ^ /usr/include/qt5/QtCore/qflags.h: In constructor ‘QFlags::QFlags(QFlags::Zero)’: /usr/include/qt5/QtCore/qflags.h:121:71: error: class ‘QFlags’ does not have any field named ‘i’ 121 | Q_DECL_CONSTEXPR inline QFlags(Zero = Q_NULLPTR) Q_DECL_NOTHROW : i(0) {} | ^ /usr/include/qt5/QtCore/qflags.h: In constructor ‘QFlags::QFlags(QFlag)’: /usr/include/qt5/QtCore/qflags.h:122:65: error: class ‘QFlags’ does not have any field named ‘i’ 122 | Q_DECL_CONSTEXPR inline QFlags(QFlag flag) Q_DECL_NOTHROW : i(flag) {} | ^ /usr/include/qt5/QtCore/qflags.h: In member function ‘QFlags& QFlags::operator&=(int)’: /usr/include/qt5/QtCore/qflags.h:129:83: error: ‘i’ was not declared in this scope 129 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator&=(int mask) Q_DECL_NOTHROW { i &= mask; return *this; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function ‘QFlags& QFlags::operator&=(uint)’: /usr/include/qt5/QtCore/qflags.h:130:84: error: ‘i’ was not declared in this scope 130 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator&=(uint mask) Q_DECL_NOTHROW { i &= mask; return *this; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function ‘QFlags& QFlags::operator&=(Enum)’: /usr/include/qt5/QtCore/qflags.h:131:84: error: ‘i’ was not declared in this scope 131 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator&=(Enum mask) Q_DECL_NOTHROW { i &= Int(mask); return *this; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function ‘QFlags& QFlags::operator|=(QFlags)’: /usr/include/qt5/QtCore/qflags.h:132:87: error: ‘i’ was not declared in this scope 132 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator|=(QFlags other) Q_DECL_NOTHROW { i |= other.i; return *this; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function ‘QFlags& QFlags::operator|=(Enum)’: /usr/include/qt5/QtCore/qflags.h:133:85: error: ‘i’ was not declared in this scope 133 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator|=(Enum other) Q_DECL_NOTHROW { i |= Int(other); return *this; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function ‘QFlags& QFlags::operator^=(QFlags)’: /usr/include/qt5/QtCore/qflags.h:134:87: error: ‘i’ was not declared in this scope 134 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator^=(QFlags other) Q_DECL_NOTHROW { i ^= other.i; return *this; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function ‘QFlags& QFlags::operator^=(Enum)’: /usr/include/qt5/QtCore/qflags.h:135:85: error: ‘i’ was not declared in this scope 135 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator^=(Enum other) Q_DECL_NOTHROW { i ^= Int(other); return *this; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function ‘QFlags QFlags::operator|(QFlags) const’: /usr/include/qt5/QtCore/qflags.h:139:103: error: ‘i’ was not declared in this scope 139 | Q_DECL_CONSTEXPR inline QFlags operator|(QFlags other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | other.i)); } | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.cpp:21: /usr/include/qt5/QtCore/qchar.h:598:1: error: ‘is_integral’ is not a member of ‘std’ 598 | Q_DECLARE_TYPEINFO(QChar, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/texthtmlbuilder.h:28, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/texthtmlbuilder.cpp:21: /usr/include/qt5/QtCore/qflags.h:108:27: error: ‘conditional’ in namespace ‘std’ does not name a template type 108 | typedef typename std::conditional< | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:598:1: error: expected primary-expression before ‘>’ token 598 | Q_DECLARE_TYPEINFO(QChar, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:108:38: error: expected unqualified-id before ‘<’ token 108 | typedef typename std::conditional< | ^ /usr/include/qt5/QtCore/qflags.h:137:38: error: expected type-specifier before ‘Int’ 137 | Q_DECL_CONSTEXPR inline operator Int() const Q_DECL_NOTHROW { return i; } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndXorRelaxed(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:190:14: error: ‘Ops’ has not been declared 190 | { return Ops::fetchAndXorRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qflags.h: In member function ‘QFlags& QFlags::operator^=(Enum)’: /usr/include/qt5/QtCore/qflags.h:135:85: error: ‘i’ was not declared in this scope 135 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator^=(Enum other) Q_DECL_NOTHROW { i ^= Int(other); return *this; } | ^ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndXorAcquire(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:192:14: error: ‘Ops’ has not been declared 192 | { return Ops::fetchAndXorAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndXorRelease(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:194:14: error: ‘Ops’ has not been declared 194 | { return Ops::fetchAndXorRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndXorOrdered(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:196:14: error: ‘Ops’ has not been declared 196 | { return Ops::fetchAndXorOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qflags.h: In member function ‘QFlags QFlags::operator|(Enum) const’: /usr/include/qt5/QtCore/qflags.h:140:101: error: ‘i’ was not declared in this scope 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function ‘QFlags QFlags::operator^(QFlags) const’: /usr/include/qt5/QtCore/qflags.h:141:103: error: ‘i’ was not declared in this scope 141 | Q_DECL_CONSTEXPR inline QFlags operator^(QFlags other) const Q_DECL_NOTHROW { return QFlags(QFlag(i ^ other.i)); } | ^ /usr/include/qt5/QtCore/qbasicatomic.h: At global scope: /usr/include/qt5/QtCore/qbasicatomic.h:234:13: error: ‘QAtomicOps’ does not name a type 234 | typedef QAtomicOps Ops; | ^~~~~~~~~~ /usr/include/qt5/QtCore/qbasicatomic.h:235:22: error: ‘Ops’ has not been declared 235 | typedef typename Ops::Type AtomicType; | ^~~ /usr/include/qt5/QtCore/qflags.h: In member function ‘QFlags QFlags::operator^(Enum) const’: /usr/include/qt5/QtCore/qflags.h:142:101: error: ‘i’ was not declared in this scope 142 | Q_DECL_CONSTEXPR inline QFlags operator^(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i ^ Int(other))); } | ^ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘X* QBasicAtomicPointer::load() const’: /usr/include/qt5/QtCore/qbasicatomic.h:239:47: error: ‘Ops’ has not been declared 239 | Type load() const Q_DECL_NOTHROW { return Ops::load(_q_value); } | ^~~ /usr/include/qt5/QtCore/qflags.h: In member function ‘QFlags QFlags::operator&(int) const’: /usr/include/qt5/QtCore/qflags.h:143:99: error: ‘i’ was not declared in this scope 143 | Q_DECL_CONSTEXPR inline QFlags operator&(int mask) const Q_DECL_NOTHROW { return QFlags(QFlag(i & mask)); } | ^ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘void QBasicAtomicPointer::store(QBasicAtomicPointer::Type)’: /usr/include/qt5/QtCore/qbasicatomic.h:240:48: error: ‘Ops’ has not been declared 240 | void store(Type newValue) Q_DECL_NOTHROW { Ops::store(_q_value, newValue); } | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/texthtmlbuilder.h:28, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/texthtmlbuilder.cpp:21: /usr/include/qt5/QtCore/qflags.h:166:5: error: ‘Int’ does not name a type; did you mean ‘int’? 166 | Int i; | ^~~ | int /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘X* QBasicAtomicPointer::loadAcquire() const’: /usr/include/qt5/QtCore/qbasicatomic.h:245:54: error: ‘Ops’ has not been declared 245 | Type loadAcquire() const Q_DECL_NOTHROW { return Ops::loadAcquire(_q_value); } | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/texthtmlbuilder.h:28, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/texthtmlbuilder.cpp:21: /usr/include/qt5/QtCore/qflags.h: In constructor ‘QFlags::QFlags(Enum)’: /usr/include/qt5/QtCore/qflags.h:120:65: error: class ‘QFlags’ does not have any field named ‘i’ 120 | Q_DECL_CONSTEXPR inline QFlags(Enum flags) Q_DECL_NOTHROW : i(Int(flags)) {} | ^ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘void QBasicAtomicPointer::storeRelease(QBasicAtomicPointer::Type)’: /usr/include/qt5/QtCore/qbasicatomic.h:246:55: error: ‘Ops’ has not been declared 246 | void storeRelease(Type newValue) Q_DECL_NOTHROW { Ops::storeRelease(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qflags.h: In constructor ‘QFlags::QFlags(QFlags::Zero)’: /usr/include/qt5/QtCore/qflags.h:121:71: error: class ‘QFlags’ does not have any field named ‘i’ 121 | Q_DECL_CONSTEXPR inline QFlags(Zero = Q_NULLPTR) Q_DECL_NOTHROW : i(0) {} | ^ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function ‘static bool QBasicAtomicPointer::isTestAndSetNative()’: /usr/include/qt5/QtCore/qbasicatomic.h:248:79: error: ‘Ops’ has not been declared 248 | static Q_DECL_CONSTEXPR bool isTestAndSetNative() Q_DECL_NOTHROW { return Ops::isTestAndSetNative(); } | ^~~ /usr/include/qt5/QtCore/qflags.h: In constructor ‘QFlags::QFlags(QFlag)’: /usr/include/qt5/QtCore/qflags.h:122:65: error: class ‘QFlags’ does not have any field named ‘i’ 122 | Q_DECL_CONSTEXPR inline QFlags(QFlag flag) Q_DECL_NOTHROW : i(flag) {} | ^ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function ‘static bool QBasicAtomicPointer::isTestAndSetWaitFree()’: /usr/include/qt5/QtCore/qbasicatomic.h:249:81: error: ‘Ops’ has not been declared 249 | static Q_DECL_CONSTEXPR bool isTestAndSetWaitFree() Q_DECL_NOTHROW { return Ops::isTestAndSetWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicPointer::testAndSetRelaxed(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type)’: /usr/include/qt5/QtCore/qbasicatomic.h:252:14: error: ‘Ops’ has not been declared 252 | { return Ops::testAndSetRelaxed(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicPointer::testAndSetAcquire(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type)’: /usr/include/qt5/QtCore/qbasicatomic.h:254:14: error: ‘Ops’ has not been declared 254 | { return Ops::testAndSetAcquire(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicPointer::testAndSetRelease(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type)’: /usr/include/qt5/QtCore/qbasicatomic.h:256:14: error: ‘Ops’ has not been declared 256 | { return Ops::testAndSetRelease(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicPointer::testAndSetOrdered(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type)’: /usr/include/qt5/QtCore/qbasicatomic.h:258:14: error: ‘Ops’ has not been declared 258 | { return Ops::testAndSetOrdered(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qflags.h: In member function ‘QFlags QFlags::operator|(QFlags) const’: /usr/include/qt5/QtCore/qflags.h:139:103: error: ‘i’ was not declared in this scope 139 | Q_DECL_CONSTEXPR inline QFlags operator|(QFlags other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | other.i)); } | ^ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicPointer::testAndSetRelaxed(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type, X*&)’: /usr/include/qt5/QtCore/qbasicatomic.h:261:14: error: ‘Ops’ has not been declared 261 | { return Ops::testAndSetRelaxed(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicPointer::testAndSetAcquire(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type, X*&)’: /usr/include/qt5/QtCore/qbasicatomic.h:263:14: error: ‘Ops’ has not been declared 263 | { return Ops::testAndSetAcquire(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicPointer::testAndSetRelease(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type, X*&)’: /usr/include/qt5/QtCore/qbasicatomic.h:265:14: error: ‘Ops’ has not been declared 265 | { return Ops::testAndSetRelease(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicPointer::testAndSetOrdered(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type, X*&)’: /usr/include/qt5/QtCore/qbasicatomic.h:267:14: error: ‘Ops’ has not been declared 267 | { return Ops::testAndSetOrdered(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function ‘static bool QBasicAtomicPointer::isFetchAndStoreNative()’: /usr/include/qt5/QtCore/qbasicatomic.h:269:82: error: ‘Ops’ has not been declared 269 | static Q_DECL_CONSTEXPR bool isFetchAndStoreNative() Q_DECL_NOTHROW { return Ops::isFetchAndStoreNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function ‘static bool QBasicAtomicPointer::isFetchAndStoreWaitFree()’: /usr/include/qt5/QtCore/qbasicatomic.h:270:84: error: ‘Ops’ has not been declared 270 | static Q_DECL_CONSTEXPR bool isFetchAndStoreWaitFree() Q_DECL_NOTHROW { return Ops::isFetchAndStoreWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘X* QBasicAtomicPointer::fetchAndStoreRelaxed(QBasicAtomicPointer::Type)’: /usr/include/qt5/QtCore/qbasicatomic.h:273:14: error: ‘Ops’ has not been declared 273 | { return Ops::fetchAndStoreRelaxed(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘X* QBasicAtomicPointer::fetchAndStoreAcquire(QBasicAtomicPointer::Type)’: /usr/include/qt5/QtCore/qbasicatomic.h:275:14: error: ‘Ops’ has not been declared 275 | { return Ops::fetchAndStoreAcquire(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qchar.h:598:1: error: ‘::value’ has not been declared 598 | Q_DECLARE_TYPEINFO(QChar, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘X* QBasicAtomicPointer::fetchAndStoreRelease(QBasicAtomicPointer::Type)’: /usr/include/qt5/QtCore/qbasicatomic.h:277:14: error: ‘Ops’ has not been declared 277 | { return Ops::fetchAndStoreRelease(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘X* QBasicAtomicPointer::fetchAndStoreOrdered(QBasicAtomicPointer::Type)’: /usr/include/qt5/QtCore/qbasicatomic.h:279:14: error: ‘Ops’ has not been declared 279 | { return Ops::fetchAndStoreOrdered(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function ‘static bool QBasicAtomicPointer::isFetchAndAddNative()’: /usr/include/qt5/QtCore/qbasicatomic.h:281:80: error: ‘Ops’ has not been declared 281 | static Q_DECL_CONSTEXPR bool isFetchAndAddNative() Q_DECL_NOTHROW { return Ops::isFetchAndAddNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function ‘static bool QBasicAtomicPointer::isFetchAndAddWaitFree()’: /usr/include/qt5/QtCore/qbasicatomic.h:282:82: error: ‘Ops’ has not been declared 282 | static Q_DECL_CONSTEXPR bool isFetchAndAddWaitFree() Q_DECL_NOTHROW { return Ops::isFetchAndAddWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘X* QBasicAtomicPointer::fetchAndAddRelaxed(qptrdiff)’: /usr/include/qt5/QtCore/qbasicatomic.h:285:14: error: ‘Ops’ has not been declared 285 | { return Ops::fetchAndAddRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘X* QBasicAtomicPointer::fetchAndAddAcquire(qptrdiff)’: /usr/include/qt5/QtCore/qbasicatomic.h:287:14: error: ‘Ops’ has not been declared 287 | { return Ops::fetchAndAddAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘X* QBasicAtomicPointer::fetchAndAddRelease(qptrdiff)’: /usr/include/qt5/QtCore/qbasicatomic.h:289:14: error: ‘Ops’ has not been declared 289 | { return Ops::fetchAndAddRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘X* QBasicAtomicPointer::fetchAndAddOrdered(qptrdiff)’: /usr/include/qt5/QtCore/qbasicatomic.h:291:14: error: ‘Ops’ has not been declared 291 | { return Ops::fetchAndAddOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘X* QBasicAtomicPointer::fetchAndSubRelaxed(qptrdiff)’: /usr/include/qt5/QtCore/qbasicatomic.h:294:14: error: ‘Ops’ has not been declared 294 | { return Ops::fetchAndSubRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘X* QBasicAtomicPointer::fetchAndSubAcquire(qptrdiff)’: /usr/include/qt5/QtCore/qbasicatomic.h:296:14: error: ‘Ops’ has not been declared 296 | { return Ops::fetchAndSubAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘X* QBasicAtomicPointer::fetchAndSubRelease(qptrdiff)’: /usr/include/qt5/QtCore/qbasicatomic.h:298:14: error: ‘Ops’ has not been declared 298 | { return Ops::fetchAndSubRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘X* QBasicAtomicPointer::fetchAndSubOrdered(qptrdiff)’: /usr/include/qt5/QtCore/qbasicatomic.h:300:14: error: ‘Ops’ has not been declared 300 | { return Ops::fetchAndSubOrdered(_q_value, valueToAdd); } | ^~~ In file included from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.cpp:21: /usr/include/qt5/QtCore/qchar.h:609:57: error: ‘std::nullptr_t’ has not been declared 609 | Q_DECL_CONSTEXPR inline bool operator==(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return lhs.isNull(); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:610:57: error: ‘std::nullptr_t’ has not been declared 610 | Q_DECL_CONSTEXPR inline bool operator< (QChar, std::nullptr_t) Q_DECL_NOTHROW { return false; } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:611:46: error: declaration of ‘operator==’ as non-function 611 | Q_DECL_CONSTEXPR inline bool operator==(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return rhs.isNull(); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:611:46: error: ‘nullptr_t’ is not a member of ‘std’ /usr/include/qt5/QtCore/qchar.h:611:63: error: expected primary-expression before ‘rhs’ 611 | Q_DECL_CONSTEXPR inline bool operator==(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return rhs.isNull(); } | ^~~ /usr/include/qt5/QtCore/qchar.h:612:46: error: declaration of ‘operator<’ as non-function 612 | Q_DECL_CONSTEXPR inline bool operator< (std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !rhs.isNull(); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:612:46: error: ‘nullptr_t’ is not a member of ‘std’ /usr/include/qt5/QtCore/qchar.h:612:63: error: expected primary-expression before ‘rhs’ 612 | Q_DECL_CONSTEXPR inline bool operator< (std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !rhs.isNull(); } | ^~~ /usr/include/qt5/QtCore/qchar.h:614:57: error: ‘std::nullptr_t’ has not been declared 614 | Q_DECL_CONSTEXPR inline bool operator!=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator==(lhs, nullptr); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h: In function ‘bool operator!=(QChar, int)’: /usr/include/qt5/QtCore/qchar.h:614:109: error: ‘nullptr’ was not declared in this scope 614 | Q_DECL_CONSTEXPR inline bool operator!=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator==(lhs, nullptr); } | ^~~~~~~ /usr/include/qt5/QtCore/qchar.h: At global scope: /usr/include/qt5/QtCore/qchar.h:615:57: error: ‘std::nullptr_t’ has not been declared 615 | Q_DECL_CONSTEXPR inline bool operator>=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator< (lhs, nullptr); } | ^~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1210, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.cpp:21: /usr/include/qt5/QtCore/qatomic.h: At global scope: /usr/include/qt5/QtCore/qatomic.h:173:38: error: ‘nullptr’ was not declared in this scope 173 | inline QAtomicPointer(T *value = nullptr) Q_DECL_NOTHROW | ^~~~~~~ /usr/include/qt5/QtCore/qflags.h: In member function ‘QFlags QFlags::operator&(uint) const’: /usr/include/qt5/QtCore/qflags.h:144:100: error: ‘i’ was not declared in this scope 144 | Q_DECL_CONSTEXPR inline QFlags operator&(uint mask) const Q_DECL_NOTHROW { return QFlags(QFlag(i & mask)); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function ‘QFlags& QFlags::operator&=(int)’: /usr/include/qt5/QtCore/qflags.h:129:83: error: ‘i’ was not declared in this scope 129 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator&=(int mask) Q_DECL_NOTHROW { i &= mask; return *this; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function ‘QFlags& QFlags::operator&=(uint)’: /usr/include/qt5/QtCore/qflags.h:130:84: error: ‘i’ was not declared in this scope 130 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator&=(uint mask) Q_DECL_NOTHROW { i &= mask; return *this; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function ‘QFlags& QFlags::operator&=(Enum)’: /usr/include/qt5/QtCore/qflags.h:131:84: error: ‘i’ was not declared in this scope 131 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator&=(Enum mask) Q_DECL_NOTHROW { i &= Int(mask); return *this; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function ‘QFlags& QFlags::operator|=(QFlags)’: /usr/include/qt5/QtCore/qflags.h:132:87: error: ‘i’ was not declared in this scope 132 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator|=(QFlags other) Q_DECL_NOTHROW { i |= other.i; return *this; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function ‘QFlags& QFlags::operator|=(Enum)’: /usr/include/qt5/QtCore/qflags.h:133:85: error: ‘i’ was not declared in this scope 133 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator|=(Enum other) Q_DECL_NOTHROW { i |= Int(other); return *this; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function ‘QFlags& QFlags::operator^=(QFlags)’: /usr/include/qt5/QtCore/qflags.h:134:87: error: ‘i’ was not declared in this scope 134 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator^=(QFlags other) Q_DECL_NOTHROW { i ^= other.i; return *this; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function ‘QFlags& QFlags::operator^=(Enum)’: /usr/include/qt5/QtCore/qflags.h:135:85: error: ‘i’ was not declared in this scope 135 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator^=(Enum other) Q_DECL_NOTHROW { i ^= Int(other); return *this; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function ‘QFlags QFlags::operator|(QFlags) const’: /usr/include/qt5/QtCore/qflags.h:139:103: error: ‘i’ was not declared in this scope 139 | Q_DECL_CONSTEXPR inline QFlags operator|(QFlags other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | other.i)); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function ‘QFlags QFlags::operator|(Enum) const’: /usr/include/qt5/QtCore/qflags.h:140:101: error: ‘i’ was not declared in this scope 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function ‘QFlags QFlags::operator^(QFlags) const’: /usr/include/qt5/QtCore/qflags.h:141:103: error: ‘i’ was not declared in this scope 141 | Q_DECL_CONSTEXPR inline QFlags operator^(QFlags other) const Q_DECL_NOTHROW { return QFlags(QFlag(i ^ other.i)); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function ‘QFlags QFlags::operator^(Enum) const’: /usr/include/qt5/QtCore/qflags.h:142:101: error: ‘i’ was not declared in this scope 142 | Q_DECL_CONSTEXPR inline QFlags operator^(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i ^ Int(other))); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function ‘QFlags QFlags::operator|(Enum) const’: /usr/include/qt5/QtCore/qflags.h:140:101: error: ‘i’ was not declared in this scope 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.cpp:21: /usr/include/qt5/QtCore/qchar.h:598:1: error: ‘is_integral’ is not a member of ‘std’ 598 | Q_DECLARE_TYPEINFO(QChar, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qchar.h: In function ‘bool operator>=(QChar, int)’: /usr/include/qt5/QtCore/qchar.h:615:109: error: ‘nullptr’ was not declared in this scope 615 | Q_DECL_CONSTEXPR inline bool operator>=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator< (lhs, nullptr); } | ^~~~~~~ /usr/include/qt5/QtCore/qflags.h: In member function ‘QFlags QFlags::operator^(QFlags) const’: /usr/include/qt5/QtCore/qflags.h:141:103: error: ‘i’ was not declared in this scope 141 | Q_DECL_CONSTEXPR inline QFlags operator^(QFlags other) const Q_DECL_NOTHROW { return QFlags(QFlag(i ^ other.i)); } | ^ /usr/include/qt5/QtCore/qchar.h:598:1: error: expected primary-expression before ‘>’ token 598 | Q_DECLARE_TYPEINFO(QChar, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h: In member function ‘QFlags QFlags::operator^(Enum) const’: /usr/include/qt5/QtCore/qflags.h:142:101: error: ‘i’ was not declared in this scope 142 | Q_DECL_CONSTEXPR inline QFlags operator^(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i ^ Int(other))); } | ^ /usr/include/qt5/QtCore/qchar.h:598:1: error: ‘::value’ has not been declared 598 | Q_DECLARE_TYPEINFO(QChar, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h: In member function ‘QFlags QFlags::operator&(int) const’: /usr/include/qt5/QtCore/qflags.h:143:99: error: ‘i’ was not declared in this scope 143 | Q_DECL_CONSTEXPR inline QFlags operator&(int mask) const Q_DECL_NOTHROW { return QFlags(QFlag(i & mask)); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.cpp:21: /usr/include/qt5/QtCore/qchar.h:609:57: error: ‘std::nullptr_t’ has not been declared 609 | Q_DECL_CONSTEXPR inline bool operator==(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return lhs.isNull(); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:610:57: error: ‘std::nullptr_t’ has not been declared 610 | Q_DECL_CONSTEXPR inline bool operator< (QChar, std::nullptr_t) Q_DECL_NOTHROW { return false; } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:611:46: error: declaration of ‘operator==’ as non-function 611 | Q_DECL_CONSTEXPR inline bool operator==(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return rhs.isNull(); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:611:46: error: ‘nullptr_t’ is not a member of ‘std’ /usr/include/qt5/QtCore/qchar.h:611:63: error: expected primary-expression before ‘rhs’ 611 | Q_DECL_CONSTEXPR inline bool operator==(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return rhs.isNull(); } | ^~~ /usr/include/qt5/QtCore/qchar.h:612:46: error: declaration of ‘operator<’ as non-function 612 | Q_DECL_CONSTEXPR inline bool operator< (std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !rhs.isNull(); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qflags.h: In member function ‘QFlags QFlags::operator&(uint) const’: /usr/include/qt5/QtCore/qflags.h:144:100: error: ‘i’ was not declared in this scope 144 | Q_DECL_CONSTEXPR inline QFlags operator&(uint mask) const Q_DECL_NOTHROW { return QFlags(QFlag(i & mask)); } | ^ /usr/include/qt5/QtCore/qchar.h:612:46: error: ‘nullptr_t’ is not a member of ‘std’ /usr/include/qt5/QtCore/qchar.h:612:63: error: expected primary-expression before ‘rhs’ 612 | Q_DECL_CONSTEXPR inline bool operator< (std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !rhs.isNull(); } | ^~~ /usr/include/qt5/QtCore/qchar.h:614:57: error: ‘std::nullptr_t’ has not been declared 614 | Q_DECL_CONSTEXPR inline bool operator!=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator==(lhs, nullptr); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qflags.h: In member function ‘QFlags QFlags::operator&(Enum) const’: /usr/include/qt5/QtCore/qflags.h:145:101: error: ‘i’ was not declared in this scope 145 | Q_DECL_CONSTEXPR inline QFlags operator&(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i & Int(other))); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function ‘QFlags QFlags::operator&(Enum) const’: /usr/include/qt5/QtCore/qflags.h:145:101: error: ‘i’ was not declared in this scope 145 | Q_DECL_CONSTEXPR inline QFlags operator&(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i & Int(other))); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function ‘QFlags QFlags::operator~() const’: /usr/include/qt5/QtCore/qflags.h:146:92: error: ‘i’ was not declared in this scope 146 | Q_DECL_CONSTEXPR inline QFlags operator~() const Q_DECL_NOTHROW { return QFlags(QFlag(~i)); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function ‘QFlags QFlags::operator~() const’: /usr/include/qt5/QtCore/qflags.h:146:92: error: ‘i’ was not declared in this scope 146 | Q_DECL_CONSTEXPR inline QFlags operator~() const Q_DECL_NOTHROW { return QFlags(QFlag(~i)); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function ‘bool QFlags::operator!() const’: /usr/include/qt5/QtCore/qflags.h:148:77: error: ‘i’ was not declared in this scope 148 | Q_DECL_CONSTEXPR inline bool operator!() const Q_DECL_NOTHROW { return !i; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function ‘bool QFlags::operator!() const’: /usr/include/qt5/QtCore/qflags.h:148:77: error: ‘i’ was not declared in this scope 148 | Q_DECL_CONSTEXPR inline bool operator!() const Q_DECL_NOTHROW { return !i; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function ‘bool QFlags::testFlag(Enum) const’: /usr/include/qt5/QtCore/qflags.h:150:85: error: ‘i’ was not declared in this scope 150 | Q_DECL_CONSTEXPR inline bool testFlag(Enum flag) const Q_DECL_NOTHROW { return (i & Int(flag)) == Int(flag) && (Int(flag) != 0 || i == Int(flag) ); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function ‘bool QFlags::testFlag(Enum) const’: /usr/include/qt5/QtCore/qflags.h:150:85: error: ‘i’ was not declared in this scope 150 | Q_DECL_CONSTEXPR inline bool testFlag(Enum flag) const Q_DECL_NOTHROW { return (i & Int(flag)) == Int(flag) && (Int(flag) != 0 || i == Int(flag) ); } | ^ In file included from /usr/include/qt5/QtCore/qatomic.h:46, from /usr/include/qt5/QtCore/qglobal.h:1210, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/mediawikimarkupbuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/mediawikimarkupbuilder.cpp:21: /usr/include/qt5/QtCore/qbasicatomic.h: At global scope: /usr/include/qt5/QtCore/qbasicatomic.h:94:13: error: ‘QAtomicOps’ does not name a type 94 | typedef QAtomicOps Ops; | ^~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h: In member function ‘QFlags QFlags::operator&(int) const’: /usr/include/qt5/QtCore/qflags.h:143:99: error: ‘i’ was not declared in this scope 143 | Q_DECL_CONSTEXPR inline QFlags operator&(int mask) const Q_DECL_NOTHROW { return QFlags(QFlag(i & mask)); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function ‘QFlags QFlags::operator&(uint) const’: /usr/include/qt5/QtCore/qflags.h:144:100: error: ‘i’ was not declared in this scope 144 | Q_DECL_CONSTEXPR inline QFlags operator&(uint mask) const Q_DECL_NOTHROW { return QFlags(QFlag(i & mask)); } | ^ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/mediawikimarkupbuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/mediawikimarkupbuilder.cpp:21: /usr/include/qt5/QtCore/qbasicatomic.h:97:5: error: ‘QAtomicOpsSupport’ was not declared in this scope 97 | Q_STATIC_ASSERT_X(QAtomicOpsSupport::IsSupported, "template parameter is an integral of a size not supported on this platform"); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h: In member function ‘QFlags QFlags::operator&(Enum) const’: /usr/include/qt5/QtCore/qflags.h:145:101: error: ‘i’ was not declared in this scope 145 | Q_DECL_CONSTEXPR inline QFlags operator&(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i & Int(other))); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function ‘QFlags QFlags::operator~() const’: /usr/include/qt5/QtCore/qflags.h:146:92: error: ‘i’ was not declared in this scope 146 | Q_DECL_CONSTEXPR inline QFlags operator~() const Q_DECL_NOTHROW { return QFlags(QFlag(~i)); } | ^ /usr/include/qt5/QtCore/qbasicatomic.h:97:5: error: ‘::IsSupported’ has not been declared 97 | Q_STATIC_ASSERT_X(QAtomicOpsSupport::IsSupported, "template parameter is an integral of a size not supported on this platform"); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h: In member function ‘bool QFlags::operator!() const’: /usr/include/qt5/QtCore/qflags.h:148:77: error: ‘i’ was not declared in this scope 148 | Q_DECL_CONSTEXPR inline bool operator!() const Q_DECL_NOTHROW { return !i; } | ^ /usr/include/qt5/QtCore/qchar.h: At global scope: /usr/include/qt5/QtCore/qchar.h:616:57: error: ‘std::nullptr_t’ has not been declared 616 | Q_DECL_CONSTEXPR inline bool operator> (QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return operator< (nullptr, lhs); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h: In function ‘bool operator!=(QChar, int)’: /usr/include/qt5/QtCore/qchar.h:614:109: error: ‘nullptr’ was not declared in this scope 614 | Q_DECL_CONSTEXPR inline bool operator!=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator==(lhs, nullptr); } | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qatomic.h:46, from /usr/include/qt5/QtCore/qglobal.h:1210, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.h:31, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.cpp:21: /usr/include/qt5/QtCore/qbasicatomic.h: At global scope: /usr/include/qt5/QtCore/qbasicatomic.h:94:13: error: ‘QAtomicOps’ does not name a type 94 | typedef QAtomicOps Ops; | ^~~~~~~~~~ /usr/include/qt5/QtCore/qchar.h: At global scope: /usr/include/qt5/QtCore/qchar.h:615:57: error: ‘std::nullptr_t’ has not been declared 615 | Q_DECL_CONSTEXPR inline bool operator>=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator< (lhs, nullptr); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h: In function ‘bool operator>(QChar, int)’: /usr/include/qt5/QtCore/qchar.h:616:104: error: ‘nullptr’ was not declared in this scope 616 | Q_DECL_CONSTEXPR inline bool operator> (QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return operator< (nullptr, lhs); } | ^~~~~~~ /usr/include/qt5/QtCore/qchar.h: At global scope: /usr/include/qt5/QtCore/qchar.h:617:57: error: ‘std::nullptr_t’ has not been declared 617 | Q_DECL_CONSTEXPR inline bool operator<=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator< (nullptr, lhs); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h: In function ‘bool operator>=(QChar, int)’: /usr/include/qt5/QtCore/qchar.h:615:109: error: ‘nullptr’ was not declared in this scope 615 | Q_DECL_CONSTEXPR inline bool operator>=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator< (lhs, nullptr); } | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qatomic.h:46, from /usr/include/qt5/QtCore/qglobal.h:1210, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/mediawikimarkupbuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/mediawikimarkupbuilder.cpp:21: /usr/include/qt5/QtCore/qbasicatomic.h:99:14: error: ‘Ops’ has not been declared 99 | typename Ops::Type _q_value; | ^~~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.h:31, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.cpp:21: /usr/include/qt5/QtCore/qbasicatomic.h:97:5: error: ‘QAtomicOpsSupport’ was not declared in this scope 97 | Q_STATIC_ASSERT_X(QAtomicOpsSupport::IsSupported, "template parameter is an integral of a size not supported on this platform"); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qchar.h: At global scope: /usr/include/qt5/QtCore/qchar.h:616:57: error: ‘std::nullptr_t’ has not been declared 616 | Q_DECL_CONSTEXPR inline bool operator> (QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return operator< (nullptr, lhs); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::load() const’: /usr/include/qt5/QtCore/qbasicatomic.h:103:44: error: ‘Ops’ has not been declared 103 | T load() const Q_DECL_NOTHROW { return Ops::load(_q_value); } | ^~~ /usr/include/qt5/QtCore/qflags.h: In member function ‘bool QFlags::testFlag(Enum) const’: /usr/include/qt5/QtCore/qflags.h:150:85: error: ‘i’ was not declared in this scope 150 | Q_DECL_CONSTEXPR inline bool testFlag(Enum flag) const Q_DECL_NOTHROW { return (i & Int(flag)) == Int(flag) && (Int(flag) != 0 || i == Int(flag) ); } | ^ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘void QBasicAtomicInteger::store(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:104:45: error: ‘Ops’ has not been declared 104 | void store(T newValue) Q_DECL_NOTHROW { Ops::store(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::loadAcquire() const’: /usr/include/qt5/QtCore/qbasicatomic.h:106:51: error: ‘Ops’ has not been declared 106 | T loadAcquire() const Q_DECL_NOTHROW { return Ops::loadAcquire(_q_value); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘void QBasicAtomicInteger::storeRelease(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:107:52: error: ‘Ops’ has not been declared 107 | void storeRelease(T newValue) Q_DECL_NOTHROW { Ops::storeRelease(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function ‘static bool QBasicAtomicInteger::isReferenceCountingNative()’: /usr/include/qt5/QtCore/qbasicatomic.h:111:86: error: ‘Ops’ has not been declared 111 | static Q_DECL_CONSTEXPR bool isReferenceCountingNative() Q_DECL_NOTHROW { return Ops::isReferenceCountingNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function ‘static bool QBasicAtomicInteger::isReferenceCountingWaitFree()’: /usr/include/qt5/QtCore/qbasicatomic.h:112:88: error: ‘Ops’ has not been declared 112 | static Q_DECL_CONSTEXPR bool isReferenceCountingWaitFree() Q_DECL_NOTHROW { return Ops::isReferenceCountingWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qchar.h: In function ‘bool operator<=(QChar, int)’: /usr/include/qt5/QtCore/qchar.h:617:104: error: ‘nullptr’ was not declared in this scope 617 | Q_DECL_CONSTEXPR inline bool operator<=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator< (nullptr, lhs); } | ^~~~~~~ /usr/include/qt5/QtCore/qchar.h: In function ‘bool operator>(QChar, int)’: /usr/include/qt5/QtCore/qchar.h:616:104: error: ‘nullptr’ was not declared in this scope 616 | Q_DECL_CONSTEXPR inline bool operator> (QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return operator< (nullptr, lhs); } | ^~~~~~~ /usr/include/qt5/QtCore/qchar.h: At global scope: /usr/include/qt5/QtCore/qchar.h:619:46: error: declaration of ‘operator!=’ as non-function 619 | Q_DECL_CONSTEXPR inline bool operator!=(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !operator==(nullptr, rhs); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h: At global scope: /usr/include/qt5/QtCore/qchar.h:617:57: error: ‘std::nullptr_t’ has not been declared 617 | Q_DECL_CONSTEXPR inline bool operator<=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator< (nullptr, lhs); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:619:46: error: ‘nullptr_t’ is not a member of ‘std’ /usr/include/qt5/QtCore/qchar.h:619:63: error: expected primary-expression before ‘rhs’ 619 | Q_DECL_CONSTEXPR inline bool operator!=(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !operator==(nullptr, rhs); } | ^~~ /usr/include/qt5/QtCore/qchar.h:620:46: error: declaration of ‘operator>=’ as non-function 620 | Q_DECL_CONSTEXPR inline bool operator>=(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !operator< (nullptr, rhs); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:620:46: error: ‘nullptr_t’ is not a member of ‘std’ /usr/include/qt5/QtCore/qchar.h:620:63: error: expected primary-expression before ‘rhs’ 620 | Q_DECL_CONSTEXPR inline bool operator>=(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !operator< (nullptr, rhs); } | ^~~ /usr/include/qt5/QtCore/qchar.h:621:46: error: declaration of ‘operator>’ as non-function 621 | Q_DECL_CONSTEXPR inline bool operator> (std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return operator< (rhs, nullptr); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:621:46: error: ‘nullptr_t’ is not a member of ‘std’ /usr/include/qt5/QtCore/qchar.h:621:63: error: expected primary-expression before ‘rhs’ 621 | Q_DECL_CONSTEXPR inline bool operator> (std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return operator< (rhs, nullptr); } | ^~~ /usr/include/qt5/QtCore/qchar.h:622:46: error: declaration of ‘operator<=’ as non-function 622 | Q_DECL_CONSTEXPR inline bool operator<=(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !operator< (rhs, nullptr); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:622:46: error: ‘nullptr_t’ is not a member of ‘std’ /usr/include/qt5/QtCore/qchar.h:622:63: error: expected primary-expression before ‘rhs’ 622 | Q_DECL_CONSTEXPR inline bool operator<=(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !operator< (rhs, nullptr); } | ^~~ /usr/include/qt5/QtCore/qchar.h: In function ‘bool operator<=(QChar, int)’: /usr/include/qt5/QtCore/qchar.h:617:104: error: ‘nullptr’ was not declared in this scope 617 | Q_DECL_CONSTEXPR inline bool operator<=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator< (nullptr, lhs); } | ^~~~~~~ /usr/include/qt5/QtCore/qchar.h: At global scope: /usr/include/qt5/QtCore/qchar.h:619:46: error: declaration of ‘operator!=’ as non-function 619 | Q_DECL_CONSTEXPR inline bool operator!=(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !operator==(nullptr, rhs); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:619:46: error: ‘nullptr_t’ is not a member of ‘std’ /usr/include/qt5/QtCore/qchar.h:619:63: error: expected primary-expression before ‘rhs’ 619 | Q_DECL_CONSTEXPR inline bool operator!=(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !operator==(nullptr, rhs); } | ^~~ /usr/include/qt5/QtCore/qchar.h:620:46: error: declaration of ‘operator>=’ as non-function 620 | Q_DECL_CONSTEXPR inline bool operator>=(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !operator< (nullptr, rhs); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:620:46: error: ‘nullptr_t’ is not a member of ‘std’ /usr/include/qt5/QtCore/qchar.h:620:63: error: expected primary-expression before ‘rhs’ 620 | Q_DECL_CONSTEXPR inline bool operator>=(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !operator< (nullptr, rhs); } | ^~~ /usr/include/qt5/QtCore/qchar.h:621:46: error: declaration of ‘operator>’ as non-function 621 | Q_DECL_CONSTEXPR inline bool operator> (std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return operator< (rhs, nullptr); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:621:46: error: ‘nullptr_t’ is not a member of ‘std’ /usr/include/qt5/QtCore/qchar.h:621:63: error: expected primary-expression before ‘rhs’ 621 | Q_DECL_CONSTEXPR inline bool operator> (std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return operator< (rhs, nullptr); } | ^~~ /usr/include/qt5/QtCore/qchar.h:622:46: error: declaration of ‘operator<=’ as non-function 622 | Q_DECL_CONSTEXPR inline bool operator<=(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !operator< (rhs, nullptr); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:622:46: error: ‘nullptr_t’ is not a member of ‘std’ /usr/include/qt5/QtCore/qchar.h:622:63: error: expected primary-expression before ‘rhs’ 622 | Q_DECL_CONSTEXPR inline bool operator<=(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !operator< (rhs, nullptr); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h:97:5: error: ‘::IsSupported’ has not been declared 97 | Q_STATIC_ASSERT_X(QAtomicOpsSupport::IsSupported, "template parameter is an integral of a size not supported on this platform"); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qatomic.h:46, from /usr/include/qt5/QtCore/qglobal.h:1210, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/texthtmlbuilder.h:28, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/texthtmlbuilder.cpp:21: /usr/include/qt5/QtCore/qbasicatomic.h: At global scope: /usr/include/qt5/QtCore/qbasicatomic.h:94:13: error: ‘QAtomicOps’ does not name a type 94 | typedef QAtomicOps Ops; | ^~~~~~~~~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicInteger::ref()’: /usr/include/qt5/QtCore/qbasicatomic.h:114:40: error: ‘Ops’ has not been declared 114 | bool ref() Q_DECL_NOTHROW { return Ops::ref(_q_value); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicInteger::deref()’: /usr/include/qt5/QtCore/qbasicatomic.h:115:42: error: ‘Ops’ has not been declared 115 | bool deref() Q_DECL_NOTHROW { return Ops::deref(_q_value); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function ‘static bool QBasicAtomicInteger::isTestAndSetNative()’: /usr/include/qt5/QtCore/qbasicatomic.h:117:79: error: ‘Ops’ has not been declared 117 | static Q_DECL_CONSTEXPR bool isTestAndSetNative() Q_DECL_NOTHROW { return Ops::isTestAndSetNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function ‘static bool QBasicAtomicInteger::isTestAndSetWaitFree()’: /usr/include/qt5/QtCore/qbasicatomic.h:118:81: error: ‘Ops’ has not been declared 118 | static Q_DECL_CONSTEXPR bool isTestAndSetWaitFree() Q_DECL_NOTHROW { return Ops::isTestAndSetWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicInteger::testAndSetRelaxed(T, T)’: /usr/include/qt5/QtCore/qbasicatomic.h:121:14: error: ‘Ops’ has not been declared 121 | { return Ops::testAndSetRelaxed(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicInteger::testAndSetAcquire(T, T)’: /usr/include/qt5/QtCore/qbasicatomic.h:123:14: error: ‘Ops’ has not been declared 123 | { return Ops::testAndSetAcquire(_q_value, expectedValue, newValue); } | ^~~ In file included from /usr/include/qt5/QtCore/qatomic.h:46, from /usr/include/qt5/QtCore/qglobal.h:1210, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.h:31, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.cpp:21: /usr/include/qt5/QtCore/qbasicatomic.h:99:14: error: ‘Ops’ has not been declared 99 | typename Ops::Type _q_value; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.cpp:21: /usr/include/qt5/QtCore/qarraydata.h:115:5: error: expected unqualified-id before ‘[’ token 115 | Q_REQUIRED_RESULT static QArrayData *allocate(size_t objectSize, size_t alignment, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qarraydata.h:117:5: error: expected unqualified-id before ‘[’ token 117 | Q_REQUIRED_RESULT static QArrayData *reallocateUnaligned(QArrayData *data, size_t objectSize, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::load() const’: /usr/include/qt5/QtCore/qbasicatomic.h:103:44: error: ‘Ops’ has not been declared 103 | T load() const Q_DECL_NOTHROW { return Ops::load(_q_value); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘void QBasicAtomicInteger::store(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:104:45: error: ‘Ops’ has not been declared 104 | void store(T newValue) Q_DECL_NOTHROW { Ops::store(_q_value, newValue); } | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.cpp:21: /usr/include/qt5/QtCore/qarraydata.h:115:5: error: expected unqualified-id before ‘[’ token 115 | Q_REQUIRED_RESULT static QArrayData *allocate(size_t objectSize, size_t alignment, | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/texthtmlbuilder.h:28, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/texthtmlbuilder.cpp:21: /usr/include/qt5/QtCore/qbasicatomic.h:97:5: error: ‘QAtomicOpsSupport’ was not declared in this scope 97 | Q_STATIC_ASSERT_X(QAtomicOpsSupport::IsSupported, "template parameter is an integral of a size not supported on this platform"); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::loadAcquire() const’: /usr/include/qt5/QtCore/qbasicatomic.h:106:51: error: ‘Ops’ has not been declared 106 | T loadAcquire() const Q_DECL_NOTHROW { return Ops::loadAcquire(_q_value); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘void QBasicAtomicInteger::storeRelease(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:107:52: error: ‘Ops’ has not been declared 107 | void storeRelease(T newValue) Q_DECL_NOTHROW { Ops::storeRelease(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function ‘static bool QBasicAtomicInteger::isReferenceCountingNative()’: /usr/include/qt5/QtCore/qbasicatomic.h:111:86: error: ‘Ops’ has not been declared 111 | static Q_DECL_CONSTEXPR bool isReferenceCountingNative() Q_DECL_NOTHROW { return Ops::isReferenceCountingNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function ‘static bool QBasicAtomicInteger::isReferenceCountingWaitFree()’: /usr/include/qt5/QtCore/qbasicatomic.h:112:88: error: ‘Ops’ has not been declared 112 | static Q_DECL_CONSTEXPR bool isReferenceCountingWaitFree() Q_DECL_NOTHROW { return Ops::isReferenceCountingWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicInteger::ref()’: /usr/include/qt5/QtCore/qbasicatomic.h:114:40: error: ‘Ops’ has not been declared 114 | bool ref() Q_DECL_NOTHROW { return Ops::ref(_q_value); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicInteger::deref()’: /usr/include/qt5/QtCore/qbasicatomic.h:115:42: error: ‘Ops’ has not been declared 115 | bool deref() Q_DECL_NOTHROW { return Ops::deref(_q_value); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function ‘static bool QBasicAtomicInteger::isTestAndSetNative()’: /usr/include/qt5/QtCore/qbasicatomic.h:117:79: error: ‘Ops’ has not been declared 117 | static Q_DECL_CONSTEXPR bool isTestAndSetNative() Q_DECL_NOTHROW { return Ops::isTestAndSetNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function ‘static bool QBasicAtomicInteger::isTestAndSetWaitFree()’: /usr/include/qt5/QtCore/qbasicatomic.h:118:81: error: ‘Ops’ has not been declared 118 | static Q_DECL_CONSTEXPR bool isTestAndSetWaitFree() Q_DECL_NOTHROW { return Ops::isTestAndSetWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicInteger::testAndSetRelease(T, T)’: /usr/include/qt5/QtCore/qbasicatomic.h:125:14: error: ‘Ops’ has not been declared 125 | { return Ops::testAndSetRelease(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicInteger::testAndSetRelaxed(T, T)’: /usr/include/qt5/QtCore/qbasicatomic.h:121:14: error: ‘Ops’ has not been declared 121 | { return Ops::testAndSetRelaxed(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicInteger::testAndSetOrdered(T, T)’: /usr/include/qt5/QtCore/qbasicatomic.h:127:14: error: ‘Ops’ has not been declared 127 | { return Ops::testAndSetOrdered(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicInteger::testAndSetAcquire(T, T)’: /usr/include/qt5/QtCore/qbasicatomic.h:123:14: error: ‘Ops’ has not been declared 123 | { return Ops::testAndSetAcquire(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicInteger::testAndSetRelaxed(T, T, T&)’: /usr/include/qt5/QtCore/qbasicatomic.h:130:14: error: ‘Ops’ has not been declared 130 | { return Ops::testAndSetRelaxed(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicInteger::testAndSetRelease(T, T)’: /usr/include/qt5/QtCore/qbasicatomic.h:125:14: error: ‘Ops’ has not been declared 125 | { return Ops::testAndSetRelease(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicInteger::testAndSetAcquire(T, T, T&)’: /usr/include/qt5/QtCore/qbasicatomic.h:132:14: error: ‘Ops’ has not been declared 132 | { return Ops::testAndSetAcquire(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicInteger::testAndSetOrdered(T, T)’: /usr/include/qt5/QtCore/qbasicatomic.h:127:14: error: ‘Ops’ has not been declared 127 | { return Ops::testAndSetOrdered(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicInteger::testAndSetRelease(T, T, T&)’: /usr/include/qt5/QtCore/qbasicatomic.h:134:14: error: ‘Ops’ has not been declared 134 | { return Ops::testAndSetRelease(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicInteger::testAndSetRelaxed(T, T, T&)’: /usr/include/qt5/QtCore/qbasicatomic.h:130:14: error: ‘Ops’ has not been declared 130 | { return Ops::testAndSetRelaxed(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicInteger::testAndSetOrdered(T, T, T&)’: /usr/include/qt5/QtCore/qbasicatomic.h:136:14: error: ‘Ops’ has not been declared 136 | { return Ops::testAndSetOrdered(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h:97:5: error: ‘::IsSupported’ has not been declared 97 | Q_STATIC_ASSERT_X(QAtomicOpsSupport::IsSupported, "template parameter is an integral of a size not supported on this platform"); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qarraydata.h:117:5: error: expected unqualified-id before ‘[’ token 117 | Q_REQUIRED_RESULT static QArrayData *reallocateUnaligned(QArrayData *data, size_t objectSize, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qarraydata.h:220:5: error: expected unqualified-id before ‘[’ token 220 | Q_REQUIRED_RESULT static QTypedArrayData *allocate(size_t capacity, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicInteger::testAndSetAcquire(T, T, T&)’: /usr/include/qt5/QtCore/qbasicatomic.h:132:14: error: ‘Ops’ has not been declared 132 | { return Ops::testAndSetAcquire(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function ‘static bool QBasicAtomicInteger::isFetchAndStoreNative()’: /usr/include/qt5/QtCore/qbasicatomic.h:138:82: error: ‘Ops’ has not been declared 138 | static Q_DECL_CONSTEXPR bool isFetchAndStoreNative() Q_DECL_NOTHROW { return Ops::isFetchAndStoreNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicInteger::testAndSetRelease(T, T, T&)’: /usr/include/qt5/QtCore/qbasicatomic.h:134:14: error: ‘Ops’ has not been declared 134 | { return Ops::testAndSetRelease(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function ‘static bool QBasicAtomicInteger::isFetchAndStoreWaitFree()’: /usr/include/qt5/QtCore/qbasicatomic.h:139:84: error: ‘Ops’ has not been declared 139 | static Q_DECL_CONSTEXPR bool isFetchAndStoreWaitFree() Q_DECL_NOTHROW { return Ops::isFetchAndStoreWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndStoreRelaxed(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:142:14: error: ‘Ops’ has not been declared 142 | { return Ops::fetchAndStoreRelaxed(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicInteger::testAndSetOrdered(T, T, T&)’: /usr/include/qt5/QtCore/qbasicatomic.h:136:14: error: ‘Ops’ has not been declared 136 | { return Ops::testAndSetOrdered(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndStoreAcquire(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:144:14: error: ‘Ops’ has not been declared 144 | { return Ops::fetchAndStoreAcquire(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function ‘static bool QBasicAtomicInteger::isFetchAndStoreNative()’: /usr/include/qt5/QtCore/qbasicatomic.h:138:82: error: ‘Ops’ has not been declared 138 | static Q_DECL_CONSTEXPR bool isFetchAndStoreNative() Q_DECL_NOTHROW { return Ops::isFetchAndStoreNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndStoreRelease(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:146:14: error: ‘Ops’ has not been declared 146 | { return Ops::fetchAndStoreRelease(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function ‘static bool QBasicAtomicInteger::isFetchAndStoreWaitFree()’: /usr/include/qt5/QtCore/qbasicatomic.h:139:84: error: ‘Ops’ has not been declared 139 | static Q_DECL_CONSTEXPR bool isFetchAndStoreWaitFree() Q_DECL_NOTHROW { return Ops::isFetchAndStoreWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndStoreOrdered(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:148:14: error: ‘Ops’ has not been declared 148 | { return Ops::fetchAndStoreOrdered(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndStoreRelaxed(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:142:14: error: ‘Ops’ has not been declared 142 | { return Ops::fetchAndStoreRelaxed(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function ‘static bool QBasicAtomicInteger::isFetchAndAddNative()’: /usr/include/qt5/QtCore/qbasicatomic.h:150:80: error: ‘Ops’ has not been declared 150 | static Q_DECL_CONSTEXPR bool isFetchAndAddNative() Q_DECL_NOTHROW { return Ops::isFetchAndAddNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndStoreAcquire(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:144:14: error: ‘Ops’ has not been declared 144 | { return Ops::fetchAndStoreAcquire(_q_value, newValue); } | ^~~ In file included from /usr/include/qt5/QtCore/qbytearray.h:46, from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.cpp:21: /usr/include/qt5/QtCore/qarraydata.h: In constructor ‘QTypedArrayData::iterator::iterator()’: /usr/include/qt5/QtCore/qarraydata.h:142:31: error: ‘nullptr’ was not declared in this scope 142 | inline iterator() : i(nullptr) {} | ^~~~~~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function ‘static bool QBasicAtomicInteger::isFetchAndAddWaitFree()’: /usr/include/qt5/QtCore/qbasicatomic.h:151:82: error: ‘Ops’ has not been declared 151 | static Q_DECL_CONSTEXPR bool isFetchAndAddWaitFree() Q_DECL_NOTHROW { return Ops::isFetchAndAddWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndStoreRelease(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:146:14: error: ‘Ops’ has not been declared 146 | { return Ops::fetchAndStoreRelease(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndAddRelaxed(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:154:14: error: ‘Ops’ has not been declared 154 | { return Ops::fetchAndAddRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndStoreOrdered(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:148:14: error: ‘Ops’ has not been declared 148 | { return Ops::fetchAndStoreOrdered(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndAddAcquire(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:156:14: error: ‘Ops’ has not been declared 156 | { return Ops::fetchAndAddAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function ‘static bool QBasicAtomicInteger::isFetchAndAddNative()’: /usr/include/qt5/QtCore/qbasicatomic.h:150:80: error: ‘Ops’ has not been declared 150 | static Q_DECL_CONSTEXPR bool isFetchAndAddNative() Q_DECL_NOTHROW { return Ops::isFetchAndAddNative(); } | ^~~ /usr/include/qt5/QtCore/qarraydata.h:220:5: error: expected unqualified-id before ‘[’ token 220 | Q_REQUIRED_RESULT static QTypedArrayData *allocate(size_t capacity, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function ‘static bool QBasicAtomicInteger::isFetchAndAddWaitFree()’: /usr/include/qt5/QtCore/qbasicatomic.h:151:82: error: ‘Ops’ has not been declared 151 | static Q_DECL_CONSTEXPR bool isFetchAndAddWaitFree() Q_DECL_NOTHROW { return Ops::isFetchAndAddWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndAddRelaxed(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:154:14: error: ‘Ops’ has not been declared 154 | { return Ops::fetchAndAddRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndAddAcquire(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:156:14: error: ‘Ops’ has not been declared 156 | { return Ops::fetchAndAddAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndAddRelease(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:158:14: error: ‘Ops’ has not been declared 158 | { return Ops::fetchAndAddRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndAddOrdered(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:160:14: error: ‘Ops’ has not been declared 160 | { return Ops::fetchAndAddOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndSubRelaxed(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:163:14: error: ‘Ops’ has not been declared 163 | { return Ops::fetchAndSubRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndSubAcquire(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:165:14: error: ‘Ops’ has not been declared 165 | { return Ops::fetchAndSubAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndSubRelease(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:167:14: error: ‘Ops’ has not been declared 167 | { return Ops::fetchAndSubRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndSubOrdered(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:169:14: error: ‘Ops’ has not been declared 169 | { return Ops::fetchAndSubOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndAndRelaxed(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:172:14: error: ‘Ops’ has not been declared 172 | { return Ops::fetchAndAndRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndAndAcquire(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:174:14: error: ‘Ops’ has not been declared 174 | { return Ops::fetchAndAndAcquire(_q_value, valueToAdd); } | ^~~ In file included from /usr/include/qt5/QtCore/qatomic.h:46, from /usr/include/qt5/QtCore/qglobal.h:1210, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/texthtmlbuilder.h:28, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/texthtmlbuilder.cpp:21: /usr/include/qt5/QtCore/qbasicatomic.h:99:14: error: ‘Ops’ has not been declared 99 | typename Ops::Type _q_value; | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndAddRelease(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:158:14: error: ‘Ops’ has not been declared 158 | { return Ops::fetchAndAddRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndAndRelease(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:176:14: error: ‘Ops’ has not been declared 176 | { return Ops::fetchAndAndRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndAndOrdered(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:178:14: error: ‘Ops’ has not been declared 178 | { return Ops::fetchAndAndOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndAddOrdered(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:160:14: error: ‘Ops’ has not been declared 160 | { return Ops::fetchAndAddOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndOrRelaxed(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:181:14: error: ‘Ops’ has not been declared 181 | { return Ops::fetchAndOrRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndSubRelaxed(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:163:14: error: ‘Ops’ has not been declared 163 | { return Ops::fetchAndSubRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndOrAcquire(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:183:14: error: ‘Ops’ has not been declared 183 | { return Ops::fetchAndOrAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndSubAcquire(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:165:14: error: ‘Ops’ has not been declared 165 | { return Ops::fetchAndSubAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qarraydata.h: In constructor ‘QTypedArrayData::const_iterator::const_iterator()’: /usr/include/qt5/QtCore/qarraydata.h:177:37: error: ‘nullptr’ was not declared in this scope 177 | inline const_iterator() : i(nullptr) {} | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qbytearray.h:46, from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.cpp:21: /usr/include/qt5/QtCore/qarraydata.h: In constructor ‘QTypedArrayData::iterator::iterator()’: /usr/include/qt5/QtCore/qarraydata.h:142:31: error: ‘nullptr’ was not declared in this scope 142 | inline iterator() : i(nullptr) {} | ^~~~~~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndOrRelease(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:185:14: error: ‘Ops’ has not been declared 185 | { return Ops::fetchAndOrRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndOrOrdered(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:187:14: error: ‘Ops’ has not been declared 187 | { return Ops::fetchAndOrOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndXorRelaxed(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:190:14: error: ‘Ops’ has not been declared 190 | { return Ops::fetchAndXorRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndXorAcquire(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:192:14: error: ‘Ops’ has not been declared 192 | { return Ops::fetchAndXorAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndXorRelease(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:194:14: error: ‘Ops’ has not been declared 194 | { return Ops::fetchAndXorRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndXorOrdered(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:196:14: error: ‘Ops’ has not been declared 196 | { return Ops::fetchAndXorOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qarraydata.h: In static member function ‘static QTypedArrayData* QTypedArrayData::reallocateUnaligned(QTypedArrayData*, size_t, QArrayData::AllocationOptions)’: /usr/include/qt5/QtCore/qarraydata.h:232:59: error: ‘reallocateUnaligned’ is not a member of ‘QArrayData’ 232 | return static_cast(QArrayData::reallocateUnaligned(data, sizeof(T), | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qarraydata.h: In static member function ‘static QTypedArrayData* QTypedArrayData::fromRawData(const T*, size_t, QArrayData::AllocationOptions)’: /usr/include/qt5/QtCore/qarraydata.h:246:35: error: there are no arguments to ‘allocate’ that depend on a template parameter, so a declaration of ‘allocate’ must be available [-fpermissive] 246 | QTypedArrayData *result = allocate(0, options | RawData); | ^~~~~~~~ /usr/include/qt5/QtCore/qarraydata.h:246:35: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/include/qt5/QtCore/qarraydata.h: In static member function ‘static QTypedArrayData* QTypedArrayData::sharedEmpty()’: /usr/include/qt5/QtCore/qarraydata.h:266:16: error: there are no arguments to ‘allocate’ that depend on a template parameter, so a declaration of ‘allocate’ must be available [-fpermissive] 266 | return allocate(/* capacity */ 0); | ^~~~~~~~ /usr/include/qt5/QtCore/qarraydata.h: In static member function ‘static QTypedArrayData* QTypedArrayData::unsharableEmpty()’: /usr/include/qt5/QtCore/qarraydata.h:273:16: error: there are no arguments to ‘allocate’ that depend on a template parameter, so a declaration of ‘allocate’ must be available [-fpermissive] 273 | return allocate(/* capacity */ 0, Unsharable); | ^~~~~~~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::load() const’: /usr/include/qt5/QtCore/qbasicatomic.h:103:44: error: ‘Ops’ has not been declared 103 | T load() const Q_DECL_NOTHROW { return Ops::load(_q_value); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndSubRelease(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:167:14: error: ‘Ops’ has not been declared 167 | { return Ops::fetchAndSubRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndSubOrdered(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:169:14: error: ‘Ops’ has not been declared 169 | { return Ops::fetchAndSubOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘void QBasicAtomicInteger::store(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:104:45: error: ‘Ops’ has not been declared 104 | void store(T newValue) Q_DECL_NOTHROW { Ops::store(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndAndRelaxed(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:172:14: error: ‘Ops’ has not been declared 172 | { return Ops::fetchAndAndRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::loadAcquire() const’: /usr/include/qt5/QtCore/qbasicatomic.h:106:51: error: ‘Ops’ has not been declared 106 | T loadAcquire() const Q_DECL_NOTHROW { return Ops::loadAcquire(_q_value); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndAndAcquire(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:174:14: error: ‘Ops’ has not been declared 174 | { return Ops::fetchAndAndAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘void QBasicAtomicInteger::storeRelease(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:107:52: error: ‘Ops’ has not been declared 107 | void storeRelease(T newValue) Q_DECL_NOTHROW { Ops::storeRelease(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndAndRelease(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:176:14: error: ‘Ops’ has not been declared 176 | { return Ops::fetchAndAndRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndAndOrdered(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:178:14: error: ‘Ops’ has not been declared 178 | { return Ops::fetchAndAndOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function ‘static bool QBasicAtomicInteger::isReferenceCountingNative()’: /usr/include/qt5/QtCore/qbasicatomic.h:111:86: error: ‘Ops’ has not been declared 111 | static Q_DECL_CONSTEXPR bool isReferenceCountingNative() Q_DECL_NOTHROW { return Ops::isReferenceCountingNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function ‘static bool QBasicAtomicInteger::isReferenceCountingWaitFree()’: /usr/include/qt5/QtCore/qbasicatomic.h:112:88: error: ‘Ops’ has not been declared 112 | static Q_DECL_CONSTEXPR bool isReferenceCountingWaitFree() Q_DECL_NOTHROW { return Ops::isReferenceCountingWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qarraydata.h: In constructor ‘QTypedArrayData::const_iterator::const_iterator()’: /usr/include/qt5/QtCore/qarraydata.h:177:37: error: ‘nullptr’ was not declared in this scope 177 | inline const_iterator() : i(nullptr) {} | ^~~~~~~ /usr/include/qt5/QtCore/qbasicatomic.h: At global scope: /usr/include/qt5/QtCore/qbasicatomic.h:234:13: error: ‘QAtomicOps’ does not name a type 234 | typedef QAtomicOps Ops; | ^~~~~~~~~~ /usr/include/qt5/QtCore/qbasicatomic.h:235:22: error: ‘Ops’ has not been declared 235 | typedef typename Ops::Type AtomicType; | ^~~ /usr/include/qt5/QtCore/qarraydata.h: In static member function ‘static QTypedArrayData* QTypedArrayData::reallocateUnaligned(QTypedArrayData*, size_t, QArrayData::AllocationOptions)’: /usr/include/qt5/QtCore/qarraydata.h:232:59: error: ‘reallocateUnaligned’ is not a member of ‘QArrayData’ 232 | return static_cast(QArrayData::reallocateUnaligned(data, sizeof(T), | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qarraydata.h: In static member function ‘static QTypedArrayData* QTypedArrayData::fromRawData(const T*, size_t, QArrayData::AllocationOptions)’: /usr/include/qt5/QtCore/qarraydata.h:246:35: error: there are no arguments to ‘allocate’ that depend on a template parameter, so a declaration of ‘allocate’ must be available [-fpermissive] 246 | QTypedArrayData *result = allocate(0, options | RawData); | ^~~~~~~~ /usr/include/qt5/QtCore/qarraydata.h:246:35: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘X* QBasicAtomicPointer::load() const’: /usr/include/qt5/QtCore/qbasicatomic.h:239:47: error: ‘Ops’ has not been declared 239 | Type load() const Q_DECL_NOTHROW { return Ops::load(_q_value); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndOrRelaxed(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:181:14: error: ‘Ops’ has not been declared 181 | { return Ops::fetchAndOrRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘void QBasicAtomicPointer::store(QBasicAtomicPointer::Type)’: /usr/include/qt5/QtCore/qbasicatomic.h:240:48: error: ‘Ops’ has not been declared 240 | void store(Type newValue) Q_DECL_NOTHROW { Ops::store(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndOrAcquire(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:183:14: error: ‘Ops’ has not been declared 183 | { return Ops::fetchAndOrAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndOrRelease(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:185:14: error: ‘Ops’ has not been declared 185 | { return Ops::fetchAndOrRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘X* QBasicAtomicPointer::loadAcquire() const’: /usr/include/qt5/QtCore/qbasicatomic.h:245:54: error: ‘Ops’ has not been declared 245 | Type loadAcquire() const Q_DECL_NOTHROW { return Ops::loadAcquire(_q_value); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndOrOrdered(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:187:14: error: ‘Ops’ has not been declared 187 | { return Ops::fetchAndOrOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘void QBasicAtomicPointer::storeRelease(QBasicAtomicPointer::Type)’: /usr/include/qt5/QtCore/qbasicatomic.h:246:55: error: ‘Ops’ has not been declared 246 | void storeRelease(Type newValue) Q_DECL_NOTHROW { Ops::storeRelease(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndXorRelaxed(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:190:14: error: ‘Ops’ has not been declared 190 | { return Ops::fetchAndXorRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function ‘static bool QBasicAtomicPointer::isTestAndSetNative()’: /usr/include/qt5/QtCore/qbasicatomic.h:248:79: error: ‘Ops’ has not been declared 248 | static Q_DECL_CONSTEXPR bool isTestAndSetNative() Q_DECL_NOTHROW { return Ops::isTestAndSetNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndXorAcquire(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:192:14: error: ‘Ops’ has not been declared 192 | { return Ops::fetchAndXorAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicInteger::ref()’: /usr/include/qt5/QtCore/qbasicatomic.h:114:40: error: ‘Ops’ has not been declared 114 | bool ref() Q_DECL_NOTHROW { return Ops::ref(_q_value); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndXorRelease(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:194:14: error: ‘Ops’ has not been declared 194 | { return Ops::fetchAndXorRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicInteger::deref()’: /usr/include/qt5/QtCore/qbasicatomic.h:115:42: error: ‘Ops’ has not been declared 115 | bool deref() Q_DECL_NOTHROW { return Ops::deref(_q_value); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndXorOrdered(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:196:14: error: ‘Ops’ has not been declared 196 | { return Ops::fetchAndXorOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function ‘static bool QBasicAtomicInteger::isTestAndSetNative()’: /usr/include/qt5/QtCore/qbasicatomic.h:117:79: error: ‘Ops’ has not been declared 117 | static Q_DECL_CONSTEXPR bool isTestAndSetNative() Q_DECL_NOTHROW { return Ops::isTestAndSetNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function ‘static bool QBasicAtomicInteger::isTestAndSetWaitFree()’: /usr/include/qt5/QtCore/qbasicatomic.h:118:81: error: ‘Ops’ has not been declared 118 | static Q_DECL_CONSTEXPR bool isTestAndSetWaitFree() Q_DECL_NOTHROW { return Ops::isTestAndSetWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicInteger::testAndSetRelaxed(T, T)’: /usr/include/qt5/QtCore/qbasicatomic.h:121:14: error: ‘Ops’ has not been declared 121 | { return Ops::testAndSetRelaxed(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicInteger::testAndSetAcquire(T, T)’: /usr/include/qt5/QtCore/qbasicatomic.h:123:14: error: ‘Ops’ has not been declared 123 | { return Ops::testAndSetAcquire(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicInteger::testAndSetRelease(T, T)’: /usr/include/qt5/QtCore/qbasicatomic.h:125:14: error: ‘Ops’ has not been declared 125 | { return Ops::testAndSetRelease(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qarraydata.h: In static member function ‘static QTypedArrayData* QTypedArrayData::sharedEmpty()’: /usr/include/qt5/QtCore/qarraydata.h:266:16: error: there are no arguments to ‘allocate’ that depend on a template parameter, so a declaration of ‘allocate’ must be available [-fpermissive] 266 | return allocate(/* capacity */ 0); | ^~~~~~~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicInteger::testAndSetOrdered(T, T)’: /usr/include/qt5/QtCore/qbasicatomic.h:127:14: error: ‘Ops’ has not been declared 127 | { return Ops::testAndSetOrdered(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicInteger::testAndSetRelaxed(T, T, T&)’: /usr/include/qt5/QtCore/qbasicatomic.h:130:14: error: ‘Ops’ has not been declared 130 | { return Ops::testAndSetRelaxed(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qarraydata.h: In static member function ‘static QTypedArrayData* QTypedArrayData::unsharableEmpty()’: /usr/include/qt5/QtCore/qarraydata.h:273:16: error: there are no arguments to ‘allocate’ that depend on a template parameter, so a declaration of ‘allocate’ must be available [-fpermissive] 273 | return allocate(/* capacity */ 0, Unsharable); | ^~~~~~~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicInteger::testAndSetAcquire(T, T, T&)’: /usr/include/qt5/QtCore/qbasicatomic.h:132:14: error: ‘Ops’ has not been declared 132 | { return Ops::testAndSetAcquire(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicInteger::testAndSetRelease(T, T, T&)’: /usr/include/qt5/QtCore/qbasicatomic.h:134:14: error: ‘Ops’ has not been declared 134 | { return Ops::testAndSetRelease(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ In file included from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.cpp:21: /usr/include/qt5/QtCore/qbytearray.h: At global scope: /usr/include/qt5/QtCore/qbytearray.h:102:43: error: ‘qsizetype’ has not been declared 102 | Q_CORE_EXPORT int qstrnicmp(const char *, qsizetype, const char *, qsizetype = -1); | ^~~~~~~~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function ‘static bool QBasicAtomicPointer::isTestAndSetWaitFree()’: /usr/include/qt5/QtCore/qbasicatomic.h:249:81: error: ‘Ops’ has not been declared 249 | static Q_DECL_CONSTEXPR bool isTestAndSetWaitFree() Q_DECL_NOTHROW { return Ops::isTestAndSetWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: At global scope: /usr/include/qt5/QtCore/qbasicatomic.h:234:13: error: ‘QAtomicOps’ does not name a type 234 | typedef QAtomicOps Ops; | ^~~~~~~~~~ /usr/include/qt5/QtCore/qbasicatomic.h:235:22: error: ‘Ops’ has not been declared 235 | typedef typename Ops::Type AtomicType; | ^~~ /usr/include/qt5/QtCore/qbytearray.h:102:68: error: ‘qsizetype’ has not been declared 102 | Q_CORE_EXPORT int qstrnicmp(const char *, qsizetype, const char *, qsizetype = -1); | ^~~~~~~~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicPointer::testAndSetRelaxed(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type)’: /usr/include/qt5/QtCore/qbasicatomic.h:252:14: error: ‘Ops’ has not been declared 252 | { return Ops::testAndSetRelaxed(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicInteger::testAndSetOrdered(T, T, T&)’: /usr/include/qt5/QtCore/qbasicatomic.h:136:14: error: ‘Ops’ has not been declared 136 | { return Ops::testAndSetOrdered(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘X* QBasicAtomicPointer::load() const’: /usr/include/qt5/QtCore/qbasicatomic.h:239:47: error: ‘Ops’ has not been declared 239 | Type load() const Q_DECL_NOTHROW { return Ops::load(_q_value); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicPointer::testAndSetAcquire(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type)’: /usr/include/qt5/QtCore/qbasicatomic.h:254:14: error: ‘Ops’ has not been declared 254 | { return Ops::testAndSetAcquire(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘void QBasicAtomicPointer::store(QBasicAtomicPointer::Type)’: /usr/include/qt5/QtCore/qbasicatomic.h:240:48: error: ‘Ops’ has not been declared 240 | void store(Type newValue) Q_DECL_NOTHROW { Ops::store(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicPointer::testAndSetRelease(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type)’: /usr/include/qt5/QtCore/qbasicatomic.h:256:14: error: ‘Ops’ has not been declared 256 | { return Ops::testAndSetRelease(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘X* QBasicAtomicPointer::loadAcquire() const’: /usr/include/qt5/QtCore/qbasicatomic.h:245:54: error: ‘Ops’ has not been declared 245 | Type loadAcquire() const Q_DECL_NOTHROW { return Ops::loadAcquire(_q_value); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicPointer::testAndSetOrdered(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type)’: /usr/include/qt5/QtCore/qbasicatomic.h:258:14: error: ‘Ops’ has not been declared 258 | { return Ops::testAndSetOrdered(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘void QBasicAtomicPointer::storeRelease(QBasicAtomicPointer::Type)’: /usr/include/qt5/QtCore/qbasicatomic.h:246:55: error: ‘Ops’ has not been declared 246 | void storeRelease(Type newValue) Q_DECL_NOTHROW { Ops::storeRelease(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function ‘static bool QBasicAtomicInteger::isFetchAndStoreNative()’: /usr/include/qt5/QtCore/qbasicatomic.h:138:82: error: ‘Ops’ has not been declared 138 | static Q_DECL_CONSTEXPR bool isFetchAndStoreNative() Q_DECL_NOTHROW { return Ops::isFetchAndStoreNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicPointer::testAndSetRelaxed(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type, X*&)’: /usr/include/qt5/QtCore/qbasicatomic.h:261:14: error: ‘Ops’ has not been declared 261 | { return Ops::testAndSetRelaxed(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function ‘static bool QBasicAtomicPointer::isTestAndSetNative()’: /usr/include/qt5/QtCore/qbasicatomic.h:248:79: error: ‘Ops’ has not been declared 248 | static Q_DECL_CONSTEXPR bool isTestAndSetNative() Q_DECL_NOTHROW { return Ops::isTestAndSetNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function ‘static bool QBasicAtomicInteger::isFetchAndStoreWaitFree()’: /usr/include/qt5/QtCore/qbasicatomic.h:139:84: error: ‘Ops’ has not been declared 139 | static Q_DECL_CONSTEXPR bool isFetchAndStoreWaitFree() Q_DECL_NOTHROW { return Ops::isFetchAndStoreWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function ‘static bool QBasicAtomicPointer::isTestAndSetWaitFree()’: /usr/include/qt5/QtCore/qbasicatomic.h:249:81: error: ‘Ops’ has not been declared 249 | static Q_DECL_CONSTEXPR bool isTestAndSetWaitFree() Q_DECL_NOTHROW { return Ops::isTestAndSetWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicPointer::testAndSetAcquire(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type, X*&)’: /usr/include/qt5/QtCore/qbasicatomic.h:263:14: error: ‘Ops’ has not been declared 263 | { return Ops::testAndSetAcquire(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndStoreRelaxed(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:142:14: error: ‘Ops’ has not been declared 142 | { return Ops::fetchAndStoreRelaxed(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicPointer::testAndSetRelaxed(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type)’: /usr/include/qt5/QtCore/qbasicatomic.h:252:14: error: ‘Ops’ has not been declared 252 | { return Ops::testAndSetRelaxed(_q_value, expectedValue, newValue); } | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.cpp:21: /usr/include/qt5/QtCore/qbytearray.h:216:5: error: expected unqualified-id before ‘[’ token 216 | Q_REQUIRED_RESULT char front() const { return at(0); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:217:5: error: expected unqualified-id before ‘[’ token 217 | Q_REQUIRED_RESULT inline QByteRef front(); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:218:5: error: expected unqualified-id before ‘[’ token 218 | Q_REQUIRED_RESULT char back() const { return at(size() - 1); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:219:5: error: expected unqualified-id before ‘[’ token 219 | Q_REQUIRED_RESULT inline QByteRef back(); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicPointer::testAndSetAcquire(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type)’: /usr/include/qt5/QtCore/qbasicatomic.h:254:14: error: ‘Ops’ has not been declared 254 | { return Ops::testAndSetAcquire(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicPointer::testAndSetRelease(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type)’: /usr/include/qt5/QtCore/qbasicatomic.h:256:14: error: ‘Ops’ has not been declared 256 | { return Ops::testAndSetRelease(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbytearray.h:238:5: error: expected unqualified-id before ‘[’ token 238 | Q_REQUIRED_RESULT QByteArray left(int len) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:239:5: error: expected unqualified-id before ‘[’ token 239 | Q_REQUIRED_RESULT QByteArray right(int len) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:240:5: error: expected unqualified-id before ‘[’ token 240 | Q_REQUIRED_RESULT QByteArray mid(int index, int len = -1) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:241:5: error: expected unqualified-id before ‘[’ token 241 | Q_REQUIRED_RESULT QByteArray chopped(int len) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:286:5: error: expected unqualified-id before ‘[’ token 286 | Q_REQUIRED_RESULT QByteArray toLower() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicPointer::testAndSetOrdered(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type)’: /usr/include/qt5/QtCore/qbasicatomic.h:258:14: error: ‘Ops’ has not been declared 258 | { return Ops::testAndSetOrdered(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbytearray.h:287:5: error: expected unqualified-id before ‘[’ token 287 | Q_REQUIRED_RESULT QByteArray toUpper() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:288:5: error: expected unqualified-id before ‘[’ token 288 | Q_REQUIRED_RESULT QByteArray trimmed() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:289:5: error: expected unqualified-id before ‘[’ token 289 | Q_REQUIRED_RESULT QByteArray simplified() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:292:5: error: expected unqualified-id before ‘[’ token 292 | Q_REQUIRED_RESULT QByteArray leftJustified(int width, char fill = ' ', bool truncate = false) const; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.cpp:21: /usr/include/qt5/QtCore/qbytearray.h: At global scope: /usr/include/qt5/QtCore/qbytearray.h:102:43: error: ‘qsizetype’ has not been declared 102 | Q_CORE_EXPORT int qstrnicmp(const char *, qsizetype, const char *, qsizetype = -1); | ^~~~~~~~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicPointer::testAndSetRelease(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type, X*&)’: /usr/include/qt5/QtCore/qbasicatomic.h:265:14: error: ‘Ops’ has not been declared 265 | { return Ops::testAndSetRelease(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbytearray.h:102:68: error: ‘qsizetype’ has not been declared 102 | Q_CORE_EXPORT int qstrnicmp(const char *, qsizetype, const char *, qsizetype = -1); | ^~~~~~~~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicPointer::testAndSetOrdered(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type, X*&)’: /usr/include/qt5/QtCore/qbasicatomic.h:267:14: error: ‘Ops’ has not been declared 267 | { return Ops::testAndSetOrdered(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function ‘static bool QBasicAtomicPointer::isFetchAndStoreNative()’: /usr/include/qt5/QtCore/qbasicatomic.h:269:82: error: ‘Ops’ has not been declared 269 | static Q_DECL_CONSTEXPR bool isFetchAndStoreNative() Q_DECL_NOTHROW { return Ops::isFetchAndStoreNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function ‘static bool QBasicAtomicPointer::isFetchAndStoreWaitFree()’: /usr/include/qt5/QtCore/qbasicatomic.h:270:84: error: ‘Ops’ has not been declared 270 | static Q_DECL_CONSTEXPR bool isFetchAndStoreWaitFree() Q_DECL_NOTHROW { return Ops::isFetchAndStoreWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘X* QBasicAtomicPointer::fetchAndStoreRelaxed(QBasicAtomicPointer::Type)’: /usr/include/qt5/QtCore/qbasicatomic.h:273:14: error: ‘Ops’ has not been declared 273 | { return Ops::fetchAndStoreRelaxed(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘X* QBasicAtomicPointer::fetchAndStoreAcquire(QBasicAtomicPointer::Type)’: /usr/include/qt5/QtCore/qbasicatomic.h:275:14: error: ‘Ops’ has not been declared 275 | { return Ops::fetchAndStoreAcquire(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndStoreAcquire(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:144:14: error: ‘Ops’ has not been declared 144 | { return Ops::fetchAndStoreAcquire(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicPointer::testAndSetRelaxed(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type, X*&)’: /usr/include/qt5/QtCore/qbasicatomic.h:261:14: error: ‘Ops’ has not been declared 261 | { return Ops::testAndSetRelaxed(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘X* QBasicAtomicPointer::fetchAndStoreRelease(QBasicAtomicPointer::Type)’: /usr/include/qt5/QtCore/qbasicatomic.h:277:14: error: ‘Ops’ has not been declared 277 | { return Ops::fetchAndStoreRelease(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicPointer::testAndSetAcquire(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type, X*&)’: /usr/include/qt5/QtCore/qbasicatomic.h:263:14: error: ‘Ops’ has not been declared 263 | { return Ops::testAndSetAcquire(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘X* QBasicAtomicPointer::fetchAndStoreOrdered(QBasicAtomicPointer::Type)’: /usr/include/qt5/QtCore/qbasicatomic.h:279:14: error: ‘Ops’ has not been declared 279 | { return Ops::fetchAndStoreOrdered(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicPointer::testAndSetRelease(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type, X*&)’: /usr/include/qt5/QtCore/qbasicatomic.h:265:14: error: ‘Ops’ has not been declared 265 | { return Ops::testAndSetRelease(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function ‘static bool QBasicAtomicPointer::isFetchAndAddNative()’: /usr/include/qt5/QtCore/qbasicatomic.h:281:80: error: ‘Ops’ has not been declared 281 | static Q_DECL_CONSTEXPR bool isFetchAndAddNative() Q_DECL_NOTHROW { return Ops::isFetchAndAddNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicPointer::testAndSetOrdered(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type, X*&)’: /usr/include/qt5/QtCore/qbasicatomic.h:267:14: error: ‘Ops’ has not been declared 267 | { return Ops::testAndSetOrdered(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function ‘static bool QBasicAtomicPointer::isFetchAndAddWaitFree()’: /usr/include/qt5/QtCore/qbasicatomic.h:282:82: error: ‘Ops’ has not been declared 282 | static Q_DECL_CONSTEXPR bool isFetchAndAddWaitFree() Q_DECL_NOTHROW { return Ops::isFetchAndAddWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbytearray.h:293:5: error: expected unqualified-id before ‘[’ token 293 | Q_REQUIRED_RESULT QByteArray rightJustified(int width, char fill = ' ', bool truncate = false) const; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.cpp:21: /usr/include/qt5/QtCore/qbytearray.h:216:5: error: expected unqualified-id before ‘[’ token 216 | Q_REQUIRED_RESULT char front() const { return at(0); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function ‘static bool QBasicAtomicPointer::isFetchAndStoreNative()’: /usr/include/qt5/QtCore/qbasicatomic.h:269:82: error: ‘Ops’ has not been declared 269 | static Q_DECL_CONSTEXPR bool isFetchAndStoreNative() Q_DECL_NOTHROW { return Ops::isFetchAndStoreNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘X* QBasicAtomicPointer::fetchAndAddRelaxed(qptrdiff)’: /usr/include/qt5/QtCore/qbasicatomic.h:285:14: error: ‘Ops’ has not been declared 285 | { return Ops::fetchAndAddRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbytearray.h:217:5: error: expected unqualified-id before ‘[’ token 217 | Q_REQUIRED_RESULT inline QByteRef front(); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function ‘static bool QBasicAtomicPointer::isFetchAndStoreWaitFree()’: /usr/include/qt5/QtCore/qbasicatomic.h:270:84: error: ‘Ops’ has not been declared 270 | static Q_DECL_CONSTEXPR bool isFetchAndStoreWaitFree() Q_DECL_NOTHROW { return Ops::isFetchAndStoreWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbytearray.h:218:5: error: expected unqualified-id before ‘[’ token 218 | Q_REQUIRED_RESULT char back() const { return at(size() - 1); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘X* QBasicAtomicPointer::fetchAndAddAcquire(qptrdiff)’: /usr/include/qt5/QtCore/qbasicatomic.h:287:14: error: ‘Ops’ has not been declared 287 | { return Ops::fetchAndAddAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbytearray.h:219:5: error: expected unqualified-id before ‘[’ token 219 | Q_REQUIRED_RESULT inline QByteRef back(); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘X* QBasicAtomicPointer::fetchAndStoreRelaxed(QBasicAtomicPointer::Type)’: /usr/include/qt5/QtCore/qbasicatomic.h:273:14: error: ‘Ops’ has not been declared 273 | { return Ops::fetchAndStoreRelaxed(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘X* QBasicAtomicPointer::fetchAndAddRelease(qptrdiff)’: /usr/include/qt5/QtCore/qbasicatomic.h:289:14: error: ‘Ops’ has not been declared 289 | { return Ops::fetchAndAddRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘X* QBasicAtomicPointer::fetchAndStoreAcquire(QBasicAtomicPointer::Type)’: /usr/include/qt5/QtCore/qbasicatomic.h:275:14: error: ‘Ops’ has not been declared 275 | { return Ops::fetchAndStoreAcquire(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘X* QBasicAtomicPointer::fetchAndAddOrdered(qptrdiff)’: /usr/include/qt5/QtCore/qbasicatomic.h:291:14: error: ‘Ops’ has not been declared 291 | { return Ops::fetchAndAddOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘X* QBasicAtomicPointer::fetchAndSubRelaxed(qptrdiff)’: /usr/include/qt5/QtCore/qbasicatomic.h:294:14: error: ‘Ops’ has not been declared 294 | { return Ops::fetchAndSubRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘X* QBasicAtomicPointer::fetchAndSubAcquire(qptrdiff)’: /usr/include/qt5/QtCore/qbasicatomic.h:296:14: error: ‘Ops’ has not been declared 296 | { return Ops::fetchAndSubAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘X* QBasicAtomicPointer::fetchAndSubRelease(qptrdiff)’: /usr/include/qt5/QtCore/qbasicatomic.h:298:14: error: ‘Ops’ has not been declared 298 | { return Ops::fetchAndSubRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘X* QBasicAtomicPointer::fetchAndSubOrdered(qptrdiff)’: /usr/include/qt5/QtCore/qbasicatomic.h:300:14: error: ‘Ops’ has not been declared 300 | { return Ops::fetchAndSubOrdered(_q_value, valueToAdd); } | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1210, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.h:31, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.cpp:21: /usr/include/qt5/QtCore/qatomic.h: At global scope: /usr/include/qt5/QtCore/qatomic.h:173:38: error: ‘nullptr’ was not declared in this scope 173 | inline QAtomicPointer(T *value = nullptr) Q_DECL_NOTHROW | ^~~~~~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘X* QBasicAtomicPointer::fetchAndStoreRelease(QBasicAtomicPointer::Type)’: /usr/include/qt5/QtCore/qbasicatomic.h:277:14: error: ‘Ops’ has not been declared 277 | { return Ops::fetchAndStoreRelease(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndStoreRelease(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:146:14: error: ‘Ops’ has not been declared 146 | { return Ops::fetchAndStoreRelease(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘X* QBasicAtomicPointer::fetchAndStoreOrdered(QBasicAtomicPointer::Type)’: /usr/include/qt5/QtCore/qbasicatomic.h:279:14: error: ‘Ops’ has not been declared 279 | { return Ops::fetchAndStoreOrdered(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndStoreOrdered(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:148:14: error: ‘Ops’ has not been declared 148 | { return Ops::fetchAndStoreOrdered(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function ‘static bool QBasicAtomicPointer::isFetchAndAddNative()’: /usr/include/qt5/QtCore/qbasicatomic.h:281:80: error: ‘Ops’ has not been declared 281 | static Q_DECL_CONSTEXPR bool isFetchAndAddNative() Q_DECL_NOTHROW { return Ops::isFetchAndAddNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function ‘static bool QBasicAtomicInteger::isFetchAndAddNative()’: /usr/include/qt5/QtCore/qbasicatomic.h:150:80: error: ‘Ops’ has not been declared 150 | static Q_DECL_CONSTEXPR bool isFetchAndAddNative() Q_DECL_NOTHROW { return Ops::isFetchAndAddNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function ‘static bool QBasicAtomicInteger::isFetchAndAddWaitFree()’: /usr/include/qt5/QtCore/qbasicatomic.h:151:82: error: ‘Ops’ has not been declared 151 | static Q_DECL_CONSTEXPR bool isFetchAndAddWaitFree() Q_DECL_NOTHROW { return Ops::isFetchAndAddWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function ‘static bool QBasicAtomicPointer::isFetchAndAddWaitFree()’: /usr/include/qt5/QtCore/qbasicatomic.h:282:82: error: ‘Ops’ has not been declared 282 | static Q_DECL_CONSTEXPR bool isFetchAndAddWaitFree() Q_DECL_NOTHROW { return Ops::isFetchAndAddWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndAddRelaxed(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:154:14: error: ‘Ops’ has not been declared 154 | { return Ops::fetchAndAddRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘X* QBasicAtomicPointer::fetchAndAddRelaxed(qptrdiff)’: /usr/include/qt5/QtCore/qbasicatomic.h:285:14: error: ‘Ops’ has not been declared 285 | { return Ops::fetchAndAddRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndAddAcquire(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:156:14: error: ‘Ops’ has not been declared 156 | { return Ops::fetchAndAddAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘X* QBasicAtomicPointer::fetchAndAddAcquire(qptrdiff)’: /usr/include/qt5/QtCore/qbasicatomic.h:287:14: error: ‘Ops’ has not been declared 287 | { return Ops::fetchAndAddAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndAddRelease(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:158:14: error: ‘Ops’ has not been declared 158 | { return Ops::fetchAndAddRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘X* QBasicAtomicPointer::fetchAndAddRelease(qptrdiff)’: /usr/include/qt5/QtCore/qbasicatomic.h:289:14: error: ‘Ops’ has not been declared 289 | { return Ops::fetchAndAddRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndAddOrdered(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:160:14: error: ‘Ops’ has not been declared 160 | { return Ops::fetchAndAddOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbytearray.h:238:5: error: expected unqualified-id before ‘[’ token 238 | Q_REQUIRED_RESULT QByteArray left(int len) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:239:5: error: expected unqualified-id before ‘[’ token 239 | Q_REQUIRED_RESULT QByteArray right(int len) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:328:5: error: expected unqualified-id before ‘[’ token 328 | Q_REQUIRED_RESULT QByteArray repeated(int times) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:240:5: error: expected unqualified-id before ‘[’ token 240 | Q_REQUIRED_RESULT QByteArray mid(int index, int len = -1) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘X* QBasicAtomicPointer::fetchAndAddOrdered(qptrdiff)’: /usr/include/qt5/QtCore/qbasicatomic.h:291:14: error: ‘Ops’ has not been declared 291 | { return Ops::fetchAndAddOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndSubRelaxed(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:163:14: error: ‘Ops’ has not been declared 163 | { return Ops::fetchAndSubRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndSubAcquire(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:165:14: error: ‘Ops’ has not been declared 165 | { return Ops::fetchAndSubAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘X* QBasicAtomicPointer::fetchAndSubRelaxed(qptrdiff)’: /usr/include/qt5/QtCore/qbasicatomic.h:294:14: error: ‘Ops’ has not been declared 294 | { return Ops::fetchAndSubRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndSubRelease(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:167:14: error: ‘Ops’ has not been declared 167 | { return Ops::fetchAndSubRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndSubOrdered(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:169:14: error: ‘Ops’ has not been declared 169 | { return Ops::fetchAndSubOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘X* QBasicAtomicPointer::fetchAndSubAcquire(qptrdiff)’: /usr/include/qt5/QtCore/qbasicatomic.h:296:14: error: ‘Ops’ has not been declared 296 | { return Ops::fetchAndSubAcquire(_q_value, valueToAdd); } | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.h:31, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.cpp:21: /usr/include/qt5/QtCore/qchar.h:598:1: error: ‘is_integral’ is not a member of ‘std’ 598 | Q_DECLARE_TYPEINFO(QChar, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:598:1: error: expected primary-expression before ‘>’ token 598 | Q_DECLARE_TYPEINFO(QChar, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘X* QBasicAtomicPointer::fetchAndSubRelease(qptrdiff)’: /usr/include/qt5/QtCore/qbasicatomic.h:298:14: error: ‘Ops’ has not been declared 298 | { return Ops::fetchAndSubRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘X* QBasicAtomicPointer::fetchAndSubOrdered(qptrdiff)’: /usr/include/qt5/QtCore/qbasicatomic.h:300:14: error: ‘Ops’ has not been declared 300 | { return Ops::fetchAndSubOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qchar.h:598:1: error: ‘::value’ has not been declared 598 | Q_DECLARE_TYPEINFO(QChar, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.h:31, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.cpp:21: /usr/include/qt5/QtCore/qchar.h:609:57: error: ‘std::nullptr_t’ has not been declared 609 | Q_DECL_CONSTEXPR inline bool operator==(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return lhs.isNull(); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:241:5: error: expected unqualified-id before ‘[’ token 241 | Q_REQUIRED_RESULT QByteArray chopped(int len) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndAndRelaxed(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:172:14: error: ‘Ops’ has not been declared 172 | { return Ops::fetchAndAndRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndAndAcquire(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:174:14: error: ‘Ops’ has not been declared 174 | { return Ops::fetchAndAndAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbytearray.h:286:5: error: expected unqualified-id before ‘[’ token 286 | Q_REQUIRED_RESULT QByteArray toLower() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:287:5: error: expected unqualified-id before ‘[’ token 287 | Q_REQUIRED_RESULT QByteArray toUpper() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:288:5: error: expected unqualified-id before ‘[’ token 288 | Q_REQUIRED_RESULT QByteArray trimmed() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndAndRelease(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:176:14: error: ‘Ops’ has not been declared 176 | { return Ops::fetchAndAndRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbytearray.h:289:5: error: expected unqualified-id before ‘[’ token 289 | Q_REQUIRED_RESULT QByteArray simplified() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:292:5: error: expected unqualified-id before ‘[’ token 292 | Q_REQUIRED_RESULT QByteArray leftJustified(int width, char fill = ' ', bool truncate = false) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:293:5: error: expected unqualified-id before ‘[’ token 293 | Q_REQUIRED_RESULT QByteArray rightJustified(int width, char fill = ' ', bool truncate = false) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndAndOrdered(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:178:14: error: ‘Ops’ has not been declared 178 | { return Ops::fetchAndAndOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndOrRelaxed(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:181:14: error: ‘Ops’ has not been declared 181 | { return Ops::fetchAndOrRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndOrAcquire(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:183:14: error: ‘Ops’ has not been declared 183 | { return Ops::fetchAndOrAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndOrRelease(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:185:14: error: ‘Ops’ has not been declared 185 | { return Ops::fetchAndOrRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndOrOrdered(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:187:14: error: ‘Ops’ has not been declared 187 | { return Ops::fetchAndOrOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndXorRelaxed(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:190:14: error: ‘Ops’ has not been declared 190 | { return Ops::fetchAndXorRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndXorAcquire(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:192:14: error: ‘Ops’ has not been declared 192 | { return Ops::fetchAndXorAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndXorRelease(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:194:14: error: ‘Ops’ has not been declared 194 | { return Ops::fetchAndXorRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘T QBasicAtomicInteger::fetchAndXorOrdered(T)’: /usr/include/qt5/QtCore/qbasicatomic.h:196:14: error: ‘Ops’ has not been declared 196 | { return Ops::fetchAndXorOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbytearray.h:328:5: error: expected unqualified-id before ‘[’ token 328 | Q_REQUIRED_RESULT QByteArray repeated(int times) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:378:5: error: expected unqualified-id before ‘[’ token 378 | Q_REQUIRED_RESULT static QByteArray number(int, int base = 10); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:379:5: error: expected unqualified-id before ‘[’ token 379 | Q_REQUIRED_RESULT static QByteArray number(uint, int base = 10); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:380:5: error: expected unqualified-id before ‘[’ token 380 | Q_REQUIRED_RESULT static QByteArray number(qlonglong, int base = 10); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:381:5: error: expected unqualified-id before ‘[’ token 381 | Q_REQUIRED_RESULT static QByteArray number(qulonglong, int base = 10); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:378:5: error: expected unqualified-id before ‘[’ token 378 | Q_REQUIRED_RESULT static QByteArray number(int, int base = 10); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1210, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/mediawikimarkupbuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/mediawikimarkupbuilder.cpp:21: /usr/include/qt5/QtCore/qatomic.h: At global scope: /usr/include/qt5/QtCore/qatomic.h:173:38: error: ‘nullptr’ was not declared in this scope 173 | inline QAtomicPointer(T *value = nullptr) Q_DECL_NOTHROW | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:379:5: error: expected unqualified-id before ‘[’ token 379 | Q_REQUIRED_RESULT static QByteArray number(uint, int base = 10); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:380:5: error: expected unqualified-id before ‘[’ token 380 | Q_REQUIRED_RESULT static QByteArray number(qlonglong, int base = 10); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:381:5: error: expected unqualified-id before ‘[’ token 381 | Q_REQUIRED_RESULT static QByteArray number(qulonglong, int base = 10); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:382:5: error: expected unqualified-id before ‘[’ token 382 | Q_REQUIRED_RESULT static QByteArray number(double, char f = 'g', int prec = 6); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:383:5: error: expected unqualified-id before ‘[’ token 383 | Q_REQUIRED_RESULT static QByteArray fromRawData(const char *, int size); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:384:5: error: expected unqualified-id before ‘[’ token 384 | Q_REQUIRED_RESULT static QByteArray fromBase64(const QByteArray &base64, Base64Options options); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:385:5: error: expected unqualified-id before ‘[’ token 385 | Q_REQUIRED_RESULT static QByteArray fromBase64(const QByteArray &base64); // ### Qt6 merge with previous | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:386:5: error: expected unqualified-id before ‘[’ token 386 | Q_REQUIRED_RESULT static QByteArray fromHex(const QByteArray &hexEncoded); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:387:5: error: expected unqualified-id before ‘[’ token 387 | Q_REQUIRED_RESULT static QByteArray fromPercentEncoding(const QByteArray &pctEncoded, char percent = '%'); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.cpp:21: /usr/include/qt5/QtCore/qbytearray.h:350:30: error: ‘nullptr’ was not declared in this scope 350 | short toShort(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qchar.h:610:57: error: ‘std::nullptr_t’ has not been declared 610 | Q_DECL_CONSTEXPR inline bool operator< (QChar, std::nullptr_t) Q_DECL_NOTHROW { return false; } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:611:46: error: declaration of ‘operator==’ as non-function 611 | Q_DECL_CONSTEXPR inline bool operator==(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return rhs.isNull(); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:611:46: error: ‘nullptr_t’ is not a member of ‘std’ /usr/include/qt5/QtCore/qchar.h:611:63: error: expected primary-expression before ‘rhs’ 611 | Q_DECL_CONSTEXPR inline bool operator==(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return rhs.isNull(); } | ^~~ /usr/include/qt5/QtCore/qchar.h:612:46: error: declaration of ‘operator<’ as non-function 612 | Q_DECL_CONSTEXPR inline bool operator< (std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !rhs.isNull(); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:612:46: error: ‘nullptr_t’ is not a member of ‘std’ /usr/include/qt5/QtCore/qchar.h:612:63: error: expected primary-expression before ‘rhs’ 612 | Q_DECL_CONSTEXPR inline bool operator< (std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !rhs.isNull(); } | ^~~ /usr/include/qt5/QtCore/qchar.h:614:57: error: ‘std::nullptr_t’ has not been declared 614 | Q_DECL_CONSTEXPR inline bool operator!=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator==(lhs, nullptr); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:351:32: error: ‘nullptr’ was not declared in this scope 351 | ushort toUShort(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qchar.h: In function ‘bool operator!=(QChar, int)’: /usr/include/qt5/QtCore/qchar.h:614:109: error: ‘nullptr’ was not declared in this scope 614 | Q_DECL_CONSTEXPR inline bool operator!=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator==(lhs, nullptr); } | ^~~~~~~ /usr/include/qt5/QtCore/qchar.h: At global scope: /usr/include/qt5/QtCore/qchar.h:615:57: error: ‘std::nullptr_t’ has not been declared 615 | Q_DECL_CONSTEXPR inline bool operator>=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator< (lhs, nullptr); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h: In function ‘bool operator>=(QChar, int)’: /usr/include/qt5/QtCore/qchar.h:615:109: error: ‘nullptr’ was not declared in this scope 615 | Q_DECL_CONSTEXPR inline bool operator>=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator< (lhs, nullptr); } | ^~~~~~~ /usr/include/qt5/QtCore/qbasicatomic.h: At global scope: /usr/include/qt5/QtCore/qbasicatomic.h:234:13: error: ‘QAtomicOps’ does not name a type 234 | typedef QAtomicOps Ops; | ^~~~~~~~~~ /usr/include/qt5/QtCore/qbasicatomic.h:235:22: error: ‘Ops’ has not been declared 235 | typedef typename Ops::Type AtomicType; | ^~~ /usr/include/qt5/QtCore/qchar.h: At global scope: /usr/include/qt5/QtCore/qchar.h:616:57: error: ‘std::nullptr_t’ has not been declared 616 | Q_DECL_CONSTEXPR inline bool operator> (QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return operator< (nullptr, lhs); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘X* QBasicAtomicPointer::load() const’: /usr/include/qt5/QtCore/qbasicatomic.h:239:47: error: ‘Ops’ has not been declared 239 | Type load() const Q_DECL_NOTHROW { return Ops::load(_q_value); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘void QBasicAtomicPointer::store(QBasicAtomicPointer::Type)’: /usr/include/qt5/QtCore/qbasicatomic.h:240:48: error: ‘Ops’ has not been declared 240 | void store(Type newValue) Q_DECL_NOTHROW { Ops::store(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qchar.h: In function ‘bool operator>(QChar, int)’: /usr/include/qt5/QtCore/qchar.h:616:104: error: ‘nullptr’ was not declared in this scope 616 | Q_DECL_CONSTEXPR inline bool operator> (QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return operator< (nullptr, lhs); } | ^~~~~~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘X* QBasicAtomicPointer::loadAcquire() const’: /usr/include/qt5/QtCore/qbasicatomic.h:245:54: error: ‘Ops’ has not been declared 245 | Type loadAcquire() const Q_DECL_NOTHROW { return Ops::loadAcquire(_q_value); } | ^~~ /usr/include/qt5/QtCore/qbytearray.h:382:5: error: expected unqualified-id before ‘[’ token 382 | Q_REQUIRED_RESULT static QByteArray number(double, char f = 'g', int prec = 6); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:383:5: error: expected unqualified-id before ‘[’ token 383 | Q_REQUIRED_RESULT static QByteArray fromRawData(const char *, int size); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/mediawikimarkupbuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/mediawikimarkupbuilder.cpp:21: /usr/include/qt5/QtCore/qchar.h:598:1: error: ‘is_integral’ is not a member of ‘std’ 598 | Q_DECLARE_TYPEINFO(QChar, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:384:5: error: expected unqualified-id before ‘[’ token 384 | Q_REQUIRED_RESULT static QByteArray fromBase64(const QByteArray &base64, Base64Options options); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘void QBasicAtomicPointer::storeRelease(QBasicAtomicPointer::Type)’: /usr/include/qt5/QtCore/qbasicatomic.h:246:55: error: ‘Ops’ has not been declared 246 | void storeRelease(Type newValue) Q_DECL_NOTHROW { Ops::storeRelease(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbytearray.h:385:5: error: expected unqualified-id before ‘[’ token 385 | Q_REQUIRED_RESULT static QByteArray fromBase64(const QByteArray &base64); // ### Qt6 merge with previous | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:386:5: error: expected unqualified-id before ‘[’ token 386 | Q_REQUIRED_RESULT static QByteArray fromHex(const QByteArray &hexEncoded); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:387:5: error: expected unqualified-id before ‘[’ token 387 | Q_REQUIRED_RESULT static QByteArray fromPercentEncoding(const QByteArray &pctEncoded, char percent = '%'); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:598:1: error: expected primary-expression before ‘>’ token 598 | Q_DECLARE_TYPEINFO(QChar, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function ‘static bool QBasicAtomicPointer::isTestAndSetNative()’: /usr/include/qt5/QtCore/qbasicatomic.h:248:79: error: ‘Ops’ has not been declared 248 | static Q_DECL_CONSTEXPR bool isTestAndSetNative() Q_DECL_NOTHROW { return Ops::isTestAndSetNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function ‘static bool QBasicAtomicPointer::isTestAndSetWaitFree()’: /usr/include/qt5/QtCore/qbasicatomic.h:249:81: error: ‘Ops’ has not been declared 249 | static Q_DECL_CONSTEXPR bool isTestAndSetWaitFree() Q_DECL_NOTHROW { return Ops::isTestAndSetWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicPointer::testAndSetRelaxed(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type)’: /usr/include/qt5/QtCore/qbasicatomic.h:252:14: error: ‘Ops’ has not been declared 252 | { return Ops::testAndSetRelaxed(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicPointer::testAndSetAcquire(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type)’: /usr/include/qt5/QtCore/qbasicatomic.h:254:14: error: ‘Ops’ has not been declared 254 | { return Ops::testAndSetAcquire(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicPointer::testAndSetRelease(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type)’: /usr/include/qt5/QtCore/qbasicatomic.h:256:14: error: ‘Ops’ has not been declared 256 | { return Ops::testAndSetRelease(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicPointer::testAndSetOrdered(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type)’: /usr/include/qt5/QtCore/qbasicatomic.h:258:14: error: ‘Ops’ has not been declared 258 | { return Ops::testAndSetOrdered(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicPointer::testAndSetRelaxed(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type, X*&)’: /usr/include/qt5/QtCore/qbasicatomic.h:261:14: error: ‘Ops’ has not been declared 261 | { return Ops::testAndSetRelaxed(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicPointer::testAndSetAcquire(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type, X*&)’: /usr/include/qt5/QtCore/qbasicatomic.h:263:14: error: ‘Ops’ has not been declared 263 | { return Ops::testAndSetAcquire(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicPointer::testAndSetRelease(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type, X*&)’: /usr/include/qt5/QtCore/qbasicatomic.h:265:14: error: ‘Ops’ has not been declared 265 | { return Ops::testAndSetRelease(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbytearray.h:352:26: error: ‘nullptr’ was not declared in this scope 352 | int toInt(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qchar.h: At global scope: /usr/include/qt5/QtCore/qchar.h:617:57: error: ‘std::nullptr_t’ has not been declared 617 | Q_DECL_CONSTEXPR inline bool operator<=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator< (nullptr, lhs); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:598:1: error: ‘::value’ has not been declared 598 | Q_DECLARE_TYPEINFO(QChar, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/mediawikimarkupbuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/mediawikimarkupbuilder.cpp:21: /usr/include/qt5/QtCore/qchar.h:609:57: error: ‘std::nullptr_t’ has not been declared 609 | Q_DECL_CONSTEXPR inline bool operator==(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return lhs.isNull(); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:610:57: error: ‘std::nullptr_t’ has not been declared 610 | Q_DECL_CONSTEXPR inline bool operator< (QChar, std::nullptr_t) Q_DECL_NOTHROW { return false; } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:611:46: error: declaration of ‘operator==’ as non-function 611 | Q_DECL_CONSTEXPR inline bool operator==(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return rhs.isNull(); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h: In function ‘bool operator<=(QChar, int)’: /usr/include/qt5/QtCore/qchar.h:617:104: error: ‘nullptr’ was not declared in this scope 617 | Q_DECL_CONSTEXPR inline bool operator<=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator< (nullptr, lhs); } | ^~~~~~~ /usr/include/qt5/QtCore/qchar.h:611:46: error: ‘nullptr_t’ is not a member of ‘std’ /usr/include/qt5/QtCore/qchar.h: At global scope: /usr/include/qt5/QtCore/qchar.h:619:46: error: declaration of ‘operator!=’ as non-function 619 | Q_DECL_CONSTEXPR inline bool operator!=(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !operator==(nullptr, rhs); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:611:63: error: expected primary-expression before ‘rhs’ 611 | Q_DECL_CONSTEXPR inline bool operator==(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return rhs.isNull(); } | ^~~ /usr/include/qt5/QtCore/qchar.h:612:46: error: declaration of ‘operator<’ as non-function 612 | Q_DECL_CONSTEXPR inline bool operator< (std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !rhs.isNull(); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:612:46: error: ‘nullptr_t’ is not a member of ‘std’ /usr/include/qt5/QtCore/qchar.h:612:63: error: expected primary-expression before ‘rhs’ 612 | Q_DECL_CONSTEXPR inline bool operator< (std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !rhs.isNull(); } | ^~~ /usr/include/qt5/QtCore/qchar.h:619:46: error: ‘nullptr_t’ is not a member of ‘std’ In file included from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.cpp:21: /usr/include/qt5/QtCore/qbytearray.h:350:30: error: ‘nullptr’ was not declared in this scope 350 | short toShort(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘bool QBasicAtomicPointer::testAndSetOrdered(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type, X*&)’: /usr/include/qt5/QtCore/qbasicatomic.h:267:14: error: ‘Ops’ has not been declared 267 | { return Ops::testAndSetOrdered(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function ‘static bool QBasicAtomicPointer::isFetchAndStoreNative()’: /usr/include/qt5/QtCore/qbasicatomic.h:269:82: error: ‘Ops’ has not been declared 269 | static Q_DECL_CONSTEXPR bool isFetchAndStoreNative() Q_DECL_NOTHROW { return Ops::isFetchAndStoreNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function ‘static bool QBasicAtomicPointer::isFetchAndStoreWaitFree()’: /usr/include/qt5/QtCore/qbasicatomic.h:270:84: error: ‘Ops’ has not been declared 270 | static Q_DECL_CONSTEXPR bool isFetchAndStoreWaitFree() Q_DECL_NOTHROW { return Ops::isFetchAndStoreWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘X* QBasicAtomicPointer::fetchAndStoreRelaxed(QBasicAtomicPointer::Type)’: /usr/include/qt5/QtCore/qbasicatomic.h:273:14: error: ‘Ops’ has not been declared 273 | { return Ops::fetchAndStoreRelaxed(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘X* QBasicAtomicPointer::fetchAndStoreAcquire(QBasicAtomicPointer::Type)’: /usr/include/qt5/QtCore/qbasicatomic.h:275:14: error: ‘Ops’ has not been declared 275 | { return Ops::fetchAndStoreAcquire(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qchar.h:614:57: error: ‘std::nullptr_t’ has not been declared 614 | Q_DECL_CONSTEXPR inline bool operator!=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator==(lhs, nullptr); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:619:63: error: expected primary-expression before ‘rhs’ 619 | Q_DECL_CONSTEXPR inline bool operator!=(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !operator==(nullptr, rhs); } | ^~~ /usr/include/qt5/QtCore/qbytearray.h:353:28: error: ‘nullptr’ was not declared in this scope 353 | uint toUInt(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:351:32: error: ‘nullptr’ was not declared in this scope 351 | ushort toUShort(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qchar.h:620:46: error: declaration of ‘operator>=’ as non-function 620 | Q_DECL_CONSTEXPR inline bool operator>=(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !operator< (nullptr, rhs); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:620:46: error: ‘nullptr_t’ is not a member of ‘std’ /usr/include/qt5/QtCore/qchar.h:620:63: error: expected primary-expression before ‘rhs’ 620 | Q_DECL_CONSTEXPR inline bool operator>=(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !operator< (nullptr, rhs); } | ^~~ /usr/include/qt5/QtCore/qchar.h:621:46: error: declaration of ‘operator>’ as non-function 621 | Q_DECL_CONSTEXPR inline bool operator> (std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return operator< (rhs, nullptr); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:621:46: error: ‘nullptr_t’ is not a member of ‘std’ /usr/include/qt5/QtCore/qchar.h:621:63: error: expected primary-expression before ‘rhs’ 621 | Q_DECL_CONSTEXPR inline bool operator> (std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return operator< (rhs, nullptr); } | ^~~ /usr/include/qt5/QtCore/qchar.h:622:46: error: declaration of ‘operator<=’ as non-function 622 | Q_DECL_CONSTEXPR inline bool operator<=(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !operator< (rhs, nullptr); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:622:46: error: ‘nullptr_t’ is not a member of ‘std’ /usr/include/qt5/QtCore/qchar.h:622:63: error: expected primary-expression before ‘rhs’ 622 | Q_DECL_CONSTEXPR inline bool operator<=(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !operator< (rhs, nullptr); } | ^~~ /usr/include/qt5/QtCore/qchar.h: In function ‘bool operator!=(QChar, int)’: /usr/include/qt5/QtCore/qchar.h:614:109: error: ‘nullptr’ was not declared in this scope 614 | Q_DECL_CONSTEXPR inline bool operator!=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator==(lhs, nullptr); } | ^~~~~~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘X* QBasicAtomicPointer::fetchAndStoreRelease(QBasicAtomicPointer::Type)’: /usr/include/qt5/QtCore/qbasicatomic.h:277:14: error: ‘Ops’ has not been declared 277 | { return Ops::fetchAndStoreRelease(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘X* QBasicAtomicPointer::fetchAndStoreOrdered(QBasicAtomicPointer::Type)’: /usr/include/qt5/QtCore/qbasicatomic.h:279:14: error: ‘Ops’ has not been declared 279 | { return Ops::fetchAndStoreOrdered(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function ‘static bool QBasicAtomicPointer::isFetchAndAddNative()’: /usr/include/qt5/QtCore/qbasicatomic.h:281:80: error: ‘Ops’ has not been declared 281 | static Q_DECL_CONSTEXPR bool isFetchAndAddNative() Q_DECL_NOTHROW { return Ops::isFetchAndAddNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function ‘static bool QBasicAtomicPointer::isFetchAndAddWaitFree()’: /usr/include/qt5/QtCore/qbasicatomic.h:282:82: error: ‘Ops’ has not been declared 282 | static Q_DECL_CONSTEXPR bool isFetchAndAddWaitFree() Q_DECL_NOTHROW { return Ops::isFetchAndAddWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘X* QBasicAtomicPointer::fetchAndAddRelaxed(qptrdiff)’: /usr/include/qt5/QtCore/qbasicatomic.h:285:14: error: ‘Ops’ has not been declared 285 | { return Ops::fetchAndAddRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘X* QBasicAtomicPointer::fetchAndAddAcquire(qptrdiff)’: /usr/include/qt5/QtCore/qbasicatomic.h:287:14: error: ‘Ops’ has not been declared 287 | { return Ops::fetchAndAddAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘X* QBasicAtomicPointer::fetchAndAddRelease(qptrdiff)’: /usr/include/qt5/QtCore/qbasicatomic.h:289:14: error: ‘Ops’ has not been declared 289 | { return Ops::fetchAndAddRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘X* QBasicAtomicPointer::fetchAndAddOrdered(qptrdiff)’: /usr/include/qt5/QtCore/qbasicatomic.h:291:14: error: ‘Ops’ has not been declared 291 | { return Ops::fetchAndAddOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘X* QBasicAtomicPointer::fetchAndSubRelaxed(qptrdiff)’: /usr/include/qt5/QtCore/qbasicatomic.h:294:14: error: ‘Ops’ has not been declared 294 | { return Ops::fetchAndSubRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘X* QBasicAtomicPointer::fetchAndSubAcquire(qptrdiff)’: /usr/include/qt5/QtCore/qbasicatomic.h:296:14: error: ‘Ops’ has not been declared 296 | { return Ops::fetchAndSubAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘X* QBasicAtomicPointer::fetchAndSubRelease(qptrdiff)’: /usr/include/qt5/QtCore/qbasicatomic.h:298:14: error: ‘Ops’ has not been declared 298 | { return Ops::fetchAndSubRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function ‘X* QBasicAtomicPointer::fetchAndSubOrdered(qptrdiff)’: /usr/include/qt5/QtCore/qbasicatomic.h:300:14: error: ‘Ops’ has not been declared 300 | { return Ops::fetchAndSubOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbytearray.h:352:26: error: ‘nullptr’ was not declared in this scope 352 | int toInt(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:354:28: error: ‘nullptr’ was not declared in this scope 354 | long toLong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1210, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/texthtmlbuilder.h:28, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/texthtmlbuilder.cpp:21: /usr/include/qt5/QtCore/qatomic.h: At global scope: /usr/include/qt5/QtCore/qatomic.h:173:38: error: ‘nullptr’ was not declared in this scope 173 | inline QAtomicPointer(T *value = nullptr) Q_DECL_NOTHROW | ^~~~~~~ /usr/include/qt5/QtCore/qchar.h: At global scope: /usr/include/qt5/QtCore/qchar.h:615:57: error: ‘std::nullptr_t’ has not been declared 615 | Q_DECL_CONSTEXPR inline bool operator>=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator< (lhs, nullptr); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h: In function ‘bool operator>=(QChar, int)’: /usr/include/qt5/QtCore/qchar.h:615:109: error: ‘nullptr’ was not declared in this scope 615 | Q_DECL_CONSTEXPR inline bool operator>=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator< (lhs, nullptr); } | ^~~~~~~ /usr/include/qt5/QtCore/qchar.h: At global scope: /usr/include/qt5/QtCore/qchar.h:616:57: error: ‘std::nullptr_t’ has not been declared 616 | Q_DECL_CONSTEXPR inline bool operator> (QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return operator< (nullptr, lhs); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h: In function ‘bool operator>(QChar, int)’: /usr/include/qt5/QtCore/qchar.h:616:104: error: ‘nullptr’ was not declared in this scope 616 | Q_DECL_CONSTEXPR inline bool operator> (QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return operator< (nullptr, lhs); } | ^~~~~~~ /usr/include/qt5/QtCore/qchar.h: At global scope: /usr/include/qt5/QtCore/qchar.h:617:57: error: ‘std::nullptr_t’ has not been declared 617 | Q_DECL_CONSTEXPR inline bool operator<=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator< (nullptr, lhs); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:353:28: error: ‘nullptr’ was not declared in this scope 353 | uint toUInt(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:354:28: error: ‘nullptr’ was not declared in this scope 354 | long toLong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:355:30: error: ‘nullptr’ was not declared in this scope 355 | ulong toULong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:356:37: error: ‘nullptr’ was not declared in this scope 356 | qlonglong toLongLong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:357:39: error: ‘nullptr’ was not declared in this scope 357 | qulonglong toULongLong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:358:30: error: ‘nullptr’ was not declared in this scope 358 | float toFloat(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:359:32: error: ‘nullptr’ was not declared in this scope 359 | double toDouble(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:566:17: error: no declaration matches ‘QByteRef QByteArray::front()’ 566 | inline QByteRef QByteArray::front() { return operator[](0); } | ^~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:566:17: note: no functions named ‘QByteRef QByteArray::front()’ /usr/include/qt5/QtCore/qbytearray.h:156:21: note: ‘class QByteArray’ defined here 156 | class Q_CORE_EXPORT QByteArray | ^~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:567:17: error: no declaration matches ‘QByteRef QByteArray::back()’ 567 | inline QByteRef QByteArray::back() { return operator[](size() - 1); } | ^~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:567:17: note: no functions named ‘QByteRef QByteArray::back()’ /usr/include/qt5/QtCore/qbytearray.h:156:21: note: ‘class QByteArray’ defined here 156 | class Q_CORE_EXPORT QByteArray | ^~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.cpp:21: /usr/include/qt5/QtCore/qbytearray.h:708:1: error: ‘is_integral’ is not a member of ‘std’ 708 | Q_DECLARE_SHARED(QByteArray) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:355:30: error: ‘nullptr’ was not declared in this scope 355 | ulong toULong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.h:31, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.cpp:21: /usr/include/qt5/QtCore/qarraydata.h:115:5: error: expected unqualified-id before ‘[’ token 115 | Q_REQUIRED_RESULT static QArrayData *allocate(size_t objectSize, size_t alignment, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qarraydata.h:117:5: error: expected unqualified-id before ‘[’ token 117 | Q_REQUIRED_RESULT static QArrayData *reallocateUnaligned(QArrayData *data, size_t objectSize, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:356:37: error: ‘nullptr’ was not declared in this scope 356 | qlonglong toLongLong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qarraydata.h:220:5: error: expected unqualified-id before ‘[’ token 220 | Q_REQUIRED_RESULT static QTypedArrayData *allocate(size_t capacity, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:357:39: error: ‘nullptr’ was not declared in this scope 357 | qulonglong toULongLong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qbytearray.h:46, from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.h:31, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.cpp:21: /usr/include/qt5/QtCore/qarraydata.h: In constructor ‘QTypedArrayData::iterator::iterator()’: /usr/include/qt5/QtCore/qarraydata.h:142:31: error: ‘nullptr’ was not declared in this scope 142 | inline iterator() : i(nullptr) {} | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/texthtmlbuilder.h:28, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/texthtmlbuilder.cpp:21: /usr/include/qt5/QtCore/qchar.h:598:1: error: ‘is_integral’ is not a member of ‘std’ 598 | Q_DECLARE_TYPEINFO(QChar, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qchar.h: In function ‘bool operator<=(QChar, int)’: /usr/include/qt5/QtCore/qchar.h:617:104: error: ‘nullptr’ was not declared in this scope 617 | Q_DECL_CONSTEXPR inline bool operator<=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator< (nullptr, lhs); } | ^~~~~~~ /usr/include/qt5/QtCore/qchar.h: At global scope: /usr/include/qt5/QtCore/qchar.h:619:46: error: declaration of ‘operator!=’ as non-function 619 | Q_DECL_CONSTEXPR inline bool operator!=(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !operator==(nullptr, rhs); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:619:46: error: ‘nullptr_t’ is not a member of ‘std’ /usr/include/qt5/QtCore/qchar.h:619:63: error: expected primary-expression before ‘rhs’ 619 | Q_DECL_CONSTEXPR inline bool operator!=(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !operator==(nullptr, rhs); } | ^~~ /usr/include/qt5/QtCore/qchar.h:620:46: error: declaration of ‘operator>=’ as non-function 620 | Q_DECL_CONSTEXPR inline bool operator>=(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !operator< (nullptr, rhs); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:620:46: error: ‘nullptr_t’ is not a member of ‘std’ /usr/include/qt5/QtCore/qchar.h:620:63: error: expected primary-expression before ‘rhs’ 620 | Q_DECL_CONSTEXPR inline bool operator>=(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !operator< (nullptr, rhs); } | ^~~ /usr/include/qt5/QtCore/qchar.h:621:46: error: declaration of ‘operator>’ as non-function 621 | Q_DECL_CONSTEXPR inline bool operator> (std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return operator< (rhs, nullptr); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:621:46: error: ‘nullptr_t’ is not a member of ‘std’ /usr/include/qt5/QtCore/qchar.h:621:63: error: expected primary-expression before ‘rhs’ 621 | Q_DECL_CONSTEXPR inline bool operator> (std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return operator< (rhs, nullptr); } | ^~~ /usr/include/qt5/QtCore/qchar.h:622:46: error: declaration of ‘operator<=’ as non-function 622 | Q_DECL_CONSTEXPR inline bool operator<=(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !operator< (rhs, nullptr); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:622:46: error: ‘nullptr_t’ is not a member of ‘std’ /usr/include/qt5/QtCore/qchar.h:622:63: error: expected primary-expression before ‘rhs’ 622 | Q_DECL_CONSTEXPR inline bool operator<=(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !operator< (rhs, nullptr); } | ^~~ /usr/include/qt5/QtCore/qarraydata.h: In constructor ‘QTypedArrayData::const_iterator::const_iterator()’: /usr/include/qt5/QtCore/qarraydata.h:177:37: error: ‘nullptr’ was not declared in this scope 177 | inline const_iterator() : i(nullptr) {} | ^~~~~~~ /usr/include/qt5/QtCore/qarraydata.h: In static member function ‘static QTypedArrayData* QTypedArrayData::reallocateUnaligned(QTypedArrayData*, size_t, QArrayData::AllocationOptions)’: /usr/include/qt5/QtCore/qarraydata.h:232:59: error: ‘reallocateUnaligned’ is not a member of ‘QArrayData’ 232 | return static_cast(QArrayData::reallocateUnaligned(data, sizeof(T), | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:358:30: error: ‘nullptr’ was not declared in this scope 358 | float toFloat(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qarraydata.h: In static member function ‘static QTypedArrayData* QTypedArrayData::fromRawData(const T*, size_t, QArrayData::AllocationOptions)’: /usr/include/qt5/QtCore/qarraydata.h:246:35: error: there are no arguments to ‘allocate’ that depend on a template parameter, so a declaration of ‘allocate’ must be available [-fpermissive] 246 | QTypedArrayData *result = allocate(0, options | RawData); | ^~~~~~~~ /usr/include/qt5/QtCore/qarraydata.h:246:35: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/include/qt5/QtCore/qarraydata.h: In static member function ‘static QTypedArrayData* QTypedArrayData::sharedEmpty()’: /usr/include/qt5/QtCore/qarraydata.h:266:16: error: there are no arguments to ‘allocate’ that depend on a template parameter, so a declaration of ‘allocate’ must be available [-fpermissive] 266 | return allocate(/* capacity */ 0); | ^~~~~~~~ /usr/include/qt5/QtCore/qarraydata.h: In static member function ‘static QTypedArrayData* QTypedArrayData::unsharableEmpty()’: /usr/include/qt5/QtCore/qarraydata.h:273:16: error: there are no arguments to ‘allocate’ that depend on a template parameter, so a declaration of ‘allocate’ must be available [-fpermissive] 273 | return allocate(/* capacity */ 0, Unsharable); | ^~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:708:1: error: expected primary-expression before ‘>’ token 708 | Q_DECLARE_SHARED(QByteArray) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:708:1: error: ‘::value’ has not been declared 708 | Q_DECLARE_SHARED(QByteArray) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:52, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.cpp:21: /usr/include/qt5/QtCore/qstringliteral.h:59:9: error: ‘char16_t’ does not name a type 59 | typedef char16_t qunicodechar; | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.cpp:21: /usr/include/qt5/QtCore/qstringliteral.h:61:1: error: ‘qunicodechar’ was not declared in this scope 61 | Q_STATIC_ASSERT_X(sizeof(qunicodechar) == 2, | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:52, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.cpp:21: /usr/include/qt5/QtCore/qstringliteral.h:96:5: error: ‘qunicodechar’ does not name a type 96 | qunicodechar data[N + 1]; | ^~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/mediawikimarkupbuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/mediawikimarkupbuilder.cpp:21: /usr/include/qt5/QtCore/qarraydata.h:115:5: error: expected unqualified-id before ‘[’ token 115 | Q_REQUIRED_RESULT static QArrayData *allocate(size_t objectSize, size_t alignment, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:598:1: error: expected primary-expression before ‘>’ token 598 | Q_DECLARE_TYPEINFO(QChar, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:598:1: error: ‘::value’ has not been declared 598 | Q_DECLARE_TYPEINFO(QChar, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/texthtmlbuilder.h:28, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/texthtmlbuilder.cpp:21: /usr/include/qt5/QtCore/qchar.h:609:57: error: ‘std::nullptr_t’ has not been declared 609 | Q_DECL_CONSTEXPR inline bool operator==(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return lhs.isNull(); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:610:57: error: ‘std::nullptr_t’ has not been declared 610 | Q_DECL_CONSTEXPR inline bool operator< (QChar, std::nullptr_t) Q_DECL_NOTHROW { return false; } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:611:46: error: declaration of ‘operator==’ as non-function 611 | Q_DECL_CONSTEXPR inline bool operator==(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return rhs.isNull(); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:611:46: error: ‘nullptr_t’ is not a member of ‘std’ /usr/include/qt5/QtCore/qchar.h:611:63: error: expected primary-expression before ‘rhs’ 611 | Q_DECL_CONSTEXPR inline bool operator==(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return rhs.isNull(); } | ^~~ /usr/include/qt5/QtCore/qchar.h:612:46: error: declaration of ‘operator<’ as non-function 612 | Q_DECL_CONSTEXPR inline bool operator< (std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !rhs.isNull(); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:612:46: error: ‘nullptr_t’ is not a member of ‘std’ /usr/include/qt5/QtCore/qchar.h:612:63: error: expected primary-expression before ‘rhs’ 612 | Q_DECL_CONSTEXPR inline bool operator< (std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !rhs.isNull(); } | ^~~ /usr/include/qt5/QtCore/qchar.h:614:57: error: ‘std::nullptr_t’ has not been declared 614 | Q_DECL_CONSTEXPR inline bool operator!=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator==(lhs, nullptr); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:359:32: error: ‘nullptr’ was not declared in this scope 359 | double toDouble(bool *ok = nullptr) const; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.h:31, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.cpp:21: /usr/include/qt5/QtCore/qbytearray.h: At global scope: /usr/include/qt5/QtCore/qbytearray.h:102:43: error: ‘qsizetype’ has not been declared 102 | Q_CORE_EXPORT int qstrnicmp(const char *, qsizetype, const char *, qsizetype = -1); | ^~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:102:68: error: ‘qsizetype’ has not been declared 102 | Q_CORE_EXPORT int qstrnicmp(const char *, qsizetype, const char *, qsizetype = -1); | ^~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.h:31, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.cpp:21: /usr/include/qt5/QtCore/qbytearray.h:216:5: error: expected unqualified-id before ‘[’ token 216 | Q_REQUIRED_RESULT char front() const { return at(0); } | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.cpp:21: /usr/include/qt5/QtCore/qstringalgorithms.h:58:1: error: expected unqualified-id before ‘[’ token 58 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION qsizetype qustrlen(const ushort *str) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:217:5: error: expected unqualified-id before ‘[’ token 217 | Q_REQUIRED_RESULT inline QByteRef front(); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:218:5: error: expected unqualified-id before ‘[’ token 218 | Q_REQUIRED_RESULT char back() const { return at(size() - 1); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:219:5: error: expected unqualified-id before ‘[’ token 219 | Q_REQUIRED_RESULT inline QByteRef back(); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:59:1: error: expected unqualified-id before ‘[’ token 59 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION const ushort *qustrchr(QStringView str, ushort ch) noexcept; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:61:1: error: expected unqualified-id before ‘[’ token 61 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION int compareStrings(QStringView lhs, QStringView rhs, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:62:1: error: expected unqualified-id before ‘[’ token 62 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION int compareStrings(QStringView lhs, QLatin1String rhs, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:63:1: error: expected unqualified-id before ‘[’ token 63 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION int compareStrings(QLatin1String lhs, QStringView rhs, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:64:1: error: expected unqualified-id before ‘[’ token 64 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION int compareStrings(QLatin1String lhs, QLatin1String rhs, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:67:1: error: expected unqualified-id before ‘[’ token 67 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool startsWith(QStringView haystack, QStringView needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:68:1: error: expected unqualified-id before ‘[’ token 68 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool startsWith(QStringView haystack, QLatin1String needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:69:1: error: expected unqualified-id before ‘[’ token 69 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool startsWith(QLatin1String haystack, QStringView needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qarraydata.h:117:5: error: expected unqualified-id before ‘[’ token 117 | Q_REQUIRED_RESULT static QArrayData *reallocateUnaligned(QArrayData *data, size_t objectSize, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:566:17: error: no declaration matches ‘QByteRef QByteArray::front()’ 566 | inline QByteRef QByteArray::front() { return operator[](0); } | ^~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:566:17: note: no functions named ‘QByteRef QByteArray::front()’ /usr/include/qt5/QtCore/qbytearray.h:156:21: note: ‘class QByteArray’ defined here 156 | class Q_CORE_EXPORT QByteArray | ^~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:567:17: error: no declaration matches ‘QByteRef QByteArray::back()’ 567 | inline QByteRef QByteArray::back() { return operator[](size() - 1); } | ^~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:567:17: note: no functions named ‘QByteRef QByteArray::back()’ /usr/include/qt5/QtCore/qbytearray.h:156:21: note: ‘class QByteArray’ defined here 156 | class Q_CORE_EXPORT QByteArray | ^~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.cpp:21: /usr/include/qt5/QtCore/qbytearray.h:708:1: error: ‘is_integral’ is not a member of ‘std’ 708 | Q_DECLARE_SHARED(QByteArray) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:708:1: error: expected primary-expression before ‘>’ token 708 | Q_DECLARE_SHARED(QByteArray) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:708:1: error: ‘::value’ has not been declared 708 | Q_DECLARE_SHARED(QByteArray) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:52, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.cpp:21: /usr/include/qt5/QtCore/qstringliteral.h:59:9: error: ‘char16_t’ does not name a type 59 | typedef char16_t qunicodechar; | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.cpp:21: /usr/include/qt5/QtCore/qstringliteral.h:61:1: error: ‘qunicodechar’ was not declared in this scope 61 | Q_STATIC_ASSERT_X(sizeof(qunicodechar) == 2, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qchar.h: In function ‘bool operator!=(QChar, int)’: /usr/include/qt5/QtCore/qchar.h:614:109: error: ‘nullptr’ was not declared in this scope 614 | Q_DECL_CONSTEXPR inline bool operator!=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator==(lhs, nullptr); } | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:238:5: error: expected unqualified-id before ‘[’ token 238 | Q_REQUIRED_RESULT QByteArray left(int len) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:239:5: error: expected unqualified-id before ‘[’ token 239 | Q_REQUIRED_RESULT QByteArray right(int len) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:240:5: error: expected unqualified-id before ‘[’ token 240 | Q_REQUIRED_RESULT QByteArray mid(int index, int len = -1) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:241:5: error: expected unqualified-id before ‘[’ token 241 | Q_REQUIRED_RESULT QByteArray chopped(int len) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qchar.h: At global scope: /usr/include/qt5/QtCore/qchar.h:615:57: error: ‘std::nullptr_t’ has not been declared 615 | Q_DECL_CONSTEXPR inline bool operator>=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator< (lhs, nullptr); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:286:5: error: expected unqualified-id before ‘[’ token 286 | Q_REQUIRED_RESULT QByteArray toLower() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:287:5: error: expected unqualified-id before ‘[’ token 287 | Q_REQUIRED_RESULT QByteArray toUpper() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:288:5: error: expected unqualified-id before ‘[’ token 288 | Q_REQUIRED_RESULT QByteArray trimmed() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:289:5: error: expected unqualified-id before ‘[’ token 289 | Q_REQUIRED_RESULT QByteArray simplified() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:292:5: error: expected unqualified-id before ‘[’ token 292 | Q_REQUIRED_RESULT QByteArray leftJustified(int width, char fill = ' ', bool truncate = false) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:293:5: error: expected unqualified-id before ‘[’ token 293 | Q_REQUIRED_RESULT QByteArray rightJustified(int width, char fill = ' ', bool truncate = false) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:328:5: error: expected unqualified-id before ‘[’ token 328 | Q_REQUIRED_RESULT QByteArray repeated(int times) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:378:5: error: expected unqualified-id before ‘[’ token 378 | Q_REQUIRED_RESULT static QByteArray number(int, int base = 10); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qchar.h: In function ‘bool operator>=(QChar, int)’: /usr/include/qt5/QtCore/qchar.h:615:109: error: ‘nullptr’ was not declared in this scope 615 | Q_DECL_CONSTEXPR inline bool operator>=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator< (lhs, nullptr); } | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:379:5: error: expected unqualified-id before ‘[’ token 379 | Q_REQUIRED_RESULT static QByteArray number(uint, int base = 10); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:380:5: error: expected unqualified-id before ‘[’ token 380 | Q_REQUIRED_RESULT static QByteArray number(qlonglong, int base = 10); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:70:1: error: expected unqualified-id before ‘[’ token 70 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool startsWith(QLatin1String haystack, QLatin1String needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qchar.h: At global scope: /usr/include/qt5/QtCore/qchar.h:616:57: error: ‘std::nullptr_t’ has not been declared 616 | Q_DECL_CONSTEXPR inline bool operator> (QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return operator< (nullptr, lhs); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:381:5: error: expected unqualified-id before ‘[’ token 381 | Q_REQUIRED_RESULT static QByteArray number(qulonglong, int base = 10); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:382:5: error: expected unqualified-id before ‘[’ token 382 | Q_REQUIRED_RESULT static QByteArray number(double, char f = 'g', int prec = 6); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:383:5: error: expected unqualified-id before ‘[’ token 383 | Q_REQUIRED_RESULT static QByteArray fromRawData(const char *, int size); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:384:5: error: expected unqualified-id before ‘[’ token 384 | Q_REQUIRED_RESULT static QByteArray fromBase64(const QByteArray &base64, Base64Options options); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:385:5: error: expected unqualified-id before ‘[’ token 385 | Q_REQUIRED_RESULT static QByteArray fromBase64(const QByteArray &base64); // ### Qt6 merge with previous | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:386:5: error: expected unqualified-id before ‘[’ token 386 | Q_REQUIRED_RESULT static QByteArray fromHex(const QByteArray &hexEncoded); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:387:5: error: expected unqualified-id before ‘[’ token 387 | Q_REQUIRED_RESULT static QByteArray fromPercentEncoding(const QByteArray &pctEncoded, char percent = '%'); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qchar.h: In function ‘bool operator>(QChar, int)’: /usr/include/qt5/QtCore/qchar.h:616:104: error: ‘nullptr’ was not declared in this scope 616 | Q_DECL_CONSTEXPR inline bool operator> (QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return operator< (nullptr, lhs); } | ^~~~~~~ /usr/include/qt5/QtCore/qchar.h: At global scope: /usr/include/qt5/QtCore/qchar.h:617:57: error: ‘std::nullptr_t’ has not been declared 617 | Q_DECL_CONSTEXPR inline bool operator<=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator< (nullptr, lhs); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h: In function ‘bool operator<=(QChar, int)’: /usr/include/qt5/QtCore/qchar.h:617:104: error: ‘nullptr’ was not declared in this scope 617 | Q_DECL_CONSTEXPR inline bool operator<=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator< (nullptr, lhs); } | ^~~~~~~ /usr/include/qt5/QtCore/qchar.h: At global scope: /usr/include/qt5/QtCore/qchar.h:619:46: error: declaration of ‘operator!=’ as non-function 619 | Q_DECL_CONSTEXPR inline bool operator!=(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !operator==(nullptr, rhs); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:619:46: error: ‘nullptr_t’ is not a member of ‘std’ /usr/include/qt5/QtCore/qchar.h:619:63: error: expected primary-expression before ‘rhs’ 619 | Q_DECL_CONSTEXPR inline bool operator!=(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !operator==(nullptr, rhs); } | ^~~ /usr/include/qt5/QtCore/qarraydata.h:220:5: error: expected unqualified-id before ‘[’ token 220 | Q_REQUIRED_RESULT static QTypedArrayData *allocate(size_t capacity, | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qbytearray.h:46, from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/mediawikimarkupbuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/mediawikimarkupbuilder.cpp:21: /usr/include/qt5/QtCore/qarraydata.h: In constructor ‘QTypedArrayData::iterator::iterator()’: /usr/include/qt5/QtCore/qarraydata.h:142:31: error: ‘nullptr’ was not declared in this scope 142 | inline iterator() : i(nullptr) {} | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:52, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.cpp:21: /usr/include/qt5/QtCore/qstringliteral.h:96:5: error: ‘qunicodechar’ does not name a type 96 | qunicodechar data[N + 1]; | ^~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.cpp:21: /usr/include/qt5/QtCore/qstringalgorithms.h:58:1: error: expected unqualified-id before ‘[’ token 58 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION qsizetype qustrlen(const ushort *str) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:59:1: error: expected unqualified-id before ‘[’ token 59 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION const ushort *qustrchr(QStringView str, ushort ch) noexcept; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:72:1: error: expected unqualified-id before ‘[’ token 72 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool endsWith(QStringView haystack, QStringView needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:61:1: error: expected unqualified-id before ‘[’ token 61 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION int compareStrings(QStringView lhs, QStringView rhs, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:62:1: error: expected unqualified-id before ‘[’ token 62 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION int compareStrings(QStringView lhs, QLatin1String rhs, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.h:31, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.cpp:21: /usr/include/qt5/QtCore/qbytearray.h:350:30: error: ‘nullptr’ was not declared in this scope 350 | short toShort(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:63:1: error: expected unqualified-id before ‘[’ token 63 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION int compareStrings(QLatin1String lhs, QStringView rhs, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:620:46: error: declaration of ‘operator>=’ as non-function 620 | Q_DECL_CONSTEXPR inline bool operator>=(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !operator< (nullptr, rhs); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:64:1: error: expected unqualified-id before ‘[’ token 64 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION int compareStrings(QLatin1String lhs, QLatin1String rhs, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:73:1: error: expected unqualified-id before ‘[’ token 73 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool endsWith(QStringView haystack, QLatin1String needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qarraydata.h: In constructor ‘QTypedArrayData::const_iterator::const_iterator()’: /usr/include/qt5/QtCore/qarraydata.h:177:37: error: ‘nullptr’ was not declared in this scope 177 | inline const_iterator() : i(nullptr) {} | ^~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:67:1: error: expected unqualified-id before ‘[’ token 67 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool startsWith(QStringView haystack, QStringView needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:620:46: error: ‘nullptr_t’ is not a member of ‘std’ /usr/include/qt5/QtCore/qstringalgorithms.h:74:1: error: expected unqualified-id before ‘[’ token 74 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool endsWith(QLatin1String haystack, QStringView needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:68:1: error: expected unqualified-id before ‘[’ token 68 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool startsWith(QStringView haystack, QLatin1String needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:620:63: error: expected primary-expression before ‘rhs’ 620 | Q_DECL_CONSTEXPR inline bool operator>=(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !operator< (nullptr, rhs); } | ^~~ /usr/include/qt5/QtCore/qstringalgorithms.h:75:1: error: expected unqualified-id before ‘[’ token 75 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool endsWith(QLatin1String haystack, QLatin1String needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:69:1: error: expected unqualified-id before ‘[’ token 69 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool startsWith(QLatin1String haystack, QStringView needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:77:1: error: expected unqualified-id before ‘[’ token 77 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION QStringView trimmed(QStringView s) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:70:1: error: expected unqualified-id before ‘[’ token 70 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool startsWith(QLatin1String haystack, QLatin1String needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:621:46: error: declaration of ‘operator>’ as non-function 621 | Q_DECL_CONSTEXPR inline bool operator> (std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return operator< (rhs, nullptr); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:78:1: error: expected unqualified-id before ‘[’ token 78 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION QLatin1String trimmed(QLatin1String s) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:72:1: error: expected unqualified-id before ‘[’ token 72 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool endsWith(QStringView haystack, QStringView needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:73:1: error: expected unqualified-id before ‘[’ token 73 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool endsWith(QStringView haystack, QLatin1String needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:80:1: error: expected unqualified-id before ‘[’ token 80 | Q_REQUIRED_RESULT Q_CORE_EXPORT QByteArray convertToLatin1(QStringView str); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:74:1: error: expected unqualified-id before ‘[’ token 74 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool endsWith(QLatin1String haystack, QStringView needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:81:1: error: expected unqualified-id before ‘[’ token 81 | Q_REQUIRED_RESULT Q_CORE_EXPORT QByteArray convertToUtf8(QStringView str); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:75:1: error: expected unqualified-id before ‘[’ token 75 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool endsWith(QLatin1String haystack, QLatin1String needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:82:1: error: expected unqualified-id before ‘[’ token 82 | Q_REQUIRED_RESULT Q_CORE_EXPORT QByteArray convertToLocal8Bit(QStringView str); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:77:1: error: expected unqualified-id before ‘[’ token 77 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION QStringView trimmed(QStringView s) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:78:1: error: expected unqualified-id before ‘[’ token 78 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION QLatin1String trimmed(QLatin1String s) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:83:1: error: expected unqualified-id before ‘[’ token 83 | Q_REQUIRED_RESULT Q_CORE_EXPORT QVector convertToUcs4(QStringView str); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:80:1: error: expected unqualified-id before ‘[’ token 80 | Q_REQUIRED_RESULT Q_CORE_EXPORT QByteArray convertToLatin1(QStringView str); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:84:1: error: expected unqualified-id before ‘[’ token 84 | Q_REQUIRED_RESULT Q_CORE_EXPORT bool isRightToLeft(QStringView string); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:81:1: error: expected unqualified-id before ‘[’ token 81 | Q_REQUIRED_RESULT Q_CORE_EXPORT QByteArray convertToUtf8(QStringView str); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:82:1: error: expected unqualified-id before ‘[’ token 82 | Q_REQUIRED_RESULT Q_CORE_EXPORT QByteArray convertToLocal8Bit(QStringView str); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:86:1: error: expected unqualified-id before ‘[’ token 86 | Q_REQUIRED_RESULT Q_CORE_EXPORT bool isAscii(QLatin1String s) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:83:1: error: expected unqualified-id before ‘[’ token 83 | Q_REQUIRED_RESULT Q_CORE_EXPORT QVector convertToUcs4(QStringView str); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:87:1: error: expected unqualified-id before ‘[’ token 87 | Q_REQUIRED_RESULT Q_CORE_EXPORT bool isAscii(QStringView s) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:351:32: error: ‘nullptr’ was not declared in this scope 351 | ushort toUShort(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:84:1: error: expected unqualified-id before ‘[’ token 84 | Q_REQUIRED_RESULT Q_CORE_EXPORT bool isRightToLeft(QStringView string); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:88:1: error: expected unqualified-id before ‘[’ token 88 | Q_REQUIRED_RESULT bool isLatin1(QLatin1String s) Q_DECL_NOTHROW; // in qstring.h | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:89:1: error: expected unqualified-id before ‘[’ token 89 | Q_REQUIRED_RESULT Q_CORE_EXPORT bool isLatin1(QStringView s) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:86:1: error: expected unqualified-id before ‘[’ token 86 | Q_REQUIRED_RESULT Q_CORE_EXPORT bool isAscii(QLatin1String s) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:87:1: error: expected unqualified-id before ‘[’ token 87 | Q_REQUIRED_RESULT Q_CORE_EXPORT bool isAscii(QStringView s) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:88:1: error: expected unqualified-id before ‘[’ token 88 | Q_REQUIRED_RESULT bool isLatin1(QLatin1String s) Q_DECL_NOTHROW; // in qstring.h | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:89:1: error: expected unqualified-id before ‘[’ token 89 | Q_REQUIRED_RESULT Q_CORE_EXPORT bool isLatin1(QStringView s) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.cpp:21: /usr/include/qt5/QtCore/qstringview.h:61:29: error: expected template-name before ‘<’ token 61 | : std::integral_constant<bool, | ^ /usr/include/qt5/QtCore/qstringview.h:61:29: error: expected ‘{’ before ‘<’ token In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.cpp:21: /usr/include/qt5/QtCore/qstringview.h:61:29: error: expected template-name before ‘<’ token 61 | : std::integral_constant<bool, | ^ /usr/include/qt5/QtCore/qstringview.h:61:29: error: expected ‘{’ before ‘<’ token /usr/include/qt5/QtCore/qstringview.h:70:48: error: ‘remove_cv’ in namespace ‘std’ does not name a template type; did you mean ‘remove_if’? 70 | : IsCompatibleCharTypeHelper::type>::type> {}; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qstringview.h:70:57: error: expected template-argument before ‘<’ token 70 | : IsCompatibleCharTypeHelper::type>::type> {}; | ^ /usr/include/qt5/QtCore/qstringview.h:70:57: error: expected ‘>’ before ‘<’ token /usr/include/qt5/QtCore/qstringview.h:70:48: error: ‘remove_cv’ in namespace ‘std’ does not name a template type; did you mean ‘remove_if’? 70 | : IsCompatibleCharTypeHelper::type>::type> {}; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qstringview.h:70:107: error: template argument 1 is invalid 70 | : IsCompatibleCharTypeHelper::type>::type> {}; | ^ /usr/include/qt5/QtCore/qstringview.h:70:57: error: expected template-argument before ‘<’ token 70 | : IsCompatibleCharTypeHelper::type>::type> {}; | ^ /usr/include/qt5/QtCore/qstringview.h:70:57: error: expected ‘>’ before ‘<’ token /usr/include/qt5/QtCore/qstringview.h:70:107: error: template argument 1 is invalid 70 | : IsCompatibleCharTypeHelper::type>::type> {}; | ^ /usr/include/qt5/QtCore/qstringview.h:73:50: error: expected class-name before ‘{’ token 73 | struct IsCompatibleArrayHelper : std::false_type {}; | ^ /usr/include/qt5/QtCore/qstringview.h:73:50: error: expected class-name before ‘{’ token 73 | struct IsCompatibleArrayHelper : std::false_type {}; | ^ /usr/include/qt5/QtCore/qstringview.h:79:45: error: ‘remove_cv’ in namespace ‘std’ does not name a template type; did you mean ‘remove_if’? 79 | : IsCompatibleArrayHelper::type>::type> {}; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qchar.h:621:46: error: ‘nullptr_t’ is not a member of ‘std’ /usr/include/qt5/QtCore/qstringview.h:79:54: error: expected template-argument before ‘<’ token 79 | : IsCompatibleArrayHelper::type>::type> {}; | ^ /usr/include/qt5/QtCore/qstringview.h:79:54: error: expected ‘>’ before ‘<’ token /usr/include/qt5/QtCore/qstringview.h:79:105: error: template argument 1 is invalid 79 | : IsCompatibleArrayHelper::type>::type> {}; | ^ /usr/include/qt5/QtCore/qchar.h:621:63: error: expected primary-expression before ‘rhs’ 621 | Q_DECL_CONSTEXPR inline bool operator> (std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return operator< (rhs, nullptr); } | ^~~ /usr/include/qt5/QtCore/qarraydata.h: In static member function ‘static QTypedArrayData* QTypedArrayData::reallocateUnaligned(QTypedArrayData*, size_t, QArrayData::AllocationOptions)’: /usr/include/qt5/QtCore/qarraydata.h:232:59: error: ‘reallocateUnaligned’ is not a member of ‘QArrayData’ 232 | return static_cast(QArrayData::reallocateUnaligned(data, sizeof(T), | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:79:45: error: ‘remove_cv’ in namespace ‘std’ does not name a template type; did you mean ‘remove_if’? 79 | : IsCompatibleArrayHelper::type>::type> {}; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qchar.h:622:46: error: declaration of ‘operator<=’ as non-function 622 | Q_DECL_CONSTEXPR inline bool operator<=(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !operator< (rhs, nullptr); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:82:52: error: expected class-name before ‘{’ token 82 | struct IsCompatiblePointerHelper : std::false_type {}; | ^ /usr/include/qt5/QtCore/qarraydata.h: In static member function ‘static QTypedArrayData* QTypedArrayData::fromRawData(const T*, size_t, QArrayData::AllocationOptions)’: /usr/include/qt5/QtCore/qarraydata.h:246:35: error: there are no arguments to ‘allocate’ that depend on a template parameter, so a declaration of ‘allocate’ must be available [-fpermissive] 246 | QTypedArrayData *result = allocate(0, options | RawData); | ^~~~~~~~ /usr/include/qt5/QtCore/qchar.h:622:46: error: ‘nullptr_t’ is not a member of ‘std’ /usr/include/qt5/QtCore/qstringview.h:79:54: error: expected template-argument before ‘<’ token 79 | : IsCompatibleArrayHelper::type>::type> {}; | ^ /usr/include/qt5/QtCore/qstringview.h:88:47: error: ‘remove_cv’ in namespace ‘std’ does not name a template type; did you mean ‘remove_if’? 88 | : IsCompatiblePointerHelper::type>::type> {}; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qbytearray.h:352:26: error: ‘nullptr’ was not declared in this scope 352 | int toInt(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstringview.h:88:56: error: expected template-argument before ‘<’ token 88 | : IsCompatiblePointerHelper::type>::type> {}; | ^ /usr/include/qt5/QtCore/qstringview.h:88:56: error: expected ‘>’ before ‘<’ token /usr/include/qt5/QtCore/qstringview.h:88:109: error: template argument 1 is invalid 88 | : IsCompatiblePointerHelper::type>::type> {}; | ^ /usr/include/qt5/QtCore/qstringview.h:91:59: error: expected class-name before ‘{’ token 91 | struct IsCompatibleStdBasicStringHelper : std::false_type {}; | ^ /usr/include/qt5/QtCore/qstringview.h:99:23: error: ‘remove_cv’ in namespace ‘std’ does not name a template type; did you mean ‘remove_if’? 99 | typename std::remove_cv::type>::type | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qstringview.h:99:32: error: expected template-argument before ‘<’ token 99 | typename std::remove_cv<typename std::remove_reference::type>::type | ^ /usr/include/qt5/QtCore/qstringview.h:99:32: error: expected ‘>’ before ‘<’ token /usr/include/qt5/QtCore/qstringview.h:100:7: error: template argument 1 is invalid 100 | > {}; | ^ /usr/include/qt5/QtCore/qbytearray.h:353:28: error: ‘nullptr’ was not declared in this scope 353 | uint toUInt(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstringview.h:110:13: error: ‘char16_t’ does not name a type 110 | typedef char16_t storage_type; | ^~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:354:28: error: ‘nullptr’ was not declared in this scope 354 | long toLong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstringview.h:114:13: error: ‘qsizetype’ does not name a type 114 | typedef qsizetype size_type; | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:127:5: error: expected unqualified-id before ‘using’ 127 | using if_compatible_char = typename std::enable_if::value, bool>::type; | ^~~~~ /usr/include/qt5/QtCore/qstringview.h:130:5: error: expected unqualified-id before ‘using’ 130 | using if_compatible_array = typename std::enable_if::value, bool>::type; | ^~~~~ /usr/include/qt5/QtCore/qstringview.h:133:5: error: expected unqualified-id before ‘using’ 133 | using if_compatible_pointer = typename std::enable_if::value, bool>::type; | ^~~~~ /usr/include/qt5/QtCore/qstringview.h:136:5: error: expected unqualified-id before ‘using’ 136 | using if_compatible_string = typename std::enable_if::value, bool>::type; | ^~~~~ /usr/include/qt5/QtCore/qstringview.h:139:5: error: expected unqualified-id before ‘using’ 139 | using if_compatible_qstring_like = typename std::enable_if::value || std::is_same::value, bool>::type; | ^~~~~ /usr/include/qt5/QtCore/qstringview.h:79:54: error: expected ‘>’ before ‘<’ token /usr/include/qt5/QtCore/qchar.h:622:63: error: expected primary-expression before ‘rhs’ 622 | Q_DECL_CONSTEXPR inline bool operator<=(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !operator< (rhs, nullptr); } | ^~~ /usr/include/qt5/QtCore/qstringview.h:142:29: error: ‘qsizetype’ does not name a type 142 | static Q_DECL_CONSTEXPR qsizetype lengthHelperArray(const Char (&)[N]) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:148:12: error: ‘qsizetype’ does not name a type 148 | static qsizetype lengthHelperPointer(const Char *str) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:160:12: error: ‘qsizetype’ does not name a type 160 | static qsizetype lengthHelperPointer(const QChar *str) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:166:18: error: ‘storage_type’ does not name a type 166 | static const storage_type *castHelper(const Char *str) Q_DECL_NOTHROW | ^~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:168:35: error: ‘storage_type’ does not name a type 168 | static Q_DECL_CONSTEXPR const storage_type *castHelper(const storage_type *str) Q_DECL_NOTHROW | ^~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:174:48: error: function definition does not declare parameters 174 | Q_DECL_CONSTEXPR QStringView(std::nullptr_t) Q_DECL_NOTHROW | ^ /usr/include/qt5/QtCore/qstringview.h:177:30: error: ‘if_compatible_char’ has not been declared 177 | template = true> | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:177:48: error: expected ‘>’ before ‘<’ token 177 | template = true> | ^ /usr/include/qt5/QtCore/qstringview.h:178:51: error: ‘qsizetype’ has not been declared 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:182:30: error: ‘if_compatible_char’ has not been declared 182 | template = true> | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:182:48: error: expected ‘>’ before ‘<’ token 182 | template = true> | ^ /usr/include/qt5/QtCore/qstringview.h:193:31: error: ‘if_compatible_array’ has not been declared 193 | template = true> | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:193:50: error: expected ‘>’ before ‘<’ token 193 | template = true> | ^ /usr/include/qt5/QtCore/qstringview.h:197:33: error: ‘if_compatible_pointer’ has not been declared 197 | template = true> | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:197:54: error: expected ‘>’ before ‘<’ token 197 | template = true> | ^ /usr/include/qt5/QtCore/qstringview.h:198:22: error: ‘template > QStringView::QStringView(const Pointer&)’ cannot be overloaded with ‘template > QStringView::QStringView(const Array&)’ 198 | Q_DECL_CONSTEXPR QStringView(const Pointer &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: previous declaration ‘template > QStringView::QStringView(const Array&)’ 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:206:32: error: ‘if_compatible_qstring_like’ has not been declared 206 | template = true> | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qarraydata.h:246:35: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/include/qt5/QtCore/qbytearray.h:355:30: error: ‘nullptr’ was not declared in this scope 355 | ulong toULong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstringview.h:206:58: error: expected ‘>’ before ‘<’ token 206 | template = true> | ^ /usr/include/qt5/QtCore/qstringview.h:207:5: error: ‘template > QStringView::QStringView(const String&)’ cannot be overloaded with ‘template > QStringView::QStringView(const Array&)’ 207 | QStringView(const String &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: previous declaration ‘template > QStringView::QStringView(const Array&)’ 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:211:40: error: ‘if_compatible_string’ has not been declared 211 | template = true> | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:211:60: error: expected ‘>’ before ‘<’ token 211 | template = true> | ^ /usr/include/qt5/QtCore/qstringview.h:212:5: error: ‘template > QStringView::QStringView(const StdBasicString&)’ cannot be overloaded with ‘template > QStringView::QStringView(const Array&)’ 212 | QStringView(const StdBasicString &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: previous declaration ‘template > QStringView::QStringView(const Array&)’ 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.cpp:21: /usr/include/qt5/QtCore/qstringview.h:215:5: error: expected unqualified-id before ‘[’ token 215 | Q_REQUIRED_RESULT inline QString toString() const; // defined in qstring.h | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qarraydata.h: In static member function ‘static QTypedArrayData* QTypedArrayData::sharedEmpty()’: /usr/include/qt5/QtCore/qarraydata.h:266:16: error: there are no arguments to ‘allocate’ that depend on a template parameter, so a declaration of ‘allocate’ must be available [-fpermissive] 266 | return allocate(/* capacity */ 0); | ^~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:217:5: error: expected unqualified-id before ‘[’ token 217 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR qsizetype size() const Q_DECL_NOTHROW { return m_size; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:218:5: error: expected unqualified-id before ‘[’ token 218 | Q_REQUIRED_RESULT const_pointer data() const Q_DECL_NOTHROW { return reinterpret_cast(m_data); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:219:5: error: expected unqualified-id before ‘[’ token 219 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR const storage_type *utf16() const Q_DECL_NOTHROW { return m_data; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:221:5: error: expected unqualified-id before ‘[’ token 221 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QChar operator[](qsizetype n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:228:5: error: expected unqualified-id before ‘[’ token 228 | Q_REQUIRED_RESULT QByteArray toLatin1() const { return QtPrivate::convertToLatin1(*this); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:229:5: error: expected unqualified-id before ‘[’ token 229 | Q_REQUIRED_RESULT QByteArray toUtf8() const { return QtPrivate::convertToUtf8(*this); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qarraydata.h: In static member function ‘static QTypedArrayData* QTypedArrayData::unsharableEmpty()’: /usr/include/qt5/QtCore/qarraydata.h:273:16: error: there are no arguments to ‘allocate’ that depend on a template parameter, so a declaration of ‘allocate’ must be available [-fpermissive] 273 | return allocate(/* capacity */ 0, Unsharable); | ^~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:230:5: error: expected unqualified-id before ‘[’ token 230 | Q_REQUIRED_RESULT QByteArray toLocal8Bit() const { return QtPrivate::convertToLocal8Bit(*this); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:231:5: error: expected unqualified-id before ‘[’ token 231 | Q_REQUIRED_RESULT inline QVector toUcs4() const; // defined in qvector.h | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:233:5: error: expected unqualified-id before ‘[’ token 233 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QChar at(qsizetype n) const { return (*this)[n]; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:235:5: error: expected unqualified-id before ‘[’ token 235 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QStringView mid(qsizetype pos) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:237:5: error: expected unqualified-id before ‘[’ token 237 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QStringView mid(qsizetype pos, qsizetype n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:239:5: error: expected unqualified-id before ‘[’ token 239 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QStringView left(qsizetype n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:241:5: error: expected unqualified-id before ‘[’ token 241 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QStringView right(qsizetype n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:243:5: error: expected unqualified-id before ‘[’ token 243 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QStringView chopped(qsizetype n) const | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.cpp:21: /usr/include/qt5/QtCore/qstringview.h:246:44: error: ‘qsizetype’ has not been declared 246 | Q_DECL_RELAXED_CONSTEXPR void truncate(qsizetype n) | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:79:105: error: template argument 1 is invalid 79 | : IsCompatibleArrayHelper::type>::type> {}; | ^ /usr/include/qt5/QtCore/qstringview.h:82:52: error: expected class-name before ‘{’ token 82 | struct IsCompatiblePointerHelper : std::false_type {}; | ^ /usr/include/qt5/QtCore/qstringview.h:88:47: error: ‘remove_cv’ in namespace ‘std’ does not name a template type; did you mean ‘remove_if’? 88 | : IsCompatiblePointerHelper::type>::type> {}; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qstringview.h:88:56: error: expected template-argument before ‘<’ token 88 | : IsCompatiblePointerHelper::type>::type> {}; | ^ /usr/include/qt5/QtCore/qstringview.h:88:56: error: expected ‘>’ before ‘<’ token /usr/include/qt5/QtCore/qstringview.h:88:109: error: template argument 1 is invalid 88 | : IsCompatiblePointerHelper::type>::type> {}; | ^ /usr/include/qt5/QtCore/qstringview.h:91:59: error: expected class-name before ‘{’ token 91 | struct IsCompatibleStdBasicStringHelper : std::false_type {}; | ^ /usr/include/qt5/QtCore/qstringview.h:99:23: error: ‘remove_cv’ in namespace ‘std’ does not name a template type; did you mean ‘remove_if’? 99 | typename std::remove_cv::type>::type | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qstringview.h:99:32: error: expected template-argument before ‘<’ token 99 | typename std::remove_cv<typename std::remove_reference::type>::type | ^ /usr/include/qt5/QtCore/qstringview.h:99:32: error: expected ‘>’ before ‘<’ token /usr/include/qt5/QtCore/qstringview.h:100:7: error: template argument 1 is invalid 100 | > {}; | ^ /usr/include/qt5/QtCore/qstringview.h:110:13: error: ‘char16_t’ does not name a type 110 | typedef char16_t storage_type; | ^~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:114:13: error: ‘qsizetype’ does not name a type 114 | typedef qsizetype size_type; | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:127:5: error: expected unqualified-id before ‘using’ 127 | using if_compatible_char = typename std::enable_if::value, bool>::type; | ^~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/texthtmlbuilder.h:28, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/texthtmlbuilder.cpp:21: /usr/include/qt5/QtCore/qarraydata.h:115:5: error: expected unqualified-id before ‘[’ token 115 | Q_REQUIRED_RESULT static QArrayData *allocate(size_t objectSize, size_t alignment, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:356:37: error: ‘nullptr’ was not declared in this scope 356 | qlonglong toLongLong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qarraydata.h:117:5: error: expected unqualified-id before ‘[’ token 117 | Q_REQUIRED_RESULT static QArrayData *reallocateUnaligned(QArrayData *data, size_t objectSize, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:357:39: error: ‘nullptr’ was not declared in this scope 357 | qulonglong toULongLong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qarraydata.h:220:5: error: expected unqualified-id before ‘[’ token 220 | Q_REQUIRED_RESULT static QTypedArrayData *allocate(size_t capacity, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:358:30: error: ‘nullptr’ was not declared in this scope 358 | float toFloat(bool *ok = nullptr) const; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qbytearray.h:46, from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/texthtmlbuilder.h:28, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/texthtmlbuilder.cpp:21: /usr/include/qt5/QtCore/qarraydata.h: In constructor ‘QTypedArrayData::iterator::iterator()’: /usr/include/qt5/QtCore/qarraydata.h:142:31: error: ‘nullptr’ was not declared in this scope 142 | inline iterator() : i(nullptr) {} | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:359:32: error: ‘nullptr’ was not declared in this scope 359 | double toDouble(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qarraydata.h: In constructor ‘QTypedArrayData::const_iterator::const_iterator()’: /usr/include/qt5/QtCore/qarraydata.h:177:37: error: ‘nullptr’ was not declared in this scope 177 | inline const_iterator() : i(nullptr) {} | ^~~~~~~ /usr/include/qt5/QtCore/qarraydata.h: In static member function ‘static QTypedArrayData* QTypedArrayData::reallocateUnaligned(QTypedArrayData*, size_t, QArrayData::AllocationOptions)’: /usr/include/qt5/QtCore/qarraydata.h:232:59: error: ‘reallocateUnaligned’ is not a member of ‘QArrayData’ 232 | return static_cast(QArrayData::reallocateUnaligned(data, sizeof(T), | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qarraydata.h: In static member function ‘static QTypedArrayData* QTypedArrayData::fromRawData(const T*, size_t, QArrayData::AllocationOptions)’: /usr/include/qt5/QtCore/qarraydata.h:246:35: error: there are no arguments to ‘allocate’ that depend on a template parameter, so a declaration of ‘allocate’ must be available [-fpermissive] 246 | QTypedArrayData *result = allocate(0, options | RawData); | ^~~~~~~~ /usr/include/qt5/QtCore/qarraydata.h:246:35: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/include/qt5/QtCore/qarraydata.h: In static member function ‘static QTypedArrayData* QTypedArrayData::sharedEmpty()’: /usr/include/qt5/QtCore/qarraydata.h:266:16: error: there are no arguments to ‘allocate’ that depend on a template parameter, so a declaration of ‘allocate’ must be available [-fpermissive] 266 | return allocate(/* capacity */ 0); | ^~~~~~~~ /usr/include/qt5/QtCore/qarraydata.h: In static member function ‘static QTypedArrayData* QTypedArrayData::unsharableEmpty()’: /usr/include/qt5/QtCore/qarraydata.h:273:16: error: there are no arguments to ‘allocate’ that depend on a template parameter, so a declaration of ‘allocate’ must be available [-fpermissive] 273 | return allocate(/* capacity */ 0, Unsharable); | ^~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:248:40: error: ‘qsizetype’ has not been declared 248 | Q_DECL_RELAXED_CONSTEXPR void chop(qsizetype n) | ^~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/mediawikimarkupbuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/mediawikimarkupbuilder.cpp:21: /usr/include/qt5/QtCore/qbytearray.h: At global scope: /usr/include/qt5/QtCore/qbytearray.h:102:43: error: ‘qsizetype’ has not been declared 102 | Q_CORE_EXPORT int qstrnicmp(const char *, qsizetype, const char *, qsizetype = -1); | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:130:5: error: expected unqualified-id before ‘using’ 130 | using if_compatible_array = typename std::enable_if::value, bool>::type; | ^~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.cpp:21: /usr/include/qt5/QtCore/qstringview.h:251:5: error: expected unqualified-id before ‘[’ token 251 | Q_REQUIRED_RESULT QStringView trimmed() const Q_DECL_NOTHROW { return QtPrivate::trimmed(*this); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:133:5: error: expected unqualified-id before ‘using’ 133 | using if_compatible_pointer = typename std::enable_if::value, bool>::type; | ^~~~~ /usr/include/qt5/QtCore/qstringview.h:253:5: error: expected unqualified-id before ‘[’ token 253 | Q_REQUIRED_RESULT int compare(QStringView other, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:136:5: error: expected unqualified-id before ‘using’ 136 | using if_compatible_string = typename std::enable_if::value, bool>::type; | ^~~~~ /usr/include/qt5/QtCore/qstringview.h:256:5: error: expected unqualified-id before ‘[’ token 256 | Q_REQUIRED_RESULT bool startsWith(QStringView s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:566:17: error: no declaration matches ‘QByteRef QByteArray::front()’ 566 | inline QByteRef QByteArray::front() { return operator[](0); } | ^~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:139:5: error: expected unqualified-id before ‘using’ 139 | using if_compatible_qstring_like = typename std::enable_if::value || std::is_same::value, bool>::type; | ^~~~~ /usr/include/qt5/QtCore/qstringview.h:258:5: error: expected unqualified-id before ‘[’ token 258 | Q_REQUIRED_RESULT inline bool startsWith(QLatin1String s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:566:17: note: no functions named ‘QByteRef QByteArray::front()’ /usr/include/qt5/QtCore/qstringview.h:259:5: error: expected unqualified-id before ‘[’ token 259 | Q_REQUIRED_RESULT bool startsWith(QChar c) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:156:21: note: ‘class QByteArray’ defined here 156 | class Q_CORE_EXPORT QByteArray | ^~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:261:5: error: expected unqualified-id before ‘[’ token 261 | Q_REQUIRED_RESULT bool startsWith(QChar c, Qt::CaseSensitivity cs) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:264:5: error: expected unqualified-id before ‘[’ token 264 | Q_REQUIRED_RESULT bool endsWith(QStringView s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:266:5: error: expected unqualified-id before ‘[’ token 266 | Q_REQUIRED_RESULT inline bool endsWith(QLatin1String s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:267:5: error: expected unqualified-id before ‘[’ token 267 | Q_REQUIRED_RESULT bool endsWith(QChar c) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:269:5: error: expected unqualified-id before ‘[’ token 269 | Q_REQUIRED_RESULT bool endsWith(QChar c, Qt::CaseSensitivity cs) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:272:5: error: expected unqualified-id before ‘[’ token 272 | Q_REQUIRED_RESULT bool isRightToLeft() const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:567:17: error: no declaration matches ‘QByteRef QByteArray::back()’ 567 | inline QByteRef QByteArray::back() { return operator[](size() - 1); } | ^~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:278:5: error: expected unqualified-id before ‘[’ token 278 | Q_REQUIRED_RESULT const_iterator begin() const Q_DECL_NOTHROW { return data(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:567:17: note: no functions named ‘QByteRef QByteArray::back()’ /usr/include/qt5/QtCore/qbytearray.h:156:21: note: ‘class QByteArray’ defined here 156 | class Q_CORE_EXPORT QByteArray | ^~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:279:5: error: expected unqualified-id before ‘[’ token 279 | Q_REQUIRED_RESULT const_iterator end() const Q_DECL_NOTHROW { return data() + size(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:280:5: error: expected unqualified-id before ‘[’ token 280 | Q_REQUIRED_RESULT const_iterator cbegin() const Q_DECL_NOTHROW { return begin(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:281:5: error: expected unqualified-id before ‘[’ token 281 | Q_REQUIRED_RESULT const_iterator cend() const Q_DECL_NOTHROW { return end(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:102:68: error: ‘qsizetype’ has not been declared 102 | Q_CORE_EXPORT int qstrnicmp(const char *, qsizetype, const char *, qsizetype = -1); | ^~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/texthtmlbuilder.h:28, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/texthtmlbuilder.cpp:21: /usr/include/qt5/QtCore/qbytearray.h: At global scope: /usr/include/qt5/QtCore/qbytearray.h:102:43: error: ‘qsizetype’ has not been declared 102 | Q_CORE_EXPORT int qstrnicmp(const char *, qsizetype, const char *, qsizetype = -1); | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:142:29: error: ‘qsizetype’ does not name a type 142 | static Q_DECL_CONSTEXPR qsizetype lengthHelperArray(const Char (&)[N]) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:282:5: error: expected unqualified-id before ‘[’ token 282 | Q_REQUIRED_RESULT const_reverse_iterator rbegin() const Q_DECL_NOTHROW { return const_reverse_iterator(end()); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:283:5: error: expected unqualified-id before ‘[’ token 283 | Q_REQUIRED_RESULT const_reverse_iterator rend() const Q_DECL_NOTHROW { return const_reverse_iterator(begin()); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:284:5: error: expected unqualified-id before ‘[’ token 284 | Q_REQUIRED_RESULT const_reverse_iterator crbegin() const Q_DECL_NOTHROW { return rbegin(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:102:68: error: ‘qsizetype’ has not been declared 102 | Q_CORE_EXPORT int qstrnicmp(const char *, qsizetype, const char *, qsizetype = -1); | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:285:5: error: expected unqualified-id before ‘[’ token 285 | Q_REQUIRED_RESULT const_reverse_iterator crend() const Q_DECL_NOTHROW { return rend(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:287:5: error: expected unqualified-id before ‘[’ token 287 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR bool empty() const Q_DECL_NOTHROW { return size() == 0; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:288:5: error: expected unqualified-id before ‘[’ token 288 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QChar front() const { return Q_ASSERT(!empty()), QChar(m_data[0]); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:289:5: error: expected unqualified-id before ‘[’ token 289 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QChar back() const { return Q_ASSERT(!empty()), QChar(m_data[m_size - 1]); } | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.h:31, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.cpp:21: /usr/include/qt5/QtCore/qbytearray.h:708:1: error: ‘is_integral’ is not a member of ‘std’ 708 | Q_DECLARE_SHARED(QByteArray) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/texthtmlbuilder.h:28, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/texthtmlbuilder.cpp:21: /usr/include/qt5/QtCore/qbytearray.h:216:5: error: expected unqualified-id before ‘[’ token 216 | Q_REQUIRED_RESULT char front() const { return at(0); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:294:5: error: expected unqualified-id before ‘[’ token 294 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR bool isNull() const Q_DECL_NOTHROW { return !m_data; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:295:5: error: expected unqualified-id before ‘[’ token 295 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR bool isEmpty() const Q_DECL_NOTHROW { return empty(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:217:5: error: expected unqualified-id before ‘[’ token 217 | Q_REQUIRED_RESULT inline QByteRef front(); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:296:5: error: expected unqualified-id before ‘[’ token 296 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR int length() const /* not nothrow! */ | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:218:5: error: expected unqualified-id before ‘[’ token 218 | Q_REQUIRED_RESULT char back() const { return at(size() - 1); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:298:5: error: expected unqualified-id before ‘[’ token 298 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QChar first() const { return front(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:219:5: error: expected unqualified-id before ‘[’ token 219 | Q_REQUIRED_RESULT inline QByteRef back(); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:299:5: error: expected unqualified-id before ‘[’ token 299 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QChar last() const { return back(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:238:5: error: expected unqualified-id before ‘[’ token 238 | Q_REQUIRED_RESULT QByteArray left(int len) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:239:5: error: expected unqualified-id before ‘[’ token 239 | Q_REQUIRED_RESULT QByteArray right(int len) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:240:5: error: expected unqualified-id before ‘[’ token 240 | Q_REQUIRED_RESULT QByteArray mid(int index, int len = -1) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:241:5: error: expected unqualified-id before ‘[’ token 241 | Q_REQUIRED_RESULT QByteArray chopped(int len) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:286:5: error: expected unqualified-id before ‘[’ token 286 | Q_REQUIRED_RESULT QByteArray toLower() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:287:5: error: expected unqualified-id before ‘[’ token 287 | Q_REQUIRED_RESULT QByteArray toUpper() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:288:5: error: expected unqualified-id before ‘[’ token 288 | Q_REQUIRED_RESULT QByteArray trimmed() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:289:5: error: expected unqualified-id before ‘[’ token 289 | Q_REQUIRED_RESULT QByteArray simplified() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:292:5: error: expected unqualified-id before ‘[’ token 292 | Q_REQUIRED_RESULT QByteArray leftJustified(int width, char fill = ' ', bool truncate = false) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:293:5: error: expected unqualified-id before ‘[’ token 293 | Q_REQUIRED_RESULT QByteArray rightJustified(int width, char fill = ' ', bool truncate = false) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:328:5: error: expected unqualified-id before ‘[’ token 328 | Q_REQUIRED_RESULT QByteArray repeated(int times) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:378:5: error: expected unqualified-id before ‘[’ token 378 | Q_REQUIRED_RESULT static QByteArray number(int, int base = 10); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:379:5: error: expected unqualified-id before ‘[’ token 379 | Q_REQUIRED_RESULT static QByteArray number(uint, int base = 10); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/mediawikimarkupbuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/mediawikimarkupbuilder.cpp:21: /usr/include/qt5/QtCore/qbytearray.h:216:5: error: expected unqualified-id before ‘[’ token 216 | Q_REQUIRED_RESULT char front() const { return at(0); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:380:5: error: expected unqualified-id before ‘[’ token 380 | Q_REQUIRED_RESULT static QByteArray number(qlonglong, int base = 10); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:381:5: error: expected unqualified-id before ‘[’ token 381 | Q_REQUIRED_RESULT static QByteArray number(qulonglong, int base = 10); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:217:5: error: expected unqualified-id before ‘[’ token 217 | Q_REQUIRED_RESULT inline QByteRef front(); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:382:5: error: expected unqualified-id before ‘[’ token 382 | Q_REQUIRED_RESULT static QByteArray number(double, char f = 'g', int prec = 6); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:148:12: error: ‘qsizetype’ does not name a type 148 | static qsizetype lengthHelperPointer(const Char *str) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:383:5: error: expected unqualified-id before ‘[’ token 383 | Q_REQUIRED_RESULT static QByteArray fromRawData(const char *, int size); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:218:5: error: expected unqualified-id before ‘[’ token 218 | Q_REQUIRED_RESULT char back() const { return at(size() - 1); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:384:5: error: expected unqualified-id before ‘[’ token 384 | Q_REQUIRED_RESULT static QByteArray fromBase64(const QByteArray &base64, Base64Options options); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:219:5: error: expected unqualified-id before ‘[’ token 219 | Q_REQUIRED_RESULT inline QByteRef back(); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:385:5: error: expected unqualified-id before ‘[’ token 385 | Q_REQUIRED_RESULT static QByteArray fromBase64(const QByteArray &base64); // ### Qt6 merge with previous | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:386:5: error: expected unqualified-id before ‘[’ token 386 | Q_REQUIRED_RESULT static QByteArray fromHex(const QByteArray &hexEncoded); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:387:5: error: expected unqualified-id before ‘[’ token 387 | Q_REQUIRED_RESULT static QByteArray fromPercentEncoding(const QByteArray &pctEncoded, char percent = '%'); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:238:5: error: expected unqualified-id before ‘[’ token 238 | Q_REQUIRED_RESULT QByteArray left(int len) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:239:5: error: expected unqualified-id before ‘[’ token 239 | Q_REQUIRED_RESULT QByteArray right(int len) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:240:5: error: expected unqualified-id before ‘[’ token 240 | Q_REQUIRED_RESULT QByteArray mid(int index, int len = -1) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:241:5: error: expected unqualified-id before ‘[’ token 241 | Q_REQUIRED_RESULT QByteArray chopped(int len) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:286:5: error: expected unqualified-id before ‘[’ token 286 | Q_REQUIRED_RESULT QByteArray toLower() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:287:5: error: expected unqualified-id before ‘[’ token 287 | Q_REQUIRED_RESULT QByteArray toUpper() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:288:5: error: expected unqualified-id before ‘[’ token 288 | Q_REQUIRED_RESULT QByteArray trimmed() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:289:5: error: expected unqualified-id before ‘[’ token 289 | Q_REQUIRED_RESULT QByteArray simplified() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:292:5: error: expected unqualified-id before ‘[’ token 292 | Q_REQUIRED_RESULT QByteArray leftJustified(int width, char fill = ' ', bool truncate = false) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:293:5: error: expected unqualified-id before ‘[’ token 293 | Q_REQUIRED_RESULT QByteArray rightJustified(int width, char fill = ' ', bool truncate = false) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:328:5: error: expected unqualified-id before ‘[’ token 328 | Q_REQUIRED_RESULT QByteArray repeated(int times) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:378:5: error: expected unqualified-id before ‘[’ token 378 | Q_REQUIRED_RESULT static QByteArray number(int, int base = 10); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:379:5: error: expected unqualified-id before ‘[’ token 379 | Q_REQUIRED_RESULT static QByteArray number(uint, int base = 10); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:380:5: error: expected unqualified-id before ‘[’ token 380 | Q_REQUIRED_RESULT static QByteArray number(qlonglong, int base = 10); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:381:5: error: expected unqualified-id before ‘[’ token 381 | Q_REQUIRED_RESULT static QByteArray number(qulonglong, int base = 10); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:382:5: error: expected unqualified-id before ‘[’ token 382 | Q_REQUIRED_RESULT static QByteArray number(double, char f = 'g', int prec = 6); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:708:1: error: expected primary-expression before ‘>’ token 708 | Q_DECLARE_SHARED(QByteArray) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:383:5: error: expected unqualified-id before ‘[’ token 383 | Q_REQUIRED_RESULT static QByteArray fromRawData(const char *, int size); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.cpp:21: /usr/include/qt5/QtCore/qstringview.h:301:5: error: ‘qsizetype’ does not name a type 301 | qsizetype m_size; | ^~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:384:5: error: expected unqualified-id before ‘[’ token 384 | Q_REQUIRED_RESULT static QByteArray fromBase64(const QByteArray &base64, Base64Options options); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:160:12: error: ‘qsizetype’ does not name a type 160 | static qsizetype lengthHelperPointer(const QChar *str) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:385:5: error: expected unqualified-id before ‘[’ token 385 | Q_REQUIRED_RESULT static QByteArray fromBase64(const QByteArray &base64); // ### Qt6 merge with previous | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:386:5: error: expected unqualified-id before ‘[’ token 386 | Q_REQUIRED_RESULT static QByteArray fromHex(const QByteArray &hexEncoded); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:387:5: error: expected unqualified-id before ‘[’ token 387 | Q_REQUIRED_RESULT static QByteArray fromPercentEncoding(const QByteArray &pctEncoded, char percent = '%'); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/texthtmlbuilder.h:28, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/texthtmlbuilder.cpp:21: /usr/include/qt5/QtCore/qbytearray.h:350:30: error: ‘nullptr’ was not declared in this scope 350 | short toShort(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstringview.h:166:18: error: ‘storage_type’ does not name a type 166 | static const storage_type *castHelper(const Char *str) Q_DECL_NOTHROW | ^~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:351:32: error: ‘nullptr’ was not declared in this scope 351 | ushort toUShort(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstringview.h:168:35: error: ‘storage_type’ does not name a type 168 | static Q_DECL_CONSTEXPR const storage_type *castHelper(const storage_type *str) Q_DECL_NOTHROW | ^~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:174:48: error: function definition does not declare parameters 174 | Q_DECL_CONSTEXPR QStringView(std::nullptr_t) Q_DECL_NOTHROW | ^ /usr/include/qt5/QtCore/qstringview.h:177:30: error: ‘if_compatible_char’ has not been declared 177 | template = true> | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:177:48: error: expected ‘>’ before ‘<’ token 177 | template = true> | ^ /usr/include/qt5/QtCore/qstringview.h:178:51: error: ‘qsizetype’ has not been declared 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:182:30: error: ‘if_compatible_char’ has not been declared 182 | template = true> | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:182:48: error: expected ‘>’ before ‘<’ token 182 | template = true> | ^ /usr/include/qt5/QtCore/qstringview.h:302:11: error: ‘storage_type’ does not name a type 302 | const storage_type *m_data; | ^~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:708:1: error: ‘::value’ has not been declared 708 | Q_DECLARE_SHARED(QByteArray) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h: In constructor ‘QStringView::QStringView()’: /usr/include/qt5/QtCore/qstringview.h:173:11: error: class ‘QStringView’ does not have any field named ‘m_size’ 173 | : m_size(0), m_data(nullptr) {} | ^~~~~~ /usr/include/qt5/QtCore/qstringview.h:173:22: error: class ‘QStringView’ does not have any field named ‘m_data’ 173 | : m_size(0), m_data(nullptr) {} | ^~~~~~ /usr/include/qt5/QtCore/qbytearray.h:352:26: error: ‘nullptr’ was not declared in this scope 352 | int toInt(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:52, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.h:31, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.cpp:21: /usr/include/qt5/QtCore/qstringliteral.h:59:9: error: ‘char16_t’ does not name a type 59 | typedef char16_t qunicodechar; | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/mediawikimarkupbuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/mediawikimarkupbuilder.cpp:21: /usr/include/qt5/QtCore/qbytearray.h:350:30: error: ‘nullptr’ was not declared in this scope 350 | short toShort(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:351:32: error: ‘nullptr’ was not declared in this scope 351 | ushort toUShort(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.h:31, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.cpp:21: /usr/include/qt5/QtCore/qstringliteral.h:61:1: error: ‘qunicodechar’ was not declared in this scope 61 | Q_STATIC_ASSERT_X(sizeof(qunicodechar) == 2, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:352:26: error: ‘nullptr’ was not declared in this scope 352 | int toInt(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:52, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.h:31, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.cpp:21: /usr/include/qt5/QtCore/qstringliteral.h:96:5: error: ‘qunicodechar’ does not name a type 96 | qunicodechar data[N + 1]; | ^~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.h:31, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.cpp:21: /usr/include/qt5/QtCore/qstringalgorithms.h:58:1: error: expected unqualified-id before ‘[’ token 58 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION qsizetype qustrlen(const ushort *str) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:173:29: error: ‘nullptr’ was not declared in this scope 173 | : m_size(0), m_data(nullptr) {} | ^~~~~~~ /usr/include/qt5/QtCore/qstringview.h:193:31: error: ‘if_compatible_array’ has not been declared 193 | template = true> | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:193:50: error: expected ‘>’ before ‘<’ token 193 | template = true> | ^ /usr/include/qt5/QtCore/qstringview.h:197:33: error: ‘if_compatible_pointer’ has not been declared 197 | template = true> | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h: In constructor ‘QStringView::QStringView(const Char*, int)’: /usr/include/qt5/QtCore/qstringview.h:179:11: error: class ‘QStringView’ does not have any field named ‘m_size’ 179 | : m_size((Q_ASSERT(len >= 0), Q_ASSERT(str || !len), len)), | ^~~~~~ /usr/include/qt5/QtCore/qstringview.h:197:54: error: expected ‘>’ before ‘<’ token 197 | template = true> | ^ /usr/include/qt5/QtCore/qstringview.h:198:22: error: ‘template > QStringView::QStringView(const Pointer&)’ cannot be overloaded with ‘template > QStringView::QStringView(const Array&)’ 198 | Q_DECL_CONSTEXPR QStringView(const Pointer &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:180:11: error: class ‘QStringView’ does not have any field named ‘m_data’ 180 | m_data(castHelper(str)) {} | ^~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: previous declaration ‘template > QStringView::QStringView(const Array&)’ 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:206:32: error: ‘if_compatible_qstring_like’ has not been declared 206 | template = true> | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:206:58: error: expected ‘>’ before ‘<’ token 206 | template = true> | ^ /usr/include/qt5/QtCore/qbytearray.h:353:28: error: ‘nullptr’ was not declared in this scope 353 | uint toUInt(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstringview.h:207:5: error: ‘template > QStringView::QStringView(const String&)’ cannot be overloaded with ‘template > QStringView::QStringView(const Array&)’ 207 | QStringView(const String &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: previous declaration ‘template > QStringView::QStringView(const Array&)’ 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:211:40: error: ‘if_compatible_string’ has not been declared 211 | template = true> | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:211:60: error: expected ‘>’ before ‘<’ token 211 | template = true> | ^ /usr/include/qt5/QtCore/qstringview.h:212:5: error: ‘template > QStringView::QStringView(const StdBasicString&)’ cannot be overloaded with ‘template > QStringView::QStringView(const Array&)’ 212 | QStringView(const StdBasicString &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: previous declaration ‘template > QStringView::QStringView(const Array&)’ 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.cpp:21: /usr/include/qt5/QtCore/qstringview.h:215:5: error: expected unqualified-id before ‘[’ token 215 | Q_REQUIRED_RESULT inline QString toString() const; // defined in qstring.h | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:217:5: error: expected unqualified-id before ‘[’ token 217 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR qsizetype size() const Q_DECL_NOTHROW { return m_size; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:218:5: error: expected unqualified-id before ‘[’ token 218 | Q_REQUIRED_RESULT const_pointer data() const Q_DECL_NOTHROW { return reinterpret_cast(m_data); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:219:5: error: expected unqualified-id before ‘[’ token 219 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR const storage_type *utf16() const Q_DECL_NOTHROW { return m_data; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:221:5: error: expected unqualified-id before ‘[’ token 221 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QChar operator[](qsizetype n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:228:5: error: expected unqualified-id before ‘[’ token 228 | Q_REQUIRED_RESULT QByteArray toLatin1() const { return QtPrivate::convertToLatin1(*this); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:229:5: error: expected unqualified-id before ‘[’ token 229 | Q_REQUIRED_RESULT QByteArray toUtf8() const { return QtPrivate::convertToUtf8(*this); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:353:28: error: ‘nullptr’ was not declared in this scope 353 | uint toUInt(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstringview.h:230:5: error: expected unqualified-id before ‘[’ token 230 | Q_REQUIRED_RESULT QByteArray toLocal8Bit() const { return QtPrivate::convertToLocal8Bit(*this); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:231:5: error: expected unqualified-id before ‘[’ token 231 | Q_REQUIRED_RESULT inline QVector toUcs4() const; // defined in qvector.h | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:233:5: error: expected unqualified-id before ‘[’ token 233 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QChar at(qsizetype n) const { return (*this)[n]; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:235:5: error: expected unqualified-id before ‘[’ token 235 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QStringView mid(qsizetype pos) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:237:5: error: expected unqualified-id before ‘[’ token 237 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QStringView mid(qsizetype pos, qsizetype n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:239:5: error: expected unqualified-id before ‘[’ token 239 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QStringView left(qsizetype n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:241:5: error: expected unqualified-id before ‘[’ token 241 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QStringView right(qsizetype n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:243:5: error: expected unqualified-id before ‘[’ token 243 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QStringView chopped(qsizetype n) const | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.cpp:21: /usr/include/qt5/QtCore/qstringview.h:246:44: error: ‘qsizetype’ has not been declared 246 | Q_DECL_RELAXED_CONSTEXPR void truncate(qsizetype n) | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:59:1: error: expected unqualified-id before ‘[’ token 59 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION const ushort *qustrchr(QStringView str, ushort ch) noexcept; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h: In constructor ‘QStringView::QStringView(const String&)’: /usr/include/qt5/QtCore/qstringview.h:208:38: error: ‘nullptr’ was not declared in this scope 208 | : QStringView(str.isNull() ? nullptr : str.data(), qsizetype(str.size())) {} | ^~~~~~~ /usr/include/qt5/QtCore/qstringview.h:248:40: error: ‘qsizetype’ has not been declared 248 | Q_DECL_RELAXED_CONSTEXPR void chop(qsizetype n) | ^~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.cpp:21: /usr/include/qt5/QtCore/qstringview.h:251:5: error: expected unqualified-id before ‘[’ token 251 | Q_REQUIRED_RESULT QStringView trimmed() const Q_DECL_NOTHROW { return QtPrivate::trimmed(*this); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:253:5: error: expected unqualified-id before ‘[’ token 253 | Q_REQUIRED_RESULT int compare(QStringView other, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:256:5: error: expected unqualified-id before ‘[’ token 256 | Q_REQUIRED_RESULT bool startsWith(QStringView s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:258:5: error: expected unqualified-id before ‘[’ token 258 | Q_REQUIRED_RESULT inline bool startsWith(QLatin1String s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:259:5: error: expected unqualified-id before ‘[’ token 259 | Q_REQUIRED_RESULT bool startsWith(QChar c) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:261:5: error: expected unqualified-id before ‘[’ token 261 | Q_REQUIRED_RESULT bool startsWith(QChar c, Qt::CaseSensitivity cs) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:264:5: error: expected unqualified-id before ‘[’ token 264 | Q_REQUIRED_RESULT bool endsWith(QStringView s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:266:5: error: expected unqualified-id before ‘[’ token 266 | Q_REQUIRED_RESULT inline bool endsWith(QLatin1String s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:267:5: error: expected unqualified-id before ‘[’ token 267 | Q_REQUIRED_RESULT bool endsWith(QChar c) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:269:5: error: expected unqualified-id before ‘[’ token 269 | Q_REQUIRED_RESULT bool endsWith(QChar c, Qt::CaseSensitivity cs) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:272:5: error: expected unqualified-id before ‘[’ token 272 | Q_REQUIRED_RESULT bool isRightToLeft() const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:278:5: error: expected unqualified-id before ‘[’ token 278 | Q_REQUIRED_RESULT const_iterator begin() const Q_DECL_NOTHROW { return data(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:279:5: error: expected unqualified-id before ‘[’ token 279 | Q_REQUIRED_RESULT const_iterator end() const Q_DECL_NOTHROW { return data() + size(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:280:5: error: expected unqualified-id before ‘[’ token 280 | Q_REQUIRED_RESULT const_iterator cbegin() const Q_DECL_NOTHROW { return begin(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:281:5: error: expected unqualified-id before ‘[’ token 281 | Q_REQUIRED_RESULT const_iterator cend() const Q_DECL_NOTHROW { return end(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:354:28: error: ‘nullptr’ was not declared in this scope 354 | long toLong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstringview.h:282:5: error: expected unqualified-id before ‘[’ token 282 | Q_REQUIRED_RESULT const_reverse_iterator rbegin() const Q_DECL_NOTHROW { return const_reverse_iterator(end()); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:283:5: error: expected unqualified-id before ‘[’ token 283 | Q_REQUIRED_RESULT const_reverse_iterator rend() const Q_DECL_NOTHROW { return const_reverse_iterator(begin()); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:284:5: error: expected unqualified-id before ‘[’ token 284 | Q_REQUIRED_RESULT const_reverse_iterator crbegin() const Q_DECL_NOTHROW { return rbegin(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:285:5: error: expected unqualified-id before ‘[’ token 285 | Q_REQUIRED_RESULT const_reverse_iterator crend() const Q_DECL_NOTHROW { return rend(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:287:5: error: expected unqualified-id before ‘[’ token 287 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR bool empty() const Q_DECL_NOTHROW { return size() == 0; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:288:5: error: expected unqualified-id before ‘[’ token 288 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QChar front() const { return Q_ASSERT(!empty()), QChar(m_data[0]); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:289:5: error: expected unqualified-id before ‘[’ token 289 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QChar back() const { return Q_ASSERT(!empty()), QChar(m_data[m_size - 1]); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:294:5: error: expected unqualified-id before ‘[’ token 294 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR bool isNull() const Q_DECL_NOTHROW { return !m_data; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:295:5: error: expected unqualified-id before ‘[’ token 295 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR bool isEmpty() const Q_DECL_NOTHROW { return empty(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:296:5: error: expected unqualified-id before ‘[’ token 296 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR int length() const /* not nothrow! */ | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:298:5: error: expected unqualified-id before ‘[’ token 298 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QChar first() const { return front(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:299:5: error: expected unqualified-id before ‘[’ token 299 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QChar last() const { return back(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:355:30: error: ‘nullptr’ was not declared in this scope 355 | ulong toULong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.cpp:21: /usr/include/qt5/QtCore/qstringview.h:301:5: error: ‘qsizetype’ does not name a type 301 | qsizetype m_size; | ^~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:354:28: error: ‘nullptr’ was not declared in this scope 354 | long toLong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:355:30: error: ‘nullptr’ was not declared in this scope 355 | ulong toULong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstringview.h:302:11: error: ‘storage_type’ does not name a type 302 | const storage_type *m_data; | ^~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h: In constructor ‘QStringView::QStringView()’: /usr/include/qt5/QtCore/qstringview.h:173:11: error: class ‘QStringView’ does not have any field named ‘m_size’ 173 | : m_size(0), m_data(nullptr) {} | ^~~~~~ /usr/include/qt5/QtCore/qstringview.h:173:22: error: class ‘QStringView’ does not have any field named ‘m_data’ 173 | : m_size(0), m_data(nullptr) {} | ^~~~~~ /usr/include/qt5/QtCore/qbytearray.h:356:37: error: ‘nullptr’ was not declared in this scope 356 | qlonglong toLongLong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstringview.h:173:29: error: ‘nullptr’ was not declared in this scope 173 | : m_size(0), m_data(nullptr) {} | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.cpp:21: /usr/include/qt5/QtCore/qstringview.h: In member function ‘void QStringView::truncate(int)’: /usr/include/qt5/QtCore/qstringview.h:247:25: error: ‘size’ was not declared in this scope; did you mean ‘dysize’? 247 | { Q_ASSERT(n >= 0); Q_ASSERT(n <= size()); m_size = n; } | ^~~~~~~~ /usr/include/qt5/QtCore/qstringview.h: In constructor ‘QStringView::QStringView(const Char*, int)’: /usr/include/qt5/QtCore/qstringview.h:179:11: error: class ‘QStringView’ does not have any field named ‘m_size’ 179 | : m_size((Q_ASSERT(len >= 0), Q_ASSERT(str || !len), len)), | ^~~~~~ /usr/include/qt5/QtCore/qstringview.h:180:11: error: class ‘QStringView’ does not have any field named ‘m_data’ 180 | m_data(castHelper(str)) {} | ^~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.cpp:21: /usr/include/qt5/QtCore/qstringview.h:247:48: error: ‘m_size’ was not declared in this scope; did you mean ‘dysize’? 247 | { Q_ASSERT(n >= 0); Q_ASSERT(n <= size()); m_size = n; } | ^~~~~~ | dysize /usr/include/qt5/QtCore/qstringview.h: In constructor ‘QStringView::QStringView(const String&)’: /usr/include/qt5/QtCore/qstringview.h:208:38: error: ‘nullptr’ was not declared in this scope 208 | : QStringView(str.isNull() ? nullptr : str.data(), qsizetype(str.size())) {} | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.cpp:21: /usr/include/qt5/QtCore/qstringview.h: In member function ‘void QStringView::chop(int)’: /usr/include/qt5/QtCore/qstringview.h:249:25: error: ‘size’ was not declared in this scope; did you mean ‘dysize’? 249 | { Q_ASSERT(n >= 0); Q_ASSERT(n <= size()); m_size -= n; } | ^~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:61:1: error: expected unqualified-id before ‘[’ token 61 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION int compareStrings(QStringView lhs, QStringView rhs, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:356:37: error: ‘nullptr’ was not declared in this scope 356 | qlonglong toLongLong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:62:1: error: expected unqualified-id before ‘[’ token 62 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION int compareStrings(QStringView lhs, QLatin1String rhs, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:63:1: error: expected unqualified-id before ‘[’ token 63 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION int compareStrings(QLatin1String lhs, QStringView rhs, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:64:1: error: expected unqualified-id before ‘[’ token 64 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION int compareStrings(QLatin1String lhs, QLatin1String rhs, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:67:1: error: expected unqualified-id before ‘[’ token 67 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool startsWith(QStringView haystack, QStringView needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:68:1: error: expected unqualified-id before ‘[’ token 68 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool startsWith(QStringView haystack, QLatin1String needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:69:1: error: expected unqualified-id before ‘[’ token 69 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool startsWith(QLatin1String haystack, QStringView needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:70:1: error: expected unqualified-id before ‘[’ token 70 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool startsWith(QLatin1String haystack, QLatin1String needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:357:39: error: ‘nullptr’ was not declared in this scope 357 | qulonglong toULongLong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:72:1: error: expected unqualified-id before ‘[’ token 72 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool endsWith(QStringView haystack, QStringView needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:73:1: error: expected unqualified-id before ‘[’ token 73 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool endsWith(QStringView haystack, QLatin1String needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:74:1: error: expected unqualified-id before ‘[’ token 74 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool endsWith(QLatin1String haystack, QStringView needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:75:1: error: expected unqualified-id before ‘[’ token 75 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool endsWith(QLatin1String haystack, QLatin1String needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:77:1: error: expected unqualified-id before ‘[’ token 77 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION QStringView trimmed(QStringView s) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:78:1: error: expected unqualified-id before ‘[’ token 78 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION QLatin1String trimmed(QLatin1String s) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:80:1: error: expected unqualified-id before ‘[’ token 80 | Q_REQUIRED_RESULT Q_CORE_EXPORT QByteArray convertToLatin1(QStringView str); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:81:1: error: expected unqualified-id before ‘[’ token 81 | Q_REQUIRED_RESULT Q_CORE_EXPORT QByteArray convertToUtf8(QStringView str); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:82:1: error: expected unqualified-id before ‘[’ token 82 | Q_REQUIRED_RESULT Q_CORE_EXPORT QByteArray convertToLocal8Bit(QStringView str); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:83:1: error: expected unqualified-id before ‘[’ token 83 | Q_REQUIRED_RESULT Q_CORE_EXPORT QVector convertToUcs4(QStringView str); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:84:1: error: expected unqualified-id before ‘[’ token 84 | Q_REQUIRED_RESULT Q_CORE_EXPORT bool isRightToLeft(QStringView string); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:86:1: error: expected unqualified-id before ‘[’ token 86 | Q_REQUIRED_RESULT Q_CORE_EXPORT bool isAscii(QLatin1String s) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:87:1: error: expected unqualified-id before ‘[’ token 87 | Q_REQUIRED_RESULT Q_CORE_EXPORT bool isAscii(QStringView s) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:88:1: error: expected unqualified-id before ‘[’ token 88 | Q_REQUIRED_RESULT bool isLatin1(QLatin1String s) Q_DECL_NOTHROW; // in qstring.h | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:89:1: error: expected unqualified-id before ‘[’ token 89 | Q_REQUIRED_RESULT Q_CORE_EXPORT bool isLatin1(QStringView s) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.h:31, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.cpp:21: /usr/include/qt5/QtCore/qstringview.h:61:29: error: expected template-name before ‘<’ token 61 | : std::integral_constant<bool, | ^ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.cpp:21: /usr/include/qt5/QtCore/qstringview.h: In member function ‘void QStringView::truncate(int)’: /usr/include/qt5/QtCore/qstringview.h:247:25: error: ‘size’ was not declared in this scope; did you mean ‘dysize’? 247 | { Q_ASSERT(n >= 0); Q_ASSERT(n <= size()); m_size = n; } | ^~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:61:29: error: expected ‘{’ before ‘<’ token /usr/include/qt5/QtCore/qbytearray.h:357:39: error: ‘nullptr’ was not declared in this scope 357 | qulonglong toULongLong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstringview.h:70:48: error: ‘remove_cv’ in namespace ‘std’ does not name a template type; did you mean ‘remove_if’? 70 | : IsCompatibleCharTypeHelper::type>::type> {}; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qstringview.h:70:57: error: expected template-argument before ‘<’ token 70 | : IsCompatibleCharTypeHelper::type>::type> {}; | ^ /usr/include/qt5/QtCore/qstringview.h:70:57: error: expected ‘>’ before ‘<’ token /usr/include/qt5/QtCore/qstringview.h:70:107: error: template argument 1 is invalid 70 | : IsCompatibleCharTypeHelper::type>::type> {}; | ^ /usr/include/qt5/QtCore/qstringview.h:73:50: error: expected class-name before ‘{’ token 73 | struct IsCompatibleArrayHelper : std::false_type {}; | ^ /usr/include/qt5/QtCore/qstringview.h:79:45: error: ‘remove_cv’ in namespace ‘std’ does not name a template type; did you mean ‘remove_if’? 79 | : IsCompatibleArrayHelper::type>::type> {}; | ^~~~~~~~~ | remove_if In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.cpp:21: /usr/include/qt5/QtCore/qstringview.h:249:48: error: ‘m_size’ was not declared in this scope; did you mean ‘dysize’? 249 | { Q_ASSERT(n >= 0); Q_ASSERT(n <= size()); m_size -= n; } | ^~~~~~ | dysize /usr/include/qt5/QtCore/qstringview.h:79:54: error: expected template-argument before ‘<’ token 79 | : IsCompatibleArrayHelper::type>::type> {}; | ^ /usr/include/qt5/QtCore/qstringview.h:79:54: error: expected ‘>’ before ‘<’ token /usr/include/qt5/QtCore/qstringview.h:79:105: error: template argument 1 is invalid 79 | : IsCompatibleArrayHelper::type>::type> {}; | ^ /usr/include/qt5/QtCore/qstringview.h:82:52: error: expected class-name before ‘{’ token 82 | struct IsCompatiblePointerHelper : std::false_type {}; | ^ /usr/include/qt5/QtCore/qstringview.h:88:47: error: ‘remove_cv’ in namespace ‘std’ does not name a template type; did you mean ‘remove_if’? 88 | : IsCompatiblePointerHelper::type>::type> {}; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qstringview.h:88:56: error: expected template-argument before ‘<’ token 88 | : IsCompatiblePointerHelper::type>::type> {}; | ^ /usr/include/qt5/QtCore/qstringview.h:88:56: error: expected ‘>’ before ‘<’ token /usr/include/qt5/QtCore/qstringview.h:88:109: error: template argument 1 is invalid 88 | : IsCompatiblePointerHelper::type>::type> {}; | ^ /usr/include/qt5/QtCore/qstringview.h:91:59: error: expected class-name before ‘{’ token 91 | struct IsCompatibleStdBasicStringHelper : std::false_type {}; | ^ /usr/include/qt5/QtCore/qstringview.h:99:23: error: ‘remove_cv’ in namespace ‘std’ does not name a template type; did you mean ‘remove_if’? 99 | typename std::remove_cv::type>::type | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qbytearray.h:358:30: error: ‘nullptr’ was not declared in this scope 358 | float toFloat(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:358:30: error: ‘nullptr’ was not declared in this scope 358 | float toFloat(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstringview.h:99:32: error: expected template-argument before ‘<’ token 99 | typename std::remove_cv<typename std::remove_reference::type>::type | ^ /usr/include/qt5/QtCore/qstringview.h:99:32: error: expected ‘>’ before ‘<’ token /usr/include/qt5/QtCore/qstringview.h:100:7: error: template argument 1 is invalid 100 | > {}; | ^ /usr/include/qt5/QtCore/qstringview.h:110:13: error: ‘char16_t’ does not name a type 110 | typedef char16_t storage_type; | ^~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:359:32: error: ‘nullptr’ was not declared in this scope 359 | double toDouble(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstringview.h:114:13: error: ‘qsizetype’ does not name a type 114 | typedef qsizetype size_type; | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:127:5: error: expected unqualified-id before ‘using’ 127 | using if_compatible_char = typename std::enable_if::value, bool>::type; | ^~~~~ /usr/include/qt5/QtCore/qstringview.h:130:5: error: expected unqualified-id before ‘using’ 130 | using if_compatible_array = typename std::enable_if::value, bool>::type; | ^~~~~ /usr/include/qt5/QtCore/qstringview.h:133:5: error: expected unqualified-id before ‘using’ 133 | using if_compatible_pointer = typename std::enable_if::value, bool>::type; | ^~~~~ /usr/include/qt5/QtCore/qstringview.h:136:5: error: expected unqualified-id before ‘using’ 136 | using if_compatible_string = typename std::enable_if::value, bool>::type; | ^~~~~ /usr/include/qt5/QtCore/qstringview.h:139:5: error: expected unqualified-id before ‘using’ 139 | using if_compatible_qstring_like = typename std::enable_if::value || std::is_same::value, bool>::type; | ^~~~~ /usr/include/qt5/QtCore/qstringview.h:142:29: error: ‘qsizetype’ does not name a type 142 | static Q_DECL_CONSTEXPR qsizetype lengthHelperArray(const Char (&)[N]) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:148:12: error: ‘qsizetype’ does not name a type 148 | static qsizetype lengthHelperPointer(const Char *str) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:566:17: error: no declaration matches ‘QByteRef QByteArray::front()’ 566 | inline QByteRef QByteArray::front() { return operator[](0); } | ^~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:566:17: note: no functions named ‘QByteRef QByteArray::front()’ /usr/include/qt5/QtCore/qbytearray.h:156:21: note: ‘class QByteArray’ defined here 156 | class Q_CORE_EXPORT QByteArray | ^~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:567:17: error: no declaration matches ‘QByteRef QByteArray::back()’ 567 | inline QByteRef QByteArray::back() { return operator[](size() - 1); } | ^~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:567:17: note: no functions named ‘QByteRef QByteArray::back()’ /usr/include/qt5/QtCore/qbytearray.h:156:21: note: ‘class QByteArray’ defined here 156 | class Q_CORE_EXPORT QByteArray | ^~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:160:12: error: ‘qsizetype’ does not name a type 160 | static qsizetype lengthHelperPointer(const QChar *str) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:166:18: error: ‘storage_type’ does not name a type 166 | static const storage_type *castHelper(const Char *str) Q_DECL_NOTHROW | ^~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:168:35: error: ‘storage_type’ does not name a type 168 | static Q_DECL_CONSTEXPR const storage_type *castHelper(const storage_type *str) Q_DECL_NOTHROW | ^~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.cpp:21: /usr/include/qt5/QtCore/qstringview.h:247:48: error: ‘m_size’ was not declared in this scope; did you mean ‘dysize’? 247 | { Q_ASSERT(n >= 0); Q_ASSERT(n <= size()); m_size = n; } | ^~~~~~ | dysize /usr/include/qt5/QtCore/qstringview.h:174:48: error: function definition does not declare parameters 174 | Q_DECL_CONSTEXPR QStringView(std::nullptr_t) Q_DECL_NOTHROW | ^ /usr/include/qt5/QtCore/qstringview.h:177:30: error: ‘if_compatible_char’ has not been declared 177 | template = true> | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:177:48: error: expected ‘>’ before ‘<’ token 177 | template = true> | ^ /usr/include/qt5/QtCore/qstringview.h:178:51: error: ‘qsizetype’ has not been declared 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:182:30: error: ‘if_compatible_char’ has not been declared 182 | template = true> | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:182:48: error: expected ‘>’ before ‘<’ token 182 | template = true> | ^ /usr/include/qt5/QtCore/qstringview.h:193:31: error: ‘if_compatible_array’ has not been declared 193 | template = true> | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:193:50: error: expected ‘>’ before ‘<’ token 193 | template = true> | ^ /usr/include/qt5/QtCore/qstringview.h:197:33: error: ‘if_compatible_pointer’ has not been declared 197 | template = true> | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:197:54: error: expected ‘>’ before ‘<’ token 197 | template = true> | ^ /usr/include/qt5/QtCore/qstringview.h:198:22: error: ‘template > QStringView::QStringView(const Pointer&)’ cannot be overloaded with ‘template > QStringView::QStringView(const Array&)’ 198 | Q_DECL_CONSTEXPR QStringView(const Pointer &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: previous declaration ‘template > QStringView::QStringView(const Array&)’ 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:206:32: error: ‘if_compatible_qstring_like’ has not been declared 206 | template = true> | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.cpp:21: /usr/include/qt5/QtCore/qstringview.h: At global scope: /usr/include/qt5/QtCore/qstringview.h:304:1: error: ‘is_integral’ is not a member of ‘std’ 304 | Q_DECLARE_TYPEINFO(QStringView, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:206:58: error: expected ‘>’ before ‘<’ token 206 | template = true> | ^ /usr/include/qt5/QtCore/qstringview.h:304:1: error: expected primary-expression before ‘>’ token 304 | Q_DECLARE_TYPEINFO(QStringView, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:207:5: error: ‘template > QStringView::QStringView(const String&)’ cannot be overloaded with ‘template > QStringView::QStringView(const Array&)’ 207 | QStringView(const String &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: previous declaration ‘template > QStringView::QStringView(const Array&)’ 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:211:40: error: ‘if_compatible_string’ has not been declared 211 | template = true> | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:211:60: error: expected ‘>’ before ‘<’ token 211 | template = true> | ^ /usr/include/qt5/QtCore/qstringview.h:212:5: error: ‘template > QStringView::QStringView(const StdBasicString&)’ cannot be overloaded with ‘template > QStringView::QStringView(const Array&)’ 212 | QStringView(const StdBasicString &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: previous declaration ‘template > QStringView::QStringView(const Array&)’ 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.h:31, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.cpp:21: /usr/include/qt5/QtCore/qstringview.h:215:5: error: expected unqualified-id before ‘[’ token 215 | Q_REQUIRED_RESULT inline QString toString() const; // defined in qstring.h | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/texthtmlbuilder.h:28, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/texthtmlbuilder.cpp:21: /usr/include/qt5/QtCore/qbytearray.h:708:1: error: ‘is_integral’ is not a member of ‘std’ 708 | Q_DECLARE_SHARED(QByteArray) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:359:32: error: ‘nullptr’ was not declared in this scope 359 | double toDouble(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstringview.h:217:5: error: expected unqualified-id before ‘[’ token 217 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR qsizetype size() const Q_DECL_NOTHROW { return m_size; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:218:5: error: expected unqualified-id before ‘[’ token 218 | Q_REQUIRED_RESULT const_pointer data() const Q_DECL_NOTHROW { return reinterpret_cast(m_data); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:219:5: error: expected unqualified-id before ‘[’ token 219 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR const storage_type *utf16() const Q_DECL_NOTHROW { return m_data; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:221:5: error: expected unqualified-id before ‘[’ token 221 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QChar operator[](qsizetype n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:228:5: error: expected unqualified-id before ‘[’ token 228 | Q_REQUIRED_RESULT QByteArray toLatin1() const { return QtPrivate::convertToLatin1(*this); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:229:5: error: expected unqualified-id before ‘[’ token 229 | Q_REQUIRED_RESULT QByteArray toUtf8() const { return QtPrivate::convertToUtf8(*this); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:230:5: error: expected unqualified-id before ‘[’ token 230 | Q_REQUIRED_RESULT QByteArray toLocal8Bit() const { return QtPrivate::convertToLocal8Bit(*this); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:231:5: error: expected unqualified-id before ‘[’ token 231 | Q_REQUIRED_RESULT inline QVector toUcs4() const; // defined in qvector.h | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:233:5: error: expected unqualified-id before ‘[’ token 233 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QChar at(qsizetype n) const { return (*this)[n]; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:235:5: error: expected unqualified-id before ‘[’ token 235 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QStringView mid(qsizetype pos) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:237:5: error: expected unqualified-id before ‘[’ token 237 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QStringView mid(qsizetype pos, qsizetype n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:239:5: error: expected unqualified-id before ‘[’ token 239 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QStringView left(qsizetype n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:241:5: error: expected unqualified-id before ‘[’ token 241 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QStringView right(qsizetype n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:243:5: error: expected unqualified-id before ‘[’ token 243 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QStringView chopped(qsizetype n) const | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.cpp:21: /usr/include/qt5/QtCore/qstringview.h: In member function ‘void QStringView::chop(int)’: /usr/include/qt5/QtCore/qstringview.h:249:25: error: ‘size’ was not declared in this scope; did you mean ‘dysize’? 249 | { Q_ASSERT(n >= 0); Q_ASSERT(n <= size()); m_size -= n; } | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.h:31, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.cpp:21: /usr/include/qt5/QtCore/qstringview.h:246:44: error: ‘qsizetype’ has not been declared 246 | Q_DECL_RELAXED_CONSTEXPR void truncate(qsizetype n) | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:248:40: error: ‘qsizetype’ has not been declared 248 | Q_DECL_RELAXED_CONSTEXPR void chop(qsizetype n) | ^~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.h:31, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.cpp:21: /usr/include/qt5/QtCore/qstringview.h:251:5: error: expected unqualified-id before ‘[’ token 251 | Q_REQUIRED_RESULT QStringView trimmed() const Q_DECL_NOTHROW { return QtPrivate::trimmed(*this); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:253:5: error: expected unqualified-id before ‘[’ token 253 | Q_REQUIRED_RESULT int compare(QStringView other, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:256:5: error: expected unqualified-id before ‘[’ token 256 | Q_REQUIRED_RESULT bool startsWith(QStringView s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:258:5: error: expected unqualified-id before ‘[’ token 258 | Q_REQUIRED_RESULT inline bool startsWith(QLatin1String s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:259:5: error: expected unqualified-id before ‘[’ token 259 | Q_REQUIRED_RESULT bool startsWith(QChar c) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:261:5: error: expected unqualified-id before ‘[’ token 261 | Q_REQUIRED_RESULT bool startsWith(QChar c, Qt::CaseSensitivity cs) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:264:5: error: expected unqualified-id before ‘[’ token 264 | Q_REQUIRED_RESULT bool endsWith(QStringView s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:266:5: error: expected unqualified-id before ‘[’ token 266 | Q_REQUIRED_RESULT inline bool endsWith(QLatin1String s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:267:5: error: expected unqualified-id before ‘[’ token 267 | Q_REQUIRED_RESULT bool endsWith(QChar c) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:269:5: error: expected unqualified-id before ‘[’ token 269 | Q_REQUIRED_RESULT bool endsWith(QChar c, Qt::CaseSensitivity cs) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:304:1: error: ‘::value’ has not been declared 304 | Q_DECLARE_TYPEINFO(QStringView, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:272:5: error: expected unqualified-id before ‘[’ token 272 | Q_REQUIRED_RESULT bool isRightToLeft() const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:278:5: error: expected unqualified-id before ‘[’ token 278 | Q_REQUIRED_RESULT const_iterator begin() const Q_DECL_NOTHROW { return data(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:279:5: error: expected unqualified-id before ‘[’ token 279 | Q_REQUIRED_RESULT const_iterator end() const Q_DECL_NOTHROW { return data() + size(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:280:5: error: expected unqualified-id before ‘[’ token 280 | Q_REQUIRED_RESULT const_iterator cbegin() const Q_DECL_NOTHROW { return begin(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:281:5: error: expected unqualified-id before ‘[’ token 281 | Q_REQUIRED_RESULT const_iterator cend() const Q_DECL_NOTHROW { return end(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:282:5: error: expected unqualified-id before ‘[’ token 282 | Q_REQUIRED_RESULT const_reverse_iterator rbegin() const Q_DECL_NOTHROW { return const_reverse_iterator(end()); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:283:5: error: expected unqualified-id before ‘[’ token 283 | Q_REQUIRED_RESULT const_reverse_iterator rend() const Q_DECL_NOTHROW { return const_reverse_iterator(begin()); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:284:5: error: expected unqualified-id before ‘[’ token 284 | Q_REQUIRED_RESULT const_reverse_iterator crbegin() const Q_DECL_NOTHROW { return rbegin(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:285:5: error: expected unqualified-id before ‘[’ token 285 | Q_REQUIRED_RESULT const_reverse_iterator crend() const Q_DECL_NOTHROW { return rend(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:287:5: error: expected unqualified-id before ‘[’ token 287 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR bool empty() const Q_DECL_NOTHROW { return size() == 0; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:288:5: error: expected unqualified-id before ‘[’ token 288 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QChar front() const { return Q_ASSERT(!empty()), QChar(m_data[0]); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:289:5: error: expected unqualified-id before ‘[’ token 289 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QChar back() const { return Q_ASSERT(!empty()), QChar(m_data[m_size - 1]); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:294:5: error: expected unqualified-id before ‘[’ token 294 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR bool isNull() const Q_DECL_NOTHROW { return !m_data; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:295:5: error: expected unqualified-id before ‘[’ token 295 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR bool isEmpty() const Q_DECL_NOTHROW { return empty(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:296:5: error: expected unqualified-id before ‘[’ token 296 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR int length() const /* not nothrow! */ | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:298:5: error: expected unqualified-id before ‘[’ token 298 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QChar first() const { return front(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:299:5: error: expected unqualified-id before ‘[’ token 299 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QChar last() const { return back(); } | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.cpp:21: /usr/include/qt5/QtCore/qstringview.h:306:47: error: ‘enable_if’ in namespace ‘std’ does not name a template type 306 | template ’ before ‘<’ token 306 | template ’ token 708 | Q_DECLARE_SHARED(QByteArray) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.cpp:21: /usr/include/qt5/QtCore/qstringview.h:249:48: error: ‘m_size’ was not declared in this scope; did you mean ‘dysize’? 249 | { Q_ASSERT(n >= 0); Q_ASSERT(n <= size()); m_size -= n; } | ^~~~~~ | dysize In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.h:31, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.cpp:21: /usr/include/qt5/QtCore/qstringview.h:301:5: error: ‘qsizetype’ does not name a type 301 | qsizetype m_size; | ^~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:567:17: error: no declaration matches ‘QByteRef QByteArray::back()’ 567 | inline QByteRef QByteArray::back() { return operator[](size() - 1); } | ^~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:128:5: error: expected unqualified-id before ‘[’ token 128 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR bool endsWith(QChar c) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:130:5: error: expected unqualified-id before ‘[’ token 130 | Q_REQUIRED_RESULT inline bool endsWith(QChar c, Qt::CaseSensitivity cs) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:567:17: note: no functions named ‘QByteRef QByteArray::back()’ /usr/include/qt5/QtCore/qbytearray.h:156:21: note: ‘class QByteArray’ defined here 156 | class Q_CORE_EXPORT QByteArray | ^~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.cpp:21: /usr/include/qt5/QtCore/qstring.h:133:11: error: expected nested-name-specifier before ‘value_type’ 133 | using value_type = const char; | ^~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:134:11: error: expected nested-name-specifier before ‘reference’ 134 | using reference = value_type&; | ^~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:135:11: error: expected nested-name-specifier before ‘const_reference’ 135 | using const_reference = reference; | ^~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:136:11: error: expected nested-name-specifier before ‘iterator’ 136 | using iterator = value_type*; | ^~~~~~~~ /usr/include/qt5/QtCore/qstring.h:137:11: error: expected nested-name-specifier before ‘const_iterator’ 137 | using const_iterator = iterator; | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:138:11: error: expected nested-name-specifier before ‘difference_type’ 138 | using difference_type = int; // violates Container concept requirements | ^~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:139:11: error: expected nested-name-specifier before ‘size_type’ 139 | using size_type = int; // violates Container concept requirements | ^~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.cpp:21: /usr/include/qt5/QtCore/qstringview.h: At global scope: /usr/include/qt5/QtCore/qstringview.h:304:1: error: ‘is_integral’ is not a member of ‘std’ 304 | Q_DECLARE_TYPEINFO(QStringView, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:304:1: error: expected primary-expression before ‘>’ token 304 | Q_DECLARE_TYPEINFO(QStringView, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:304:1: error: ‘::value’ has not been declared 304 | Q_DECLARE_TYPEINFO(QStringView, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:141:22: error: ‘const_iterator’ does not name a type 141 | Q_DECL_CONSTEXPR const_iterator begin() const Q_DECL_NOTHROW { return data(); } | ^~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.cpp:21: /usr/include/qt5/QtCore/qstringview.h:306:47: error: ‘enable_if’ in namespace ‘std’ does not name a template type 306 | template ’ before ‘<’ token 306 | template ’ token 708 | Q_DECLARE_SHARED(QByteArray) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:139:11: error: expected nested-name-specifier before ‘size_type’ 139 | using size_type = int; // violates Container concept requirements | ^~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:708:1: error: ‘::value’ has not been declared 708 | Q_DECLARE_SHARED(QByteArray) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:141:22: error: ‘const_iterator’ does not name a type 141 | Q_DECL_CONSTEXPR const_iterator begin() const Q_DECL_NOTHROW { return data(); } | ^~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:52, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/mediawikimarkupbuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/mediawikimarkupbuilder.cpp:21: /usr/include/qt5/QtCore/qstringliteral.h:59:9: error: ‘char16_t’ does not name a type 59 | typedef char16_t qunicodechar; | ^~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:708:1: error: ‘::value’ has not been declared 708 | Q_DECLARE_SHARED(QByteArray) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:302:11: error: ‘storage_type’ does not name a type 302 | const storage_type *m_data; | ^~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:143:22: error: ‘const_iterator’ does not name a type 143 | Q_DECL_CONSTEXPR const_iterator end() const Q_DECL_NOTHROW { return data() + size(); } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h: In constructor ‘QStringView::QStringView()’: /usr/include/qt5/QtCore/qstringview.h:173:11: error: class ‘QStringView’ does not have any field named ‘m_size’ 173 | : m_size(0), m_data(nullptr) {} | ^~~~~~ /usr/include/qt5/QtCore/qstringview.h:173:22: error: class ‘QStringView’ does not have any field named ‘m_data’ 173 | : m_size(0), m_data(nullptr) {} | ^~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:52, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/texthtmlbuilder.h:28, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/texthtmlbuilder.cpp:21: /usr/include/qt5/QtCore/qstringliteral.h:59:9: error: ‘char16_t’ does not name a type 59 | typedef char16_t qunicodechar; | ^~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:173:29: error: ‘nullptr’ was not declared in this scope 173 | : m_size(0), m_data(nullptr) {} | ^~~~~~~ /usr/include/qt5/QtCore/qstringview.h: In constructor ‘QStringView::QStringView(const Char*, int)’: /usr/include/qt5/QtCore/qstringview.h:179:11: error: class ‘QStringView’ does not have any field named ‘m_size’ 179 | : m_size((Q_ASSERT(len >= 0), Q_ASSERT(str || !len), len)), | ^~~~~~ /usr/include/qt5/QtCore/qstringview.h:180:11: error: class ‘QStringView’ does not have any field named ‘m_data’ 180 | m_data(castHelper(str)) {} | ^~~~~~ /usr/include/qt5/QtCore/qstring.h:144:22: error: ‘const_iterator’ does not name a type 144 | Q_DECL_CONSTEXPR const_iterator cend() const Q_DECL_NOTHROW { return data() + size(); } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:146:11: error: expected nested-name-specifier before ‘reverse_iterator’ 146 | using reverse_iterator = std::reverse_iterator; | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:147:11: error: expected nested-name-specifier before ‘const_reverse_iterator’ 147 | using const_reverse_iterator = reverse_iterator; | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/texthtmlbuilder.h:28, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/texthtmlbuilder.cpp:21: /usr/include/qt5/QtCore/qstringliteral.h:61:1: error: ‘qunicodechar’ was not declared in this scope 61 | Q_STATIC_ASSERT_X(sizeof(qunicodechar) == 2, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h: In constructor ‘QStringView::QStringView(const String&)’: /usr/include/qt5/QtCore/qstringview.h:208:38: error: ‘nullptr’ was not declared in this scope 208 | : QStringView(str.isNull() ? nullptr : str.data(), qsizetype(str.size())) {} | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.h:31, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.cpp:21: /usr/include/qt5/QtCore/qstringview.h: In member function ‘void QStringView::truncate(int)’: /usr/include/qt5/QtCore/qstringview.h:247:25: error: ‘size’ was not declared in this scope; did you mean ‘dysize’? 247 | { Q_ASSERT(n >= 0); Q_ASSERT(n <= size()); m_size = n; } | ^~~~~~~~ /usr/include/qt5/QtCore/qstring.h:149:5: error: ‘const_reverse_iterator’ does not name a type 149 | const_reverse_iterator rbegin() const Q_DECL_NOTHROW { return const_reverse_iterator(end()); } | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:52, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/texthtmlbuilder.h:28, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/texthtmlbuilder.cpp:21: /usr/include/qt5/QtCore/qstringliteral.h:96:5: error: ‘qunicodechar’ does not name a type 96 | qunicodechar data[N + 1]; | ^~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/texthtmlbuilder.h:28, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/texthtmlbuilder.cpp:21: /usr/include/qt5/QtCore/qstringalgorithms.h:58:1: error: expected unqualified-id before ‘[’ token 58 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION qsizetype qustrlen(const ushort *str) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:142:22: error: ‘const_iterator’ does not name a type 142 | Q_DECL_CONSTEXPR const_iterator cbegin() const Q_DECL_NOTHROW { return data(); } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:59:1: error: expected unqualified-id before ‘[’ token 59 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION const ushort *qustrchr(QStringView str, ushort ch) noexcept; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:61:1: error: expected unqualified-id before ‘[’ token 61 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION int compareStrings(QStringView lhs, QStringView rhs, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:62:1: error: expected unqualified-id before ‘[’ token 62 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION int compareStrings(QStringView lhs, QLatin1String rhs, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:63:1: error: expected unqualified-id before ‘[’ token 63 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION int compareStrings(QLatin1String lhs, QStringView rhs, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:64:1: error: expected unqualified-id before ‘[’ token 64 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION int compareStrings(QLatin1String lhs, QLatin1String rhs, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:67:1: error: expected unqualified-id before ‘[’ token 67 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool startsWith(QStringView haystack, QStringView needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:68:1: error: expected unqualified-id before ‘[’ token 68 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool startsWith(QStringView haystack, QLatin1String needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/mediawikimarkupbuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/mediawikimarkupbuilder.cpp:21: /usr/include/qt5/QtCore/qstringliteral.h:61:1: error: ‘qunicodechar’ was not declared in this scope 61 | Q_STATIC_ASSERT_X(sizeof(qunicodechar) == 2, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:69:1: error: expected unqualified-id before ‘[’ token 69 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool startsWith(QLatin1String haystack, QStringView needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:70:1: error: expected unqualified-id before ‘[’ token 70 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool startsWith(QLatin1String haystack, QLatin1String needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.h:31, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.cpp:21: /usr/include/qt5/QtCore/qstringview.h:247:48: error: ‘m_size’ was not declared in this scope; did you mean ‘dysize’? 247 | { Q_ASSERT(n >= 0); Q_ASSERT(n <= size()); m_size = n; } | ^~~~~~ | dysize /usr/include/qt5/QtCore/qstring.h:150:5: error: ‘const_reverse_iterator’ does not name a type 150 | const_reverse_iterator crbegin() const Q_DECL_NOTHROW { return const_reverse_iterator(end()); } | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.h:31, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.cpp:21: /usr/include/qt5/QtCore/qstringview.h: In member function ‘void QStringView::chop(int)’: /usr/include/qt5/QtCore/qstringview.h:249:25: error: ‘size’ was not declared in this scope; did you mean ‘dysize’? 249 | { Q_ASSERT(n >= 0); Q_ASSERT(n <= size()); m_size -= n; } | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.h:31, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.cpp:21: /usr/include/qt5/QtCore/qstringview.h:249:48: error: ‘m_size’ was not declared in this scope; did you mean ‘dysize’? 249 | { Q_ASSERT(n >= 0); Q_ASSERT(n <= size()); m_size -= n; } | ^~~~~~ | dysize In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.h:31, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.cpp:21: /usr/include/qt5/QtCore/qstringview.h: At global scope: /usr/include/qt5/QtCore/qstringview.h:304:1: error: ‘is_integral’ is not a member of ‘std’ 304 | Q_DECLARE_TYPEINFO(QStringView, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:304:1: error: expected primary-expression before ‘>’ token 304 | Q_DECLARE_TYPEINFO(QStringView, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:151:5: error: ‘const_reverse_iterator’ does not name a type 151 | const_reverse_iterator rend() const Q_DECL_NOTHROW { return const_reverse_iterator(begin()); } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:143:22: error: ‘const_iterator’ does not name a type 143 | Q_DECL_CONSTEXPR const_iterator end() const Q_DECL_NOTHROW { return data() + size(); } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:72:1: error: expected unqualified-id before ‘[’ token 72 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool endsWith(QStringView haystack, QStringView needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:73:1: error: expected unqualified-id before ‘[’ token 73 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool endsWith(QStringView haystack, QLatin1String needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:74:1: error: expected unqualified-id before ‘[’ token 74 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool endsWith(QLatin1String haystack, QStringView needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:75:1: error: expected unqualified-id before ‘[’ token 75 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool endsWith(QLatin1String haystack, QLatin1String needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:77:1: error: expected unqualified-id before ‘[’ token 77 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION QStringView trimmed(QStringView s) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:52, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/mediawikimarkupbuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/mediawikimarkupbuilder.cpp:21: /usr/include/qt5/QtCore/qstringliteral.h:96:5: error: ‘qunicodechar’ does not name a type 96 | qunicodechar data[N + 1]; | ^~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:78:1: error: expected unqualified-id before ‘[’ token 78 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION QLatin1String trimmed(QLatin1String s) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:80:1: error: expected unqualified-id before ‘[’ token 80 | Q_REQUIRED_RESULT Q_CORE_EXPORT QByteArray convertToLatin1(QStringView str); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:81:1: error: expected unqualified-id before ‘[’ token 81 | Q_REQUIRED_RESULT Q_CORE_EXPORT QByteArray convertToUtf8(QStringView str); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:82:1: error: expected unqualified-id before ‘[’ token 82 | Q_REQUIRED_RESULT Q_CORE_EXPORT QByteArray convertToLocal8Bit(QStringView str); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:83:1: error: expected unqualified-id before ‘[’ token 83 | Q_REQUIRED_RESULT Q_CORE_EXPORT QVector convertToUcs4(QStringView str); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:84:1: error: expected unqualified-id before ‘[’ token 84 | Q_REQUIRED_RESULT Q_CORE_EXPORT bool isRightToLeft(QStringView string); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:86:1: error: expected unqualified-id before ‘[’ token 86 | Q_REQUIRED_RESULT Q_CORE_EXPORT bool isAscii(QLatin1String s) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:87:1: error: expected unqualified-id before ‘[’ token 87 | Q_REQUIRED_RESULT Q_CORE_EXPORT bool isAscii(QStringView s) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:88:1: error: expected unqualified-id before ‘[’ token 88 | Q_REQUIRED_RESULT bool isLatin1(QLatin1String s) Q_DECL_NOTHROW; // in qstring.h | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:89:1: error: expected unqualified-id before ‘[’ token 89 | Q_REQUIRED_RESULT Q_CORE_EXPORT bool isLatin1(QStringView s) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/texthtmlbuilder.h:28, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/texthtmlbuilder.cpp:21: /usr/include/qt5/QtCore/qstringview.h:61:29: error: expected template-name before ‘<’ token 61 | : std::integral_constant<bool, | ^ /usr/include/qt5/QtCore/qstringview.h:61:29: error: expected ‘{’ before ‘<’ token In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/mediawikimarkupbuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/mediawikimarkupbuilder.cpp:21: /usr/include/qt5/QtCore/qstringalgorithms.h:58:1: error: expected unqualified-id before ‘[’ token 58 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION qsizetype qustrlen(const ushort *str) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:59:1: error: expected unqualified-id before ‘[’ token 59 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION const ushort *qustrchr(QStringView str, ushort ch) noexcept; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:144:22: error: ‘const_iterator’ does not name a type 144 | Q_DECL_CONSTEXPR const_iterator cend() const Q_DECL_NOTHROW { return data() + size(); } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:61:1: error: expected unqualified-id before ‘[’ token 61 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION int compareStrings(QStringView lhs, QStringView rhs, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:62:1: error: expected unqualified-id before ‘[’ token 62 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION int compareStrings(QStringView lhs, QLatin1String rhs, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:146:11: error: expected nested-name-specifier before ‘reverse_iterator’ 146 | using reverse_iterator = std::reverse_iterator; | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:63:1: error: expected unqualified-id before ‘[’ token 63 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION int compareStrings(QLatin1String lhs, QStringView rhs, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:147:11: error: expected nested-name-specifier before ‘const_reverse_iterator’ 147 | using const_reverse_iterator = reverse_iterator; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:64:1: error: expected unqualified-id before ‘[’ token 64 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION int compareStrings(QLatin1String lhs, QLatin1String rhs, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:67:1: error: expected unqualified-id before ‘[’ token 67 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool startsWith(QStringView haystack, QStringView needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:68:1: error: expected unqualified-id before ‘[’ token 68 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool startsWith(QStringView haystack, QLatin1String needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:69:1: error: expected unqualified-id before ‘[’ token 69 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool startsWith(QLatin1String haystack, QStringView needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:70:1: error: expected unqualified-id before ‘[’ token 70 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool startsWith(QLatin1String haystack, QLatin1String needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:72:1: error: expected unqualified-id before ‘[’ token 72 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool endsWith(QStringView haystack, QStringView needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:152:5: error: ‘const_reverse_iterator’ does not name a type 152 | const_reverse_iterator crend() const Q_DECL_NOTHROW { return const_reverse_iterator(begin()); } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:73:1: error: expected unqualified-id before ‘[’ token 73 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool endsWith(QStringView haystack, QLatin1String needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:74:1: error: expected unqualified-id before ‘[’ token 74 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool endsWith(QLatin1String haystack, QStringView needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:75:1: error: expected unqualified-id before ‘[’ token 75 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool endsWith(QLatin1String haystack, QLatin1String needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:77:1: error: expected unqualified-id before ‘[’ token 77 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION QStringView trimmed(QStringView s) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:78:1: error: expected unqualified-id before ‘[’ token 78 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION QLatin1String trimmed(QLatin1String s) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:80:1: error: expected unqualified-id before ‘[’ token 80 | Q_REQUIRED_RESULT Q_CORE_EXPORT QByteArray convertToLatin1(QStringView str); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:81:1: error: expected unqualified-id before ‘[’ token 81 | Q_REQUIRED_RESULT Q_CORE_EXPORT QByteArray convertToUtf8(QStringView str); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:82:1: error: expected unqualified-id before ‘[’ token 82 | Q_REQUIRED_RESULT Q_CORE_EXPORT QByteArray convertToLocal8Bit(QStringView str); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:83:1: error: expected unqualified-id before ‘[’ token 83 | Q_REQUIRED_RESULT Q_CORE_EXPORT QVector convertToUcs4(QStringView str); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:84:1: error: expected unqualified-id before ‘[’ token 84 | Q_REQUIRED_RESULT Q_CORE_EXPORT bool isRightToLeft(QStringView string); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:86:1: error: expected unqualified-id before ‘[’ token 86 | Q_REQUIRED_RESULT Q_CORE_EXPORT bool isAscii(QLatin1String s) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.cpp:21: /usr/include/qt5/QtCore/qstring.h:162:5: error: expected unqualified-id before ‘[’ token 162 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QLatin1String chopped(int n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:304:1: error: ‘::value’ has not been declared 304 | Q_DECLARE_TYPEINFO(QStringView, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:70:48: error: ‘remove_cv’ in namespace ‘std’ does not name a template type; did you mean ‘remove_if’? 70 | : IsCompatibleCharTypeHelper::type>::type> {}; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qstringview.h:70:57: error: expected template-argument before ‘<’ token 70 | : IsCompatibleCharTypeHelper::type>::type> {}; | ^ /usr/include/qt5/QtCore/qstringview.h:70:57: error: expected ‘>’ before ‘<’ token /usr/include/qt5/QtCore/qstringview.h:70:107: error: template argument 1 is invalid 70 | : IsCompatibleCharTypeHelper::type>::type> {}; | ^ /usr/include/qt5/QtCore/qstringview.h:73:50: error: expected class-name before ‘{’ token 73 | struct IsCompatibleArrayHelper : std::false_type {}; | ^ /usr/include/qt5/QtCore/qstringview.h:79:45: error: ‘remove_cv’ in namespace ‘std’ does not name a template type; did you mean ‘remove_if’? 79 | : IsCompatibleArrayHelper::type>::type> {}; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qstringview.h:79:54: error: expected template-argument before ‘<’ token 79 | : IsCompatibleArrayHelper::type>::type> {}; | ^ /usr/include/qt5/QtCore/qstringview.h:79:54: error: expected ‘>’ before ‘<’ token /usr/include/qt5/QtCore/qstringview.h:79:105: error: template argument 1 is invalid 79 | : IsCompatibleArrayHelper::type>::type> {}; | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.h:31, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.cpp:21: /usr/include/qt5/QtCore/qstringview.h:306:47: error: ‘enable_if’ in namespace ‘std’ does not name a template type 306 | template ’ before ‘<’ token 306 | template ::type>::type> {}; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qstringview.h:88:56: error: expected template-argument before ‘<’ token 88 | : IsCompatiblePointerHelper::type>::type> {}; | ^ /usr/include/qt5/QtCore/qstringview.h:88:56: error: expected ‘>’ before ‘<’ token /usr/include/qt5/QtCore/qstringview.h:88:109: error: template argument 1 is invalid 88 | : IsCompatiblePointerHelper::type>::type> {}; | ^ /usr/include/qt5/QtCore/qstringview.h:91:59: error: expected class-name before ‘{’ token 91 | struct IsCompatibleStdBasicStringHelper : std::false_type {}; | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.h:31, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.cpp:21: /usr/include/qt5/QtCore/qstring.h:112:5: error: expected unqualified-id before ‘[’ token 112 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QLatin1Char front() const { return at(0); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:149:5: error: ‘const_reverse_iterator’ does not name a type 149 | const_reverse_iterator rbegin() const Q_DECL_NOTHROW { return const_reverse_iterator(end()); } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:113:5: error: expected unqualified-id before ‘[’ token 113 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QLatin1Char back() const { return at(size() - 1); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:115:5: error: expected unqualified-id before ‘[’ token 115 | Q_REQUIRED_RESULT bool startsWith(QStringView s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:117:5: error: expected unqualified-id before ‘[’ token 117 | Q_REQUIRED_RESULT bool startsWith(QLatin1String s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:119:5: error: expected unqualified-id before ‘[’ token 119 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR bool startsWith(QChar c) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:121:5: error: expected unqualified-id before ‘[’ token 121 | Q_REQUIRED_RESULT inline bool startsWith(QChar c, Qt::CaseSensitivity cs) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:124:5: error: expected unqualified-id before ‘[’ token 124 | Q_REQUIRED_RESULT bool endsWith(QStringView s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:126:5: error: expected unqualified-id before ‘[’ token 126 | Q_REQUIRED_RESULT bool endsWith(QLatin1String s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:128:5: error: expected unqualified-id before ‘[’ token 128 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR bool endsWith(QChar c) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:130:5: error: expected unqualified-id before ‘[’ token 130 | Q_REQUIRED_RESULT inline bool endsWith(QChar c, Qt::CaseSensitivity cs) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.h:31, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.cpp:21: /usr/include/qt5/QtCore/qstring.h:133:11: error: expected nested-name-specifier before ‘value_type’ 133 | using value_type = const char; | ^~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:134:11: error: expected nested-name-specifier before ‘reference’ 134 | using reference = value_type&; | ^~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:135:11: error: expected nested-name-specifier before ‘const_reference’ 135 | using const_reference = reference; | ^~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:136:11: error: expected nested-name-specifier before ‘iterator’ 136 | using iterator = value_type*; | ^~~~~~~~ /usr/include/qt5/QtCore/qstring.h:137:11: error: expected nested-name-specifier before ‘const_iterator’ 137 | using const_iterator = iterator; | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:138:11: error: expected nested-name-specifier before ‘difference_type’ 138 | using difference_type = int; // violates Container concept requirements | ^~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:139:11: error: expected nested-name-specifier before ‘size_type’ 139 | using size_type = int; // violates Container concept requirements | ^~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:141:22: error: ‘const_iterator’ does not name a type 141 | Q_DECL_CONSTEXPR const_iterator begin() const Q_DECL_NOTHROW { return data(); } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:150:5: error: ‘const_reverse_iterator’ does not name a type 150 | const_reverse_iterator crbegin() const Q_DECL_NOTHROW { return const_reverse_iterator(end()); } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:142:22: error: ‘const_iterator’ does not name a type 142 | Q_DECL_CONSTEXPR const_iterator cbegin() const Q_DECL_NOTHROW { return data(); } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:151:5: error: ‘const_reverse_iterator’ does not name a type 151 | const_reverse_iterator rend() const Q_DECL_NOTHROW { return const_reverse_iterator(begin()); } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:143:22: error: ‘const_iterator’ does not name a type 143 | Q_DECL_CONSTEXPR const_iterator end() const Q_DECL_NOTHROW { return data() + size(); } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:144:22: error: ‘const_iterator’ does not name a type 144 | Q_DECL_CONSTEXPR const_iterator cend() const Q_DECL_NOTHROW { return data() + size(); } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:146:11: error: expected nested-name-specifier before ‘reverse_iterator’ 146 | using reverse_iterator = std::reverse_iterator; | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:147:11: error: expected nested-name-specifier before ‘const_reverse_iterator’ 147 | using const_reverse_iterator = reverse_iterator; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:152:5: error: ‘const_reverse_iterator’ does not name a type 152 | const_reverse_iterator crend() const Q_DECL_NOTHROW { return const_reverse_iterator(begin()); } | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.cpp:21: /usr/include/qt5/QtCore/qstring.h:162:5: error: expected unqualified-id before ‘[’ token 162 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QLatin1String chopped(int n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:87:1: error: expected unqualified-id before ‘[’ token 87 | Q_REQUIRED_RESULT Q_CORE_EXPORT bool isAscii(QStringView s) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:99:23: error: ‘remove_cv’ in namespace ‘std’ does not name a template type; did you mean ‘remove_if’? 99 | typename std::remove_cv::type>::type | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qstringview.h:99:32: error: expected template-argument before ‘<’ token 99 | typename std::remove_cv<typename std::remove_reference::type>::type | ^ /usr/include/qt5/QtCore/qstringalgorithms.h:88:1: error: expected unqualified-id before ‘[’ token 88 | Q_REQUIRED_RESULT bool isLatin1(QLatin1String s) Q_DECL_NOTHROW; // in qstring.h | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:99:32: error: expected ‘>’ before ‘<’ token /usr/include/qt5/QtCore/qstringalgorithms.h:89:1: error: expected unqualified-id before ‘[’ token 89 | Q_REQUIRED_RESULT Q_CORE_EXPORT bool isLatin1(QStringView s) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:100:7: error: template argument 1 is invalid 100 | > {}; | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/mediawikimarkupbuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/mediawikimarkupbuilder.cpp:21: /usr/include/qt5/QtCore/qstringview.h:61:29: error: expected template-name before ‘<’ token 61 | : std::integral_constant<bool, | ^ /usr/include/qt5/QtCore/qstringview.h:61:29: error: expected ‘{’ before ‘<’ token /usr/include/qt5/QtCore/qstringview.h:70:48: error: ‘remove_cv’ in namespace ‘std’ does not name a template type; did you mean ‘remove_if’? 70 | : IsCompatibleCharTypeHelper::type>::type> {}; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qstringview.h:70:57: error: expected template-argument before ‘<’ token 70 | : IsCompatibleCharTypeHelper::type>::type> {}; | ^ /usr/include/qt5/QtCore/qstringview.h:70:57: error: expected ‘>’ before ‘<’ token /usr/include/qt5/QtCore/qstringview.h:70:107: error: template argument 1 is invalid 70 | : IsCompatibleCharTypeHelper::type>::type> {}; | ^ /usr/include/qt5/QtCore/qstringview.h:73:50: error: expected class-name before ‘{’ token 73 | struct IsCompatibleArrayHelper : std::false_type {}; | ^ /usr/include/qt5/QtCore/qstringview.h:79:45: error: ‘remove_cv’ in namespace ‘std’ does not name a template type; did you mean ‘remove_if’? 79 | : IsCompatibleArrayHelper::type>::type> {}; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qstringview.h:79:54: error: expected template-argument before ‘<’ token 79 | : IsCompatibleArrayHelper::type>::type> {}; | ^ /usr/include/qt5/QtCore/qstringview.h:79:54: error: expected ‘>’ before ‘<’ token /usr/include/qt5/QtCore/qstringview.h:79:105: error: template argument 1 is invalid 79 | : IsCompatibleArrayHelper::type>::type> {}; | ^ /usr/include/qt5/QtCore/qstringview.h:82:52: error: expected class-name before ‘{’ token 82 | struct IsCompatiblePointerHelper : std::false_type {}; | ^ /usr/include/qt5/QtCore/qstringview.h:88:47: error: ‘remove_cv’ in namespace ‘std’ does not name a template type; did you mean ‘remove_if’? 88 | : IsCompatiblePointerHelper::type>::type> {}; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qstringview.h:88:56: error: expected template-argument before ‘<’ token 88 | : IsCompatiblePointerHelper::type>::type> {}; | ^ /usr/include/qt5/QtCore/qstringview.h:88:56: error: expected ‘>’ before ‘<’ token /usr/include/qt5/QtCore/qstringview.h:88:109: error: template argument 1 is invalid 88 | : IsCompatiblePointerHelper::type>::type> {}; | ^ /usr/include/qt5/QtCore/qstringview.h:91:59: error: expected class-name before ‘{’ token 91 | struct IsCompatibleStdBasicStringHelper : std::false_type {}; | ^ /usr/include/qt5/QtCore/qstringview.h:99:23: error: ‘remove_cv’ in namespace ‘std’ does not name a template type; did you mean ‘remove_if’? 99 | typename std::remove_cv::type>::type | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qstring.h:170:5: error: expected unqualified-id before ‘[’ token 170 | Q_REQUIRED_RESULT QLatin1String trimmed() const Q_DECL_NOTHROW { return QtPrivate::trimmed(*this); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:99:32: error: expected template-argument before ‘<’ token 99 | typename std::remove_cv<typename std::remove_reference::type>::type | ^ /usr/include/qt5/QtCore/qstringview.h:99:32: error: expected ‘>’ before ‘<’ token /usr/include/qt5/QtCore/qstringview.h:100:7: error: template argument 1 is invalid 100 | > {}; | ^ /usr/include/qt5/QtCore/qstringview.h:110:13: error: ‘char16_t’ does not name a type 110 | typedef char16_t storage_type; | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.cpp:21: /usr/include/qt5/QtCore/qstring.h: In constructor ‘QLatin1String::QLatin1String()’: /usr/include/qt5/QtCore/qstring.h:94:80: error: ‘nullptr’ was not declared in this scope 94 | Q_DECL_CONSTEXPR inline QLatin1String() Q_DECL_NOTHROW : m_size(0), m_data(nullptr) {} | ^~~~~~~ /usr/include/qt5/QtCore/qstringview.h:114:13: error: ‘qsizetype’ does not name a type 114 | typedef qsizetype size_type; | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:127:5: error: expected unqualified-id before ‘using’ 127 | using if_compatible_char = typename std::enable_if::value, bool>::type; | ^~~~~ /usr/include/qt5/QtCore/qstringview.h:130:5: error: expected unqualified-id before ‘using’ 130 | using if_compatible_array = typename std::enable_if::value, bool>::type; | ^~~~~ /usr/include/qt5/QtCore/qstringview.h:133:5: error: expected unqualified-id before ‘using’ 133 | using if_compatible_pointer = typename std::enable_if::value, bool>::type; | ^~~~~ /usr/include/qt5/QtCore/qstringview.h:136:5: error: expected unqualified-id before ‘using’ 136 | using if_compatible_string = typename std::enable_if::value, bool>::type; | ^~~~~ /usr/include/qt5/QtCore/qstringview.h:139:5: error: expected unqualified-id before ‘using’ 139 | using if_compatible_qstring_like = typename std::enable_if::value || std::is_same::value, bool>::type; | ^~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.cpp:21: /usr/include/qt5/QtCore/qstring.h: At global scope: /usr/include/qt5/QtCore/qstring.h:199:1: error: ‘is_integral’ is not a member of ‘std’ 199 | Q_DECLARE_TYPEINFO(QLatin1String, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:199:1: error: expected primary-expression before ‘>’ token 199 | Q_DECLARE_TYPEINFO(QLatin1String, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:142:29: error: ‘qsizetype’ does not name a type 142 | static Q_DECL_CONSTEXPR qsizetype lengthHelperArray(const Char (&)[N]) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:199:1: error: ‘::value’ has not been declared 199 | Q_DECLARE_TYPEINFO(QLatin1String, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.cpp:21: /usr/include/qt5/QtCore/qstring.h:207:46: error: ‘bool QtPrivate::isLatin1(QLatin1String)’ should have been declared inside ‘QtPrivate’ 207 | inline bool QtPrivate::isLatin1(QLatin1String) Q_DECL_NOTHROW | ^ /usr/include/qt5/QtCore/qstring.h:213:6: error: no declaration matches ‘bool QStringView::startsWith(QLatin1String, Qt::CaseSensitivity) const’ 213 | bool QStringView::startsWith(QLatin1String s, Qt::CaseSensitivity cs) const Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:213:6: note: no functions named ‘bool QStringView::startsWith(QLatin1String, Qt::CaseSensitivity) const’ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.cpp:21: /usr/include/qt5/QtCore/qstringview.h:104:7: note: ‘class QStringView’ defined here 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:149:5: error: ‘const_reverse_iterator’ does not name a type 149 | const_reverse_iterator rbegin() const Q_DECL_NOTHROW { return const_reverse_iterator(end()); } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:110:13: error: ‘char16_t’ does not name a type 110 | typedef char16_t storage_type; | ^~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:114:13: error: ‘qsizetype’ does not name a type 114 | typedef qsizetype size_type; | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:127:5: error: expected unqualified-id before ‘using’ 127 | using if_compatible_char = typename std::enable_if::value, bool>::type; | ^~~~~ /usr/include/qt5/QtCore/qstringview.h:130:5: error: expected unqualified-id before ‘using’ 130 | using if_compatible_array = typename std::enable_if::value, bool>::type; | ^~~~~ /usr/include/qt5/QtCore/qstringview.h:133:5: error: expected unqualified-id before ‘using’ 133 | using if_compatible_pointer = typename std::enable_if::value, bool>::type; | ^~~~~ /usr/include/qt5/QtCore/qstringview.h:136:5: error: expected unqualified-id before ‘using’ 136 | using if_compatible_string = typename std::enable_if::value, bool>::type; | ^~~~~ /usr/include/qt5/QtCore/qstringview.h:139:5: error: expected unqualified-id before ‘using’ 139 | using if_compatible_qstring_like = typename std::enable_if::value || std::is_same::value, bool>::type; | ^~~~~ /usr/include/qt5/QtCore/qstring.h:170:5: error: expected unqualified-id before ‘[’ token 170 | Q_REQUIRED_RESULT QLatin1String trimmed() const Q_DECL_NOTHROW { return QtPrivate::trimmed(*this); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:148:12: error: ‘qsizetype’ does not name a type 148 | static qsizetype lengthHelperPointer(const Char *str) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:142:29: error: ‘qsizetype’ does not name a type 142 | static Q_DECL_CONSTEXPR qsizetype lengthHelperArray(const Char (&)[N]) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:160:12: error: ‘qsizetype’ does not name a type 160 | static qsizetype lengthHelperPointer(const QChar *str) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:148:12: error: ‘qsizetype’ does not name a type 148 | static qsizetype lengthHelperPointer(const Char *str) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:166:18: error: ‘storage_type’ does not name a type 166 | static const storage_type *castHelper(const Char *str) Q_DECL_NOTHROW | ^~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:160:12: error: ‘qsizetype’ does not name a type 160 | static qsizetype lengthHelperPointer(const QChar *str) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:168:35: error: ‘storage_type’ does not name a type 168 | static Q_DECL_CONSTEXPR const storage_type *castHelper(const storage_type *str) Q_DECL_NOTHROW | ^~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:174:48: error: function definition does not declare parameters 174 | Q_DECL_CONSTEXPR QStringView(std::nullptr_t) Q_DECL_NOTHROW | ^ /usr/include/qt5/QtCore/qstringview.h:177:30: error: ‘if_compatible_char’ has not been declared 177 | template = true> | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:177:48: error: expected ‘>’ before ‘<’ token 177 | template = true> | ^ /usr/include/qt5/QtCore/qstringview.h:178:51: error: ‘qsizetype’ has not been declared 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:182:30: error: ‘if_compatible_char’ has not been declared 182 | template = true> | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:182:48: error: expected ‘>’ before ‘<’ token 182 | template = true> | ^ /usr/include/qt5/QtCore/qstringview.h:193:31: error: ‘if_compatible_array’ has not been declared 193 | template = true> | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:193:50: error: expected ‘>’ before ‘<’ token 193 | template = true> | ^ /usr/include/qt5/QtCore/qstringview.h:197:33: error: ‘if_compatible_pointer’ has not been declared 197 | template = true> | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:197:54: error: expected ‘>’ before ‘<’ token 197 | template = true> | ^ /usr/include/qt5/QtCore/qstringview.h:198:22: error: ‘template > QStringView::QStringView(const Pointer&)’ cannot be overloaded with ‘template > QStringView::QStringView(const Array&)’ 198 | Q_DECL_CONSTEXPR QStringView(const Pointer &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: previous declaration ‘template > QStringView::QStringView(const Array&)’ 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:206:32: error: ‘if_compatible_qstring_like’ has not been declared 206 | template = true> | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.cpp:21: /usr/include/qt5/QtCore/qstring.h:215:6: error: no declaration matches ‘bool QStringView::endsWith(QLatin1String, Qt::CaseSensitivity) const’ 215 | bool QStringView::endsWith(QLatin1String s, Qt::CaseSensitivity cs) const Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:206:58: error: expected ‘>’ before ‘<’ token 206 | template = true> | ^ /usr/include/qt5/QtCore/qstring.h:215:6: note: no functions named ‘bool QStringView::endsWith(QLatin1String, Qt::CaseSensitivity) const’ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.cpp:21: /usr/include/qt5/QtCore/qstringview.h:104:7: note: ‘class QStringView’ defined here 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:207:5: error: ‘template > QStringView::QStringView(const String&)’ cannot be overloaded with ‘template > QStringView::QStringView(const Array&)’ 207 | QStringView(const String &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: previous declaration ‘template > QStringView::QStringView(const Array&)’ 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:211:40: error: ‘if_compatible_string’ has not been declared 211 | template = true> | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:211:60: error: expected ‘>’ before ‘<’ token 211 | template = true> | ^ /usr/include/qt5/QtCore/qstringview.h:212:5: error: ‘template > QStringView::QStringView(const StdBasicString&)’ cannot be overloaded with ‘template > QStringView::QStringView(const Array&)’ 212 | QStringView(const StdBasicString &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: previous declaration ‘template > QStringView::QStringView(const Array&)’ 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/mediawikimarkupbuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/mediawikimarkupbuilder.cpp:21: /usr/include/qt5/QtCore/qstringview.h:215:5: error: expected unqualified-id before ‘[’ token 215 | Q_REQUIRED_RESULT inline QString toString() const; // defined in qstring.h | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:150:5: error: ‘const_reverse_iterator’ does not name a type 150 | const_reverse_iterator crbegin() const Q_DECL_NOTHROW { return const_reverse_iterator(end()); } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:166:18: error: ‘storage_type’ does not name a type 166 | static const storage_type *castHelper(const Char *str) Q_DECL_NOTHROW | ^~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:217:5: error: expected unqualified-id before ‘[’ token 217 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR qsizetype size() const Q_DECL_NOTHROW { return m_size; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:218:5: error: expected unqualified-id before ‘[’ token 218 | Q_REQUIRED_RESULT const_pointer data() const Q_DECL_NOTHROW { return reinterpret_cast(m_data); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:219:5: error: expected unqualified-id before ‘[’ token 219 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR const storage_type *utf16() const Q_DECL_NOTHROW { return m_data; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:221:5: error: expected unqualified-id before ‘[’ token 221 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QChar operator[](qsizetype n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:228:5: error: expected unqualified-id before ‘[’ token 228 | Q_REQUIRED_RESULT QByteArray toLatin1() const { return QtPrivate::convertToLatin1(*this); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:229:5: error: expected unqualified-id before ‘[’ token 229 | Q_REQUIRED_RESULT QByteArray toUtf8() const { return QtPrivate::convertToUtf8(*this); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:230:5: error: expected unqualified-id before ‘[’ token 230 | Q_REQUIRED_RESULT QByteArray toLocal8Bit() const { return QtPrivate::convertToLocal8Bit(*this); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:231:5: error: expected unqualified-id before ‘[’ token 231 | Q_REQUIRED_RESULT inline QVector toUcs4() const; // defined in qvector.h | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:233:5: error: expected unqualified-id before ‘[’ token 233 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QChar at(qsizetype n) const { return (*this)[n]; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:235:5: error: expected unqualified-id before ‘[’ token 235 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QStringView mid(qsizetype pos) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:237:5: error: expected unqualified-id before ‘[’ token 237 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QStringView mid(qsizetype pos, qsizetype n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:239:5: error: expected unqualified-id before ‘[’ token 239 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QStringView left(qsizetype n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:241:5: error: expected unqualified-id before ‘[’ token 241 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QStringView right(qsizetype n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:243:5: error: expected unqualified-id before ‘[’ token 243 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QStringView chopped(qsizetype n) const | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/mediawikimarkupbuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/mediawikimarkupbuilder.cpp:21: /usr/include/qt5/QtCore/qstringview.h:246:44: error: ‘qsizetype’ has not been declared 246 | Q_DECL_RELAXED_CONSTEXPR void truncate(qsizetype n) | ^~~~~~~~~ In file included from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.cpp:21: /usr/include/qt5/QtCore/qstring.h: In constructor ‘QLatin1String::QLatin1String()’: /usr/include/qt5/QtCore/qstring.h:94:80: error: ‘nullptr’ was not declared in this scope 94 | Q_DECL_CONSTEXPR inline QLatin1String() Q_DECL_NOTHROW : m_size(0), m_data(nullptr) {} | ^~~~~~~ /usr/include/qt5/QtCore/qstringview.h:248:40: error: ‘qsizetype’ has not been declared 248 | Q_DECL_RELAXED_CONSTEXPR void chop(qsizetype n) | ^~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/mediawikimarkupbuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/mediawikimarkupbuilder.cpp:21: /usr/include/qt5/QtCore/qstringview.h:251:5: error: expected unqualified-id before ‘[’ token 251 | Q_REQUIRED_RESULT QStringView trimmed() const Q_DECL_NOTHROW { return QtPrivate::trimmed(*this); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:253:5: error: expected unqualified-id before ‘[’ token 253 | Q_REQUIRED_RESULT int compare(QStringView other, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:256:5: error: expected unqualified-id before ‘[’ token 256 | Q_REQUIRED_RESULT bool startsWith(QStringView s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:258:5: error: expected unqualified-id before ‘[’ token 258 | Q_REQUIRED_RESULT inline bool startsWith(QLatin1String s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:259:5: error: expected unqualified-id before ‘[’ token 259 | Q_REQUIRED_RESULT bool startsWith(QChar c) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:261:5: error: expected unqualified-id before ‘[’ token 261 | Q_REQUIRED_RESULT bool startsWith(QChar c, Qt::CaseSensitivity cs) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/markupdirector.cpp:21: /usr/include/qt5/QtCore/qstring.h:270:5: error: expected unqualified-id before ‘[’ token 270 | Q_REQUIRED_RESULT inline QChar front() const { return at(0); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:264:5: error: expected unqualified-id before ‘[’ token 264 | Q_REQUIRED_RESULT bool endsWith(QStringView s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:266:5: error: expected unqualified-id before ‘[’ token 266 | Q_REQUIRED_RESULT inline bool endsWith(QLatin1String s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:271:5: error: expected unqualified-id before ‘[’ token 271 | Q_REQUIRED_RESULT inline QCharRef front(); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:267:5: error: expected unqualified-id before ‘[’ token 267 | Q_REQUIRED_RESULT bool endsWith(QChar c) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:272:5: error: expected unqualified-id before ‘[’ token 272 | Q_REQUIRED_RESULT inline QChar back() const { return at(size() - 1); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:273:5: error: expected unqualified-id before ‘[’ token 273 | Q_REQUIRED_RESULT inline QCharRef back(); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:269:5: error: expected unqualified-id before ‘[’ token 269 | Q_REQUIRED_RESULT bool endsWith(QChar c, Qt::CaseSensitivity cs) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:275:5: error: expected unqualified-id before ‘[’ token 275 | Q_REQUIRED_RESULT QString arg(qlonglong a, int fieldwidth=0, int base=10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:272:5: error: expected unqualified-id before ‘[’ token 272 | Q_REQUIRED_RESULT bool isRightToLeft() const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:277:5: error: expected unqualified-id before ‘[’ token 277 | Q_REQUIRED_RESULT QString arg(qulonglong a, int fieldwidth=0, int base=10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:279:5: error: expected unqualified-id before ‘[’ token 279 | Q_REQUIRED_RESULT QString arg(long a, int fieldwidth=0, int base=10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:278:5: error: expected unqualified-id before ‘[’ token 278 | Q_REQUIRED_RESULT const_iterator begin() const Q_DECL_NOTHROW { return data(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:281:5: error: expected unqualified-id before ‘[’ token 281 | Q_REQUIRED_RESULT QString arg(ulong a, int fieldwidth=0, int base=10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:283:5: error: expected unqualified-id before ‘[’ token 283 | Q_REQUIRED_RESULT QString arg(int a, int fieldWidth = 0, int base = 10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:279:5: error: expected unqualified-id before ‘[’ token 279 | Q_REQUIRED_RESULT const_iterator end() const Q_DECL_NOTHROW { return data() + size(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:285:5: error: expected unqualified-id before ‘[’ token 285 | Q_REQUIRED_RESULT QString arg(uint a, int fieldWidth = 0, int base = 10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:280:5: error: expected unqualified-id before ‘[’ token 280 | Q_REQUIRED_RESULT const_iterator cbegin() const Q_DECL_NOTHROW { return begin(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:287:5: error: expected unqualified-id before ‘[’ token 287 | Q_REQUIRED_RESULT QString arg(short a, int fieldWidth = 0, int base = 10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:168:35: error: ‘storage_type’ does not name a type 168 | static Q_DECL_CONSTEXPR const storage_type *castHelper(const storage_type *str) Q_DECL_NOTHROW | ^~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:289:5: error: expected unqualified-id before ‘[’ token 289 | Q_REQUIRED_RESULT QString arg(ushort a, int fieldWidth = 0, int base = 10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:281:5: error: expected unqualified-id before ‘[’ token 281 | Q_REQUIRED_RESULT const_iterator cend() const Q_DECL_NOTHROW { return end(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:151:5: error: ‘const_reverse_iterator’ does not name a type 151 | const_reverse_iterator rend() const Q_DECL_NOTHROW { return const_reverse_iterator(begin()); } | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.cpp:21: /usr/include/qt5/QtCore/qstring.h: At global scope: /usr/include/qt5/QtCore/qstring.h:199:1: error: ‘is_integral’ is not a member of ‘std’ 199 | Q_DECLARE_TYPEINFO(QLatin1String, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:199:1: error: expected primary-expression before ‘>’ token 199 | Q_DECLARE_TYPEINFO(QLatin1String, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:199:1: error: ‘::value’ has not been declared 199 | Q_DECLARE_TYPEINFO(QLatin1String, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.cpp:21: /usr/include/qt5/QtCore/qstring.h:207:46: error: ‘bool QtPrivate::isLatin1(QLatin1String)’ should have been declared inside ‘QtPrivate’ 207 | inline bool QtPrivate::isLatin1(QLatin1String) Q_DECL_NOTHROW | ^ /usr/include/qt5/QtCore/qstring.h:213:6: error: no declaration matches ‘bool QStringView::startsWith(QLatin1String, Qt::CaseSensitivity) const’ 213 | bool QStringView::startsWith(QLatin1String s, Qt::CaseSensitivity cs) const Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:213:6: note: no functions named ‘bool QStringView::startsWith(QLatin1String, Qt::CaseSensitivity) const’ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.cpp:21: /usr/include/qt5/QtCore/qstringview.h:104:7: note: ‘class QStringView’ defined here 104 | class QStringView | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.cpp:21: /usr/include/qt5/QtCore/qstring.h:215:6: error: no declaration matches ‘bool QStringView::endsWith(QLatin1String, Qt::CaseSensitivity) const’ 215 | bool QStringView::endsWith(QLatin1String s, Qt::CaseSensitivity cs) const Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:215:6: note: no functions named ‘bool QStringView::endsWith(QLatin1String, Qt::CaseSensitivity) const’ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.cpp:21: /usr/include/qt5/QtCore/qstringview.h:104:7: note: ‘class QStringView’ defined here 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:291:5: error: expected unqualified-id before ‘[’ token 291 | Q_REQUIRED_RESULT QString arg(double a, int fieldWidth = 0, char fmt = 'g', int prec = -1, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:293:5: error: expected unqualified-id before ‘[’ token 293 | Q_REQUIRED_RESULT QString arg(char a, int fieldWidth = 0, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:295:5: error: expected unqualified-id before ‘[’ token 295 | Q_REQUIRED_RESULT QString arg(QChar a, int fieldWidth = 0, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:174:48: error: function definition does not declare parameters 174 | Q_DECL_CONSTEXPR QStringView(std::nullptr_t) Q_DECL_NOTHROW | ^ /usr/include/qt5/QtCore/qstring.h:298:5: error: expected unqualified-id before ‘[’ token 298 | Q_REQUIRED_RESULT QString arg(const QString &a, int fieldWidth = 0, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:282:5: error: expected unqualified-id before ‘[’ token 282 | Q_REQUIRED_RESULT const_reverse_iterator rbegin() const Q_DECL_NOTHROW { return const_reverse_iterator(end()); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:301:5: error: expected unqualified-id before ‘[’ token 301 | Q_REQUIRED_RESULT QString arg(QStringView a, int fieldWidth = 0, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:303:5: error: expected unqualified-id before ‘[’ token 303 | Q_REQUIRED_RESULT QString arg(QLatin1String a, int fieldWidth = 0, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:305:5: error: expected unqualified-id before ‘[’ token 305 | Q_REQUIRED_RESULT QString arg(const QString &a1, const QString &a2) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:306:5: error: expected unqualified-id before ‘[’ token 306 | Q_REQUIRED_RESULT QString arg(const QString &a1, const QString &a2, const QString &a3) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:283:5: error: expected unqualified-id before ‘[’ token 283 | Q_REQUIRED_RESULT const_reverse_iterator rend() const Q_DECL_NOTHROW { return const_reverse_iterator(begin()); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:307:5: error: expected unqualified-id before ‘[’ token 307 | Q_REQUIRED_RESULT QString arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:309:5: error: expected unqualified-id before ‘[’ token 309 | Q_REQUIRED_RESULT QString arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:284:5: error: expected unqualified-id before ‘[’ token 284 | Q_REQUIRED_RESULT const_reverse_iterator crbegin() const Q_DECL_NOTHROW { return rbegin(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:311:5: error: expected unqualified-id before ‘[’ token 311 | Q_REQUIRED_RESULT QString arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:313:5: error: expected unqualified-id before ‘[’ token 313 | Q_REQUIRED_RESULT QString arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:285:5: error: expected unqualified-id before ‘[’ token 285 | Q_REQUIRED_RESULT const_reverse_iterator crend() const Q_DECL_NOTHROW { return rend(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:316:5: error: expected unqualified-id before ‘[’ token 316 | Q_REQUIRED_RESULT QString arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:287:5: error: expected unqualified-id before ‘[’ token 287 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR bool empty() const Q_DECL_NOTHROW { return size() == 0; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:319:5: error: expected unqualified-id before ‘[’ token 319 | Q_REQUIRED_RESULT QString arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:288:5: error: expected unqualified-id before ‘[’ token 288 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QChar front() const { return Q_ASSERT(!empty()), QChar(m_data[0]); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:289:5: error: expected unqualified-id before ‘[’ token 289 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QChar back() const { return Q_ASSERT(!empty()), QChar(m_data[m_size - 1]); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:294:5: error: expected unqualified-id before ‘[’ token 294 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR bool isNull() const Q_DECL_NOTHROW { return !m_data; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:295:5: error: expected unqualified-id before ‘[’ token 295 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR bool isEmpty() const Q_DECL_NOTHROW { return empty(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:296:5: error: expected unqualified-id before ‘[’ token 296 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR int length() const /* not nothrow! */ | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:298:5: error: expected unqualified-id before ‘[’ token 298 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QChar first() const { return front(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:299:5: error: expected unqualified-id before ‘[’ token 299 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QChar last() const { return back(); } | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/bbcodebuilder.cpp:21: /usr/include/qt5/QtCore/qstring.h:270:5: error: expected unqualified-id before ‘[’ token 270 | Q_REQUIRED_RESULT inline QChar front() const { return at(0); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:383:5: error: expected unqualified-id before ‘[’ token 383 | Q_REQUIRED_RESULT QString left(int n) const; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/mediawikimarkupbuilder.h:24, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/mediawikimarkupbuilder.cpp:21: /usr/include/qt5/QtCore/qstringview.h:301:5: error: ‘qsizetype’ does not name a type 301 | qsizetype m_size; | ^~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:271:5: error: expected unqualified-id before ‘[’ token 271 | Q_REQUIRED_RESULT inline QCharRef front(); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:384:5: error: expected unqualified-id before ‘[’ token 384 | Q_REQUIRED_RESULT QString right(int n) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:272:5: error: expected unqualified-id before ‘[’ token 272 | Q_REQUIRED_RESULT inline QChar back() const { return at(size() - 1); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:385:5: error: expected unqualified-id before ‘[’ token 385 | Q_REQUIRED_RESULT QString mid(int position, int n = -1) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:386:5: error: expected unqualified-id before ‘[’ token 386 | Q_REQUIRED_RESULT QString chopped(int n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:273:5: error: expected unqualified-id before ‘[’ token 273 | Q_REQUIRED_RESULT inline QCharRef back(); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:390:5: error: expected unqualified-id before ‘[’ token 390 | Q_REQUIRED_RESULT QStringRef leftRef(int n) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:275:5: error: expected unqualified-id before ‘[’ token 275 | Q_REQUIRED_RESULT QString arg(qlonglong a, int fieldwidth=0, int base=10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:391:5: error: expected unqualified-id before ‘[’ token 391 | Q_REQUIRED_RESULT QStringRef rightRef(int n) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:392:5: error: expected unqualified-id before ‘[’ token 392 | Q_REQUIRED_RESULT QStringRef midRef(int position, int n = -1) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:277:5: error: expected unqualified-id before ‘[’ token 277 | Q_REQUIRED_RESULT QString arg(qulonglong a, int fieldwidth=0, int base=10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:279:5: error: expected unqualified-id before ‘[’ token 279 | Q_REQUIRED_RESULT QString arg(long a, int fieldwidth=0, int base=10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:281:5: error: expected unqualified-id before ‘[’ token 281 | Q_REQUIRED_RESULT QString arg(ulong a, int fieldwidth=0, int base=10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:283:5: error: expected unqualified-id before ‘[’ token 283 | Q_REQUIRED_RESULT QString arg(int a, int fieldWidth = 0, int base = 10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:177:30: error: ‘if_compatible_char’ has not been declared 177 | template = true> | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:285:5: error: expected unqualified-id before ‘[’ token 285 | Q_REQUIRED_RESULT QString arg(uint a, int fieldWidth = 0, int base = 10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:287:5: error: expected unqualified-id before ‘[’ token 287 | Q_REQUIRED_RESULT QString arg(short a, int fieldWidth = 0, int base = 10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:177:48: error: expected ‘>’ before ‘<’ token 177 | template = true> | ^ /usr/include/qt5/QtCore/qstring.h:289:5: error: expected unqualified-id before ‘[’ token 289 | Q_REQUIRED_RESULT QString arg(ushort a, int fieldWidth = 0, int base = 10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:291:5: error: expected unqualified-id before ‘[’ token 291 | Q_REQUIRED_RESULT QString arg(double a, int fieldWidth = 0, char fmt = 'g', int prec = -1, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:293:5: error: expected unqualified-id before ‘[’ token 293 | Q_REQUIRED_RESULT QString arg(char a, int fieldWidth = 0, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:51: error: ‘qsizetype’ has not been declared 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:152:5: error: ‘const_reverse_iterator’ does not name a type 152 | const_reverse_iterator crend() const Q_DECL_NOTHROW { return const_reverse_iterator(begin()); } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:398:5: error: expected unqualified-id before ‘[’ token 398 | Q_REQUIRED_RESULT bool startsWith(QStringView s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:182:30: error: ‘if_compatible_char’ has not been declared 182 | template = true> | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:182:48: error: expected ‘>’ before ‘<’ token 182 | template = true> | ^ /usr/include/qt5/QtCore/qstringview.h:193:31: error: ‘if_compatible_array’ has not been declared 193 | template = true> | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.h:31, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.cpp:21: /usr/include/qt5/QtCore/qstring.h:162:5: error: expected unqualified-id before ‘[’ token 162 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QLatin1String chopped(int n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:193:50: error: expected ‘>’ before ‘<’ token 193 | template = true> | ^ /usr/include/qt5/QtCore/qstring.h:407:5: error: expected unqualified-id before ‘[’ token 407 | Q_REQUIRED_RESULT bool endsWith(QStringView s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:170:5: error: expected unqualified-id before ‘[’ token 170 | Q_REQUIRED_RESULT QLatin1String trimmed() const Q_DECL_NOTHROW { return QtPrivate::trimmed(*this); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:197:33: error: ‘if_compatible_pointer’ has not been declared 197 | template = true> | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:197:54: error: expected ‘>’ before ‘<’ token 197 | template = true> | ^ /usr/include/qt5/QtCore/qstring.h:415:5: error: expected unqualified-id before ‘[’ token 415 | Q_REQUIRED_RESULT QString leftJustified(int width, QChar fill = QLatin1Char(' '), bool trunc = false) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:416:5: error: expected unqualified-id before ‘[’ token 416 | Q_REQUIRED_RESULT QString rightJustified(int width, QChar fill = QLatin1Char(' '), bool trunc = false) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:450:5: error: expected unqualified-id before ‘[’ token 450 | Q_REQUIRED_RESULT QString toLower() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:198:22: error: ‘template > QStringView::QStringView(const Pointer&)’ cannot be overloaded with ‘template > QStringView::QStringView(const Array&)’ 198 | Q_DECL_CONSTEXPR QStringView(const Pointer &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:451:5: error: expected unqualified-id before ‘[’ token 451 | Q_REQUIRED_RESULT QString toUpper() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:452:5: error: expected unqualified-id before ‘[’ token 452 | Q_REQUIRED_RESULT QString toCaseFolded() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: previous declaration ‘template > QStringView::QStringView(const Array&)’ 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:302:11: error: ‘storage_type’ does not name a type 302 | const storage_type *m_data; | ^~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:206:32: error: ‘if_compatible_qstring_like’ has not been declared 206 | template = true> | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:206:58: error: expected ‘>’ before ‘<’ token 206 | template = true> | ^ /usr/include/qt5/QtCore/qstringview.h:207:5: error: ‘template > QStringView::QStringView(const String&)’ cannot be overloaded with ‘template > QStringView::QStringView(const Array&)’ 207 | QStringView(const String &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h: In constructor ‘QStringView::QStringView()’: /usr/include/qt5/QtCore/qstringview.h:173:11: error: class ‘QStringView’ does not have any field named ‘m_size’ 173 | : m_size(0), m_data(nullptr) {} | ^~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: previous declaration ‘template > QStringView::QStringView(const Array&)’ 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:173:22: error: class ‘QStringView’ does not have any field named ‘m_data’ 173 | : m_size(0), m_data(nullptr) {} | ^~~~~~ /usr/include/qt5/QtCore/qstringview.h:211:40: error: ‘if_compatible_string’ has not been declared 211 | template = true> | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:211:60: error: expected ‘>’ before ‘<’ token 211 | template = true> | ^ /usr/include/qt5/QtCore/qstringview.h:212:5: error: ‘template > QStringView::QStringView(const StdBasicString&)’ cannot be overloaded with ‘template > QStringView::QStringView(const Array&)’ 212 | QStringView(const StdBasicString &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: previous declaration ‘template > QStringView::QStringView(const Array&)’ 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/texthtmlbuilder.h:28, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/texthtmlbuilder.cpp:21: /usr/include/qt5/QtCore/qstringview.h:215:5: error: expected unqualified-id before ‘[’ token 215 | Q_REQUIRED_RESULT inline QString toString() const; // defined in qstring.h | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:295:5: error: expected unqualified-id before ‘[’ token 295 | Q_REQUIRED_RESULT QString arg(QChar a, int fieldWidth = 0, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:453:5: error: expected unqualified-id before ‘[’ token 453 | Q_REQUIRED_RESULT QString trimmed() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:217:5: error: expected unqualified-id before ‘[’ token 217 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR qsizetype size() const Q_DECL_NOTHROW { return m_size; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:218:5: error: expected unqualified-id before ‘[’ token 218 | Q_REQUIRED_RESULT const_pointer data() const Q_DECL_NOTHROW { return reinterpret_cast(m_data); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:454:5: error: expected unqualified-id before ‘[’ token 454 | Q_REQUIRED_RESULT QString simplified() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:219:5: error: expected unqualified-id before ‘[’ token 219 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR const storage_type *utf16() const Q_DECL_NOTHROW { return m_data; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:221:5: error: expected unqualified-id before ‘[’ token 221 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QChar operator[](qsizetype n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:456:5: error: expected unqualified-id before ‘[’ token 456 | Q_REQUIRED_RESULT QString toHtmlEscaped() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:228:5: error: expected unqualified-id before ‘[’ token 228 | Q_REQUIRED_RESULT QByteArray toLatin1() const { return QtPrivate::convertToLatin1(*this); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:229:5: error: expected unqualified-id before ‘[’ token 229 | Q_REQUIRED_RESULT QByteArray toUtf8() const { return QtPrivate::convertToUtf8(*this); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:230:5: error: expected unqualified-id before ‘[’ token 230 | Q_REQUIRED_RESULT QByteArray toLocal8Bit() const { return QtPrivate::convertToLocal8Bit(*this); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:231:5: error: expected unqualified-id before ‘[’ token 231 | Q_REQUIRED_RESULT inline QVector toUcs4() const; // defined in qvector.h | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:233:5: error: expected unqualified-id before ‘[’ token 233 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QChar at(qsizetype n) const { return (*this)[n]; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:235:5: error: expected unqualified-id before ‘[’ token 235 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QStringView mid(qsizetype pos) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:237:5: error: expected unqualified-id before ‘[’ token 237 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QStringView mid(qsizetype pos, qsizetype n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:239:5: error: expected unqualified-id before ‘[’ token 239 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QStringView left(qsizetype n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:241:5: error: expected unqualified-id before ‘[’ token 241 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QStringView right(qsizetype n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:243:5: error: expected unqualified-id before ‘[’ token 243 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QStringView chopped(qsizetype n) const | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/texthtmlbuilder.h:28, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/texthtmlbuilder.cpp:21: /usr/include/qt5/QtCore/qstringview.h:246:44: error: ‘qsizetype’ has not been declared 246 | Q_DECL_RELAXED_CONSTEXPR void truncate(qsizetype n) | ^~~~~~~~~ In file included from /usr/include/qt5/QtCore/QString:1, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/abstractmarkupbuilder.h:26, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.h:31, from /var/tmp/portage/dev-libs/grantlee-5.1.0/work/grantlee-5.1.0/textdocument/lib/plaintextmarkupbuilder.cpp:21: /usr/include/qt5/QtCore/qstring.h: In constructor ‘QLatin1String::QLatin1String()’: /usr/include/qt5/QtCore/qstring.h:94:80: error: ‘nullptr’ was not declared in this scope 94 | Q_DECL_CONSTEXPR inline