<86>Aug 15 16:26:39 userdel[245793]: delete user 'rooter' <86>Aug 15 16:26:39 userdel[245793]: removed group 'rooter' owned by 'rooter' <86>Aug 15 16:26:39 userdel[245793]: removed shadow group 'rooter' owned by 'rooter' <86>Aug 15 16:26:39 groupadd[245802]: group added to /etc/group: name=rooter, GID=681 <86>Aug 15 16:26:39 groupadd[245802]: group added to /etc/gshadow: name=rooter <86>Aug 15 16:26:39 groupadd[245802]: new group: name=rooter, GID=681 <86>Aug 15 16:26:39 useradd[245807]: new user: name=rooter, UID=681, GID=681, home=/root, shell=/bin/bash <86>Aug 15 16:26:39 userdel[245862]: delete user 'builder' <86>Aug 15 16:26:39 userdel[245862]: removed group 'builder' owned by 'builder' <86>Aug 15 16:26:39 userdel[245862]: removed shadow group 'builder' owned by 'builder' <86>Aug 15 16:26:39 groupadd[245886]: group added to /etc/group: name=builder, GID=682 <86>Aug 15 16:26:39 groupadd[245886]: group added to /etc/gshadow: name=builder <86>Aug 15 16:26:39 groupadd[245886]: new group: name=builder, GID=682 <86>Aug 15 16:26:39 useradd[245890]: new user: name=builder, UID=682, GID=682, home=/usr/src, shell=/bin/bash /usr/src/in/srpm/libmsgpack-3.2.1-alt1.src.rpm: bad symbols in the license tag: , warning: Macro %cmake_insource not found <13>Aug 15 16:26:44 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091678 installed <13>Aug 15 16:26:44 rpmi: libuv-1.38.1-alt1 sisyphus+255705.100.1.1 1596307638 installed <13>Aug 15 16:26:44 rpmi: libjsoncpp19-1.8.4-alt5 sisyphus+243670.100.1.1 1577521267 installed <13>Aug 15 16:26:44 rpmi: libexpat-2.2.9-alt1 sisyphus+252464.200.2.1 1590958865 installed <13>Aug 15 16:26:44 rpmi: libidn2-2.3.0-alt1 sisyphus+240846.100.1.2 1573870475 installed <13>Aug 15 16:26:44 rpmi: libe2fs-1.44.6-alt1 sisyphus+224154.100.1.1 1552091678 installed <13>Aug 15 16:26:44 rpmi: libgtest0-1.10.0-alt1 sisyphus+254111.100.1.1 1593210157 installed <13>Aug 15 16:26:44 rpmi: gcc-c++-common-1.4.25-alt1 sisyphus+255450.100.1.1 1595851517 installed <13>Aug 15 16:26:45 rpmi: libstdc++9-devel-9.3.1-alt1 sisyphus+251917.40.3.1 1589812684 installed <13>Aug 15 16:26:47 rpmi: gcc9-c++-9.3.1-alt1 sisyphus+251917.40.3.1 1589812684 installed <13>Aug 15 16:26:47 rpmi: rpm-macros-cmake-3.18.1-alt1 sisyphus+255568.100.1.1 1596137401 installed <13>Aug 15 16:26:47 rpmi: rmt-0.4b44-alt2 sisyphus+250767.100.1.1 1588080613 installed <13>Aug 15 16:26:47 rpmi: dump-0.4b44-alt2 sisyphus+250767.100.1.1 1588080613 installed <13>Aug 15 16:26:47 rpmi: cmake-modules-3.18.1-alt1 sisyphus+255568.100.1.1 1596137358 installed <13>Aug 15 16:26:47 rpmi: librhash-1.3.5-alt2 1505156279 installed <13>Aug 15 16:26:47 rpmi: publicsuffix-list-dafsa-20200720-alt1 sisyphus+255208.100.1.1 1595349910 installed <13>Aug 15 16:26:47 rpmi: libpsl-0.21.1-alt1 sisyphus+255206.100.1.1 1595348938 installed <13>Aug 15 16:26:47 rpmi: libnghttp2-1.41.0-alt1 sisyphus+253680.100.1.1 1592642271 installed <13>Aug 15 16:26:47 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994919 installed <13>Aug 15 16:26:47 rpmi: liblmdb-0.9.23-alt1 sisyphus+225277.100.2.1 1553001679 installed <13>Aug 15 16:26:47 rpmi: libkeyutils-1.6.1-alt1 sisyphus+256015.100.1.1 1596820124 installed <13>Aug 15 16:26:47 rpmi: libbrotlicommon-1.0.7-alt1 sisyphus+226738.100.2.1 1554554568 installed <13>Aug 15 16:26:47 rpmi: libbrotlidec-1.0.7-alt1 sisyphus+226738.100.2.1 1554554568 installed <13>Aug 15 16:26:47 rpmi: libnettle8-3.6-alt1 sisyphus+251637.100.3.1 1590060253 installed <13>Aug 15 16:26:47 rpmi: libarchive13-3.4.0-alt1 sisyphus+251637.300.3.1 1590062207 installed <13>Aug 15 16:26:47 rpmi: libp11-kit-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>Aug 15 16:26:47 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825062 installed <13>Aug 15 16:26:47 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Aug 15 16:26:47 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Aug 15 16:26:47 rpmi: ca-certificates-2020.06.29-alt1 sisyphus+254237.300.1.1 1593450881 installed <13>Aug 15 16:26:47 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Aug 15 16:26:47 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>Aug 15 16:26:47 rpmi: libcrypto1.1-1.1.1g-alt1 sisyphus+249982.60.8.1 1587743711 installed <13>Aug 15 16:26:47 rpmi: libssl1.1-1.1.1g-alt1 sisyphus+249982.60.8.1 1587743711 installed <86>Aug 15 16:26:47 groupadd[263439]: group added to /etc/group: name=_keytab, GID=499 <86>Aug 15 16:26:47 groupadd[263439]: group added to /etc/gshadow: name=_keytab <86>Aug 15 16:26:47 groupadd[263439]: new group: name=_keytab, GID=499 <13>Aug 15 16:26:48 rpmi: libkrb5-1.18.2-alt2 sisyphus+254565.100.4.1 1594375666 installed <86>Aug 15 16:26:48 groupadd[263652]: group added to /etc/group: name=sasl, GID=498 <86>Aug 15 16:26:48 groupadd[263652]: group added to /etc/gshadow: name=sasl <86>Aug 15 16:26:48 groupadd[263652]: new group: name=sasl, GID=498 <13>Aug 15 16:26:48 rpmi: libsasl2-3-2.1.27-alt2.1 sisyphus+255909.100.2.1 1597199456 installed <13>Aug 15 16:26:48 rpmi: libldap-2.4.48-alt3 sisyphus+238816.100.1.1 1570449022 installed <13>Aug 15 16:26:48 rpmi: libcurl-7.71.1-alt1 sisyphus+254403.100.1.1 1593776636 installed <13>Aug 15 16:26:49 rpmi: cmake-3.18.1-alt1 sisyphus+255568.100.1.1 1596137401 installed <13>Aug 15 16:26:49 rpmi: ctest-3.18.1-alt1 sisyphus+255568.100.1.1 1596137401 installed <13>Aug 15 16:26:49 rpmi: gcc-c++-9-alt2 sisyphus+251923.100.2.2 1589881401 installed <13>Aug 15 16:26:49 rpmi: libgtest-devel-1.10.0-alt1 sisyphus+254111.100.1.1 1593210157 installed <13>Aug 15 16:26:49 rpmi: zlib-devel-1.2.11-alt1 sisyphus+221902.6000.4.1 1550601058 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/libmsgpack-3.2.1-alt1.nosrc.rpm Installing libmsgpack-3.2.1-alt1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.99929 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf libmsgpack-3.2.1 + echo 'Source #0 (libmsgpack-3.2.1.tar):' Source #0 (libmsgpack-3.2.1.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/libmsgpack-3.2.1.tar + cd libmsgpack-3.2.1 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (msgpack-3.2.0-alt-fix-vrefbuffer-use-on-ppc64le.patch):' Patch #0 (msgpack-3.2.0-alt-fix-vrefbuffer-use-on-ppc64le.patch): + /usr/bin/patch -p2 patching file include/msgpack/v1/vrefbuffer.hpp + subst 's|/lib|/lib|g' CMakeLists.txt + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.99929 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd libmsgpack-3.2.1 + cmake . -DCMAKE_SKIP_RPATH:BOOL=ON -DCMAKE_SKIP_INSTALL_RPATH:BOOL=yes '-DCMAKE_C_FLAGS:STRING=-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' '-DCMAKE_CXX_FLAGS:STRING=-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' '-DCMAKE_Fortran_FLAGS:STRING=-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' -DCMAKE_INSTALL_PREFIX=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX= -DLIB_DESTINATION=lib -DCMAKE_INSTALL_LIBDIR=lib -DBUILD_SHARED_LIBS=ON -- The C compiler identification is GNU 9.3.1 -- The CXX compiler identification is GNU 9.3.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - 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/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found GTest: /usr/lib/libgtest.so -- Found ZLIB: /usr/lib/libz.so (found version "1.2.11") -- Found Threads: TRUE -- Performing Test MSGPACK_ENABLE_GCC_CXX_ATOMIC -- Performing Test MSGPACK_ENABLE_GCC_CXX_ATOMIC - Failed -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_Fortran_FLAGS CMAKE_SKIP_INSTALL_RPATH INCLUDE_INSTALL_DIR LIB_DESTINATION LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /usr/src/RPM/BUILD/libmsgpack-3.2.1 + make -j8 make[2]: Entering directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' Scanning dependencies of target msgpackc make[2]: Leaving directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' make[2]: Entering directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' Scanning dependencies of target class_intrusive make[2]: Leaving directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' make[2]: Entering directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' Scanning dependencies of target simple make[2]: Leaving directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' make[2]: Entering directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' Scanning dependencies of target stream make[2]: Leaving directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' make[2]: Entering directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' Scanning dependencies of target class_intrusive_map make[2]: Leaving directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' make[2]: Entering directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' Scanning dependencies of target multi_file make[2]: Leaving directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' make[2]: Entering directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' Scanning dependencies of target enum make[2]: Leaving directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' make[2]: Entering directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' Scanning dependencies of target class_non_intrusive make[2]: Leaving directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' make[2]: Entering directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' [ 1%] Building C object CMakeFiles/msgpackc.dir/src/objectc.c.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' make[2]: Entering directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' [ 5%] Building CXX object example/cpp03/CMakeFiles/enum.dir/enum.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' make[2]: Entering directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' [ 7%] Building CXX object test/CMakeFiles/multi_file.dir/multi_file1.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' make[2]: Entering directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' [ 10%] Linking CXX executable enum make[2]: Leaving directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' make[1]: Entering directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' [ 11%] Built target enum make[1]: Leaving directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' make[2]: Entering directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' Scanning dependencies of target custom make[2]: Leaving directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' make[2]: Entering directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' [ 9%] Building C object CMakeFiles/msgpackc.dir/src/unpack.c.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' make[2]: Entering directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' [ 13%] Building C object CMakeFiles/msgpackc.dir/src/version.c.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' make[2]: Entering directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' [ 11%] Building CXX object test/CMakeFiles/multi_file.dir/multi_file2.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' make[2]: Entering directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' [ 14%] Building C object CMakeFiles/msgpackc.dir/src/vrefbuffer.c.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' make[2]: Entering directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' [ 15%] Linking CXX executable multi_file make[2]: Leaving directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' make[1]: Entering directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' [ 15%] Built target multi_file make[1]: Leaving directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' make[2]: Entering directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' Scanning dependencies of target map_based_versionup make[2]: Leaving directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' make[2]: Entering directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' [ 6%] Building CXX object example/cpp03/CMakeFiles/class_intrusive_map.dir/class_intrusive_map.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' make[2]: Entering directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' [ 16%] Building C object CMakeFiles/msgpackc.dir/src/zone.c.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' make[2]: Entering directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' [ 18%] Linking CXX executable class_intrusive_map make[2]: Leaving directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' make[1]: Entering directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' [ 19%] Built target class_intrusive_map make[1]: Leaving directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' make[2]: Entering directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' Scanning dependencies of target protocol_new make[2]: Leaving directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' make[2]: Entering directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' [ 19%] Linking C shared library libmsgpackc.so make[2]: Leaving directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' make[1]: Entering directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' [ 20%] Built target msgpackc make[1]: Leaving directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' make[2]: Entering directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' Scanning dependencies of target reuse_zone make[2]: Leaving directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' make[2]: Entering directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' [ 2%] Building CXX object example/cpp03/CMakeFiles/simple.dir/simple.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' make[2]: Entering directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' [ 22%] Linking CXX executable simple make[2]: Leaving directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' make[1]: Entering directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' [ 22%] Built target simple make[1]: Leaving directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' make[2]: Entering directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' Scanning dependencies of target visitor make[2]: Leaving directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' make[2]: Entering directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' [ 17%] Building CXX object example/cpp03/CMakeFiles/map_based_versionup.dir/map_based_versionup.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' make[2]: Entering directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' [ 24%] Linking CXX executable map_based_versionup make[2]: Leaving directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' make[1]: Entering directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' [ 24%] Built target map_based_versionup make[1]: Leaving directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' make[2]: Entering directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' Scanning dependencies of target user_class make[2]: Leaving directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' make[2]: Entering directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' [ 20%] Building CXX object example/cpp03/CMakeFiles/protocol_new.dir/protocol_new.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' make[2]: Entering directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' [ 26%] Linking CXX executable protocol_new make[2]: Leaving directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' make[1]: Entering directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' [ 26%] Built target protocol_new make[1]: Leaving directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' make[2]: Entering directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' Scanning dependencies of target streaming_c make[2]: Leaving directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' make[2]: Entering directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' [ 27%] Building CXX object test/CMakeFiles/streaming_c.dir/streaming_c.cpp.o In file included from /usr/include/c++/9/type_traits:35, from /usr/include/gtest/gtest.h:59, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/streaming_c.cpp:6: /usr/include/c++/9/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/gtest/internal/gtest-internal.h:40, from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/streaming_c.cpp:6: /usr/include/gtest/internal/gtest-port.h:835:12: error: 'std::get' has not been declared 835 | using std::get; | ^~~ /usr/include/gtest/internal/gtest-port.h:836:12: error: 'std::make_tuple' has not been declared 836 | using std::make_tuple; | ^~~~~~~~~~ /usr/include/gtest/internal/gtest-port.h:837:12: error: 'std::tuple' has not been declared 837 | using std::tuple; | ^~~~~ /usr/include/gtest/internal/gtest-port.h:838:12: error: 'std::tuple_element' has not been declared 838 | using std::tuple_element; | ^~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-port.h:839:12: error: 'std::tuple_size' has not been declared 839 | using std::tuple_size; | ^~~~~~~~~~ /usr/include/gtest/internal/gtest-port.h: In function 'void testing::internal::FlushInfoLog()': /usr/include/gtest/internal/gtest-port.h:972:37: error: 'nullptr' was not declared in this scope 972 | inline void FlushInfoLog() { fflush(nullptr); } | ^~~~~~~ /usr/include/gtest/internal/gtest-port.h: In function 'To testing::internal::DownCast_(From*)': /usr/include/gtest/internal/gtest-port.h:1082:17: error: 'nullptr' was not declared in this scope 1082 | const To to = nullptr; | ^~~~~~~ /usr/include/gtest/internal/gtest-port.h:1088:3: error: 'nullptr' was not declared in this scope 1088 | GTEST_CHECK_(f == nullptr || dynamic_cast(f) != nullptr); | ^~~~~~~~~~~~ /usr/include/gtest/internal/gtest-port.h: In function 'void testing::internal::SleepMilliseconds(int)': /usr/include/gtest/internal/gtest-port.h:1157:20: error: 'nullptr' was not declared in this scope 1157 | nanosleep(&time, nullptr); | ^~~~~~~ /usr/include/gtest/internal/gtest-port.h: In constructor 'testing::internal::Notification::Notification()': /usr/include/gtest/internal/gtest-port.h:1175:5: error: 'nullptr' was not declared in this scope 1175 | GTEST_CHECK_POSIX_SUCCESS_(pthread_mutex_init(&mutex_, nullptr)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-port.h: In function 'void* testing::internal::ThreadFuncWithCLinkage(void*)': /usr/include/gtest/internal/gtest-port.h:1285:10: error: 'nullptr' was not declared in this scope 1285 | return nullptr; | ^~~~~~~ /usr/include/gtest/internal/gtest-port.h: In constructor 'testing::internal::ThreadWithParam::ThreadWithParam(void (*)(T), T, testing::internal::Notification*)': /usr/include/gtest/internal/gtest-port.h:1313:5: error: 'nullptr' was not declared in this scope 1313 | GTEST_CHECK_POSIX_SUCCESS_( | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-port.h: In member function 'void testing::internal::ThreadWithParam::Join()': /usr/include/gtest/internal/gtest-port.h:1320:7: error: 'nullptr' was not declared in this scope 1320 | GTEST_CHECK_POSIX_SUCCESS_(pthread_join(thread_, nullptr)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-port.h: In member function 'void testing::internal::ThreadWithParam::Run()': /usr/include/gtest/internal/gtest-port.h:1326:30: error: 'nullptr' was not declared in this scope 1326 | if (thread_can_start_ != nullptr) thread_can_start_->WaitForNotification(); | ^~~~~~~ /usr/include/gtest/internal/gtest-port.h: In constructor 'testing::internal::Mutex::Mutex()': /usr/include/gtest/internal/gtest-port.h:1690:5: error: 'nullptr' was not declared in this scope 1690 | GTEST_CHECK_POSIX_SUCCESS_(pthread_mutex_init(&mutex_, nullptr)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-port.h: At global scope: /usr/include/gtest/internal/gtest-port.h:1832:8: error: 'unique_ptr' in namespace 'std' does not name a template type 1832 | std::unique_ptr default_factory_; | ^~~~~~~~~~ /usr/include/gtest/internal/gtest-port.h:1832:3: note: 'std::unique_ptr' is only available from C++11 onwards 1832 | std::unique_ptr default_factory_; | ^~~ /usr/include/gtest/internal/gtest-port.h: In constructor 'testing::internal::ThreadLocal::ThreadLocal()': /usr/include/gtest/internal/gtest-port.h:1743:28: error: class 'testing::internal::ThreadLocal' does not have any field named 'default_factory_' 1743 | : key_(CreateKey()), default_factory_(new DefaultValueHolderFactory()) {} | ^~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-port.h: In constructor 'testing::internal::ThreadLocal::ThreadLocal(const T&)': /usr/include/gtest/internal/gtest-port.h:1746:9: error: class 'testing::internal::ThreadLocal' does not have any field named 'default_factory_' 1746 | default_factory_(new InstanceValueHolderFactory(value)) {} | ^~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-port.h: In member function 'T* testing::internal::ThreadLocal::GetOrCreateValue() const': /usr/include/gtest/internal/gtest-port.h:1788:19: error: 'nullptr' was not declared in this scope 1788 | if (holder != nullptr) { | ^~~~~~~ /usr/include/gtest/internal/gtest-port.h:1792:37: error: 'default_factory_' was not declared in this scope 1792 | ValueHolder* const new_holder = default_factory_->MakeNewHolder(); | ^~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-port.h: At global scope: /usr/include/gtest/internal/gtest-port.h:1891:1: error: expected unqualified-id before 'using' 1891 | using bool_constant = std::integral_constant; | ^~~~~ /usr/include/gtest/internal/gtest-port.h:2070:1: error: expected unqualified-id before '[' token 2070 | [[noreturn]] inline void Abort() { abort(); } | ^ In file included from /usr/include/gtest/internal/gtest-internal.h:64, from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/streaming_c.cpp:6: /usr/include/gtest/gtest-message.h:190:14: error: 'unique_ptr' in namespace 'std' does not name a template type 190 | const std::unique_ptr< ::std::stringstream> ss_; | ^~~~~~~~~~ /usr/include/gtest/gtest-message.h:190:9: note: 'std::unique_ptr' is only available from C++11 onwards 190 | const std::unique_ptr< ::std::stringstream> ss_; | ^~~ /usr/include/gtest/gtest-message.h: In copy constructor 'testing::Message::Message(const testing::Message&)': /usr/include/gtest/gtest-message.h:101:33: error: class 'testing::Message' does not have any field named 'ss_' 101 | Message(const Message& msg) : ss_(new ::std::stringstream) { // NOLINT | ^~~ /usr/include/gtest/gtest-message.h:102:6: error: 'ss_' was not declared in this scope 102 | *ss_ << msg.GetString(); | ^~~ /usr/include/gtest/gtest-message.h: In constructor 'testing::Message::Message(const char*)': /usr/include/gtest/gtest-message.h:106:39: error: class 'testing::Message' does not have any field named 'ss_' 106 | explicit Message(const char* str) : ss_(new ::std::stringstream) { | ^~~ /usr/include/gtest/gtest-message.h:107:6: error: 'ss_' was not declared in this scope 107 | *ss_ << str; | ^~~ /usr/include/gtest/gtest-message.h: In member function 'testing::Message& testing::Message::operator<<(const T&)': /usr/include/gtest/gtest-message.h:128:6: error: 'ss_' was not declared in this scope 128 | *ss_ << val; | ^~~ /usr/include/gtest/gtest-message.h: In member function 'testing::Message& testing::Message::operator<<(T* const&)': /usr/include/gtest/gtest-message.h:147:20: error: 'nullptr' was not declared in this scope 147 | if (pointer == nullptr) { | ^~~~~~~ /usr/include/gtest/gtest-message.h:148:8: error: 'ss_' was not declared in this scope 148 | *ss_ << "(null)"; | ^~~ /usr/include/gtest/gtest-message.h:150:8: error: 'ss_' was not declared in this scope 150 | *ss_ << pointer; | ^~~ /usr/include/gtest/gtest-message.h: In member function 'testing::Message& testing::Message::operator<<(testing::Message::BasicNarrowIoManip)': /usr/include/gtest/gtest-message.h:162:6: error: 'ss_' was not declared in this scope 162 | *ss_ << val; | ^~~ In file included from /usr/include/gtest/internal/gtest-internal.h:67, from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/streaming_c.cpp:6: /usr/include/gtest/internal/gtest-type-util.h: In function 'std::string testing::internal::GetTypeName()': /usr/include/gtest/internal/gtest-type-util.h:91:52: error: 'nullptr' was not declared in this scope 91 | char* const readable_name = __cxa_demangle(name, nullptr, nullptr, &status); | ^~~~~~~ In file included from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/streaming_c.cpp:6: /usr/include/gtest/internal/gtest-internal.h: At global scope: /usr/include/gtest/internal/gtest-internal.h:121:27: error: 'enable_if' in namespace 'std' does not name a template type 121 | typename std::enable_if::value, | ^~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:121:36: error: expected '>' before '<' token 121 | typename std::enable_if::value, | ^ /usr/include/gtest/internal/gtest-internal.h:477:7: error: expected nested-name-specifier before 'SetUpTestSuiteFunc' 477 | using SetUpTestSuiteFunc = void (*)(); | ^~~~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:478:7: error: expected nested-name-specifier before 'TearDownTestSuiteFunc' 478 | using TearDownTestSuiteFunc = void (*)(); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:492:7: error: expected nested-name-specifier before 'SetUpTearDownSuiteFuncType' 492 | using SetUpTearDownSuiteFuncType = void (*)(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:494:8: error: 'SetUpTearDownSuiteFuncType' does not name a type 494 | inline SetUpTearDownSuiteFuncType GetNotDefaultOrNull( | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:506:9: error: expected nested-name-specifier before 'Test' 506 | using Test = | ^~~~ /usr/include/gtest/internal/gtest-internal.h:509:10: error: 'SetUpTearDownSuiteFuncType' does not name a type 509 | static SetUpTearDownSuiteFuncType GetSetUpCaseOrSuite(const char* filename, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:524:10: error: 'SetUpTearDownSuiteFuncType' does not name a type 524 | static SetUpTearDownSuiteFuncType GetTearDownCaseOrSuite(const char* filename, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:561:30: error: 'SetUpTestSuiteFunc' has not been declared 561 | TypeId fixture_class_id, SetUpTestSuiteFunc set_up_tc, | ^~~~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:562:5: error: 'TearDownTestSuiteFunc' has not been declared 562 | TearDownTestSuiteFunc tear_down_tc, TestFactoryBase* factory); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h: In member function 'bool testing::internal::TypedTestSuitePState::AddTestName(const char*, int, const char*, const char*)': /usr/include/gtest/internal/gtest-internal.h:590:14: error: 'Abort' is not a member of 'testing::internal::posix' 590 | posix::Abort(); | ^~~~~ /usr/include/gtest/internal/gtest-internal.h: At global scope: /usr/include/gtest/internal/gtest-internal.h:622:7: error: expected nested-name-specifier before 'TypedTestCasePState' 622 | using TypedTestCasePState = TypedTestSuitePState; | ^~~~~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h: In function 'const char* testing::internal::SkipComma(const char*)': /usr/include/gtest/internal/gtest-internal.h:631:16: error: 'nullptr' was not declared in this scope 631 | if (comma == nullptr) { | ^~~~~~~ /usr/include/gtest/internal/gtest-internal.h: In function 'std::string testing::internal::GetPrefixUntilComma(const char*)': /usr/include/gtest/internal/gtest-internal.h:642:19: error: 'nullptr' was not declared in this scope 642 | return comma == nullptr ? str : std::string(str, comma); | ^~~~~~~ /usr/include/gtest/internal/gtest-internal.h: In static member function 'static bool testing::internal::TypeParameterizedTest::Register(const char*, const testing::internal::CodeLocation&, const char*, const char*, int, const std::vector >&)': /usr/include/gtest/internal/gtest-internal.h:711:9: error: 'nullptr' was not declared in this scope 711 | nullptr, // No value parameter. | ^~~~~~~ /usr/include/gtest/internal/gtest-internal.h: In static member function 'static bool testing::internal::TypeParameterizedTestSuite::Register(const char*, testing::internal::CodeLocation, const testing::internal::TypedTestSuitePState*, const char*, const char*, const std::vector >&)': /usr/include/gtest/internal/gtest-internal.h:763:14: error: 'Abort' is not a member of 'testing::internal::posix' 763 | posix::Abort(); | ^~~~~ /usr/include/gtest/internal/gtest-internal.h: At global scope: /usr/include/gtest/internal/gtest-internal.h:858:27: error: expected template-name before '<' token 858 | : public bool_constant< | ^ /usr/include/gtest/internal/gtest-internal.h:858:27: error: expected '{' before '<' token /usr/include/gtest/internal/gtest-internal.h:887:28: error: expected type-specifier before 'decltype' 887 | class Iterator = decltype(::std::declval().begin()), | ^~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:887:28: error: expected '>' before 'decltype' /usr/include/gtest/internal/gtest-internal.h:892:44: error: default template arguments may not be used in function templates without '-std=c++11' or '-std=gnu++11' 892 | IsContainer IsContainerTest(int /* dummy */) { | ^ /usr/include/gtest/internal/gtest-internal.h:915:44: error: 'nullptr' was not declared in this scope 915 | static const bool value = sizeof(test(nullptr, nullptr)) == sizeof(int); | ^~~~~~~ /usr/include/gtest/internal/gtest-internal.h:915:53: error: 'nullptr' was not declared in this scope 915 | static const bool value = sizeof(test(nullptr, nullptr)) == sizeof(int); | ^~~~~~~ /usr/include/gtest/internal/gtest-internal.h:926:68: error: expected class-name before '{' token 926 | struct IsRecursiveContainerImpl : public std::false_type {}; | ^ /usr/include/gtest/internal/gtest-internal.h:934:9: error: expected nested-name-specifier before 'value_type' 934 | using value_type = decltype(*std::declval()); | ^~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:935:9: error: expected nested-name-specifier before 'type' 935 | using type = | ^~~~ /usr/include/gtest/internal/gtest-internal.h:1072:17: error: expected identifier before '!' token 1072 | static_assert(!std::is_const::value, "Type must not be const"); | ^ /usr/include/gtest/internal/gtest-internal.h:1072:17: error: expected ',' or '...' before '!' token /usr/include/gtest/internal/gtest-internal.h:1073:17: error: expected identifier before '!' token 1073 | static_assert(!std::is_reference::value, | ^ /usr/include/gtest/internal/gtest-internal.h:1073:17: error: expected ',' or '...' before '!' token /usr/include/gtest/internal/gtest-internal.h:1073:3: error: 'int testing::internal::NativeArray::static_assert(int)' cannot be overloaded with 'int testing::internal::NativeArray::static_assert(int)' 1073 | static_assert(!std::is_reference::value, | ^~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:1072:3: note: previous declaration 'int testing::internal::NativeArray::static_assert(int)' 1072 | static_assert(!std::is_const::value, "Type must not be const"); | ^~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:1102:9: error: expected nested-name-specifier before 'type' 1102 | using type = IndexSequence; | ^~~~ /usr/include/gtest/internal/gtest-internal.h:1110:9: error: expected nested-name-specifier before 'type' 1110 | using type = IndexSequence; | ^~~~ /usr/include/gtest/internal/gtest-internal.h:1114:9: error: expected nested-name-specifier before 'type' 1114 | using type = IndexSequence; | ^~~~ /usr/include/gtest/internal/gtest-internal.h:1135:9: error: expected nested-name-specifier before 'type' 1135 | using type = T; | ^~~~ /usr/include/gtest/internal/gtest-internal.h:1155:9: error: expected nested-name-specifier before 'value_type' 1155 | using value_type = | ^~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:1159:40: error: expected ')' before 't' 1159 | explicit FlatTupleElemBase(value_type t) : value(std::move(t)) {} | ~ ^~ | ) /usr/include/gtest/internal/gtest-internal.h:1160:3: error: 'value_type' does not name a type 1160 | value_type value; | ^~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:1167:59: error: '>>' should be '> >' within a nested template argument list 1167 | struct FlatTupleBase, IndexSequence> | ^~ | > > /usr/include/gtest/internal/gtest-internal.h:1169:9: error: expected nested-name-specifier before 'Indices' 1169 | using Indices = IndexSequence; | ^~~~~~~ /usr/include/gtest/internal/gtest-internal.h: In constructor 'testing::internal::FlatTupleBase, testing::internal::IndexSequence >::FlatTupleBase(T ...)': /usr/include/gtest/internal/gtest-internal.h:1172:54: error: 'move' is not a member of 'std' 1172 | : FlatTupleElemBase, Idx>(std::move(t))... {} | ^~~~ /usr/include/gtest/internal/gtest-internal.h:1172:54: note: 'std::move' is only available from C++11 onwards /usr/include/gtest/internal/gtest-internal.h: At global scope: /usr/include/gtest/internal/gtest-internal.h:1188:9: error: expected nested-name-specifier before 'Indices' 1188 | using Indices = typename FlatTuple::FlatTupleBase::Indices; | ^~~~~~~ /usr/include/gtest/internal/gtest-internal.h:1195:34: error: 'Indices' was not declared in this scope; did you mean 'nice'? 1195 | const typename ElemFromList::type& Get() const { | ^~~~~~~ | nice /usr/include/gtest/internal/gtest-internal.h:1195:47: error: template argument 2 is invalid 1195 | const typename ElemFromList::type& Get() const { | ^ /usr/include/gtest/internal/gtest-internal.h:1200:28: error: 'Indices' was not declared in this scope; did you mean 'nice'? 1200 | typename ElemFromList::type& Get() { | ^~~~~~~ | nice /usr/include/gtest/internal/gtest-internal.h:1200:41: error: template argument 2 is invalid 1200 | typename ElemFromList::type& Get() { | ^ /usr/include/gtest/internal/gtest-internal.h: In constructor 'testing::internal::FlatTuple::FlatTuple(T ...)': /usr/include/gtest/internal/gtest-internal.h:1192:62: error: 'move' is not a member of 'std' 1192 | explicit FlatTuple(T... t) : FlatTuple::FlatTupleBase(std::move(t)...) {} | ^~~~ /usr/include/gtest/internal/gtest-internal.h:1192:62: note: 'std::move' is only available from C++11 onwards /usr/include/gtest/internal/gtest-internal.h: At global scope: /usr/include/gtest/internal/gtest-internal.h:1210:1: error: 'constexpr' does not name a type 1210 | constexpr bool InstantiateTestCase_P_IsDeprecated() { return true; } | ^~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:1210:1: note: C++11 'constexpr' only available with '-std=c++11' or '-std=gnu++11' /usr/include/gtest/internal/gtest-internal.h:1215:1: error: 'constexpr' does not name a type 1215 | constexpr bool TypedTestCase_P_IsDeprecated() { return true; } | ^~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:1215:1: note: C++11 'constexpr' only available with '-std=c++11' or '-std=gnu++11' /usr/include/gtest/internal/gtest-internal.h:1220:1: error: 'constexpr' does not name a type 1220 | constexpr bool TypedTestCaseIsDeprecated() { return true; } | ^~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:1220:1: note: C++11 'constexpr' only available with '-std=c++11' or '-std=gnu++11' /usr/include/gtest/internal/gtest-internal.h:1225:1: error: 'constexpr' does not name a type 1225 | constexpr bool RegisterTypedTestCase_P_IsDeprecated() { return true; } | ^~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:1225:1: note: C++11 'constexpr' only available with '-std=c++11' or '-std=gnu++11' /usr/include/gtest/internal/gtest-internal.h:1230:1: error: 'constexpr' does not name a type 1230 | constexpr bool InstantiateTypedTestCase_P_IsDeprecated() { return true; } | ^~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:1230:1: note: C++11 'constexpr' only available with '-std=c++11' or '-std=gnu++11' In file included from /usr/include/gtest/gtest-matchers.h:47, from /usr/include/gtest/internal/gtest-death-test-internal.h:39, from /usr/include/gtest/gtest-death-test.h:41, from /usr/include/gtest/gtest.h:64, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/streaming_c.cpp:6: /usr/include/gtest/gtest-printers.h: In static member function 'static void testing::internal2::TypeWithoutFormatter::PrintValue(const T&, std::ostream*)': /usr/include/gtest/gtest-printers.h:156:48: error: 'addressof' is not a member of 'std' 156 | reinterpret_cast(std::addressof(value))), | ^~~~~~~~~ /usr/include/gtest/gtest-printers.h: In function 'std::basic_ostream<_CharT, _Traits>& testing::internal2::operator<<(std::basic_ostream<_CharT, _Traits>&, const T&)': /usr/include/gtest/gtest-printers.h:236:39: error: 'is_convertible' is not a member of 'std' 236 | : std::is_convertible< | ^~~~~~~~~~~~~~ /usr/include/gtest/gtest-printers.h:237:68: error: template argument 2 is invalid 237 | const T&, internal::BiggestInt>::value | ^ /usr/include/gtest/gtest-printers.h:238:38: error: qualified-id in declaration before '?' token 238 | ? kConvertibleToInteger | ^ /usr/include/gtest/gtest-printers.h: In function 'void testing::internal::DefaultPrintTo(testing::internal::WrapPrinterType, T*, std::ostream*)': /usr/include/gtest/gtest-printers.h:441:12: error: 'nullptr' was not declared in this scope 441 | if (p == nullptr) { | ^~~~~~~ /usr/include/gtest/gtest-printers.h: In function 'void testing::internal::DefaultPrintTo(testing::internal::WrapPrinterType, T*, std::ostream*)': /usr/include/gtest/gtest-printers.h:453:12: error: 'nullptr' was not declared in this scope 453 | if (p == nullptr) { | ^~~~~~~ /usr/include/gtest/gtest-printers.h: In function 'void testing::internal::PrintTo(const T&, std::ostream*)': /usr/include/gtest/gtest-printers.h:508:19: error: 'is_pointer' is not a member of 'std'; did you mean 'isprint'? 508 | : !std::is_pointer::value | ^~~~~~~~~~ | isprint /usr/include/gtest/gtest-printers.h:504:7: error: parse error in template argument list 504 | WrapPrinterType < | ^~~~~~~~~~~~~~~~~ 505 | (sizeof(IsContainerTest(0)) == sizeof(IsContainer)) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 506 | !IsRecursiveContainer::value | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 507 | ? kPrintContainer | ~~~~~~~~~~~~~~~~~ 508 | : !std::is_pointer::value | ~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest-printers.h:510:24: error: 'is_function' is not a member of 'std'; did you mean 'binary_function'? 510 | : std::is_function::type>::value | ^~~~~~~~~~~ | binary_function /usr/include/gtest/gtest-printers.h:510:50: error: 'remove_pointer' in namespace 'std' does not name a template type 510 | : std::is_function::type>::value | ^~~~~~~~~~~~~~ /usr/include/gtest/gtest-printers.h:510:64: error: expected '(' before '<' token 510 | : std::is_function::type>::value | ^ | ( /usr/include/gtest/gtest-printers.h:510:66: error: expected primary-expression before '>' token 510 | : std::is_function::type>::value | ^ /usr/include/gtest/gtest-printers.h:510:69: error: '::type' has not been declared 510 | : std::is_function::type>::value | ^~~~ /usr/include/gtest/gtest-printers.h:510:76: error: '::value' has not been declared 510 | : std::is_function::type>::value | ^~~~~ /usr/include/gtest/gtest-printers.h:512:42: error: expected primary-expression before ')' token 512 | : kPrintPointer > (), | ^ /usr/include/gtest/gtest-printers.h: At global scope: /usr/include/gtest/gtest-printers.h:613:26: error: variable or field 'PrintTo' declared void 613 | inline void PrintTo(std::nullptr_t, ::std::ostream* os) { *os << "(nullptr)"; } | ^~~~~~~~~ /usr/include/gtest/gtest-printers.h:613:26: error: 'nullptr_t' is not a member of 'std' /usr/include/gtest/gtest-printers.h:613:51: error: expected primary-expression before '*' token 613 | inline void PrintTo(std::nullptr_t, ::std::ostream* os) { *os << "(nullptr)"; } | ^ /usr/include/gtest/gtest-printers.h:613:53: error: 'os' was not declared in this scope 613 | inline void PrintTo(std::nullptr_t, ::std::ostream* os) { *os << "(nullptr)"; } | ^~ /usr/include/gtest/gtest-printers.h:616:19: error: variable or field 'PrintTo' declared void 616 | void PrintTo(std::reference_wrapper ref, ::std::ostream* os) { | ^~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest-printers.h:616:19: error: 'reference_wrapper' is not a member of 'std' /usr/include/gtest/gtest-printers.h:616:38: error: expected primary-expression before '>' token 616 | void PrintTo(std::reference_wrapper ref, ::std::ostream* os) { | ^ /usr/include/gtest/gtest-printers.h:616:40: error: 'ref' was not declared in this scope 616 | void PrintTo(std::reference_wrapper ref, ::std::ostream* os) { | ^~~ /usr/include/gtest/gtest-printers.h:616:59: error: expected primary-expression before '*' token 616 | void PrintTo(std::reference_wrapper ref, ::std::ostream* os) { | ^ /usr/include/gtest/gtest-printers.h:616:61: error: 'os' was not declared in this scope 616 | void PrintTo(std::reference_wrapper ref, ::std::ostream* os) { | ^~ /usr/include/gtest/gtest-printers.h:623:34: error: 'std::integral_constant' has not been declared 623 | void PrintTupleTo(const T&, std::integral_constant, | ^~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest-printers.h:623:51: error: expected ',' or '...' before '<' token 623 | void PrintTupleTo(const T&, std::integral_constant, | ^ /usr/include/gtest/gtest-printers.h:627:36: error: 'std::integral_constant' has not been declared 627 | void PrintTupleTo(const T& t, std::integral_constant, | ^~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest-printers.h:627:53: error: expected ',' or '...' before '<' token 627 | void PrintTupleTo(const T& t, std::integral_constant, | ^ /usr/include/gtest/gtest-printers.h: In function 'void testing::internal::PrintTupleTo(const T&, int)': /usr/include/gtest/gtest-printers.h:629:24: error: 'integral_constant' is not a member of 'std' 629 | PrintTupleTo(t, std::integral_constant(), os); | ^~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest-printers.h:629:48: error: expected primary-expression before ',' token 629 | PrintTupleTo(t, std::integral_constant(), os); | ^ /usr/include/gtest/gtest-printers.h:629:57: error: expected primary-expression before ')' token 629 | PrintTupleTo(t, std::integral_constant(), os); | ^ /usr/include/gtest/gtest-printers.h:629:60: error: 'os' was not declared in this scope 629 | PrintTupleTo(t, std::integral_constant(), os); | ^~ /usr/include/gtest/gtest-printers.h:635:34: error: 'tuple_element' in namespace 'std' does not name a template type 635 | UniversalPrinter::type>::Print( | ^~~~~~~~~~~~~ /usr/include/gtest/gtest-printers.h:635:34: note: 'std::tuple_element' is only available from C++11 onwards /usr/include/gtest/gtest-printers.h:635:47: error: expected template-argument before '<' token 635 | UniversalPrinter::type>::Print( | ^ /usr/include/gtest/gtest-printers.h:635:47: error: expected '>' before '<' token /usr/include/gtest/gtest-printers.h:635:63: error: template argument 1 is invalid 635 | UniversalPrinter::type>::Print( | ^ /usr/include/gtest/gtest-printers.h:636:12: error: 'get' is not a member of 'std'; did you mean 'set'? 636 | std::get(t), os); | ^~~ | set /usr/include/gtest/gtest-printers.h:636:29: error: expression list treated as compound expression in initializer [-fpermissive] 636 | std::get(t), os); | ^ /usr/include/gtest/gtest-printers.h: At global scope: /usr/include/gtest/gtest-printers.h:640:27: error: 'tuple' in namespace 'std' does not name a template type 640 | void PrintTo(const ::std::tuple& t, ::std::ostream* os) { | ^~~~~ /usr/include/gtest/gtest-printers.h:640:20: note: 'std::tuple' is only available from C++11 onwards 640 | void PrintTo(const ::std::tuple& t, ::std::ostream* os) { | ^~ /usr/include/gtest/gtest-printers.h:640:32: error: expected ',' or '...' before '<' token 640 | void PrintTo(const ::std::tuple& t, ::std::ostream* os) { | ^ /usr/include/gtest/gtest-printers.h: In function 'void testing::internal::PrintTo(int)': /usr/include/gtest/gtest-printers.h:641:4: error: 'os' was not declared in this scope 641 | *os << "("; | ^~ /usr/include/gtest/gtest-printers.h:642:16: error: 't' was not declared in this scope; did you mean 'tm'? 642 | PrintTupleTo(t, std::integral_constant(), os); | ^ | tm /usr/include/gtest/gtest-printers.h:642:24: error: 'integral_constant' is not a member of 'std' 642 | PrintTupleTo(t, std::integral_constant(), os); | ^~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest-printers.h:642:48: error: expected primary-expression before ',' token 642 | PrintTupleTo(t, std::integral_constant(), os); | ^ /usr/include/gtest/gtest-printers.h:642:68: error: expected primary-expression before ')' token 642 | PrintTupleTo(t, std::integral_constant(), os); | ^ /usr/include/gtest/gtest-printers.h: In static member function 'static void testing::internal::UniversalTersePrinter::Print(const char*, std::ostream*)': /usr/include/gtest/gtest-printers.h:818:16: error: 'nullptr' was not declared in this scope 818 | if (str == nullptr) { | ^~~~~~~ /usr/include/gtest/gtest-printers.h: In static member function 'static void testing::internal::UniversalTersePrinter::Print(const wchar_t*, std::ostream*)': /usr/include/gtest/gtest-printers.h:838:16: error: 'nullptr' was not declared in this scope 838 | if (str == nullptr) { | ^~~~~~~ /usr/include/gtest/gtest-printers.h: At global scope: /usr/include/gtest/gtest-printers.h:877:51: error: 'std::integral_constant' has not been declared 877 | void TersePrintPrefixToStrings(const Tuple&, std::integral_constant, | ^~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest-printers.h:877:68: error: expected ',' or '...' before '<' token 877 | void TersePrintPrefixToStrings(const Tuple&, std::integral_constant, | ^ /usr/include/gtest/gtest-printers.h:881:37: error: 'std::integral_constant' has not been declared 881 | std::integral_constant, | ^~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest-printers.h:881:54: error: expected ',' or '...' before '<' token 881 | std::integral_constant, | ^ /usr/include/gtest/gtest-printers.h: In function 'void testing::internal::TersePrintPrefixToStrings(const Tuple&, int)': /usr/include/gtest/gtest-printers.h:883:37: error: 'integral_constant' is not a member of 'std' 883 | TersePrintPrefixToStrings(t, std::integral_constant(), | ^~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest-printers.h:883:61: error: expected primary-expression before ',' token 883 | TersePrintPrefixToStrings(t, std::integral_constant(), | ^ /usr/include/gtest/gtest-printers.h:883:70: error: expected primary-expression before ')' token 883 | TersePrintPrefixToStrings(t, std::integral_constant(), | ^ /usr/include/gtest/gtest-printers.h:884:29: error: 'strings' was not declared in this scope; did you mean 'Strings'? 884 | strings); | ^~~~~~~ | Strings /usr/include/gtest/gtest-printers.h:886:28: error: 'get' is not a member of 'std'; did you mean 'set'? 886 | UniversalTersePrint(std::get(t), &ss); | ^~~ | set /usr/include/gtest/gtest-printers.h: In function 'testing::internal::Strings testing::internal::UniversalTersePrintTupleFieldsToStrings(const Tuple&)': /usr/include/gtest/gtest-printers.h:897:19: error: 'integral_constant' is not a member of 'std' 897 | value, std::integral_constant::value>(), | ^~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest-printers.h:897:43: error: expected primary-expression before ',' token 897 | value, std::integral_constant::value>(), | ^ /usr/include/gtest/gtest-printers.h:897:50: error: 'tuple_size' is not a member of 'std' 897 | value, std::integral_constant::value>(), | ^~~~~~~~~~ /usr/include/gtest/gtest-printers.h:897:50: note: 'std::tuple_size' is only available from C++11 onwards /usr/include/gtest/gtest-printers.h:897:66: error: expected primary-expression before '>' token 897 | value, std::integral_constant::value>(), | ^ /usr/include/gtest/gtest-printers.h:897:69: error: '::value' has not been declared 897 | value, std::integral_constant::value>(), | ^~~~~ /usr/include/gtest/gtest-printers.h:897:76: error: expected primary-expression before ')' token 897 | value, std::integral_constant::value>(), | ^ In file included from /usr/include/gtest/internal/gtest-death-test-internal.h:39, from /usr/include/gtest/gtest-death-test.h:41, from /usr/include/gtest/gtest.h:64, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/streaming_c.cpp:6: /usr/include/gtest/gtest-matchers.h: In member function 'testing::MatchResultListener& testing::MatchResultListener::operator<<(const T&)': /usr/include/gtest/gtest-matchers.h:92:20: error: 'nullptr' was not declared in this scope 92 | if (stream_ != nullptr) *stream_ << x; | ^~~~~~~ /usr/include/gtest/gtest-matchers.h: In member function 'bool testing::MatchResultListener::IsInterested() const': /usr/include/gtest/gtest-matchers.h:103:49: error: 'nullptr' was not declared in this scope 103 | bool IsInterested() const { return stream_ != nullptr; } | ^~~~~~~ /usr/include/gtest/gtest-matchers.h: In constructor 'testing::internal::DummyMatchResultListener::DummyMatchResultListener()': /usr/include/gtest/gtest-matchers.h:237:52: error: 'nullptr' was not declared in this scope 237 | DummyMatchResultListener() : MatchResultListener(nullptr) {} | ^~~~~~~ /usr/include/gtest/gtest-matchers.h: At global scope: /usr/include/gtest/gtest-matchers.h:303:21: error: 'enable_if' in namespace 'std' does not name a template type 303 | typename std::enable_if::value>::type* = | ^~~~~~~~~ /usr/include/gtest/gtest-matchers.h:303:30: error: expected ',' or '...' before '<' token 303 | typename std::enable_if::value>::type* = | ^ /usr/include/gtest/gtest-matchers.h:309:26: error: expected ',' or '...' before '&&' token 309 | MatcherBase(MatcherBase&&) = default; | ^~ /usr/include/gtest/gtest-matchers.h:309:32: error: invalid constructor; you probably meant 'testing::internal::MatcherBase (const testing::internal::MatcherBase&)' 309 | MatcherBase(MatcherBase&&) = default; | ^~~~~~~ /usr/include/gtest/gtest-matchers.h:310:37: error: expected ',' or '...' before '&&' token 310 | MatcherBase& operator=(MatcherBase&&) = default; | ^~ /usr/include/gtest/gtest-matchers.h:315:8: error: 'shared_ptr' in namespace 'std' does not name a template type 315 | std::shared_ptr> impl_; | ^~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:315:3: note: 'std::shared_ptr' is only available from C++11 onwards 315 | std::shared_ptr> impl_; | ^~~ /usr/include/gtest/gtest-matchers.h: In member function 'bool testing::internal::MatcherBase::MatchAndExplain(const T&, testing::MatchResultListener*) const': /usr/include/gtest/gtest-matchers.h:264:12: error: 'impl_' was not declared in this scope 264 | return impl_->MatchAndExplain(x, listener); | ^~~~~ /usr/include/gtest/gtest-matchers.h: In member function 'void testing::internal::MatcherBase::DescribeTo(std::ostream*) const': /usr/include/gtest/gtest-matchers.h:274:47: error: 'impl_' was not declared in this scope 274 | void DescribeTo(::std::ostream* os) const { impl_->DescribeTo(os); } | ^~~~~ /usr/include/gtest/gtest-matchers.h: In member function 'void testing::internal::MatcherBase::DescribeNegationTo(std::ostream*) const': /usr/include/gtest/gtest-matchers.h:278:5: error: 'impl_' was not declared in this scope 278 | impl_->DescribeNegationTo(os); | ^~~~~ /usr/include/gtest/gtest-matchers.h: In member function 'const testing::MatcherDescriberInterface* testing::internal::MatcherBase::GetDescriber() const': /usr/include/gtest/gtest-matchers.h:291:12: error: 'impl_' was not declared in this scope 291 | return impl_.get(); | ^~~~~ /usr/include/gtest/gtest-matchers.h: In constructor 'testing::internal::MatcherBase::MatcherBase(const testing::MatcherInterface*)': /usr/include/gtest/gtest-matchers.h:298:66: error: class 'testing::internal::MatcherBase' does not have any field named 'impl_' 298 | explicit MatcherBase(const MatcherInterface* impl) : impl_(impl) {} | ^~~~~ /usr/include/gtest/gtest-matchers.h: In constructor 'testing::internal::MatcherBase::MatcherBase(const testing::MatcherInterface*, int)': /usr/include/gtest/gtest-matchers.h:305:9: error: class 'testing::internal::MatcherBase' does not have any field named 'impl_' 305 | : impl_(new internal::MatcherInterfaceAdapter(impl)) {} | ^~~~~ /usr/include/gtest/gtest-matchers.h: At global scope: /usr/include/gtest/gtest-matchers.h:339:21: error: 'enable_if' in namespace 'std' does not name a template type 339 | typename std::enable_if::value>::type* = | ^~~~~~~~~ /usr/include/gtest/gtest-matchers.h:339:30: error: expected ',' or '...' before '<' token 339 | typename std::enable_if::value>::type* = | ^ /usr/include/gtest/gtest-matchers.h: In instantiation of 'class testing::internal::MatcherBase&>': /usr/include/gtest/gtest-matchers.h:353:24: required from here /usr/include/gtest/gtest-matchers.h:263:8: error: forming reference to reference type 'const std::__cxx11::basic_string&' 263 | bool MatchAndExplain(const T& x, MatchResultListener* listener) const { | ^~~~~~~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:268:8: error: forming reference to reference type 'const std::__cxx11::basic_string&' 268 | bool Matches(const T& x) const { | ^~~~~~~ /usr/include/gtest/gtest-matchers.h:282:8: error: forming reference to reference type 'const std::__cxx11::basic_string&' 282 | void ExplainMatchResultTo(const T& x, ::std::ostream* os) const { | ^~~~~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:298:12: error: forming reference to reference type 'const std::__cxx11::basic_string&' 298 | explicit MatcherBase(const MatcherInterface* impl) : impl_(impl) {} | ^~~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:310:16: error: defaulted declaration 'testing::internal::MatcherBase& testing::internal::MatcherBase::operator=(testing::internal::MatcherBase) [with T = const std::__cxx11::basic_string&; testing::internal::MatcherBase = testing::internal::MatcherBase&>]' does not match the expected signature 310 | MatcherBase& operator=(MatcherBase&&) = default; | ^~~~~~~~ /usr/include/gtest/gtest-matchers.h:310:16: note: expected signature: 'testing::internal::MatcherBase&>& testing::internal::MatcherBase&>::operator=(testing::internal::MatcherBase&>&)' /usr/include/gtest/gtest-matchers.h: In constructor 'testing::Matcher&>::Matcher(const testing::MatcherInterface&>*)': /usr/include/gtest/gtest-matchers.h:358:55: error: no matching function for call to 'testing::internal::MatcherBase&>::MatcherBase(const testing::MatcherInterface&>*&)' 358 | : internal::MatcherBase(impl) {} | ^ /usr/include/gtest/gtest-matchers.h:307:3: note: candidate: 'testing::internal::MatcherBase::MatcherBase(const testing::internal::MatcherBase&) [with T = const std::__cxx11::basic_string&]' 307 | MatcherBase(const MatcherBase&) = default; | ^~~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:307:15: note: no known conversion for argument 1 from 'const testing::MatcherInterface&>*' to 'const testing::internal::MatcherBase&>&' 307 | MatcherBase(const MatcherBase&) = default; | ^~~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:301:12: note: candidate: 'template testing::internal::MatcherBase::MatcherBase(const testing::MatcherInterface*, int)' 301 | explicit MatcherBase( | ^~~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:301:12: note: template argument deduction/substitution failed: /usr/include/gtest/gtest-matchers.h:358:55: note: candidate expects 2 arguments, 1 provided 358 | : internal::MatcherBase(impl) {} | ^ /usr/include/gtest/gtest-matchers.h:295:3: note: candidate: 'testing::internal::MatcherBase::MatcherBase() [with T = const std::__cxx11::basic_string&]' 295 | MatcherBase() {} | ^~~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:295:3: note: candidate expects 0 arguments, 1 provided /usr/include/gtest/gtest-matchers.h: In instantiation of 'class testing::internal::MatcherBase >': /usr/include/gtest/gtest-matchers.h:370:24: required from here /usr/include/gtest/gtest-matchers.h:310:16: error: defaulted declaration 'testing::internal::MatcherBase& testing::internal::MatcherBase::operator=(testing::internal::MatcherBase) [with T = std::__cxx11::basic_string; testing::internal::MatcherBase = testing::internal::MatcherBase >]' does not match the expected signature 310 | MatcherBase& operator=(MatcherBase&&) = default; | ^~~~~~~~ /usr/include/gtest/gtest-matchers.h:310:16: note: expected signature: 'testing::internal::MatcherBase >& testing::internal::MatcherBase >::operator=(testing::internal::MatcherBase >&)' /usr/include/gtest/gtest-matchers.h: In constructor 'testing::Matcher >::Matcher(const testing::MatcherInterface >*)': /usr/include/gtest/gtest-matchers.h:377:48: error: no matching function for call to 'testing::internal::MatcherBase >::MatcherBase(const testing::MatcherInterface >*&)' 377 | : internal::MatcherBase(impl) {} | ^ /usr/include/gtest/gtest-matchers.h:307:3: note: candidate: 'testing::internal::MatcherBase::MatcherBase(const testing::internal::MatcherBase&) [with T = std::__cxx11::basic_string]' 307 | MatcherBase(const MatcherBase&) = default; | ^~~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:307:15: note: no known conversion for argument 1 from 'const testing::MatcherInterface >*' to 'const testing::internal::MatcherBase >&' 307 | MatcherBase(const MatcherBase&) = default; | ^~~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:301:12: note: candidate: 'template testing::internal::MatcherBase::MatcherBase(const testing::MatcherInterface*, int)' 301 | explicit MatcherBase( | ^~~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:301:12: note: template argument deduction/substitution failed: /usr/include/gtest/gtest-matchers.h:377:48: note: candidate expects 2 arguments, 1 provided 377 | : internal::MatcherBase(impl) {} | ^ /usr/include/gtest/gtest-matchers.h:298:12: note: candidate: 'testing::internal::MatcherBase::MatcherBase(const testing::MatcherInterface*) [with T = std::__cxx11::basic_string]' 298 | explicit MatcherBase(const MatcherInterface* impl) : impl_(impl) {} | ^~~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:298:58: note: no known conversion for argument 1 from 'const testing::MatcherInterface >*' to 'const testing::MatcherInterface&>*' 298 | explicit MatcherBase(const MatcherInterface* impl) : impl_(impl) {} | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /usr/include/gtest/gtest-matchers.h:295:3: note: candidate: 'testing::internal::MatcherBase::MatcherBase() [with T = std::__cxx11::basic_string]' 295 | MatcherBase() {} | ^~~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:295:3: note: candidate expects 0 arguments, 1 provided /usr/include/gtest/gtest-matchers.h: At global scope: /usr/include/gtest/gtest-matchers.h:541:31: error: 'reference_wrapper' is not a member of 'std' 541 | static const T& Unwrap(std::reference_wrapper v) { return v; } | ^~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:541:50: error: expected primary-expression before '>' token 541 | static const T& Unwrap(std::reference_wrapper v) { return v; } | ^ /usr/include/gtest/gtest-matchers.h:541:52: error: 'v' was not declared in this scope 541 | static const T& Unwrap(std::reference_wrapper v) { return v; } | ^ /usr/include/gtest/gtest-matchers.h:541:54: error: expected ';' before '{' token 541 | static const T& Unwrap(std::reference_wrapper v) { return v; } | ^~ | ; /usr/include/gtest/gtest-matchers.h:541:67: error: 'template template const T& testing::internal::ComparisonBase::Unwrap' conflicts with a previous declaration 541 | static const T& Unwrap(std::reference_wrapper v) { return v; } | ^ /usr/include/gtest/gtest-matchers.h:539:19: note: previous declaration 'static const T& testing::internal::ComparisonBase::Unwrap(const T&)' 539 | static const T& Unwrap(const T& v) { return v; } | ^~~~~~ /usr/include/gtest/gtest-matchers.h:664:14: error: 'shared_ptr' in namespace 'std' does not name a template type 664 | const std::shared_ptr regex_; | ^~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:664:9: note: 'std::shared_ptr' is only available from C++11 onwards 664 | const std::shared_ptr regex_; | ^~~ /usr/include/gtest/gtest-matchers.h: In constructor 'testing::internal::MatchesRegexMatcher::MatchesRegexMatcher(const testing::internal::RE*, bool)': /usr/include/gtest/gtest-matchers.h:621:9: error: class 'testing::internal::MatchesRegexMatcher' does not have any field named 'regex_' 621 | : regex_(regex), full_match_(full_match) {} | ^~~~~~ /usr/include/gtest/gtest-matchers.h: In member function 'bool testing::internal::MatchesRegexMatcher::MatchAndExplain(CharType*, testing::MatchResultListener*) const': /usr/include/gtest/gtest-matchers.h:637:17: error: 'nullptr' was not declared in this scope 637 | return s != nullptr && MatchAndExplain(std::string(s), listener); | ^~~~~~~ /usr/include/gtest/gtest-matchers.h: In member function 'bool testing::internal::MatchesRegexMatcher::MatchAndExplain(const MatcheeStringType&, testing::MatchResultListener*) const': /usr/include/gtest/gtest-matchers.h:648:45: error: 'regex_' was not declared in this scope; did you mean 'regex_t'? 648 | return full_match_ ? RE::FullMatch(s2, *regex_) | ^~~~~~ | regex_t /usr/include/gtest/gtest-matchers.h: In member function 'void testing::internal::MatchesRegexMatcher::DescribeTo(std::ostream*) const': /usr/include/gtest/gtest-matchers.h:654:42: error: 'regex_' was not declared in this scope; did you mean 'regex_t'? 654 | UniversalPrinter::Print(regex_->pattern(), os); | ^~~~~~ | regex_t /usr/include/gtest/gtest-matchers.h: In member function 'void testing::internal::MatchesRegexMatcher::DescribeNegationTo(std::ostream*) const': /usr/include/gtest/gtest-matchers.h:660:42: error: 'regex_' was not declared in this scope; did you mean 'regex_t'? 660 | UniversalPrinter::Print(regex_->pattern(), os); | ^~~~~~ | regex_t In file included from /usr/include/gtest/gtest-param-test.h:181, from /usr/include/gtest/gtest.h:67, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/streaming_c.cpp:6: /usr/include/gtest/internal/gtest-param-util.h: At global scope: /usr/include/gtest/internal/gtest-param-util.h:158:8: error: 'unique_ptr' in namespace 'std' does not name a template type 158 | std::unique_ptr > impl_; | ^~~~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h:158:3: note: 'std::unique_ptr' is only available from C++11 onwards 158 | std::unique_ptr > impl_; | ^~~ /usr/include/gtest/internal/gtest-param-util.h: In copy constructor 'testing::internal::ParamIterator::ParamIterator(const testing::internal::ParamIterator&)': /usr/include/gtest/internal/gtest-param-util.h:128:47: error: class 'testing::internal::ParamIterator' does not have any field named 'impl_' 128 | ParamIterator(const ParamIterator& other) : impl_(other.impl_->Clone()) {} | ^~~~~ /usr/include/gtest/internal/gtest-param-util.h: In member function 'testing::internal::ParamIterator& testing::internal::ParamIterator::operator=(const testing::internal::ParamIterator&)': /usr/include/gtest/internal/gtest-param-util.h:131:7: error: 'impl_' was not declared in this scope 131 | impl_.reset(other.impl_->Clone()); | ^~~~~ /usr/include/gtest/internal/gtest-param-util.h: In member function 'const T& testing::internal::ParamIterator::operator*() const': /usr/include/gtest/internal/gtest-param-util.h:135:40: error: 'impl_' was not declared in this scope 135 | const T& operator*() const { return *impl_->Current(); } | ^~~~~ /usr/include/gtest/internal/gtest-param-util.h: In member function 'const T* testing::internal::ParamIterator::operator->() const': /usr/include/gtest/internal/gtest-param-util.h:136:40: error: 'impl_' was not declared in this scope 136 | const T* operator->() const { return impl_->Current(); } | ^~~~~ /usr/include/gtest/internal/gtest-param-util.h: In member function 'testing::internal::ParamIterator& testing::internal::ParamIterator::operator++()': /usr/include/gtest/internal/gtest-param-util.h:139:5: error: 'impl_' was not declared in this scope 139 | impl_->Advance(); | ^~~~~ /usr/include/gtest/internal/gtest-param-util.h: In member function 'testing::internal::ParamIterator testing::internal::ParamIterator::operator++(int)': /usr/include/gtest/internal/gtest-param-util.h:144:40: error: 'impl_' was not declared in this scope 144 | ParamIteratorInterface* clone = impl_->Clone(); | ^~~~~ /usr/include/gtest/internal/gtest-param-util.h: In member function 'bool testing::internal::ParamIterator::operator==(const testing::internal::ParamIterator&) const': /usr/include/gtest/internal/gtest-param-util.h:149:12: error: 'impl_' was not declared in this scope 149 | return impl_.get() == other.impl_.get() || impl_->Equals(*other.impl_); | ^~~~~ /usr/include/gtest/internal/gtest-param-util.h: In constructor 'testing::internal::ParamIterator::ParamIterator(testing::internal::ParamIteratorInterface*)': /usr/include/gtest/internal/gtest-param-util.h:157:61: error: class 'testing::internal::ParamIterator' does not have any field named 'impl_' 157 | explicit ParamIterator(ParamIteratorInterface* impl) : impl_(impl) {} | ^~~~~ /usr/include/gtest/internal/gtest-param-util.h: At global scope: /usr/include/gtest/internal/gtest-param-util.h:197:8: error: 'shared_ptr' in namespace 'std' does not name a template type 197 | std::shared_ptr > impl_; | ^~~~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h:197:3: note: 'std::shared_ptr' is only available from C++11 onwards 197 | std::shared_ptr > impl_; | ^~~ /usr/include/gtest/internal/gtest-param-util.h: In constructor 'testing::internal::ParamGenerator< >::ParamGenerator(testing::internal::ParamGeneratorInterface*)': /usr/include/gtest/internal/gtest-param-util.h:185:63: error: class 'testing::internal::ParamGenerator< >' does not have any field named 'impl_' 185 | explicit ParamGenerator(ParamGeneratorInterface* impl) : impl_(impl) {} | ^~~~~ /usr/include/gtest/internal/gtest-param-util.h: In copy constructor 'testing::internal::ParamGenerator< >::ParamGenerator(const testing::internal::ParamGenerator< >&)': /usr/include/gtest/internal/gtest-param-util.h:186:49: error: class 'testing::internal::ParamGenerator< >' does not have any field named 'impl_' 186 | ParamGenerator(const ParamGenerator& other) : impl_(other.impl_) {} | ^~~~~ /usr/include/gtest/internal/gtest-param-util.h: In member function 'testing::internal::ParamGenerator< >& testing::internal::ParamGenerator< >::operator=(const testing::internal::ParamGenerator< >&)': /usr/include/gtest/internal/gtest-param-util.h:189:5: error: 'impl_' was not declared in this scope 189 | impl_ = other.impl_; | ^~~~~ /usr/include/gtest/internal/gtest-param-util.h: In member function 'testing::internal::ParamGenerator< >::iterator testing::internal::ParamGenerator< >::begin() const': /usr/include/gtest/internal/gtest-param-util.h:193:44: error: 'impl_' was not declared in this scope 193 | iterator begin() const { return iterator(impl_->Begin()); } | ^~~~~ /usr/include/gtest/internal/gtest-param-util.h: In member function 'testing::internal::ParamGenerator< >::iterator testing::internal::ParamGenerator< >::end() const': /usr/include/gtest/internal/gtest-param-util.h:194:42: error: 'impl_' was not declared in this scope 194 | iterator end() const { return iterator(impl_->End()); } | ^~~~~ /usr/include/gtest/internal/gtest-param-util.h: At global scope: /usr/include/gtest/internal/gtest-param-util.h:360:18: error: 'unique_ptr' in namespace 'std' does not name a template type 360 | mutable std::unique_ptr value_; | ^~~~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h:360:13: note: 'std::unique_ptr' is only available from C++11 onwards 360 | mutable std::unique_ptr value_; | ^~~ /usr/include/gtest/internal/gtest-param-util.h: In member function 'void testing::internal::ValuesInIteratorRangeGenerator::Iterator::Advance()': /usr/include/gtest/internal/gtest-param-util.h:319:7: error: 'value_' was not declared in this scope 319 | value_.reset(); | ^~~~~~ /usr/include/gtest/internal/gtest-param-util.h: In member function 'const T* testing::internal::ValuesInIteratorRangeGenerator::Iterator::Current() const': /usr/include/gtest/internal/gtest-param-util.h:332:11: error: 'value_' was not declared in this scope 332 | if (value_.get() == nullptr) value_.reset(new T(*iterator_)); | ^~~~~~ /usr/include/gtest/internal/gtest-param-util.h:332:27: error: 'nullptr' was not declared in this scope 332 | if (value_.get() == nullptr) value_.reset(new T(*iterator_)); | ^~~~~~~ /usr/include/gtest/internal/gtest-param-util.h:333:14: error: 'value_' was not declared in this scope 333 | return value_.get(); | ^~~~~~ /usr/include/gtest/internal/gtest-param-util.h: At global scope: /usr/include/gtest/internal/gtest-param-util.h:381:19: error: default template arguments may not be used in function templates without '-std=c++11' or '-std=gnu++11' 381 | void TestNotEmpty() { | ^ /usr/include/gtest/internal/gtest-param-util.h: In function 'void testing::internal::TestNotEmpty()': /usr/include/gtest/internal/gtest-param-util.h:382:3: error: there are no arguments to 'static_assert' that depend on a template parameter, so a declaration of 'static_assert' must be available [-fpermissive] 382 | static_assert(sizeof(T) == 0, "Empty arguments are not allowed."); | ^~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h:382:3: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/include/gtest/internal/gtest-param-util.h: At global scope: /usr/include/gtest/internal/gtest-param-util.h:385:27: error: default template arguments may not be used in function templates without '-std=c++11' or '-std=gnu++11' 385 | void TestNotEmpty(const T&) {} | ^ /usr/include/gtest/internal/gtest-param-util.h:432:9: error: expected nested-name-specifier before 'ParamType' 432 | using ParamType = typename TestSuite::ParamType; | ^~~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h:436:20: error: expected ';' at end of member declaration 436 | TestFactoryBase* CreateTestFactory(ParamType parameter) override { | ^~~~~~~~~~~~~~~~~ | ; /usr/include/gtest/internal/gtest-param-util.h:436:47: error: expected ')' before 'parameter' 436 | TestFactoryBase* CreateTestFactory(ParamType parameter) override { | ~ ^~~~~~~~~~ | ) /usr/include/gtest/internal/gtest-param-util.h:488:9: error: expected nested-name-specifier before 'ParamType' 488 | using ParamType = typename TestSuite::ParamType; | ^~~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h:490:26: error: 'ParamType' was not declared in this scope 490 | typedef ParamGenerator(GeneratorCreationFunc)(); | ^~~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h:490:35: error: template argument 1 is invalid 490 | typedef ParamGenerator(GeneratorCreationFunc)(); | ^ /usr/include/gtest/internal/gtest-param-util.h:491:9: error: expected nested-name-specifier before 'ParamNameGeneratorFunc' 491 | using ParamNameGeneratorFunc = std::string(const TestParamInfo&); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h:510:43: error: 'ParamType' was not declared in this scope 510 | TestMetaFactoryBase* meta_factory) { | ^~~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h:510:52: error: template argument 1 is invalid 510 | TestMetaFactoryBase* meta_factory) { | ^ /usr/include/gtest/internal/gtest-param-util.h:518:33: error: 'ParamNameGeneratorFunc' has not been declared 518 | ParamNameGeneratorFunc* name_func, | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h:590:34: error: 'ParamType' was not declared in this scope 590 | TestMetaFactoryBase* a_test_meta_factory) | ^~~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h:590:43: error: template argument 1 is invalid 590 | TestMetaFactoryBase* a_test_meta_factory) | ^ /usr/include/gtest/internal/gtest-param-util.h:597:16: error: 'unique_ptr' in namespace 'std' does not name a template type 597 | const std::unique_ptr > test_meta_factory; | ^~~~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h:597:11: note: 'std::unique_ptr' is only available from C++11 onwards 597 | const std::unique_ptr > test_meta_factory; | ^~~ /usr/include/gtest/internal/gtest-param-util.h:599:9: error: expected nested-name-specifier before 'TestInfoContainer' 599 | using TestInfoContainer = ::std::vector >; | ^~~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h:606:25: error: 'ParamNameGeneratorFunc' has not been declared 606 | ParamNameGeneratorFunc* name_func_in, | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h:617:7: error: 'ParamNameGeneratorFunc' does not name a type; did you mean 'ParamGenerator'? 617 | ParamNameGeneratorFunc* name_func; | ^~~~~~~~~~~~~~~~~~~~~~ | ParamGenerator /usr/include/gtest/internal/gtest-param-util.h:639:3: error: 'TestInfoContainer' does not name a type 639 | TestInfoContainer tests_; | ^~~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h: In member function 'void testing::internal::ParameterizedTestSuiteInfo::AddTestPattern(const char*, const char*, int*)': /usr/include/gtest/internal/gtest-param-util.h:511:5: error: 'tests_' was not declared in this scope 511 | tests_.push_back(std::shared_ptr( | ^~~~~~ /usr/include/gtest/internal/gtest-param-util.h:511:27: error: 'shared_ptr' is not a member of 'std' 511 | tests_.push_back(std::shared_ptr( | ^~~~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h:511:27: note: 'std::shared_ptr' is only available from C++11 onwards /usr/include/gtest/internal/gtest-param-util.h:511:46: error: expected primary-expression before '>' token 511 | tests_.push_back(std::shared_ptr( | ^ /usr/include/gtest/internal/gtest-param-util.h: In member function 'void testing::internal::ParameterizedTestSuiteInfo::RegisterTests()': /usr/include/gtest/internal/gtest-param-util.h:530:36: error: expected ';' before '::' token 530 | for (typename TestInfoContainer::iterator test_it = tests_.begin(); | ^~ | ; /usr/include/gtest/internal/gtest-param-util.h:530:38: error: '::iterator' has not been declared 530 | for (typename TestInfoContainer::iterator test_it = tests_.begin(); | ^~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h:530:38: note: suggested alternatives: In file included from /usr/include/c++/9/bits/stl_algobase.h:65, from /usr/include/c++/9/memory:62, from /usr/include/gtest/gtest.h:57, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/streaming_c.cpp:6: /usr/include/c++/9/bits/stl_iterator_base_types.h:118:12: note: 'std::iterator' 118 | struct iterator | ^~~~~~~~ /usr/include/c++/9/bits/stl_iterator_base_types.h:118:12: note: 'std::iterator' In file included from /usr/include/gtest/gtest-param-test.h:181, from /usr/include/gtest/gtest.h:67, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/streaming_c.cpp:6: /usr/include/gtest/internal/gtest-param-util.h:530:46: error: expected ';' before 'test_it' 530 | for (typename TestInfoContainer::iterator test_it = tests_.begin(); | ^~~~~~~~ | ; /usr/include/gtest/internal/gtest-param-util.h:530:47: error: 'test_it' was not declared in this scope 530 | for (typename TestInfoContainer::iterator test_it = tests_.begin(); | ^~~~~~~ /usr/include/gtest/internal/gtest-param-util.h:530:57: error: 'tests_' was not declared in this scope 530 | for (typename TestInfoContainer::iterator test_it = tests_.begin(); | ^~~~~~ /usr/include/gtest/internal/gtest-param-util.h:530:71: error: expected ')' before ';' token 530 | for (typename TestInfoContainer::iterator test_it = tests_.begin(); | ~ ^ | ) /usr/include/gtest/internal/gtest-param-util.h:531:10: error: 'test_it' was not declared in this scope 531 | test_it != tests_.end(); ++test_it) { | ^~~~~~~ /usr/include/gtest/internal/gtest-param-util.h:531:21: error: 'tests_' was not declared in this scope 531 | test_it != tests_.end(); ++test_it) { | ^~~~~~ /usr/include/gtest/internal/gtest-param-util.h: In constructor 'testing::internal::ParameterizedTestSuiteInfo::TestInfo::TestInfo(const char*, const char*, int*)': /usr/include/gtest/internal/gtest-param-util.h:593:11: error: class 'testing::internal::ParameterizedTestSuiteInfo::TestInfo' does not have any field named 'test_meta_factory' 593 | test_meta_factory(a_test_meta_factory) {} | ^~~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h: In constructor 'testing::internal::ParameterizedTestSuiteInfo::InstantiationInfo::InstantiationInfo(const string&, int (*)(), int*, const char*, int)': /usr/include/gtest/internal/gtest-param-util.h:611:13: error: class 'testing::internal::ParameterizedTestSuiteInfo::InstantiationInfo' does not have any field named 'name_func' 611 | name_func(name_func_in), | ^~~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h: At global scope: /usr/include/gtest/internal/gtest-param-util.h:648:1: error: expected unqualified-id before 'using' 648 | using ParameterizedTestCaseInfo = ParameterizedTestSuiteInfo; | ^~~~~ /usr/include/gtest/internal/gtest-param-util.h:705:3: error: 'ParameterizedTestCaseInfo' does not name a type; did you mean 'ParameterizedTestSuiteInfo'? 705 | ParameterizedTestCaseInfo* GetTestCasePatternHolder( | ^~~~~~~~~~~~~~~~~~~~~~~~~ | ParameterizedTestSuiteInfo /usr/include/gtest/internal/gtest-param-util.h:713:9: error: expected nested-name-specifier before 'TestSuiteInfoContainer' 713 | using TestSuiteInfoContainer = ::std::vector; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h:715:3: error: 'TestSuiteInfoContainer' does not name a type 715 | TestSuiteInfoContainer test_suite_infos_; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h: In destructor 'testing::internal::ParameterizedTestSuiteRegistry::~ParameterizedTestSuiteRegistry()': /usr/include/gtest/internal/gtest-param-util.h:661:34: error: 'test_suite_infos_' was not declared in this scope; did you mean 'test_suite_info'? 661 | for (auto& test_suite_info : test_suite_infos_) { | ^~~~~~~~~~~~~~~~~ | test_suite_info /usr/include/gtest/internal/gtest-param-util.h:662:14: error: type 'int' argument given to 'delete', expected pointer 662 | delete test_suite_info; | ^~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h: In member function 'testing::internal::ParameterizedTestSuiteInfo* testing::internal::ParameterizedTestSuiteRegistry::GetTestSuitePatternHolder(const char*, testing::internal::CodeLocation)': /usr/include/gtest/internal/gtest-param-util.h:671:62: error: 'nullptr' was not declared in this scope 671 | ParameterizedTestSuiteInfo* typed_test_info = nullptr; | ^~~~~~~ /usr/include/gtest/internal/gtest-param-util.h:672:34: error: 'test_suite_infos_' was not declared in this scope; did you mean 'test_suite_info'? 672 | for (auto& test_suite_info : test_suite_infos_) { | ^~~~~~~~~~~~~~~~~ | test_suite_info /usr/include/gtest/internal/gtest-param-util.h:673:26: error: base operand of '->' is not a pointer 673 | if (test_suite_info->GetTestSuiteName() == test_suite_name) { | ^~ /usr/include/gtest/internal/gtest-param-util.h:674:28: error: base operand of '->' is not a pointer 674 | if (test_suite_info->GetTestSuiteTypeId() != GetTypeId()) { | ^~ /usr/include/gtest/internal/gtest-param-util.h:679:18: error: 'Abort' is not a member of 'testing::internal::posix' 679 | posix::Abort(); | ^~~~~ /usr/include/gtest/internal/gtest-param-util.h:693:7: error: 'test_suite_infos_' was not declared in this scope; did you mean 'test_suite_name'? 693 | test_suite_infos_.push_back(typed_test_info); | ^~~~~~~~~~~~~~~~~ | test_suite_name /usr/include/gtest/internal/gtest-param-util.h: In member function 'void testing::internal::ParameterizedTestSuiteRegistry::RegisterTests()': /usr/include/gtest/internal/gtest-param-util.h:698:34: error: 'test_suite_infos_' was not declared in this scope; did you mean 'test_suite_info'? 698 | for (auto& test_suite_info : test_suite_infos_) { | ^~~~~~~~~~~~~~~~~ | test_suite_info /usr/include/gtest/internal/gtest-param-util.h:699:22: error: base operand of '->' is not a pointer 699 | test_suite_info->RegisterTests(); | ^~ /usr/include/gtest/internal/gtest-param-util.h: In constructor 'testing::internal::ValueArray::ValueArray(Ts ...)': /usr/include/gtest/internal/gtest-param-util.h:734:33: error: 'move' is not a member of 'std' 734 | ValueArray(Ts... v) : v_{std::move(v)...} {} | ^~~~ /usr/include/gtest/internal/gtest-param-util.h:734:33: note: 'std::move' is only available from C++11 onwards /usr/include/gtest/internal/gtest-param-util.h: At global scope: /usr/include/gtest/internal/gtest-param-util.h:752:45: error: 'tuple' is not a member of 'std' 752 | : public ParamGeneratorInterface<::std::tuple> { | ^~~~~ /usr/include/gtest/internal/gtest-param-util.h:752:45: note: 'std::tuple' is only available from C++11 onwards /usr/include/gtest/internal/gtest-param-util.h:752:45: error: 'tuple' is not a member of 'std' /usr/include/gtest/internal/gtest-param-util.h:752:45: note: 'std::tuple' is only available from C++11 onwards /usr/include/gtest/internal/gtest-param-util.h:752:52: error: expected parameter pack before '...' 752 | : public ParamGeneratorInterface<::std::tuple> { | ^~~ /usr/include/gtest/internal/gtest-param-util.h:752:55: error: spurious '>>', use '>' to terminate a template argument list 752 | : public ParamGeneratorInterface<::std::tuple> { | ^~ /usr/include/gtest/internal/gtest-param-util.h:752:45: error: 'tuple' is not a member of 'std' 752 | : public ParamGeneratorInterface<::std::tuple> { | ^~~~~ /usr/include/gtest/internal/gtest-param-util.h:752:45: note: 'std::tuple' is only available from C++11 onwards /usr/include/gtest/internal/gtest-param-util.h:752:45: error: 'tuple' is not a member of 'std' /usr/include/gtest/internal/gtest-param-util.h:752:45: note: 'std::tuple' is only available from C++11 onwards /usr/include/gtest/internal/gtest-param-util.h:752:52: error: expected parameter pack before '...' 752 | : public ParamGeneratorInterface<::std::tuple> { | ^~~ /usr/include/gtest/internal/gtest-param-util.h:752:55: error: spurious '>>', use '>' to terminate a template argument list 752 | : public ParamGeneratorInterface<::std::tuple> { | ^~ /usr/include/gtest/internal/gtest-param-util.h:752:37: error: expected '<' before '<:' token 752 | : public ParamGeneratorInterface<::std::tuple> { | ^~ /usr/include/gtest/internal/gtest-param-util.h:752:37: error: expected '{' before '<:' token /usr/include/gtest/internal/gtest-param-util.h:871:34: error: 'tuple' is not a member of 'std' 871 | operator ParamGenerator<::std::tuple>() const { | ^~~~~ /usr/include/gtest/internal/gtest-param-util.h:871:34: note: 'std::tuple' is only available from C++11 onwards /usr/include/gtest/internal/gtest-param-util.h:871:34: error: 'tuple' is not a member of 'std' /usr/include/gtest/internal/gtest-param-util.h:871:34: note: 'std::tuple' is only available from C++11 onwards /usr/include/gtest/internal/gtest-param-util.h:871:41: error: expected parameter pack before '...' 871 | operator ParamGenerator<::std::tuple>() const { | ^~~ /usr/include/gtest/internal/gtest-param-util.h:871:44: error: spurious '>>', use '>' to terminate a template argument list 871 | operator ParamGenerator<::std::tuple>() const { | ^~ /usr/include/gtest/internal/gtest-param-util.h:871:34: error: 'tuple' is not a member of 'std' 871 | operator ParamGenerator<::std::tuple>() const { | ^~~~~ /usr/include/gtest/internal/gtest-param-util.h:871:34: note: 'std::tuple' is only available from C++11 onwards /usr/include/gtest/internal/gtest-param-util.h:871:34: error: 'tuple' is not a member of 'std' /usr/include/gtest/internal/gtest-param-util.h:871:34: note: 'std::tuple' is only available from C++11 onwards /usr/include/gtest/internal/gtest-param-util.h:871:41: error: expected parameter pack before '...' 871 | operator ParamGenerator<::std::tuple>() const { | ^~~ /usr/include/gtest/internal/gtest-param-util.h:871:44: error: spurious '>>', use '>' to terminate a template argument list 871 | operator ParamGenerator<::std::tuple>() const { | ^~ /usr/include/gtest/internal/gtest-param-util.h:871:34: error: 'tuple' is not a member of 'std' 871 | operator ParamGenerator<::std::tuple>() const { | ^~~~~ /usr/include/gtest/internal/gtest-param-util.h:871:34: note: 'std::tuple' is only available from C++11 onwards /usr/include/gtest/internal/gtest-param-util.h:871:34: error: 'tuple' is not a member of 'std' /usr/include/gtest/internal/gtest-param-util.h:871:34: note: 'std::tuple' is only available from C++11 onwards /usr/include/gtest/internal/gtest-param-util.h:871:41: error: expected parameter pack before '...' 871 | operator ParamGenerator<::std::tuple>() const { | ^~~ /usr/include/gtest/internal/gtest-param-util.h:871:44: error: spurious '>>', use '>' to terminate a template argument list 871 | operator ParamGenerator<::std::tuple>() const { | ^~ /usr/include/gtest/internal/gtest-param-util.h:871:34: error: 'tuple' is not a member of 'std' 871 | operator ParamGenerator<::std::tuple>() const { | ^~~~~ /usr/include/gtest/internal/gtest-param-util.h:871:34: note: 'std::tuple' is only available from C++11 onwards /usr/include/gtest/internal/gtest-param-util.h:871:34: error: 'tuple' is not a member of 'std' /usr/include/gtest/internal/gtest-param-util.h:871:34: note: 'std::tuple' is only available from C++11 onwards /usr/include/gtest/internal/gtest-param-util.h:871:41: error: expected parameter pack before '...' 871 | operator ParamGenerator<::std::tuple>() const { | ^~~ /usr/include/gtest/internal/gtest-param-util.h:871:44: error: spurious '>>', use '>' to terminate a template argument list 871 | operator ParamGenerator<::std::tuple>() const { | ^~ /usr/include/gtest/internal/gtest-param-util.h:871:34: error: 'tuple' is not a member of 'std' 871 | operator ParamGenerator<::std::tuple>() const { | ^~~~~ /usr/include/gtest/internal/gtest-param-util.h:871:34: note: 'std::tuple' is only available from C++11 onwards /usr/include/gtest/internal/gtest-param-util.h:871:34: error: 'tuple' is not a member of 'std' /usr/include/gtest/internal/gtest-param-util.h:871:34: note: 'std::tuple' is only available from C++11 onwards /usr/include/gtest/internal/gtest-param-util.h:871:41: error: expected parameter pack before '...' 871 | operator ParamGenerator<::std::tuple>() const { | ^~~ /usr/include/gtest/internal/gtest-param-util.h:871:44: error: spurious '>>', use '>' to terminate a template argument list 871 | operator ParamGenerator<::std::tuple>() const { | ^~ /usr/include/gtest/internal/gtest-param-util.h:871:34: error: 'tuple' is not a member of 'std' 871 | operator ParamGenerator<::std::tuple>() const { | ^~~~~ /usr/include/gtest/internal/gtest-param-util.h:871:34: note: 'std::tuple' is only available from C++11 onwards /usr/include/gtest/internal/gtest-param-util.h:871:34: error: 'tuple' is not a member of 'std' /usr/include/gtest/internal/gtest-param-util.h:871:34: note: 'std::tuple' is only available from C++11 onwards /usr/include/gtest/internal/gtest-param-util.h:871:41: error: expected parameter pack before '...' 871 | operator ParamGenerator<::std::tuple>() const { | ^~~ /usr/include/gtest/internal/gtest-param-util.h:871:44: error: spurious '>>', use '>' to terminate a template argument list 871 | operator ParamGenerator<::std::tuple>() const { | ^~ /usr/include/gtest/internal/gtest-param-util.h:871:12: error: invalid use of template-name 'testing::internal::ParamGenerator' without an argument list 871 | operator ParamGenerator<::std::tuple>() const { | ^~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h:871:12: note: class template argument deduction is only available with '-std=c++17' or '-std=gnu++17' /usr/include/gtest/internal/gtest-param-util.h:86:27: note: 'template class testing::internal::ParamGenerator' declared here 86 | template class ParamGenerator; | ^~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h:877:8: error: 'tuple' in namespace 'std' does not name a template type 877 | std::tuple generators_; | ^~~~~ /usr/include/gtest/internal/gtest-param-util.h:877:3: note: 'std::tuple' is only available from C++11 onwards 877 | std::tuple generators_; | ^~~ /usr/include/gtest/internal/gtest-param-util.h: In constructor 'testing::internal::CartesianProductHolder::CartesianProductHolder(const Gen& ...)': /usr/include/gtest/internal/gtest-param-util.h:869:45: error: class 'testing::internal::CartesianProductHolder' does not have any field named 'generators_' 869 | CartesianProductHolder(const Gen&... g) : generators_(g...) {} | ^~~~~~~~~~~ In file included from /usr/include/gtest/gtest.h:67, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/streaming_c.cpp:6: /usr/include/gtest/gtest-param-test.h: In function 'testing::internal::ValueArray testing::Values(T ...)': /usr/include/gtest/gtest-param-test.h:336:42: error: 'move' is not a member of 'std' 336 | return internal::ValueArray(std::move(v)...); | ^~~~ /usr/include/gtest/gtest-param-test.h:336:42: note: 'std::move' is only available from C++11 onwards In file included from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/streaming_c.cpp:6: /usr/include/gtest/internal/gtest-internal.h: In instantiation of 'struct testing::internal::MakeIndexSequence<1>': /usr/include/gtest/internal/gtest-internal.h:1120:8: required from 'struct testing::internal::MakeIndexSequence<2>' /usr/include/gtest/internal/gtest-internal.h:1185:7: required from 'class testing::internal::FlatTuple' /usr/include/gtest/internal/gtest-param-util.h:747:20: required from 'class testing::internal::ValueArray' /usr/include/gtest/gtest-param-test.h:360:28: required from here /usr/include/gtest/internal/gtest-internal.h:1120:8: error: no type named 'type' in 'struct testing::internal::MakeIndexSequence<0>' 1120 | struct MakeIndexSequence | ^~~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h: In instantiation of 'struct testing::internal::MakeIndexSequence<2>': /usr/include/gtest/internal/gtest-internal.h:1185:7: required from 'class testing::internal::FlatTuple' /usr/include/gtest/internal/gtest-param-util.h:747:20: required from 'class testing::internal::ValueArray' /usr/include/gtest/gtest-param-test.h:360:28: required from here /usr/include/gtest/internal/gtest-internal.h:1120:8: error: no type named 'type' in 'struct testing::internal::MakeIndexSequence<1>' /usr/include/gtest/internal/gtest-internal.h: In instantiation of 'class testing::internal::FlatTuple': /usr/include/gtest/internal/gtest-param-util.h:747:20: required from 'class testing::internal::ValueArray' /usr/include/gtest/gtest-param-test.h:360:28: required from here /usr/include/gtest/internal/gtest-internal.h:1185:7: error: no type named 'type' in 'struct testing::internal::MakeIndexSequence<2>' 1185 | class FlatTuple | ^~~~~~~~~ In file included from /usr/include/gtest/gtest.h:70, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/streaming_c.cpp:6: /usr/include/gtest/gtest-test-part.h: In constructor 'testing::TestPartResult::TestPartResult(testing::TestPartResult::Type, const char*, int, const char*)': /usr/include/gtest/gtest-test-part.h:66:35: error: 'nullptr' was not declared in this scope 66 | file_name_(a_file_name == nullptr ? "" : a_file_name), | ^~~~~~~ /usr/include/gtest/gtest-test-part.h: In member function 'const char* testing::TestPartResult::file_name() const': /usr/include/gtest/gtest-test-part.h:77:33: error: 'nullptr' was not declared in this scope 77 | return file_name_.empty() ? nullptr : file_name_.c_str(); | ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/streaming_c.cpp:6: /usr/include/gtest/gtest.h: At global scope: /usr/include/gtest/gtest.h:191:7: error: expected nested-name-specifier before 'TestCase' 191 | using TestCase = TestSuite; | ^~~~~~~~ /usr/include/gtest/gtest.h:295:21: error: 'enable_if' in namespace 'std' does not name a template type 295 | typename std::enable_if< | ^~~~~~~~~ /usr/include/gtest/gtest.h:295:30: error: expected ',' or '...' before '<' token 295 | typename std::enable_if< | ^ /usr/include/gtest/gtest.h:357:8: error: 'unique_ptr' in namespace 'std' does not name a template type 357 | std::unique_ptr< ::std::string> message_; | ^~~~~~~~~~ /usr/include/gtest/gtest.h:357:3: note: 'std::unique_ptr' is only available from C++11 onwards 357 | std::unique_ptr< ::std::string> message_; | ^~~ /usr/include/gtest/gtest.h: In member function 'const char* testing::AssertionResult::message() const': /usr/include/gtest/gtest.h:322:12: error: 'message_' was not declared in this scope; did you mean 'message'? 322 | return message_.get() != nullptr ? message_->c_str() : ""; | ^~~~~~~~ | message /usr/include/gtest/gtest.h:322:30: error: 'nullptr' was not declared in this scope 322 | return message_.get() != nullptr ? message_->c_str() : ""; | ^~~~~~~ /usr/include/gtest/gtest.h: In member function 'void testing::AssertionResult::AppendMessage(const testing::Message&)': /usr/include/gtest/gtest.h:344:9: error: 'message_' was not declared in this scope; did you mean 'message'? 344 | if (message_.get() == nullptr) message_.reset(new ::std::string); | ^~~~~~~~ | message /usr/include/gtest/gtest.h:344:27: error: 'nullptr' was not declared in this scope 344 | if (message_.get() == nullptr) message_.reset(new ::std::string); | ^~~~~~~ /usr/include/gtest/gtest.h:345:5: error: 'message_' was not declared in this scope; did you mean 'message'? 345 | message_->append(a_message.GetString().c_str()); | ^~~~~~~~ | message In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/streaming_c.cpp:6: /usr/include/gtest/gtest.h: At global scope: /usr/include/gtest/gtest.h:494:14: error: 'unique_ptr' in namespace 'std' does not name a template type 494 | const std::unique_ptr gtest_flag_saver_; | ^~~~~~~~~~ /usr/include/gtest/gtest.h:494:9: note: 'std::unique_ptr' is only available from C++11 onwards 494 | const std::unique_ptr gtest_flag_saver_; | ^~~ /usr/include/gtest/gtest.h: In member function 'virtual testing::Test::Setup_should_be_spelled_SetUp* testing::Test::Setup()': /usr/include/gtest/gtest.h:513:59: error: 'nullptr' was not declared in this scope 513 | virtual Setup_should_be_spelled_SetUp* Setup() { return nullptr; } | ^~~~~~~ /usr/include/gtest/gtest.h: At global scope: /usr/include/gtest/gtest.h:774:52: error: 'testing::internal::SetUpTestSuiteFunc' has not been declared 774 | internal::TypeId fixture_class_id, internal::SetUpTestSuiteFunc set_up_tc, | ^~~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h:775:17: error: 'testing::internal::TearDownTestSuiteFunc' has not been declared 775 | internal::TearDownTestSuiteFunc tear_down_tc, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h:806:14: error: 'unique_ptr' in namespace 'std' does not name a template type 806 | const std::unique_ptr type_param_; | ^~~~~~~~~~ /usr/include/gtest/gtest.h:806:9: note: 'std::unique_ptr' is only available from C++11 onwards 806 | const std::unique_ptr type_param_; | ^~~ /usr/include/gtest/gtest.h:809:14: error: 'unique_ptr' in namespace 'std' does not name a template type 809 | const std::unique_ptr value_param_; | ^~~~~~~~~~ /usr/include/gtest/gtest.h:809:9: note: 'std::unique_ptr' is only available from C++11 onwards 809 | const std::unique_ptr value_param_; | ^~~ /usr/include/gtest/gtest.h: In member function 'const char* testing::TestInfo::type_param() const': /usr/include/gtest/gtest.h:715:9: error: 'type_param_' was not declared in this scope; did you mean 'type_param'? 715 | if (type_param_.get() != nullptr) return type_param_->c_str(); | ^~~~~~~~~~~ | type_param /usr/include/gtest/gtest.h:715:30: error: 'nullptr' was not declared in this scope 715 | if (type_param_.get() != nullptr) return type_param_->c_str(); | ^~~~~~~ /usr/include/gtest/gtest.h:716:12: error: 'nullptr' was not declared in this scope 716 | return nullptr; | ^~~~~~~ /usr/include/gtest/gtest.h: In member function 'const char* testing::TestInfo::value_param() const': /usr/include/gtest/gtest.h:722:9: error: 'value_param_' was not declared in this scope; did you mean 'value_param'? 722 | if (value_param_.get() != nullptr) return value_param_->c_str(); | ^~~~~~~~~~~~ | value_param /usr/include/gtest/gtest.h:722:31: error: 'nullptr' was not declared in this scope 722 | if (value_param_.get() != nullptr) return value_param_->c_str(); | ^~~~~~~ /usr/include/gtest/gtest.h:723:12: error: 'nullptr' was not declared in this scope 723 | return nullptr; | ^~~~~~~ /usr/include/gtest/gtest.h: At global scope: /usr/include/gtest/gtest.h:845:23: error: 'testing::internal::SetUpTestSuiteFunc' has not been declared 845 | internal::SetUpTestSuiteFunc set_up_tc, | ^~~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h:846:23: error: 'testing::internal::TearDownTestSuiteFunc' has not been declared 846 | internal::TearDownTestSuiteFunc tear_down_tc); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h:1005:14: error: 'unique_ptr' in namespace 'std' does not name a template type 1005 | const std::unique_ptr type_param_; | ^~~~~~~~~~ /usr/include/gtest/gtest.h:1005:9: note: 'std::unique_ptr' is only available from C++11 onwards 1005 | const std::unique_ptr type_param_; | ^~~ /usr/include/gtest/gtest.h:1014:13: error: 'SetUpTestSuiteFunc' in namespace 'testing::internal' does not name a type 1014 | internal::SetUpTestSuiteFunc set_up_tc_; | ^~~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h:1016:13: error: 'TearDownTestSuiteFunc' in namespace 'testing::internal' does not name a type 1016 | internal::TearDownTestSuiteFunc tear_down_tc_; | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h: In member function 'const char* testing::TestSuite::type_param() const': /usr/include/gtest/gtest.h:857:9: error: 'type_param_' was not declared in this scope; did you mean 'type_param'? 857 | if (type_param_.get() != nullptr) return type_param_->c_str(); | ^~~~~~~~~~~ | type_param /usr/include/gtest/gtest.h:857:30: error: 'nullptr' was not declared in this scope 857 | if (type_param_.get() != nullptr) return type_param_->c_str(); | ^~~~~~~ /usr/include/gtest/gtest.h:858:12: error: 'nullptr' was not declared in this scope 858 | return nullptr; | ^~~~~~~ /usr/include/gtest/gtest.h: In member function 'void testing::TestSuite::RunSetUpTestSuite()': /usr/include/gtest/gtest.h:946:9: error: 'set_up_tc_' was not declared in this scope 946 | if (set_up_tc_ != nullptr) { | ^~~~~~~~~~ /usr/include/gtest/gtest.h:946:23: error: 'nullptr' was not declared in this scope 946 | if (set_up_tc_ != nullptr) { | ^~~~~~~ /usr/include/gtest/gtest.h: In member function 'void testing::TestSuite::RunTearDownTestSuite()': /usr/include/gtest/gtest.h:954:9: error: 'tear_down_tc_' was not declared in this scope 954 | if (tear_down_tc_ != nullptr) { | ^~~~~~~~~~~~~ /usr/include/gtest/gtest.h:954:26: error: 'nullptr' was not declared in this scope 954 | if (tear_down_tc_ != nullptr) { | ^~~~~~~ /usr/include/gtest/gtest.h: In member function 'virtual testing::Environment::Setup_should_be_spelled_SetUp* testing::Environment::Setup()': /usr/include/gtest/gtest.h:1059:59: error: 'nullptr' was not declared in this scope 1059 | virtual Setup_should_be_spelled_SetUp* Setup() { return nullptr; } | ^~~~~~~ /usr/include/gtest/gtest.h: At global scope: /usr/include/gtest/gtest.h:1100:38: error: 'TestCase' does not name a type 1100 | virtual void OnTestCaseStart(const TestCase& /*test_case*/) {} | ^~~~~~~~ /usr/include/gtest/gtest.h:1119:36: error: 'TestCase' does not name a type 1119 | virtual void OnTestCaseEnd(const TestCase& /*test_case*/) {} | ^~~~~~~~ /usr/include/gtest/gtest.h:1151:30: error: 'TestCase' does not name a type 1151 | void OnTestCaseStart(const TestCase& /*test_case*/) override {} | ^~~~~~~~ /usr/include/gtest/gtest.h:1159:28: error: 'TestCase' does not name a type 1159 | void OnTestCaseEnd(const TestCase& /*test_case*/) override {} | ^~~~~~~~ /usr/include/gtest/gtest.h:1282:9: error: 'TestCase' does not name a type 1282 | const TestCase* current_test_case() const GTEST_LOCK_EXCLUDED_(mutex_); | ^~~~~~~~ /usr/include/gtest/gtest.h:1366:9: error: 'TestCase' does not name a type 1366 | const TestCase* GetTestCase(int i) const; | ^~~~~~~~ /usr/include/gtest/gtest.h:1549:21: error: 'enable_if' in namespace 'std' does not name a template type 1549 | typename std::enable_if::value || | ^~~~~~~~~ /usr/include/gtest/gtest.h:1549:30: error: expected '>' before '<' token 1549 | typename std::enable_if::value || | ^ /usr/include/gtest/gtest.h:1574:12: error: 'std::nullptr_t' has not been declared 1574 | std::nullptr_t /* lhs */, T* rhs) { | ^~~~~~~~~ /usr/include/gtest/gtest.h: In static member function 'static testing::AssertionResult testing::internal::EqHelper::Compare(const char*, const char*, int, T*)': /usr/include/gtest/gtest.h:1576:72: error: 'nullptr' was not declared in this scope 1576 | return CmpHelperEQ(lhs_expression, rhs_expression, static_cast(nullptr), | ^~~~~~~ In file included from /usr/include/gtest/internal/gtest-internal.h:40, from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/streaming_c.cpp:6: /usr/include/gtest/gtest.h: In static member function 'static const ParamType& testing::WithParamInterface::GetParam()': /usr/include/gtest/gtest.h:1857:5: error: 'nullptr' was not declared in this scope 1857 | GTEST_CHECK_(parameter_ != nullptr) | ^~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/streaming_c.cpp:6: /usr/include/gtest/gtest.h: At global scope: /usr/include/gtest/gtest.h:1878:46: error: 'nullptr' was not declared in this scope 1878 | const T* WithParamInterface::parameter_ = nullptr; | ^~~~~~~ /usr/include/gtest/gtest.h:2300:1: error: 'constexpr' does not name a type 2300 | constexpr bool StaticAssertTypeEq() noexcept { | ^~~~~~~~~ /usr/include/gtest/gtest.h:2300:1: note: C++11 'constexpr' only available with '-std=c++11' or '-std=gnu++11' /usr/include/gtest/gtest.h: In function 'testing::TestInfo* testing::RegisterTest(const char*, const char*, const char*, const char*, const char*, int, Factory)': /usr/include/gtest/gtest.h:2441:9: error: expected nested-name-specifier before 'TestT' 2441 | using TestT = typename std::remove_pointer::type; | ^~~~~ /usr/include/gtest/gtest.h: In constructor 'testing::RegisterTest(const char*, const char*, const char*, const char*, const char*, int, Factory)::FactoryImpl::FactoryImpl(Factory)': /usr/include/gtest/gtest.h:2445:53: error: 'move' is not a member of 'std' 2445 | explicit FactoryImpl(Factory f) : factory_(std::move(f)) {} | ^~~~ /usr/include/gtest/gtest.h:2445:53: note: 'std::move' is only available from C++11 onwards /usr/include/gtest/gtest.h: In function 'testing::TestInfo* testing::RegisterTest(const char*, const char*, const char*, const char*, const char*, int, Factory)': /usr/include/gtest/gtest.h:2454:63: error: 'TestT' was not declared in this scope; did you mean 'Test'? 2454 | internal::CodeLocation(file, line), internal::GetTypeId(), | ^~~~~ | Test /usr/include/gtest/gtest.h:2457:28: error: 'move' is not a member of 'std' 2457 | new FactoryImpl{std::move(factory)}); | ^~~~ /usr/include/gtest/gtest.h:2457:28: note: 'std::move' is only available from C++11 onwards In file included from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/streaming_c.cpp:6: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/streaming_c.cpp: At global scope: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/streaming_c.cpp:12:1: error: expected constructor, destructor, or type conversion before '(' token 12 | TEST(streaming, basic) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/streaming_c.cpp:12:1: error: expected constructor, destructor, or type conversion before '(' token 12 | TEST(streaming, basic) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/streaming_c.cpp:12:1: error: 'nullptr' was not declared in this scope 12 | TEST(streaming, basic) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/streaming_c.cpp:12:1: error: 'nullptr' was not declared in this scope 12 | TEST(streaming, basic) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/streaming_c.cpp:12:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 12 | TEST(streaming, basic) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/streaming_c.cpp:12:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 12 | TEST(streaming, basic) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/streaming_c.cpp: In member function 'virtual void streaming_basic_Test::TestBody()': /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/streaming_c.cpp:60:13: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 60 | EXPECT_TRUE(input <= eof); | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/streaming_c.cpp:6: /usr/include/gtest/gtest.h:293:12: note: candidate: 'template testing::AssertionResult::AssertionResult(const T&, int)' 293 | explicit AssertionResult( | ^~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h:293:12: note: template argument deduction/substitution failed: In file included from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/streaming_c.cpp:6: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/streaming_c.cpp:60:13: note: candidate expects 2 arguments, 1 provided 60 | EXPECT_TRUE(input <= eof); | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/streaming_c.cpp:6: /usr/include/gtest/gtest.h:279:3: note: candidate: 'testing::AssertionResult::AssertionResult(const testing::AssertionResult&)' 279 | AssertionResult(const AssertionResult& other); | ^~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h:279:42: note: no known conversion for argument 1 from 'bool' to 'const testing::AssertionResult&' 279 | AssertionResult(const AssertionResult& other); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/include/gtest/gtest.h:375, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/streaming_c.cpp:6: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/streaming_c.cpp:83:21: error: no matching function for call to 'testing::internal::EqHelper::Compare(const char [21], const char [47], std::string, std::string)' 83 | EXPECT_EQ(std::string("str",3), std::string(obj.via.str.ptr, obj.via.str.size)); | ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/streaming_c.cpp:6: /usr/include/gtest/gtest.h:1551:26: note: candidate: 'template > static testing::AssertionResult testing::internal::EqHelper::Compare(const char*, const char*, const T1&, const T2&)' 1551 | static AssertionResult Compare(const char* lhs_expression, | ^~~~~~~ /usr/include/gtest/gtest.h:1551:26: note: template argument deduction/substitution failed: In file included from /usr/include/gtest/gtest.h:375, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/streaming_c.cpp:6: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/streaming_c.cpp:83:21: note: couldn't deduce template parameter '' 83 | EXPECT_EQ(std::string("str",3), std::string(obj.via.str.ptr, obj.via.str.size)); | ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/streaming_c.cpp:6: /usr/include/gtest/gtest.h:1563:26: note: candidate: 'static testing::AssertionResult testing::internal::EqHelper::Compare(const char*, const char*, testing::internal::BiggestInt, testing::internal::BiggestInt)' 1563 | static AssertionResult Compare(const char* lhs_expression, | ^~~~~~~ /usr/include/gtest/gtest.h:1565:45: note: no known conversion for argument 3 from 'std::string' {aka 'std::__cxx11::basic_string'} to 'testing::internal::BiggestInt' {aka 'long long int'} 1565 | BiggestInt lhs, | ~~~~~~~~~~~^~~ /usr/include/gtest/gtest.h:1571:26: note: candidate: 'template static testing::AssertionResult testing::internal::EqHelper::Compare(const char*, const char*, int, T*)' 1571 | static AssertionResult Compare( | ^~~~~~~ /usr/include/gtest/gtest.h:1571:26: note: template argument deduction/substitution failed: In file included from /usr/include/gtest/gtest.h:375, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/streaming_c.cpp:6: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/streaming_c.cpp:83:21: note: mismatched types 'T*' and 'std::__cxx11::basic_string' 83 | EXPECT_EQ(std::string("str",3), std::string(obj.via.str.ptr, obj.via.str.size)); | ^~~~~~~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/streaming_c.cpp:90:21: error: no matching function for call to 'testing::internal::EqHelper::Compare(const char [26], const char [43], std::string, std::string)' 90 | EXPECT_EQ(std::string("str_data",8), std::string(e.via.str.ptr, e.via.str.size)); | ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/streaming_c.cpp:6: /usr/include/gtest/gtest.h:1551:26: note: candidate: 'template > static testing::AssertionResult testing::internal::EqHelper::Compare(const char*, const char*, const T1&, const T2&)' 1551 | static AssertionResult Compare(const char* lhs_expression, | ^~~~~~~ /usr/include/gtest/gtest.h:1551:26: note: template argument deduction/substitution failed: In file included from /usr/include/gtest/gtest.h:375, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/streaming_c.cpp:6: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/streaming_c.cpp:90:21: note: couldn't deduce template parameter '' 90 | EXPECT_EQ(std::string("str_data",8), std::string(e.via.str.ptr, e.via.str.size)); | ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/streaming_c.cpp:6: /usr/include/gtest/gtest.h:1563:26: note: candidate: 'static testing::AssertionResult testing::internal::EqHelper::Compare(const char*, const char*, testing::internal::BiggestInt, testing::internal::BiggestInt)' 1563 | static AssertionResult Compare(const char* lhs_expression, | ^~~~~~~ /usr/include/gtest/gtest.h:1565:45: note: no known conversion for argument 3 from 'std::string' {aka 'std::__cxx11::basic_string'} to 'testing::internal::BiggestInt' {aka 'long long int'} 1565 | BiggestInt lhs, | ~~~~~~~~~~~^~~ /usr/include/gtest/gtest.h:1571:26: note: candidate: 'template static testing::AssertionResult testing::internal::EqHelper::Compare(const char*, const char*, int, T*)' 1571 | static AssertionResult Compare( | ^~~~~~~ /usr/include/gtest/gtest.h:1571:26: note: template argument deduction/substitution failed: In file included from /usr/include/gtest/gtest.h:375, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/streaming_c.cpp:6: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/streaming_c.cpp:90:21: note: mismatched types 'T*' and 'std::__cxx11::basic_string' 90 | EXPECT_EQ(std::string("str_data",8), std::string(e.via.str.ptr, e.via.str.size)); | ^~~~~~~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/streaming_c.cpp:94:21: error: no matching function for call to 'testing::internal::EqHelper::Compare(const char [21], const char [47], std::string, std::string)' 94 | EXPECT_EQ(std::string("bin",3), std::string(obj.via.bin.ptr, obj.via.bin.size)); | ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/streaming_c.cpp:6: /usr/include/gtest/gtest.h:1551:26: note: candidate: 'template > static testing::AssertionResult testing::internal::EqHelper::Compare(const char*, const char*, const T1&, const T2&)' 1551 | static AssertionResult Compare(const char* lhs_expression, | ^~~~~~~ /usr/include/gtest/gtest.h:1551:26: note: template argument deduction/substitution failed: In file included from /usr/include/gtest/gtest.h:375, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/streaming_c.cpp:6: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/streaming_c.cpp:94:21: note: couldn't deduce template parameter '' 94 | EXPECT_EQ(std::string("bin",3), std::string(obj.via.bin.ptr, obj.via.bin.size)); | ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/streaming_c.cpp:6: /usr/include/gtest/gtest.h:1563:26: note: candidate: 'static testing::AssertionResult testing::internal::EqHelper::Compare(const char*, const char*, testing::internal::BiggestInt, testing::internal::BiggestInt)' 1563 | static AssertionResult Compare(const char* lhs_expression, | ^~~~~~~ /usr/include/gtest/gtest.h:1565:45: note: no known conversion for argument 3 from 'std::string' {aka 'std::__cxx11::basic_string'} to 'testing::internal::BiggestInt' {aka 'long long int'} 1565 | BiggestInt lhs, | ~~~~~~~~~~~^~~ /usr/include/gtest/gtest.h:1571:26: note: candidate: 'template static testing::AssertionResult testing::internal::EqHelper::Compare(const char*, const char*, int, T*)' 1571 | static AssertionResult Compare( | ^~~~~~~ /usr/include/gtest/gtest.h:1571:26: note: template argument deduction/substitution failed: In file included from /usr/include/gtest/gtest.h:375, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/streaming_c.cpp:6: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/streaming_c.cpp:94:21: note: mismatched types 'T*' and 'std::__cxx11::basic_string' 94 | EXPECT_EQ(std::string("bin",3), std::string(obj.via.bin.ptr, obj.via.bin.size)); | ^~~~~~~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/streaming_c.cpp:101:21: error: no matching function for call to 'testing::internal::EqHelper::Compare(const char [26], const char [43], std::string, std::string)' 101 | EXPECT_EQ(std::string("bin_data",8), std::string(e.via.bin.ptr, e.via.bin.size)); | ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/streaming_c.cpp:6: /usr/include/gtest/gtest.h:1551:26: note: candidate: 'template > static testing::AssertionResult testing::internal::EqHelper::Compare(const char*, const char*, const T1&, const T2&)' 1551 | static AssertionResult Compare(const char* lhs_expression, | ^~~~~~~ /usr/include/gtest/gtest.h:1551:26: note: template argument deduction/substitution failed: In file included from /usr/include/gtest/gtest.h:375, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/streaming_c.cpp:6: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/streaming_c.cpp:101:21: note: couldn't deduce template parameter '' 101 | EXPECT_EQ(std::string("bin_data",8), std::string(e.via.bin.ptr, e.via.bin.size)); | ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/streaming_c.cpp:6: /usr/include/gtest/gtest.h:1563:26: note: candidate: 'static testing::AssertionResult testing::internal::EqHelper::Compare(const char*, const char*, testing::internal::BiggestInt, testing::internal::BiggestInt)' 1563 | static AssertionResult Compare(const char* lhs_expression, | ^~~~~~~ /usr/include/gtest/gtest.h:1565:45: note: no known conversion for argument 3 from 'std::string' {aka 'std::__cxx11::basic_string'} to 'testing::internal::BiggestInt' {aka 'long long int'} 1565 | BiggestInt lhs, | ~~~~~~~~~~~^~~ /usr/include/gtest/gtest.h:1571:26: note: candidate: 'template static testing::AssertionResult testing::internal::EqHelper::Compare(const char*, const char*, int, T*)' 1571 | static AssertionResult Compare( | ^~~~~~~ /usr/include/gtest/gtest.h:1571:26: note: template argument deduction/substitution failed: In file included from /usr/include/gtest/gtest.h:375, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/streaming_c.cpp:6: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/streaming_c.cpp:101:21: note: mismatched types 'T*' and 'std::__cxx11::basic_string' 101 | EXPECT_EQ(std::string("bin_data",8), std::string(e.via.bin.ptr, e.via.bin.size)); | ^~~~~~~~~ In file included from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/streaming_c.cpp:6: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/streaming_c.cpp: At global scope: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/streaming_c.cpp:131:1: error: expected constructor, destructor, or type conversion before '(' token 131 | TEST(streaming, basic_with_size) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/streaming_c.cpp:131:1: error: expected constructor, destructor, or type conversion before '(' token 131 | TEST(streaming, basic_with_size) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/streaming_c.cpp:131:1: error: 'nullptr' was not declared in this scope 131 | TEST(streaming, basic_with_size) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/streaming_c.cpp:131:1: error: 'nullptr' was not declared in this scope 131 | TEST(streaming, basic_with_size) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/streaming_c.cpp:131:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 131 | TEST(streaming, basic_with_size) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/streaming_c.cpp:131:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 131 | TEST(streaming, basic_with_size) | ^~~~ /usr/include/gtest/internal/gtest-internal.h: In instantiation of 'struct testing::internal::IsRecursiveContainer': /usr/include/gtest/gtest-printers.h:506:15: required from 'void testing::internal::PrintTo(const T&, std::ostream*) [with T = const void*; std::ostream = std::basic_ostream]' /usr/include/gtest/gtest-printers.h:553:44: required from here /usr/include/gtest/internal/gtest-internal.h:948:8: error: no type named 'type' in 'struct testing::internal::IsRecursiveContainerImpl' 948 | struct IsRecursiveContainer : public IsRecursiveContainerImpl::type {}; | ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtest/gtest-matchers.h:47, from /usr/include/gtest/internal/gtest-death-test-internal.h:39, from /usr/include/gtest/gtest-death-test.h:41, from /usr/include/gtest/gtest.h:64, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/streaming_c.cpp:6: /usr/include/gtest/gtest-printers.h: In instantiation of 'void testing::internal::PrintTo(const T&, std::ostream*) [with T = const void*; std::ostream = std::basic_ostream]': /usr/include/gtest/gtest-printers.h:553:44: required from here /usr/include/gtest/gtest-printers.h:506:15: error: 'value' is not a member of 'testing::internal::IsRecursiveContainer' 506 | !IsRecursiveContainer::value | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtest/internal/gtest-death-test-internal.h:39, from /usr/include/gtest/gtest-death-test.h:41, from /usr/include/gtest/gtest.h:64, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/streaming_c.cpp:6: /usr/include/gtest/gtest-matchers.h: In instantiation of 'testing::PolymorphicMatcher::operator testing::Matcher() const [with T = const std::__cxx11::basic_string&; Impl = testing::internal::MatchesRegexMatcher]': /usr/include/gtest/internal/gtest-death-test-internal.h:170:39: required from here /usr/include/gtest/gtest-matchers.h:468:23: error: forming reference to reference type 'const std::__cxx11::basic_string&' 468 | return Matcher(new MonomorphicImpl(impl_)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtest/gtest-param-test.h:181, from /usr/include/gtest/gtest.h:67, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/streaming_c.cpp:6: /usr/include/gtest/internal/gtest-param-util.h: In instantiation of 'testing::internal::ValueArray::operator testing::internal::ParamGenerator() const [with T = bool; Ts = {bool, bool}]': /usr/include/gtest/gtest-param-test.h:360:28: required from here /usr/include/gtest/internal/gtest-param-util.h:738:20: error: no matching function for call to 'testing::internal::ValueArray::MakeVector(testing::internal::MakeIndexSequence<2>) const' 738 | return ValuesIn(MakeVector(MakeIndexSequence())); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h:743:18: note: candidate: 'template std::vector testing::internal::ValueArray::MakeVector(testing::internal::IndexSequence) const [with T = T; unsigned int ...I = {I ...}; Ts = {bool, bool}]' 743 | std::vector MakeVector(IndexSequence) const { | ^~~~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h:743:18: note: template argument deduction/substitution failed: /usr/include/gtest/internal/gtest-param-util.h:738:20: note: 'testing::internal::MakeIndexSequence<2>' is not derived from 'testing::internal::IndexSequence' 738 | return ValuesIn(MakeVector(MakeIndexSequence())); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/streaming_c.cpp:6: /usr/include/gtest/internal/gtest-internal.h: In instantiation of 'struct testing::internal::IsRecursiveContainer': /usr/include/gtest/gtest-printers.h:506:15: required from 'void testing::internal::PrintTo(const T&, std::ostream*) [with T = unsigned int; std::ostream = std::basic_ostream]' /usr/include/gtest/gtest-printers.h:679:12: required from 'static void testing::internal::UniversalPrinter::Print(const T&, std::ostream*) [with T = unsigned int; std::ostream = std::basic_ostream]' /usr/include/gtest/gtest-printers.h:869:30: required from 'void testing::internal::UniversalPrint(const T&, std::ostream*) [with T = unsigned int; std::ostream = std::basic_ostream]' /usr/include/gtest/gtest-printers.h:797:19: required from 'static void testing::internal::UniversalTersePrinter::Print(const T&, std::ostream*) [with T = unsigned int; std::ostream = std::basic_ostream]' /usr/include/gtest/gtest-printers.h:917:44: required from 'std::string testing::PrintToString(const T&) [with T = unsigned int; std::string = std::__cxx11::basic_string]' /usr/include/gtest/gtest-printers.h:314:36: required from 'static std::string testing::internal::FormatForComparison::Format(const ToPrint&) [with ToPrint = unsigned int; OtherOperand = unsigned int; std::string = std::__cxx11::basic_string]' /usr/include/gtest/gtest-printers.h:379:45: required from 'std::string testing::internal::FormatForComparisonFailureMessage(const T1&, const T2&) [with T1 = unsigned int; T2 = unsigned int; std::string = std::__cxx11::basic_string]' /usr/include/gtest/gtest.h:1590:63: required from 'testing::AssertionResult testing::internal::CmpHelperOpFailure(const char*, const char*, const T1&, const T2&, const char*) [with T1 = unsigned int; T2 = unsigned int]' /usr/include/gtest/gtest.h:1629:1: required from 'testing::AssertionResult testing::internal::CmpHelperGT(const char*, const char*, const T1&, const T2&) [with T1 = unsigned int; T2 = unsigned int]' /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/streaming_c.cpp:173:13: required from here /usr/include/gtest/internal/gtest-internal.h:948:8: error: no type named 'type' in 'struct testing::internal::IsRecursiveContainerImpl' 948 | struct IsRecursiveContainer : public IsRecursiveContainerImpl::type {}; | ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtest/gtest-matchers.h:47, from /usr/include/gtest/internal/gtest-death-test-internal.h:39, from /usr/include/gtest/gtest-death-test.h:41, from /usr/include/gtest/gtest.h:64, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/streaming_c.cpp:6: /usr/include/gtest/gtest-printers.h: In instantiation of 'void testing::internal::PrintTo(const T&, std::ostream*) [with T = unsigned int; std::ostream = std::basic_ostream]': /usr/include/gtest/gtest-printers.h:679:12: required from 'static void testing::internal::UniversalPrinter::Print(const T&, std::ostream*) [with T = unsigned int; std::ostream = std::basic_ostream]' /usr/include/gtest/gtest-printers.h:869:30: required from 'void testing::internal::UniversalPrint(const T&, std::ostream*) [with T = unsigned int; std::ostream = std::basic_ostream]' /usr/include/gtest/gtest-printers.h:797:19: required from 'static void testing::internal::UniversalTersePrinter::Print(const T&, std::ostream*) [with T = unsigned int; std::ostream = std::basic_ostream]' /usr/include/gtest/gtest-printers.h:917:44: required from 'std::string testing::PrintToString(const T&) [with T = unsigned int; std::string = std::__cxx11::basic_string]' /usr/include/gtest/gtest-printers.h:314:36: required from 'static std::string testing::internal::FormatForComparison::Format(const ToPrint&) [with ToPrint = unsigned int; OtherOperand = unsigned int; std::string = std::__cxx11::basic_string]' /usr/include/gtest/gtest-printers.h:379:45: required from 'std::string testing::internal::FormatForComparisonFailureMessage(const T1&, const T2&) [with T1 = unsigned int; T2 = unsigned int; std::string = std::__cxx11::basic_string]' /usr/include/gtest/gtest.h:1590:63: required from 'testing::AssertionResult testing::internal::CmpHelperOpFailure(const char*, const char*, const T1&, const T2&, const char*) [with T1 = unsigned int; T2 = unsigned int]' /usr/include/gtest/gtest.h:1629:1: required from 'testing::AssertionResult testing::internal::CmpHelperGT(const char*, const char*, const T1&, const T2&) [with T1 = unsigned int; T2 = unsigned int]' /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/streaming_c.cpp:173:13: required from here /usr/include/gtest/gtest-printers.h:506:15: error: 'value' is not a member of 'testing::internal::IsRecursiveContainer' 506 | !IsRecursiveContainer::value | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [test/CMakeFiles/streaming_c.dir/build.make:82: test/CMakeFiles/streaming_c.dir/streaming_c.cpp.o] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' make[1]: *** [CMakeFiles/Makefile2:1214: test/CMakeFiles/streaming_c.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' [ 3%] Building CXX object example/cpp03/CMakeFiles/class_intrusive.dir/class_intrusive.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' make[2]: Entering directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' [ 28%] Linking CXX executable class_intrusive make[2]: Leaving directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' make[1]: Entering directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' [ 28%] Built target class_intrusive make[1]: Leaving directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' make[2]: Entering directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' [ 25%] Building CXX object test/CMakeFiles/user_class.dir/user_class.cpp.o In file included from /usr/include/c++/9/type_traits:35, from /usr/include/gtest/gtest.h:59, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/include/c++/9/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/gtest/internal/gtest-internal.h:40, from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/include/gtest/internal/gtest-port.h:835:12: error: 'std::get' has not been declared 835 | using std::get; | ^~~ /usr/include/gtest/internal/gtest-port.h:836:12: error: 'std::make_tuple' has not been declared 836 | using std::make_tuple; | ^~~~~~~~~~ /usr/include/gtest/internal/gtest-port.h:837:12: error: 'std::tuple' has not been declared 837 | using std::tuple; | ^~~~~ /usr/include/gtest/internal/gtest-port.h:838:12: error: 'std::tuple_element' has not been declared 838 | using std::tuple_element; | ^~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-port.h:839:12: error: 'std::tuple_size' has not been declared 839 | using std::tuple_size; | ^~~~~~~~~~ /usr/include/gtest/internal/gtest-port.h: In function 'void testing::internal::FlushInfoLog()': /usr/include/gtest/internal/gtest-port.h:972:37: error: 'nullptr' was not declared in this scope 972 | inline void FlushInfoLog() { fflush(nullptr); } | ^~~~~~~ /usr/include/gtest/internal/gtest-port.h: In function 'To testing::internal::DownCast_(From*)': /usr/include/gtest/internal/gtest-port.h:1082:17: error: 'nullptr' was not declared in this scope 1082 | const To to = nullptr; | ^~~~~~~ /usr/include/gtest/internal/gtest-port.h:1088:3: error: 'nullptr' was not declared in this scope 1088 | GTEST_CHECK_(f == nullptr || dynamic_cast(f) != nullptr); | ^~~~~~~~~~~~ /usr/include/gtest/internal/gtest-port.h: In function 'void testing::internal::SleepMilliseconds(int)': /usr/include/gtest/internal/gtest-port.h:1157:20: error: 'nullptr' was not declared in this scope 1157 | nanosleep(&time, nullptr); | ^~~~~~~ /usr/include/gtest/internal/gtest-port.h: In constructor 'testing::internal::Notification::Notification()': /usr/include/gtest/internal/gtest-port.h:1175:5: error: 'nullptr' was not declared in this scope 1175 | GTEST_CHECK_POSIX_SUCCESS_(pthread_mutex_init(&mutex_, nullptr)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-port.h: In function 'void* testing::internal::ThreadFuncWithCLinkage(void*)': /usr/include/gtest/internal/gtest-port.h:1285:10: error: 'nullptr' was not declared in this scope 1285 | return nullptr; | ^~~~~~~ /usr/include/gtest/internal/gtest-port.h: In constructor 'testing::internal::ThreadWithParam::ThreadWithParam(void (*)(T), T, testing::internal::Notification*)': /usr/include/gtest/internal/gtest-port.h:1313:5: error: 'nullptr' was not declared in this scope 1313 | GTEST_CHECK_POSIX_SUCCESS_( | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-port.h: In member function 'void testing::internal::ThreadWithParam::Join()': /usr/include/gtest/internal/gtest-port.h:1320:7: error: 'nullptr' was not declared in this scope 1320 | GTEST_CHECK_POSIX_SUCCESS_(pthread_join(thread_, nullptr)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-port.h: In member function 'void testing::internal::ThreadWithParam::Run()': /usr/include/gtest/internal/gtest-port.h:1326:30: error: 'nullptr' was not declared in this scope 1326 | if (thread_can_start_ != nullptr) thread_can_start_->WaitForNotification(); | ^~~~~~~ /usr/include/gtest/internal/gtest-port.h: In constructor 'testing::internal::Mutex::Mutex()': /usr/include/gtest/internal/gtest-port.h:1690:5: error: 'nullptr' was not declared in this scope 1690 | GTEST_CHECK_POSIX_SUCCESS_(pthread_mutex_init(&mutex_, nullptr)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-port.h: At global scope: /usr/include/gtest/internal/gtest-port.h:1832:8: error: 'unique_ptr' in namespace 'std' does not name a template type 1832 | std::unique_ptr default_factory_; | ^~~~~~~~~~ /usr/include/gtest/internal/gtest-port.h:1832:3: note: 'std::unique_ptr' is only available from C++11 onwards 1832 | std::unique_ptr default_factory_; | ^~~ /usr/include/gtest/internal/gtest-port.h: In constructor 'testing::internal::ThreadLocal::ThreadLocal()': /usr/include/gtest/internal/gtest-port.h:1743:28: error: class 'testing::internal::ThreadLocal' does not have any field named 'default_factory_' 1743 | : key_(CreateKey()), default_factory_(new DefaultValueHolderFactory()) {} | ^~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-port.h: In constructor 'testing::internal::ThreadLocal::ThreadLocal(const T&)': /usr/include/gtest/internal/gtest-port.h:1746:9: error: class 'testing::internal::ThreadLocal' does not have any field named 'default_factory_' 1746 | default_factory_(new InstanceValueHolderFactory(value)) {} | ^~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-port.h: In member function 'T* testing::internal::ThreadLocal::GetOrCreateValue() const': /usr/include/gtest/internal/gtest-port.h:1788:19: error: 'nullptr' was not declared in this scope 1788 | if (holder != nullptr) { | ^~~~~~~ /usr/include/gtest/internal/gtest-port.h:1792:37: error: 'default_factory_' was not declared in this scope 1792 | ValueHolder* const new_holder = default_factory_->MakeNewHolder(); | ^~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-port.h: At global scope: /usr/include/gtest/internal/gtest-port.h:1891:1: error: expected unqualified-id before 'using' 1891 | using bool_constant = std::integral_constant; | ^~~~~ /usr/include/gtest/internal/gtest-port.h:2070:1: error: expected unqualified-id before '[' token 2070 | [[noreturn]] inline void Abort() { abort(); } | ^ In file included from /usr/include/gtest/internal/gtest-internal.h:64, from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/include/gtest/gtest-message.h:190:14: error: 'unique_ptr' in namespace 'std' does not name a template type 190 | const std::unique_ptr< ::std::stringstream> ss_; | ^~~~~~~~~~ /usr/include/gtest/gtest-message.h:190:9: note: 'std::unique_ptr' is only available from C++11 onwards 190 | const std::unique_ptr< ::std::stringstream> ss_; | ^~~ /usr/include/gtest/gtest-message.h: In copy constructor 'testing::Message::Message(const testing::Message&)': /usr/include/gtest/gtest-message.h:101:33: error: class 'testing::Message' does not have any field named 'ss_' 101 | Message(const Message& msg) : ss_(new ::std::stringstream) { // NOLINT | ^~~ /usr/include/gtest/gtest-message.h:102:6: error: 'ss_' was not declared in this scope 102 | *ss_ << msg.GetString(); | ^~~ /usr/include/gtest/gtest-message.h: In constructor 'testing::Message::Message(const char*)': /usr/include/gtest/gtest-message.h:106:39: error: class 'testing::Message' does not have any field named 'ss_' 106 | explicit Message(const char* str) : ss_(new ::std::stringstream) { | ^~~ /usr/include/gtest/gtest-message.h:107:6: error: 'ss_' was not declared in this scope 107 | *ss_ << str; | ^~~ /usr/include/gtest/gtest-message.h: In member function 'testing::Message& testing::Message::operator<<(const T&)': /usr/include/gtest/gtest-message.h:128:6: error: 'ss_' was not declared in this scope 128 | *ss_ << val; | ^~~ /usr/include/gtest/gtest-message.h: In member function 'testing::Message& testing::Message::operator<<(T* const&)': /usr/include/gtest/gtest-message.h:147:20: error: 'nullptr' was not declared in this scope 147 | if (pointer == nullptr) { | ^~~~~~~ /usr/include/gtest/gtest-message.h:148:8: error: 'ss_' was not declared in this scope 148 | *ss_ << "(null)"; | ^~~ /usr/include/gtest/gtest-message.h:150:8: error: 'ss_' was not declared in this scope 150 | *ss_ << pointer; | ^~~ /usr/include/gtest/gtest-message.h: In member function 'testing::Message& testing::Message::operator<<(testing::Message::BasicNarrowIoManip)': /usr/include/gtest/gtest-message.h:162:6: error: 'ss_' was not declared in this scope 162 | *ss_ << val; | ^~~ In file included from /usr/include/gtest/internal/gtest-internal.h:67, from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/include/gtest/internal/gtest-type-util.h: In function 'std::string testing::internal::GetTypeName()': /usr/include/gtest/internal/gtest-type-util.h:91:52: error: 'nullptr' was not declared in this scope 91 | char* const readable_name = __cxa_demangle(name, nullptr, nullptr, &status); | ^~~~~~~ In file included from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/include/gtest/internal/gtest-internal.h: At global scope: /usr/include/gtest/internal/gtest-internal.h:121:27: error: 'enable_if' in namespace 'std' does not name a template type 121 | typename std::enable_if::value, | ^~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:121:36: error: expected '>' before '<' token 121 | typename std::enable_if::value, | ^ /usr/include/gtest/internal/gtest-internal.h:477:7: error: expected nested-name-specifier before 'SetUpTestSuiteFunc' 477 | using SetUpTestSuiteFunc = void (*)(); | ^~~~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:478:7: error: expected nested-name-specifier before 'TearDownTestSuiteFunc' 478 | using TearDownTestSuiteFunc = void (*)(); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:492:7: error: expected nested-name-specifier before 'SetUpTearDownSuiteFuncType' 492 | using SetUpTearDownSuiteFuncType = void (*)(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:494:8: error: 'SetUpTearDownSuiteFuncType' does not name a type 494 | inline SetUpTearDownSuiteFuncType GetNotDefaultOrNull( | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:506:9: error: expected nested-name-specifier before 'Test' 506 | using Test = | ^~~~ /usr/include/gtest/internal/gtest-internal.h:509:10: error: 'SetUpTearDownSuiteFuncType' does not name a type 509 | static SetUpTearDownSuiteFuncType GetSetUpCaseOrSuite(const char* filename, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:524:10: error: 'SetUpTearDownSuiteFuncType' does not name a type 524 | static SetUpTearDownSuiteFuncType GetTearDownCaseOrSuite(const char* filename, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:561:30: error: 'SetUpTestSuiteFunc' has not been declared 561 | TypeId fixture_class_id, SetUpTestSuiteFunc set_up_tc, | ^~~~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:562:5: error: 'TearDownTestSuiteFunc' has not been declared 562 | TearDownTestSuiteFunc tear_down_tc, TestFactoryBase* factory); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h: In member function 'bool testing::internal::TypedTestSuitePState::AddTestName(const char*, int, const char*, const char*)': /usr/include/gtest/internal/gtest-internal.h:590:14: error: 'Abort' is not a member of 'testing::internal::posix' 590 | posix::Abort(); | ^~~~~ /usr/include/gtest/internal/gtest-internal.h: At global scope: /usr/include/gtest/internal/gtest-internal.h:622:7: error: expected nested-name-specifier before 'TypedTestCasePState' 622 | using TypedTestCasePState = TypedTestSuitePState; | ^~~~~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h: In function 'const char* testing::internal::SkipComma(const char*)': /usr/include/gtest/internal/gtest-internal.h:631:16: error: 'nullptr' was not declared in this scope 631 | if (comma == nullptr) { | ^~~~~~~ /usr/include/gtest/internal/gtest-internal.h: In function 'std::string testing::internal::GetPrefixUntilComma(const char*)': /usr/include/gtest/internal/gtest-internal.h:642:19: error: 'nullptr' was not declared in this scope 642 | return comma == nullptr ? str : std::string(str, comma); | ^~~~~~~ /usr/include/gtest/internal/gtest-internal.h: In static member function 'static bool testing::internal::TypeParameterizedTest::Register(const char*, const testing::internal::CodeLocation&, const char*, const char*, int, const std::vector >&)': /usr/include/gtest/internal/gtest-internal.h:711:9: error: 'nullptr' was not declared in this scope 711 | nullptr, // No value parameter. | ^~~~~~~ /usr/include/gtest/internal/gtest-internal.h: In static member function 'static bool testing::internal::TypeParameterizedTestSuite::Register(const char*, testing::internal::CodeLocation, const testing::internal::TypedTestSuitePState*, const char*, const char*, const std::vector >&)': /usr/include/gtest/internal/gtest-internal.h:763:14: error: 'Abort' is not a member of 'testing::internal::posix' 763 | posix::Abort(); | ^~~~~ /usr/include/gtest/internal/gtest-internal.h: At global scope: /usr/include/gtest/internal/gtest-internal.h:858:27: error: expected template-name before '<' token 858 | : public bool_constant< | ^ /usr/include/gtest/internal/gtest-internal.h:858:27: error: expected '{' before '<' token /usr/include/gtest/internal/gtest-internal.h:887:28: error: expected type-specifier before 'decltype' 887 | class Iterator = decltype(::std::declval().begin()), | ^~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:887:28: error: expected '>' before 'decltype' /usr/include/gtest/internal/gtest-internal.h:892:44: error: default template arguments may not be used in function templates without '-std=c++11' or '-std=gnu++11' 892 | IsContainer IsContainerTest(int /* dummy */) { | ^ /usr/include/gtest/internal/gtest-internal.h:915:44: error: 'nullptr' was not declared in this scope 915 | static const bool value = sizeof(test(nullptr, nullptr)) == sizeof(int); | ^~~~~~~ /usr/include/gtest/internal/gtest-internal.h:915:53: error: 'nullptr' was not declared in this scope 915 | static const bool value = sizeof(test(nullptr, nullptr)) == sizeof(int); | ^~~~~~~ /usr/include/gtest/internal/gtest-internal.h:926:68: error: expected class-name before '{' token 926 | struct IsRecursiveContainerImpl : public std::false_type {}; | ^ /usr/include/gtest/internal/gtest-internal.h:934:9: error: expected nested-name-specifier before 'value_type' 934 | using value_type = decltype(*std::declval()); | ^~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:935:9: error: expected nested-name-specifier before 'type' 935 | using type = | ^~~~ /usr/include/gtest/internal/gtest-internal.h:1072:17: error: expected identifier before '!' token 1072 | static_assert(!std::is_const::value, "Type must not be const"); | ^ /usr/include/gtest/internal/gtest-internal.h:1072:17: error: expected ',' or '...' before '!' token /usr/include/gtest/internal/gtest-internal.h:1073:17: error: expected identifier before '!' token 1073 | static_assert(!std::is_reference::value, | ^ /usr/include/gtest/internal/gtest-internal.h:1073:17: error: expected ',' or '...' before '!' token /usr/include/gtest/internal/gtest-internal.h:1073:3: error: 'int testing::internal::NativeArray::static_assert(int)' cannot be overloaded with 'int testing::internal::NativeArray::static_assert(int)' 1073 | static_assert(!std::is_reference::value, | ^~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:1072:3: note: previous declaration 'int testing::internal::NativeArray::static_assert(int)' 1072 | static_assert(!std::is_const::value, "Type must not be const"); | ^~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:1102:9: error: expected nested-name-specifier before 'type' 1102 | using type = IndexSequence; | ^~~~ /usr/include/gtest/internal/gtest-internal.h:1110:9: error: expected nested-name-specifier before 'type' 1110 | using type = IndexSequence; | ^~~~ /usr/include/gtest/internal/gtest-internal.h:1114:9: error: expected nested-name-specifier before 'type' 1114 | using type = IndexSequence; | ^~~~ /usr/include/gtest/internal/gtest-internal.h:1135:9: error: expected nested-name-specifier before 'type' 1135 | using type = T; | ^~~~ /usr/include/gtest/internal/gtest-internal.h:1155:9: error: expected nested-name-specifier before 'value_type' 1155 | using value_type = | ^~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:1159:40: error: expected ')' before 't' 1159 | explicit FlatTupleElemBase(value_type t) : value(std::move(t)) {} | ~ ^~ | ) /usr/include/gtest/internal/gtest-internal.h:1160:3: error: 'value_type' does not name a type 1160 | value_type value; | ^~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:1167:59: error: '>>' should be '> >' within a nested template argument list 1167 | struct FlatTupleBase, IndexSequence> | ^~ | > > /usr/include/gtest/internal/gtest-internal.h:1169:9: error: expected nested-name-specifier before 'Indices' 1169 | using Indices = IndexSequence; | ^~~~~~~ /usr/include/gtest/internal/gtest-internal.h: In constructor 'testing::internal::FlatTupleBase, testing::internal::IndexSequence >::FlatTupleBase(T ...)': /usr/include/gtest/internal/gtest-internal.h:1172:54: error: 'move' is not a member of 'std' 1172 | : FlatTupleElemBase, Idx>(std::move(t))... {} | ^~~~ /usr/include/gtest/internal/gtest-internal.h:1172:54: note: 'std::move' is only available from C++11 onwards /usr/include/gtest/internal/gtest-internal.h: At global scope: /usr/include/gtest/internal/gtest-internal.h:1188:9: error: expected nested-name-specifier before 'Indices' 1188 | using Indices = typename FlatTuple::FlatTupleBase::Indices; | ^~~~~~~ /usr/include/gtest/internal/gtest-internal.h:1195:34: error: 'Indices' was not declared in this scope; did you mean 'nice'? 1195 | const typename ElemFromList::type& Get() const { | ^~~~~~~ | nice /usr/include/gtest/internal/gtest-internal.h:1195:47: error: template argument 2 is invalid 1195 | const typename ElemFromList::type& Get() const { | ^ /usr/include/gtest/internal/gtest-internal.h:1200:28: error: 'Indices' was not declared in this scope; did you mean 'nice'? 1200 | typename ElemFromList::type& Get() { | ^~~~~~~ | nice /usr/include/gtest/internal/gtest-internal.h:1200:41: error: template argument 2 is invalid 1200 | typename ElemFromList::type& Get() { | ^ /usr/include/gtest/internal/gtest-internal.h: In constructor 'testing::internal::FlatTuple::FlatTuple(T ...)': /usr/include/gtest/internal/gtest-internal.h:1192:62: error: 'move' is not a member of 'std' 1192 | explicit FlatTuple(T... t) : FlatTuple::FlatTupleBase(std::move(t)...) {} | ^~~~ /usr/include/gtest/internal/gtest-internal.h:1192:62: note: 'std::move' is only available from C++11 onwards /usr/include/gtest/internal/gtest-internal.h: At global scope: /usr/include/gtest/internal/gtest-internal.h:1210:1: error: 'constexpr' does not name a type 1210 | constexpr bool InstantiateTestCase_P_IsDeprecated() { return true; } | ^~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:1210:1: note: C++11 'constexpr' only available with '-std=c++11' or '-std=gnu++11' /usr/include/gtest/internal/gtest-internal.h:1215:1: error: 'constexpr' does not name a type 1215 | constexpr bool TypedTestCase_P_IsDeprecated() { return true; } | ^~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:1215:1: note: C++11 'constexpr' only available with '-std=c++11' or '-std=gnu++11' /usr/include/gtest/internal/gtest-internal.h:1220:1: error: 'constexpr' does not name a type 1220 | constexpr bool TypedTestCaseIsDeprecated() { return true; } | ^~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:1220:1: note: C++11 'constexpr' only available with '-std=c++11' or '-std=gnu++11' /usr/include/gtest/internal/gtest-internal.h:1225:1: error: 'constexpr' does not name a type 1225 | constexpr bool RegisterTypedTestCase_P_IsDeprecated() { return true; } | ^~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:1225:1: note: C++11 'constexpr' only available with '-std=c++11' or '-std=gnu++11' /usr/include/gtest/internal/gtest-internal.h:1230:1: error: 'constexpr' does not name a type 1230 | constexpr bool InstantiateTypedTestCase_P_IsDeprecated() { return true; } | ^~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:1230:1: note: C++11 'constexpr' only available with '-std=c++11' or '-std=gnu++11' In file included from /usr/include/gtest/gtest-matchers.h:47, from /usr/include/gtest/internal/gtest-death-test-internal.h:39, from /usr/include/gtest/gtest-death-test.h:41, from /usr/include/gtest/gtest.h:64, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/include/gtest/gtest-printers.h: In static member function 'static void testing::internal2::TypeWithoutFormatter::PrintValue(const T&, std::ostream*)': /usr/include/gtest/gtest-printers.h:156:48: error: 'addressof' is not a member of 'std' 156 | reinterpret_cast(std::addressof(value))), | ^~~~~~~~~ /usr/include/gtest/gtest-printers.h: In function 'std::basic_ostream<_CharT, _Traits>& testing::internal2::operator<<(std::basic_ostream<_CharT, _Traits>&, const T&)': /usr/include/gtest/gtest-printers.h:236:39: error: 'is_convertible' is not a member of 'std'; did you mean 'std::tr1::is_convertible'? 236 | : std::is_convertible< | ^~~~~~~~~~~~~~ In file included from /usr/include/c++/9/tr1/unordered_map:39, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/adaptor/tr1/unordered_map.hpp:29, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/type.hpp:30, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack.hpp:22, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:1: /usr/include/c++/9/tr1/type_traits:636:12: note: 'std::tr1::is_convertible' declared here 636 | struct is_convertible | ^~~~~~~~~~~~~~ In file included from /usr/include/gtest/gtest-matchers.h:47, from /usr/include/gtest/internal/gtest-death-test-internal.h:39, from /usr/include/gtest/gtest-death-test.h:41, from /usr/include/gtest/gtest.h:64, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/include/gtest/gtest-printers.h:237:68: error: template argument 2 is invalid 237 | const T&, internal::BiggestInt>::value | ^ /usr/include/gtest/gtest-printers.h:238:38: error: qualified-id in declaration before '?' token 238 | ? kConvertibleToInteger | ^ /usr/include/gtest/gtest-printers.h: In function 'void testing::internal::DefaultPrintTo(testing::internal::WrapPrinterType, T*, std::ostream*)': /usr/include/gtest/gtest-printers.h:441:12: error: 'nullptr' was not declared in this scope 441 | if (p == nullptr) { | ^~~~~~~ /usr/include/gtest/gtest-printers.h: In function 'void testing::internal::DefaultPrintTo(testing::internal::WrapPrinterType, T*, std::ostream*)': /usr/include/gtest/gtest-printers.h:453:12: error: 'nullptr' was not declared in this scope 453 | if (p == nullptr) { | ^~~~~~~ /usr/include/gtest/gtest-printers.h: In function 'void testing::internal::PrintTo(const T&, std::ostream*)': /usr/include/gtest/gtest-printers.h:508:19: error: 'is_pointer' is not a member of 'std'; did you mean 'isprint'? 508 | : !std::is_pointer::value | ^~~~~~~~~~ | isprint /usr/include/gtest/gtest-printers.h:504:7: error: parse error in template argument list 504 | WrapPrinterType < | ^~~~~~~~~~~~~~~~~ 505 | (sizeof(IsContainerTest(0)) == sizeof(IsContainer)) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 506 | !IsRecursiveContainer::value | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 507 | ? kPrintContainer | ~~~~~~~~~~~~~~~~~ 508 | : !std::is_pointer::value | ~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest-printers.h:510:24: error: 'is_function' is not a member of 'std'; did you mean 'binary_function'? 510 | : std::is_function::type>::value | ^~~~~~~~~~~ | binary_function /usr/include/gtest/gtest-printers.h:510:50: error: 'remove_pointer' in namespace 'std' does not name a template type 510 | : std::is_function::type>::value | ^~~~~~~~~~~~~~ /usr/include/gtest/gtest-printers.h:510:64: error: expected '(' before '<' token 510 | : std::is_function::type>::value | ^ | ( /usr/include/gtest/gtest-printers.h:510:66: error: expected primary-expression before '>' token 510 | : std::is_function::type>::value | ^ /usr/include/gtest/gtest-printers.h:510:69: error: '::type' has not been declared 510 | : std::is_function::type>::value | ^~~~ /usr/include/gtest/gtest-printers.h:510:69: note: suggested alternatives: In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/object_fwd_decl.hpp:14, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/object_fwd.hpp:14, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v1/adaptor/adaptor_base_decl.hpp:14, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/adaptor/adaptor_base_decl.hpp:13, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/adaptor/adaptor_base.hpp:13, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v1/object_decl.hpp:16, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/object_decl.hpp:14, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/object.hpp:13, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack.hpp:10, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:1: /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v1/object_fwd_decl.hpp:27:11: note: 'msgpack::v1::type' 27 | namespace type { | ^~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/object_fwd_decl.hpp:15, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/object_fwd.hpp:14, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v1/adaptor/adaptor_base_decl.hpp:14, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/adaptor/adaptor_base_decl.hpp:13, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/adaptor/adaptor_base.hpp:13, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v1/object_decl.hpp:16, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/object_decl.hpp:14, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/object.hpp:13, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack.hpp:10, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:1: /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v2/object_fwd_decl.hpp:22:11: note: 'msgpack::v2::type' 22 | namespace type { | ^~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/object_fwd_decl.hpp:16, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/object_fwd.hpp:14, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v1/adaptor/adaptor_base_decl.hpp:14, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/adaptor/adaptor_base_decl.hpp:13, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/adaptor/adaptor_base.hpp:13, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v1/object_decl.hpp:16, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/object_decl.hpp:14, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/object.hpp:13, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack.hpp:10, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:1: /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v3/object_fwd_decl.hpp:22:11: note: 'msgpack::v3::type' 22 | namespace type { | ^~~~ In file included from /usr/include/gtest/gtest-matchers.h:47, from /usr/include/gtest/internal/gtest-death-test-internal.h:39, from /usr/include/gtest/gtest-death-test.h:41, from /usr/include/gtest/gtest.h:64, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/include/gtest/gtest-printers.h:510:76: error: '::value' has not been declared 510 | : std::is_function::type>::value | ^~~~~ /usr/include/gtest/gtest-printers.h:510:76: note: suggested alternatives: In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/unpack_decl.hpp:13, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v2/parse.hpp:20, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/parse.hpp:15, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack.hpp:15, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:1: /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v1/unpack_decl.hpp:185:8: note: 'msgpack::v1::detail::value' 185 | struct value; | ^~~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v1/unpack_decl.hpp:185:8: note: 'msgpack::v1::detail::value' /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v1/unpack_decl.hpp:185:8: note: 'msgpack::v1::detail::value' In file included from /usr/include/gtest/gtest-matchers.h:47, from /usr/include/gtest/internal/gtest-death-test-internal.h:39, from /usr/include/gtest/gtest-death-test.h:41, from /usr/include/gtest/gtest.h:64, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/include/gtest/gtest-printers.h:512:42: error: expected primary-expression before ')' token 512 | : kPrintPointer > (), | ^ /usr/include/gtest/gtest-printers.h: At global scope: /usr/include/gtest/gtest-printers.h:613:26: error: variable or field 'PrintTo' declared void 613 | inline void PrintTo(std::nullptr_t, ::std::ostream* os) { *os << "(nullptr)"; } | ^~~~~~~~~ /usr/include/gtest/gtest-printers.h:613:26: error: 'nullptr_t' is not a member of 'std' /usr/include/gtest/gtest-printers.h:613:51: error: expected primary-expression before '*' token 613 | inline void PrintTo(std::nullptr_t, ::std::ostream* os) { *os << "(nullptr)"; } | ^ /usr/include/gtest/gtest-printers.h:613:53: error: 'os' was not declared in this scope; did you mean 'cos'? 613 | inline void PrintTo(std::nullptr_t, ::std::ostream* os) { *os << "(nullptr)"; } | ^~ | cos /usr/include/gtest/gtest-printers.h:616:19: error: variable or field 'PrintTo' declared void 616 | void PrintTo(std::reference_wrapper ref, ::std::ostream* os) { | ^~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest-printers.h:616:19: error: 'reference_wrapper' is not a member of 'std' /usr/include/gtest/gtest-printers.h:616:38: error: expected primary-expression before '>' token 616 | void PrintTo(std::reference_wrapper ref, ::std::ostream* os) { | ^ /usr/include/gtest/gtest-printers.h:616:40: error: 'ref' was not declared in this scope; did you mean 'erf'? 616 | void PrintTo(std::reference_wrapper ref, ::std::ostream* os) { | ^~~ | erf /usr/include/gtest/gtest-printers.h:616:59: error: expected primary-expression before '*' token 616 | void PrintTo(std::reference_wrapper ref, ::std::ostream* os) { | ^ /usr/include/gtest/gtest-printers.h:616:61: error: 'os' was not declared in this scope; did you mean 'cos'? 616 | void PrintTo(std::reference_wrapper ref, ::std::ostream* os) { | ^~ | cos /usr/include/gtest/gtest-printers.h:623:34: error: 'std::integral_constant' has not been declared 623 | void PrintTupleTo(const T&, std::integral_constant, | ^~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest-printers.h:623:51: error: expected ',' or '...' before '<' token 623 | void PrintTupleTo(const T&, std::integral_constant, | ^ /usr/include/gtest/gtest-printers.h:627:36: error: 'std::integral_constant' has not been declared 627 | void PrintTupleTo(const T& t, std::integral_constant, | ^~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest-printers.h:627:53: error: expected ',' or '...' before '<' token 627 | void PrintTupleTo(const T& t, std::integral_constant, | ^ /usr/include/gtest/gtest-printers.h: In function 'void testing::internal::PrintTupleTo(const T&, int)': /usr/include/gtest/gtest-printers.h:629:24: error: 'integral_constant' is not a member of 'std' 629 | PrintTupleTo(t, std::integral_constant(), os); | ^~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest-printers.h:629:24: note: suggested alternatives: In file included from /usr/include/c++/9/tr1/unordered_map:39, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/adaptor/tr1/unordered_map.hpp:29, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/type.hpp:30, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack.hpp:22, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:1: /usr/include/c++/9/tr1/type_traits:71:12: note: 'std::tr1::integral_constant' 71 | struct integral_constant | ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/cpp_config_decl.hpp:13, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/cpp_config.hpp:13, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v1/pack_decl.hpp:14, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/pack_decl.hpp:13, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/pack.hpp:13, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v1/object_decl.hpp:14, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/object_decl.hpp:14, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/object.hpp:13, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack.hpp:10, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:1: /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' 59 | struct integral_constant; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' In file included from /usr/include/gtest/gtest-matchers.h:47, from /usr/include/gtest/internal/gtest-death-test-internal.h:39, from /usr/include/gtest/gtest-death-test.h:41, from /usr/include/gtest/gtest.h:64, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/include/gtest/gtest-printers.h:629:48: error: expected primary-expression before ',' token 629 | PrintTupleTo(t, std::integral_constant(), os); | ^ /usr/include/gtest/gtest-printers.h:629:57: error: expected primary-expression before ')' token 629 | PrintTupleTo(t, std::integral_constant(), os); | ^ /usr/include/gtest/gtest-printers.h:629:60: error: 'os' was not declared in this scope; did you mean 'cos'? 629 | PrintTupleTo(t, std::integral_constant(), os); | ^~ | cos /usr/include/gtest/gtest-printers.h:635:34: error: 'tuple_element' in namespace 'std' does not name a template type 635 | UniversalPrinter::type>::Print( | ^~~~~~~~~~~~~ /usr/include/gtest/gtest-printers.h:635:34: note: 'std::tuple_element' is only available from C++11 onwards /usr/include/gtest/gtest-printers.h:635:47: error: expected template-argument before '<' token 635 | UniversalPrinter::type>::Print( | ^ /usr/include/gtest/gtest-printers.h:635:47: error: expected '>' before '<' token /usr/include/gtest/gtest-printers.h:635:63: error: template argument 1 is invalid 635 | UniversalPrinter::type>::Print( | ^ /usr/include/gtest/gtest-printers.h:636:12: error: 'get' is not a member of 'std'; did you mean 'set'? 636 | std::get(t), os); | ^~~ | set /usr/include/gtest/gtest-printers.h:636:29: error: expression list treated as compound expression in initializer [-fpermissive] 636 | std::get(t), os); | ^ /usr/include/gtest/gtest-printers.h: At global scope: /usr/include/gtest/gtest-printers.h:640:27: error: 'tuple' in namespace 'std' does not name a template type 640 | void PrintTo(const ::std::tuple& t, ::std::ostream* os) { | ^~~~~ /usr/include/gtest/gtest-printers.h:640:20: note: 'std::tuple' is only available from C++11 onwards 640 | void PrintTo(const ::std::tuple& t, ::std::ostream* os) { | ^~ /usr/include/gtest/gtest-printers.h:640:32: error: expected ',' or '...' before '<' token 640 | void PrintTo(const ::std::tuple& t, ::std::ostream* os) { | ^ /usr/include/gtest/gtest-printers.h: In function 'void testing::internal::PrintTo(int)': /usr/include/gtest/gtest-printers.h:641:4: error: 'os' was not declared in this scope; did you mean 'cos'? 641 | *os << "("; | ^~ | cos /usr/include/gtest/gtest-printers.h:642:16: error: 't' was not declared in this scope; did you mean 'tm'? 642 | PrintTupleTo(t, std::integral_constant(), os); | ^ | tm /usr/include/gtest/gtest-printers.h:642:24: error: 'integral_constant' is not a member of 'std' 642 | PrintTupleTo(t, std::integral_constant(), os); | ^~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest-printers.h:642:24: note: suggested alternatives: In file included from /usr/include/c++/9/tr1/unordered_map:39, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/adaptor/tr1/unordered_map.hpp:29, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/type.hpp:30, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack.hpp:22, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:1: /usr/include/c++/9/tr1/type_traits:71:12: note: 'std::tr1::integral_constant' 71 | struct integral_constant | ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/cpp_config_decl.hpp:13, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/cpp_config.hpp:13, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v1/pack_decl.hpp:14, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/pack_decl.hpp:13, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/pack.hpp:13, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v1/object_decl.hpp:14, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/object_decl.hpp:14, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/object.hpp:13, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack.hpp:10, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:1: /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' 59 | struct integral_constant; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' In file included from /usr/include/gtest/gtest-matchers.h:47, from /usr/include/gtest/internal/gtest-death-test-internal.h:39, from /usr/include/gtest/gtest-death-test.h:41, from /usr/include/gtest/gtest.h:64, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/include/gtest/gtest-printers.h:642:48: error: expected primary-expression before ',' token 642 | PrintTupleTo(t, std::integral_constant(), os); | ^ /usr/include/gtest/gtest-printers.h:642:68: error: expected primary-expression before ')' token 642 | PrintTupleTo(t, std::integral_constant(), os); | ^ /usr/include/gtest/gtest-printers.h: In static member function 'static void testing::internal::UniversalTersePrinter::Print(const char*, std::ostream*)': /usr/include/gtest/gtest-printers.h:818:16: error: 'nullptr' was not declared in this scope 818 | if (str == nullptr) { | ^~~~~~~ /usr/include/gtest/gtest-printers.h: In static member function 'static void testing::internal::UniversalTersePrinter::Print(const wchar_t*, std::ostream*)': /usr/include/gtest/gtest-printers.h:838:16: error: 'nullptr' was not declared in this scope 838 | if (str == nullptr) { | ^~~~~~~ /usr/include/gtest/gtest-printers.h: At global scope: /usr/include/gtest/gtest-printers.h:877:51: error: 'std::integral_constant' has not been declared 877 | void TersePrintPrefixToStrings(const Tuple&, std::integral_constant, | ^~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest-printers.h:877:68: error: expected ',' or '...' before '<' token 877 | void TersePrintPrefixToStrings(const Tuple&, std::integral_constant, | ^ /usr/include/gtest/gtest-printers.h:881:37: error: 'std::integral_constant' has not been declared 881 | std::integral_constant, | ^~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest-printers.h:881:54: error: expected ',' or '...' before '<' token 881 | std::integral_constant, | ^ /usr/include/gtest/gtest-printers.h: In function 'void testing::internal::TersePrintPrefixToStrings(const Tuple&, int)': /usr/include/gtest/gtest-printers.h:883:37: error: 'integral_constant' is not a member of 'std' 883 | TersePrintPrefixToStrings(t, std::integral_constant(), | ^~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest-printers.h:883:37: note: suggested alternatives: In file included from /usr/include/c++/9/tr1/unordered_map:39, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/adaptor/tr1/unordered_map.hpp:29, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/type.hpp:30, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack.hpp:22, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:1: /usr/include/c++/9/tr1/type_traits:71:12: note: 'std::tr1::integral_constant' 71 | struct integral_constant | ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/cpp_config_decl.hpp:13, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/cpp_config.hpp:13, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v1/pack_decl.hpp:14, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/pack_decl.hpp:13, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/pack.hpp:13, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v1/object_decl.hpp:14, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/object_decl.hpp:14, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/object.hpp:13, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack.hpp:10, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:1: /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' 59 | struct integral_constant; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' In file included from /usr/include/gtest/gtest-matchers.h:47, from /usr/include/gtest/internal/gtest-death-test-internal.h:39, from /usr/include/gtest/gtest-death-test.h:41, from /usr/include/gtest/gtest.h:64, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/include/gtest/gtest-printers.h:883:61: error: expected primary-expression before ',' token 883 | TersePrintPrefixToStrings(t, std::integral_constant(), | ^ /usr/include/gtest/gtest-printers.h:883:70: error: expected primary-expression before ')' token 883 | TersePrintPrefixToStrings(t, std::integral_constant(), | ^ /usr/include/gtest/gtest-printers.h:884:29: error: 'strings' was not declared in this scope; did you mean 'Strings'? 884 | strings); | ^~~~~~~ | Strings /usr/include/gtest/gtest-printers.h:886:28: error: 'get' is not a member of 'std'; did you mean 'set'? 886 | UniversalTersePrint(std::get(t), &ss); | ^~~ | set /usr/include/gtest/gtest-printers.h: In function 'testing::internal::Strings testing::internal::UniversalTersePrintTupleFieldsToStrings(const Tuple&)': /usr/include/gtest/gtest-printers.h:897:19: error: 'integral_constant' is not a member of 'std' 897 | value, std::integral_constant::value>(), | ^~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest-printers.h:897:19: note: suggested alternatives: In file included from /usr/include/c++/9/tr1/unordered_map:39, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/adaptor/tr1/unordered_map.hpp:29, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/type.hpp:30, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack.hpp:22, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:1: /usr/include/c++/9/tr1/type_traits:71:12: note: 'std::tr1::integral_constant' 71 | struct integral_constant | ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/cpp_config_decl.hpp:13, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/cpp_config.hpp:13, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v1/pack_decl.hpp:14, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/pack_decl.hpp:13, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/pack.hpp:13, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v1/object_decl.hpp:14, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/object_decl.hpp:14, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/object.hpp:13, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack.hpp:10, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:1: /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' 59 | struct integral_constant; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' In file included from /usr/include/gtest/gtest-matchers.h:47, from /usr/include/gtest/internal/gtest-death-test-internal.h:39, from /usr/include/gtest/gtest-death-test.h:41, from /usr/include/gtest/gtest.h:64, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/include/gtest/gtest-printers.h:897:43: error: expected primary-expression before ',' token 897 | value, std::integral_constant::value>(), | ^ /usr/include/gtest/gtest-printers.h:897:50: error: 'tuple_size' is not a member of 'std' 897 | value, std::integral_constant::value>(), | ^~~~~~~~~~ /usr/include/gtest/gtest-printers.h:897:50: note: 'std::tuple_size' is only available from C++11 onwards /usr/include/gtest/gtest-printers.h:897:66: error: expected primary-expression before '>' token 897 | value, std::integral_constant::value>(), | ^ /usr/include/gtest/gtest-printers.h:897:69: error: '::value' has not been declared 897 | value, std::integral_constant::value>(), | ^~~~~ /usr/include/gtest/gtest-printers.h:897:69: note: suggested alternatives: In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/unpack_decl.hpp:13, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v2/parse.hpp:20, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/parse.hpp:15, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack.hpp:15, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:1: /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v1/unpack_decl.hpp:185:8: note: 'msgpack::v1::detail::value' 185 | struct value; | ^~~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v1/unpack_decl.hpp:185:8: note: 'msgpack::v1::detail::value' /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v1/unpack_decl.hpp:185:8: note: 'msgpack::v1::detail::value' In file included from /usr/include/gtest/gtest-matchers.h:47, from /usr/include/gtest/internal/gtest-death-test-internal.h:39, from /usr/include/gtest/gtest-death-test.h:41, from /usr/include/gtest/gtest.h:64, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/include/gtest/gtest-printers.h:897:76: error: expected primary-expression before ')' token 897 | value, std::integral_constant::value>(), | ^ In file included from /usr/include/gtest/internal/gtest-death-test-internal.h:39, from /usr/include/gtest/gtest-death-test.h:41, from /usr/include/gtest/gtest.h:64, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/include/gtest/gtest-matchers.h: In member function 'testing::MatchResultListener& testing::MatchResultListener::operator<<(const T&)': /usr/include/gtest/gtest-matchers.h:92:20: error: 'nullptr' was not declared in this scope 92 | if (stream_ != nullptr) *stream_ << x; | ^~~~~~~ /usr/include/gtest/gtest-matchers.h: In member function 'bool testing::MatchResultListener::IsInterested() const': /usr/include/gtest/gtest-matchers.h:103:49: error: 'nullptr' was not declared in this scope 103 | bool IsInterested() const { return stream_ != nullptr; } | ^~~~~~~ /usr/include/gtest/gtest-matchers.h: In constructor 'testing::internal::DummyMatchResultListener::DummyMatchResultListener()': /usr/include/gtest/gtest-matchers.h:237:52: error: 'nullptr' was not declared in this scope 237 | DummyMatchResultListener() : MatchResultListener(nullptr) {} | ^~~~~~~ /usr/include/gtest/gtest-matchers.h: At global scope: /usr/include/gtest/gtest-matchers.h:303:21: error: 'enable_if' in namespace 'std' does not name a template type 303 | typename std::enable_if::value>::type* = | ^~~~~~~~~ /usr/include/gtest/gtest-matchers.h:303:30: error: expected ',' or '...' before '<' token 303 | typename std::enable_if::value>::type* = | ^ /usr/include/gtest/gtest-matchers.h:309:26: error: expected ',' or '...' before '&&' token 309 | MatcherBase(MatcherBase&&) = default; | ^~ /usr/include/gtest/gtest-matchers.h:309:32: error: invalid constructor; you probably meant 'testing::internal::MatcherBase (const testing::internal::MatcherBase&)' 309 | MatcherBase(MatcherBase&&) = default; | ^~~~~~~ /usr/include/gtest/gtest-matchers.h:310:37: error: expected ',' or '...' before '&&' token 310 | MatcherBase& operator=(MatcherBase&&) = default; | ^~ /usr/include/gtest/gtest-matchers.h:315:8: error: 'shared_ptr' in namespace 'std' does not name a template type 315 | std::shared_ptr> impl_; | ^~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:315:3: note: 'std::shared_ptr' is only available from C++11 onwards 315 | std::shared_ptr> impl_; | ^~~ /usr/include/gtest/gtest-matchers.h: In member function 'bool testing::internal::MatcherBase::MatchAndExplain(const T&, testing::MatchResultListener*) const': /usr/include/gtest/gtest-matchers.h:264:12: error: 'impl_' was not declared in this scope 264 | return impl_->MatchAndExplain(x, listener); | ^~~~~ /usr/include/gtest/gtest-matchers.h: In member function 'void testing::internal::MatcherBase::DescribeTo(std::ostream*) const': /usr/include/gtest/gtest-matchers.h:274:47: error: 'impl_' was not declared in this scope 274 | void DescribeTo(::std::ostream* os) const { impl_->DescribeTo(os); } | ^~~~~ /usr/include/gtest/gtest-matchers.h: In member function 'void testing::internal::MatcherBase::DescribeNegationTo(std::ostream*) const': /usr/include/gtest/gtest-matchers.h:278:5: error: 'impl_' was not declared in this scope 278 | impl_->DescribeNegationTo(os); | ^~~~~ /usr/include/gtest/gtest-matchers.h: In member function 'const testing::MatcherDescriberInterface* testing::internal::MatcherBase::GetDescriber() const': /usr/include/gtest/gtest-matchers.h:291:12: error: 'impl_' was not declared in this scope 291 | return impl_.get(); | ^~~~~ /usr/include/gtest/gtest-matchers.h: In constructor 'testing::internal::MatcherBase::MatcherBase(const testing::MatcherInterface*)': /usr/include/gtest/gtest-matchers.h:298:66: error: class 'testing::internal::MatcherBase' does not have any field named 'impl_' 298 | explicit MatcherBase(const MatcherInterface* impl) : impl_(impl) {} | ^~~~~ /usr/include/gtest/gtest-matchers.h: In constructor 'testing::internal::MatcherBase::MatcherBase(const testing::MatcherInterface*, int)': /usr/include/gtest/gtest-matchers.h:305:9: error: class 'testing::internal::MatcherBase' does not have any field named 'impl_' 305 | : impl_(new internal::MatcherInterfaceAdapter(impl)) {} | ^~~~~ /usr/include/gtest/gtest-matchers.h: At global scope: /usr/include/gtest/gtest-matchers.h:339:21: error: 'enable_if' in namespace 'std' does not name a template type 339 | typename std::enable_if::value>::type* = | ^~~~~~~~~ /usr/include/gtest/gtest-matchers.h:339:30: error: expected ',' or '...' before '<' token 339 | typename std::enable_if::value>::type* = | ^ /usr/include/gtest/gtest-matchers.h: In instantiation of 'class testing::internal::MatcherBase&>': /usr/include/gtest/gtest-matchers.h:353:24: required from here /usr/include/gtest/gtest-matchers.h:263:8: error: forming reference to reference type 'const std::__cxx11::basic_string&' 263 | bool MatchAndExplain(const T& x, MatchResultListener* listener) const { | ^~~~~~~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:268:8: error: forming reference to reference type 'const std::__cxx11::basic_string&' 268 | bool Matches(const T& x) const { | ^~~~~~~ /usr/include/gtest/gtest-matchers.h:282:8: error: forming reference to reference type 'const std::__cxx11::basic_string&' 282 | void ExplainMatchResultTo(const T& x, ::std::ostream* os) const { | ^~~~~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:298:12: error: forming reference to reference type 'const std::__cxx11::basic_string&' 298 | explicit MatcherBase(const MatcherInterface* impl) : impl_(impl) {} | ^~~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:310:16: error: defaulted declaration 'testing::internal::MatcherBase& testing::internal::MatcherBase::operator=(testing::internal::MatcherBase) [with T = const std::__cxx11::basic_string&; testing::internal::MatcherBase = testing::internal::MatcherBase&>]' does not match the expected signature 310 | MatcherBase& operator=(MatcherBase&&) = default; | ^~~~~~~~ /usr/include/gtest/gtest-matchers.h:310:16: note: expected signature: 'testing::internal::MatcherBase&>& testing::internal::MatcherBase&>::operator=(testing::internal::MatcherBase&>&)' /usr/include/gtest/gtest-matchers.h: In constructor 'testing::Matcher&>::Matcher(const testing::MatcherInterface&>*)': /usr/include/gtest/gtest-matchers.h:358:55: error: no matching function for call to 'testing::internal::MatcherBase&>::MatcherBase(const testing::MatcherInterface&>*&)' 358 | : internal::MatcherBase(impl) {} | ^ /usr/include/gtest/gtest-matchers.h:307:3: note: candidate: 'testing::internal::MatcherBase::MatcherBase(const testing::internal::MatcherBase&) [with T = const std::__cxx11::basic_string&]' 307 | MatcherBase(const MatcherBase&) = default; | ^~~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:307:15: note: no known conversion for argument 1 from 'const testing::MatcherInterface&>*' to 'const testing::internal::MatcherBase&>&' 307 | MatcherBase(const MatcherBase&) = default; | ^~~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:301:12: note: candidate: 'template testing::internal::MatcherBase::MatcherBase(const testing::MatcherInterface*, int)' 301 | explicit MatcherBase( | ^~~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:301:12: note: template argument deduction/substitution failed: /usr/include/gtest/gtest-matchers.h:358:55: note: candidate expects 2 arguments, 1 provided 358 | : internal::MatcherBase(impl) {} | ^ /usr/include/gtest/gtest-matchers.h:295:3: note: candidate: 'testing::internal::MatcherBase::MatcherBase() [with T = const std::__cxx11::basic_string&]' 295 | MatcherBase() {} | ^~~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:295:3: note: candidate expects 0 arguments, 1 provided /usr/include/gtest/gtest-matchers.h: In instantiation of 'class testing::internal::MatcherBase >': /usr/include/gtest/gtest-matchers.h:370:24: required from here /usr/include/gtest/gtest-matchers.h:310:16: error: defaulted declaration 'testing::internal::MatcherBase& testing::internal::MatcherBase::operator=(testing::internal::MatcherBase) [with T = std::__cxx11::basic_string; testing::internal::MatcherBase = testing::internal::MatcherBase >]' does not match the expected signature 310 | MatcherBase& operator=(MatcherBase&&) = default; | ^~~~~~~~ /usr/include/gtest/gtest-matchers.h:310:16: note: expected signature: 'testing::internal::MatcherBase >& testing::internal::MatcherBase >::operator=(testing::internal::MatcherBase >&)' /usr/include/gtest/gtest-matchers.h: In constructor 'testing::Matcher >::Matcher(const testing::MatcherInterface >*)': /usr/include/gtest/gtest-matchers.h:377:48: error: no matching function for call to 'testing::internal::MatcherBase >::MatcherBase(const testing::MatcherInterface >*&)' 377 | : internal::MatcherBase(impl) {} | ^ /usr/include/gtest/gtest-matchers.h:307:3: note: candidate: 'testing::internal::MatcherBase::MatcherBase(const testing::internal::MatcherBase&) [with T = std::__cxx11::basic_string]' 307 | MatcherBase(const MatcherBase&) = default; | ^~~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:307:15: note: no known conversion for argument 1 from 'const testing::MatcherInterface >*' to 'const testing::internal::MatcherBase >&' 307 | MatcherBase(const MatcherBase&) = default; | ^~~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:301:12: note: candidate: 'template testing::internal::MatcherBase::MatcherBase(const testing::MatcherInterface*, int)' 301 | explicit MatcherBase( | ^~~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:301:12: note: template argument deduction/substitution failed: /usr/include/gtest/gtest-matchers.h:377:48: note: candidate expects 2 arguments, 1 provided 377 | : internal::MatcherBase(impl) {} | ^ /usr/include/gtest/gtest-matchers.h:298:12: note: candidate: 'testing::internal::MatcherBase::MatcherBase(const testing::MatcherInterface*) [with T = std::__cxx11::basic_string]' 298 | explicit MatcherBase(const MatcherInterface* impl) : impl_(impl) {} | ^~~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:298:58: note: no known conversion for argument 1 from 'const testing::MatcherInterface >*' to 'const testing::MatcherInterface&>*' 298 | explicit MatcherBase(const MatcherInterface* impl) : impl_(impl) {} | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /usr/include/gtest/gtest-matchers.h:295:3: note: candidate: 'testing::internal::MatcherBase::MatcherBase() [with T = std::__cxx11::basic_string]' 295 | MatcherBase() {} | ^~~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:295:3: note: candidate expects 0 arguments, 1 provided /usr/include/gtest/gtest-matchers.h: At global scope: /usr/include/gtest/gtest-matchers.h:541:31: error: 'reference_wrapper' is not a member of 'std' 541 | static const T& Unwrap(std::reference_wrapper v) { return v; } | ^~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:541:50: error: expected primary-expression before '>' token 541 | static const T& Unwrap(std::reference_wrapper v) { return v; } | ^ /usr/include/gtest/gtest-matchers.h:541:52: error: 'v' was not declared in this scope 541 | static const T& Unwrap(std::reference_wrapper v) { return v; } | ^ /usr/include/gtest/gtest-matchers.h:541:54: error: expected ';' before '{' token 541 | static const T& Unwrap(std::reference_wrapper v) { return v; } | ^~ | ; /usr/include/gtest/gtest-matchers.h:541:67: error: 'template template const T& testing::internal::ComparisonBase::Unwrap' conflicts with a previous declaration 541 | static const T& Unwrap(std::reference_wrapper v) { return v; } | ^ /usr/include/gtest/gtest-matchers.h:539:19: note: previous declaration 'static const T& testing::internal::ComparisonBase::Unwrap(const T&)' 539 | static const T& Unwrap(const T& v) { return v; } | ^~~~~~ /usr/include/gtest/gtest-matchers.h:664:14: error: 'shared_ptr' in namespace 'std' does not name a template type 664 | const std::shared_ptr regex_; | ^~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:664:9: note: 'std::shared_ptr' is only available from C++11 onwards 664 | const std::shared_ptr regex_; | ^~~ /usr/include/gtest/gtest-matchers.h: In constructor 'testing::internal::MatchesRegexMatcher::MatchesRegexMatcher(const testing::internal::RE*, bool)': /usr/include/gtest/gtest-matchers.h:621:9: error: class 'testing::internal::MatchesRegexMatcher' does not have any field named 'regex_' 621 | : regex_(regex), full_match_(full_match) {} | ^~~~~~ /usr/include/gtest/gtest-matchers.h: In member function 'bool testing::internal::MatchesRegexMatcher::MatchAndExplain(CharType*, testing::MatchResultListener*) const': /usr/include/gtest/gtest-matchers.h:637:17: error: 'nullptr' was not declared in this scope 637 | return s != nullptr && MatchAndExplain(std::string(s), listener); | ^~~~~~~ /usr/include/gtest/gtest-matchers.h: In member function 'bool testing::internal::MatchesRegexMatcher::MatchAndExplain(const MatcheeStringType&, testing::MatchResultListener*) const': /usr/include/gtest/gtest-matchers.h:648:45: error: 'regex_' was not declared in this scope; did you mean 'regex_t'? 648 | return full_match_ ? RE::FullMatch(s2, *regex_) | ^~~~~~ | regex_t /usr/include/gtest/gtest-matchers.h: In member function 'void testing::internal::MatchesRegexMatcher::DescribeTo(std::ostream*) const': /usr/include/gtest/gtest-matchers.h:654:42: error: 'regex_' was not declared in this scope; did you mean 'regex_t'? 654 | UniversalPrinter::Print(regex_->pattern(), os); | ^~~~~~ | regex_t /usr/include/gtest/gtest-matchers.h: In member function 'void testing::internal::MatchesRegexMatcher::DescribeNegationTo(std::ostream*) const': /usr/include/gtest/gtest-matchers.h:660:42: error: 'regex_' was not declared in this scope; did you mean 'regex_t'? 660 | UniversalPrinter::Print(regex_->pattern(), os); | ^~~~~~ | regex_t In file included from /usr/include/gtest/gtest-param-test.h:181, from /usr/include/gtest/gtest.h:67, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/include/gtest/internal/gtest-param-util.h: At global scope: /usr/include/gtest/internal/gtest-param-util.h:158:8: error: 'unique_ptr' in namespace 'std' does not name a template type 158 | std::unique_ptr > impl_; | ^~~~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h:158:3: note: 'std::unique_ptr' is only available from C++11 onwards 158 | std::unique_ptr > impl_; | ^~~ /usr/include/gtest/internal/gtest-param-util.h: In copy constructor 'testing::internal::ParamIterator::ParamIterator(const testing::internal::ParamIterator&)': /usr/include/gtest/internal/gtest-param-util.h:128:47: error: class 'testing::internal::ParamIterator' does not have any field named 'impl_' 128 | ParamIterator(const ParamIterator& other) : impl_(other.impl_->Clone()) {} | ^~~~~ /usr/include/gtest/internal/gtest-param-util.h: In member function 'testing::internal::ParamIterator& testing::internal::ParamIterator::operator=(const testing::internal::ParamIterator&)': /usr/include/gtest/internal/gtest-param-util.h:131:7: error: 'impl_' was not declared in this scope 131 | impl_.reset(other.impl_->Clone()); | ^~~~~ /usr/include/gtest/internal/gtest-param-util.h: In member function 'const T& testing::internal::ParamIterator::operator*() const': /usr/include/gtest/internal/gtest-param-util.h:135:40: error: 'impl_' was not declared in this scope 135 | const T& operator*() const { return *impl_->Current(); } | ^~~~~ /usr/include/gtest/internal/gtest-param-util.h: In member function 'const T* testing::internal::ParamIterator::operator->() const': /usr/include/gtest/internal/gtest-param-util.h:136:40: error: 'impl_' was not declared in this scope 136 | const T* operator->() const { return impl_->Current(); } | ^~~~~ /usr/include/gtest/internal/gtest-param-util.h: In member function 'testing::internal::ParamIterator& testing::internal::ParamIterator::operator++()': /usr/include/gtest/internal/gtest-param-util.h:139:5: error: 'impl_' was not declared in this scope 139 | impl_->Advance(); | ^~~~~ /usr/include/gtest/internal/gtest-param-util.h: In member function 'testing::internal::ParamIterator testing::internal::ParamIterator::operator++(int)': /usr/include/gtest/internal/gtest-param-util.h:144:40: error: 'impl_' was not declared in this scope 144 | ParamIteratorInterface* clone = impl_->Clone(); | ^~~~~ /usr/include/gtest/internal/gtest-param-util.h: In member function 'bool testing::internal::ParamIterator::operator==(const testing::internal::ParamIterator&) const': /usr/include/gtest/internal/gtest-param-util.h:149:12: error: 'impl_' was not declared in this scope 149 | return impl_.get() == other.impl_.get() || impl_->Equals(*other.impl_); | ^~~~~ /usr/include/gtest/internal/gtest-param-util.h: In constructor 'testing::internal::ParamIterator::ParamIterator(testing::internal::ParamIteratorInterface*)': /usr/include/gtest/internal/gtest-param-util.h:157:61: error: class 'testing::internal::ParamIterator' does not have any field named 'impl_' 157 | explicit ParamIterator(ParamIteratorInterface* impl) : impl_(impl) {} | ^~~~~ /usr/include/gtest/internal/gtest-param-util.h: At global scope: /usr/include/gtest/internal/gtest-param-util.h:197:8: error: 'shared_ptr' in namespace 'std' does not name a template type 197 | std::shared_ptr > impl_; | ^~~~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h:197:3: note: 'std::shared_ptr' is only available from C++11 onwards 197 | std::shared_ptr > impl_; | ^~~ /usr/include/gtest/internal/gtest-param-util.h: In constructor 'testing::internal::ParamGenerator< >::ParamGenerator(testing::internal::ParamGeneratorInterface*)': /usr/include/gtest/internal/gtest-param-util.h:185:63: error: class 'testing::internal::ParamGenerator< >' does not have any field named 'impl_' 185 | explicit ParamGenerator(ParamGeneratorInterface* impl) : impl_(impl) {} | ^~~~~ /usr/include/gtest/internal/gtest-param-util.h: In copy constructor 'testing::internal::ParamGenerator< >::ParamGenerator(const testing::internal::ParamGenerator< >&)': /usr/include/gtest/internal/gtest-param-util.h:186:49: error: class 'testing::internal::ParamGenerator< >' does not have any field named 'impl_' 186 | ParamGenerator(const ParamGenerator& other) : impl_(other.impl_) {} | ^~~~~ /usr/include/gtest/internal/gtest-param-util.h: In member function 'testing::internal::ParamGenerator< >& testing::internal::ParamGenerator< >::operator=(const testing::internal::ParamGenerator< >&)': /usr/include/gtest/internal/gtest-param-util.h:189:5: error: 'impl_' was not declared in this scope 189 | impl_ = other.impl_; | ^~~~~ /usr/include/gtest/internal/gtest-param-util.h: In member function 'testing::internal::ParamGenerator< >::iterator testing::internal::ParamGenerator< >::begin() const': /usr/include/gtest/internal/gtest-param-util.h:193:44: error: 'impl_' was not declared in this scope 193 | iterator begin() const { return iterator(impl_->Begin()); } | ^~~~~ /usr/include/gtest/internal/gtest-param-util.h: In member function 'testing::internal::ParamGenerator< >::iterator testing::internal::ParamGenerator< >::end() const': /usr/include/gtest/internal/gtest-param-util.h:194:42: error: 'impl_' was not declared in this scope 194 | iterator end() const { return iterator(impl_->End()); } | ^~~~~ /usr/include/gtest/internal/gtest-param-util.h: At global scope: /usr/include/gtest/internal/gtest-param-util.h:360:18: error: 'unique_ptr' in namespace 'std' does not name a template type 360 | mutable std::unique_ptr value_; | ^~~~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h:360:13: note: 'std::unique_ptr' is only available from C++11 onwards 360 | mutable std::unique_ptr value_; | ^~~ /usr/include/gtest/internal/gtest-param-util.h: In member function 'void testing::internal::ValuesInIteratorRangeGenerator::Iterator::Advance()': /usr/include/gtest/internal/gtest-param-util.h:319:7: error: 'value_' was not declared in this scope 319 | value_.reset(); | ^~~~~~ /usr/include/gtest/internal/gtest-param-util.h: In member function 'const T* testing::internal::ValuesInIteratorRangeGenerator::Iterator::Current() const': /usr/include/gtest/internal/gtest-param-util.h:332:11: error: 'value_' was not declared in this scope 332 | if (value_.get() == nullptr) value_.reset(new T(*iterator_)); | ^~~~~~ /usr/include/gtest/internal/gtest-param-util.h:332:27: error: 'nullptr' was not declared in this scope 332 | if (value_.get() == nullptr) value_.reset(new T(*iterator_)); | ^~~~~~~ /usr/include/gtest/internal/gtest-param-util.h:333:14: error: 'value_' was not declared in this scope 333 | return value_.get(); | ^~~~~~ /usr/include/gtest/internal/gtest-param-util.h: At global scope: /usr/include/gtest/internal/gtest-param-util.h:381:19: error: default template arguments may not be used in function templates without '-std=c++11' or '-std=gnu++11' 381 | void TestNotEmpty() { | ^ /usr/include/gtest/internal/gtest-param-util.h: In function 'void testing::internal::TestNotEmpty()': /usr/include/gtest/internal/gtest-param-util.h:382:3: error: there are no arguments to 'static_assert' that depend on a template parameter, so a declaration of 'static_assert' must be available [-fpermissive] 382 | static_assert(sizeof(T) == 0, "Empty arguments are not allowed."); | ^~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h:382:3: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/include/gtest/internal/gtest-param-util.h: At global scope: /usr/include/gtest/internal/gtest-param-util.h:385:27: error: default template arguments may not be used in function templates without '-std=c++11' or '-std=gnu++11' 385 | void TestNotEmpty(const T&) {} | ^ /usr/include/gtest/internal/gtest-param-util.h:432:9: error: expected nested-name-specifier before 'ParamType' 432 | using ParamType = typename TestSuite::ParamType; | ^~~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h:436:20: error: expected ';' at end of member declaration 436 | TestFactoryBase* CreateTestFactory(ParamType parameter) override { | ^~~~~~~~~~~~~~~~~ | ; /usr/include/gtest/internal/gtest-param-util.h:436:47: error: expected ')' before 'parameter' 436 | TestFactoryBase* CreateTestFactory(ParamType parameter) override { | ~ ^~~~~~~~~~ | ) /usr/include/gtest/internal/gtest-param-util.h:488:9: error: expected nested-name-specifier before 'ParamType' 488 | using ParamType = typename TestSuite::ParamType; | ^~~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h:490:26: error: 'ParamType' was not declared in this scope 490 | typedef ParamGenerator(GeneratorCreationFunc)(); | ^~~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h:490:35: error: template argument 1 is invalid 490 | typedef ParamGenerator(GeneratorCreationFunc)(); | ^ /usr/include/gtest/internal/gtest-param-util.h:491:9: error: expected nested-name-specifier before 'ParamNameGeneratorFunc' 491 | using ParamNameGeneratorFunc = std::string(const TestParamInfo&); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h:510:43: error: 'ParamType' was not declared in this scope 510 | TestMetaFactoryBase* meta_factory) { | ^~~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h:510:52: error: template argument 1 is invalid 510 | TestMetaFactoryBase* meta_factory) { | ^ /usr/include/gtest/internal/gtest-param-util.h:518:33: error: 'ParamNameGeneratorFunc' has not been declared 518 | ParamNameGeneratorFunc* name_func, | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h:590:34: error: 'ParamType' was not declared in this scope 590 | TestMetaFactoryBase* a_test_meta_factory) | ^~~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h:590:43: error: template argument 1 is invalid 590 | TestMetaFactoryBase* a_test_meta_factory) | ^ /usr/include/gtest/internal/gtest-param-util.h:597:16: error: 'unique_ptr' in namespace 'std' does not name a template type 597 | const std::unique_ptr > test_meta_factory; | ^~~~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h:597:11: note: 'std::unique_ptr' is only available from C++11 onwards 597 | const std::unique_ptr > test_meta_factory; | ^~~ /usr/include/gtest/internal/gtest-param-util.h:599:9: error: expected nested-name-specifier before 'TestInfoContainer' 599 | using TestInfoContainer = ::std::vector >; | ^~~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h:606:25: error: 'ParamNameGeneratorFunc' has not been declared 606 | ParamNameGeneratorFunc* name_func_in, | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h:617:7: error: 'ParamNameGeneratorFunc' does not name a type; did you mean 'ParamGenerator'? 617 | ParamNameGeneratorFunc* name_func; | ^~~~~~~~~~~~~~~~~~~~~~ | ParamGenerator /usr/include/gtest/internal/gtest-param-util.h:639:3: error: 'TestInfoContainer' does not name a type 639 | TestInfoContainer tests_; | ^~~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h: In member function 'void testing::internal::ParameterizedTestSuiteInfo::AddTestPattern(const char*, const char*, int*)': /usr/include/gtest/internal/gtest-param-util.h:511:5: error: 'tests_' was not declared in this scope 511 | tests_.push_back(std::shared_ptr( | ^~~~~~ /usr/include/gtest/internal/gtest-param-util.h:511:27: error: 'shared_ptr' is not a member of 'std' 511 | tests_.push_back(std::shared_ptr( | ^~~~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h:511:27: note: 'std::shared_ptr' is only available from C++11 onwards /usr/include/gtest/internal/gtest-param-util.h:511:46: error: expected primary-expression before '>' token 511 | tests_.push_back(std::shared_ptr( | ^ /usr/include/gtest/internal/gtest-param-util.h: In member function 'void testing::internal::ParameterizedTestSuiteInfo::RegisterTests()': /usr/include/gtest/internal/gtest-param-util.h:530:36: error: expected ';' before '::' token 530 | for (typename TestInfoContainer::iterator test_it = tests_.begin(); | ^~ | ; /usr/include/gtest/internal/gtest-param-util.h:530:38: error: '::iterator' has not been declared 530 | for (typename TestInfoContainer::iterator test_it = tests_.begin(); | ^~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h:530:38: note: suggested alternatives: In file included from /usr/include/c++/9/bits/stl_algobase.h:65, from /usr/include/c++/9/memory:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v1/cpp_config_decl.hpp:38, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/cpp_config_decl.hpp:13, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/cpp_config.hpp:13, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v1/pack_decl.hpp:14, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/pack_decl.hpp:13, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/pack.hpp:13, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v1/object_decl.hpp:14, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/object_decl.hpp:14, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/object.hpp:13, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack.hpp:10, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:1: /usr/include/c++/9/bits/stl_iterator_base_types.h:118:12: note: 'std::iterator' 118 | struct iterator | ^~~~~~~~ /usr/include/c++/9/bits/stl_iterator_base_types.h:118:12: note: 'std::iterator' In file included from /usr/include/gtest/gtest-param-test.h:181, from /usr/include/gtest/gtest.h:67, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/include/gtest/internal/gtest-param-util.h:530:46: error: expected ';' before 'test_it' 530 | for (typename TestInfoContainer::iterator test_it = tests_.begin(); | ^~~~~~~~ | ; /usr/include/gtest/internal/gtest-param-util.h:530:47: error: 'test_it' was not declared in this scope 530 | for (typename TestInfoContainer::iterator test_it = tests_.begin(); | ^~~~~~~ /usr/include/gtest/internal/gtest-param-util.h:530:57: error: 'tests_' was not declared in this scope 530 | for (typename TestInfoContainer::iterator test_it = tests_.begin(); | ^~~~~~ /usr/include/gtest/internal/gtest-param-util.h:530:71: error: expected ')' before ';' token 530 | for (typename TestInfoContainer::iterator test_it = tests_.begin(); | ~ ^ | ) /usr/include/gtest/internal/gtest-param-util.h:531:10: error: 'test_it' was not declared in this scope 531 | test_it != tests_.end(); ++test_it) { | ^~~~~~~ /usr/include/gtest/internal/gtest-param-util.h:531:21: error: 'tests_' was not declared in this scope 531 | test_it != tests_.end(); ++test_it) { | ^~~~~~ /usr/include/gtest/internal/gtest-param-util.h: In constructor 'testing::internal::ParameterizedTestSuiteInfo::TestInfo::TestInfo(const char*, const char*, int*)': /usr/include/gtest/internal/gtest-param-util.h:593:11: error: class 'testing::internal::ParameterizedTestSuiteInfo::TestInfo' does not have any field named 'test_meta_factory' 593 | test_meta_factory(a_test_meta_factory) {} | ^~~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h: In constructor 'testing::internal::ParameterizedTestSuiteInfo::InstantiationInfo::InstantiationInfo(const string&, int (*)(), int*, const char*, int)': /usr/include/gtest/internal/gtest-param-util.h:611:13: error: class 'testing::internal::ParameterizedTestSuiteInfo::InstantiationInfo' does not have any field named 'name_func' 611 | name_func(name_func_in), | ^~~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h: At global scope: /usr/include/gtest/internal/gtest-param-util.h:648:1: error: expected unqualified-id before 'using' 648 | using ParameterizedTestCaseInfo = ParameterizedTestSuiteInfo; | ^~~~~ /usr/include/gtest/internal/gtest-param-util.h:705:3: error: 'ParameterizedTestCaseInfo' does not name a type; did you mean 'ParameterizedTestSuiteInfo'? 705 | ParameterizedTestCaseInfo* GetTestCasePatternHolder( | ^~~~~~~~~~~~~~~~~~~~~~~~~ | ParameterizedTestSuiteInfo /usr/include/gtest/internal/gtest-param-util.h:713:9: error: expected nested-name-specifier before 'TestSuiteInfoContainer' 713 | using TestSuiteInfoContainer = ::std::vector; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h:715:3: error: 'TestSuiteInfoContainer' does not name a type 715 | TestSuiteInfoContainer test_suite_infos_; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h: In destructor 'testing::internal::ParameterizedTestSuiteRegistry::~ParameterizedTestSuiteRegistry()': /usr/include/gtest/internal/gtest-param-util.h:661:34: error: 'test_suite_infos_' was not declared in this scope; did you mean 'test_suite_info'? 661 | for (auto& test_suite_info : test_suite_infos_) { | ^~~~~~~~~~~~~~~~~ | test_suite_info /usr/include/gtest/internal/gtest-param-util.h:662:14: error: type 'int' argument given to 'delete', expected pointer 662 | delete test_suite_info; | ^~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h: In member function 'testing::internal::ParameterizedTestSuiteInfo* testing::internal::ParameterizedTestSuiteRegistry::GetTestSuitePatternHolder(const char*, testing::internal::CodeLocation)': /usr/include/gtest/internal/gtest-param-util.h:671:62: error: 'nullptr' was not declared in this scope 671 | ParameterizedTestSuiteInfo* typed_test_info = nullptr; | ^~~~~~~ /usr/include/gtest/internal/gtest-param-util.h:672:34: error: 'test_suite_infos_' was not declared in this scope; did you mean 'test_suite_info'? 672 | for (auto& test_suite_info : test_suite_infos_) { | ^~~~~~~~~~~~~~~~~ | test_suite_info /usr/include/gtest/internal/gtest-param-util.h:673:26: error: base operand of '->' is not a pointer 673 | if (test_suite_info->GetTestSuiteName() == test_suite_name) { | ^~ /usr/include/gtest/internal/gtest-param-util.h:674:28: error: base operand of '->' is not a pointer 674 | if (test_suite_info->GetTestSuiteTypeId() != GetTypeId()) { | ^~ /usr/include/gtest/internal/gtest-param-util.h:679:18: error: 'Abort' is not a member of 'testing::internal::posix' 679 | posix::Abort(); | ^~~~~ /usr/include/gtest/internal/gtest-param-util.h:693:7: error: 'test_suite_infos_' was not declared in this scope; did you mean 'test_suite_name'? 693 | test_suite_infos_.push_back(typed_test_info); | ^~~~~~~~~~~~~~~~~ | test_suite_name /usr/include/gtest/internal/gtest-param-util.h: In member function 'void testing::internal::ParameterizedTestSuiteRegistry::RegisterTests()': /usr/include/gtest/internal/gtest-param-util.h:698:34: error: 'test_suite_infos_' was not declared in this scope; did you mean 'test_suite_info'? 698 | for (auto& test_suite_info : test_suite_infos_) { | ^~~~~~~~~~~~~~~~~ | test_suite_info /usr/include/gtest/internal/gtest-param-util.h:699:22: error: base operand of '->' is not a pointer 699 | test_suite_info->RegisterTests(); | ^~ /usr/include/gtest/internal/gtest-param-util.h: In constructor 'testing::internal::ValueArray::ValueArray(Ts ...)': /usr/include/gtest/internal/gtest-param-util.h:734:33: error: 'move' is not a member of 'std' 734 | ValueArray(Ts... v) : v_{std::move(v)...} {} | ^~~~ /usr/include/gtest/internal/gtest-param-util.h:734:33: note: 'std::move' is only available from C++11 onwards /usr/include/gtest/internal/gtest-param-util.h: At global scope: /usr/include/gtest/internal/gtest-param-util.h:752:45: error: 'tuple' is not a member of 'std' 752 | : public ParamGeneratorInterface<::std::tuple> { | ^~~~~ /usr/include/gtest/internal/gtest-param-util.h:752:45: note: 'std::tuple' is only available from C++11 onwards /usr/include/gtest/internal/gtest-param-util.h:752:45: error: 'tuple' is not a member of 'std' /usr/include/gtest/internal/gtest-param-util.h:752:45: note: 'std::tuple' is only available from C++11 onwards /usr/include/gtest/internal/gtest-param-util.h:752:52: error: expected parameter pack before '...' 752 | : public ParamGeneratorInterface<::std::tuple> { | ^~~ /usr/include/gtest/internal/gtest-param-util.h:752:55: error: spurious '>>', use '>' to terminate a template argument list 752 | : public ParamGeneratorInterface<::std::tuple> { | ^~ /usr/include/gtest/internal/gtest-param-util.h:752:45: error: 'tuple' is not a member of 'std' 752 | : public ParamGeneratorInterface<::std::tuple> { | ^~~~~ /usr/include/gtest/internal/gtest-param-util.h:752:45: note: 'std::tuple' is only available from C++11 onwards /usr/include/gtest/internal/gtest-param-util.h:752:45: error: 'tuple' is not a member of 'std' /usr/include/gtest/internal/gtest-param-util.h:752:45: note: 'std::tuple' is only available from C++11 onwards /usr/include/gtest/internal/gtest-param-util.h:752:52: error: expected parameter pack before '...' 752 | : public ParamGeneratorInterface<::std::tuple> { | ^~~ /usr/include/gtest/internal/gtest-param-util.h:752:55: error: spurious '>>', use '>' to terminate a template argument list 752 | : public ParamGeneratorInterface<::std::tuple> { | ^~ /usr/include/gtest/internal/gtest-param-util.h:752:37: error: expected '<' before '<:' token 752 | : public ParamGeneratorInterface<::std::tuple> { | ^~ /usr/include/gtest/internal/gtest-param-util.h:752:37: error: expected '{' before '<:' token /usr/include/gtest/internal/gtest-param-util.h:871:34: error: 'tuple' is not a member of 'std' 871 | operator ParamGenerator<::std::tuple>() const { | ^~~~~ /usr/include/gtest/internal/gtest-param-util.h:871:34: note: 'std::tuple' is only available from C++11 onwards /usr/include/gtest/internal/gtest-param-util.h:871:34: error: 'tuple' is not a member of 'std' /usr/include/gtest/internal/gtest-param-util.h:871:34: note: 'std::tuple' is only available from C++11 onwards /usr/include/gtest/internal/gtest-param-util.h:871:41: error: expected parameter pack before '...' 871 | operator ParamGenerator<::std::tuple>() const { | ^~~ /usr/include/gtest/internal/gtest-param-util.h:871:44: error: spurious '>>', use '>' to terminate a template argument list 871 | operator ParamGenerator<::std::tuple>() const { | ^~ /usr/include/gtest/internal/gtest-param-util.h:871:34: error: 'tuple' is not a member of 'std' 871 | operator ParamGenerator<::std::tuple>() const { | ^~~~~ /usr/include/gtest/internal/gtest-param-util.h:871:34: note: 'std::tuple' is only available from C++11 onwards /usr/include/gtest/internal/gtest-param-util.h:871:34: error: 'tuple' is not a member of 'std' /usr/include/gtest/internal/gtest-param-util.h:871:34: note: 'std::tuple' is only available from C++11 onwards /usr/include/gtest/internal/gtest-param-util.h:871:41: error: expected parameter pack before '...' 871 | operator ParamGenerator<::std::tuple>() const { | ^~~ /usr/include/gtest/internal/gtest-param-util.h:871:44: error: spurious '>>', use '>' to terminate a template argument list 871 | operator ParamGenerator<::std::tuple>() const { | ^~ /usr/include/gtest/internal/gtest-param-util.h:871:34: error: 'tuple' is not a member of 'std' 871 | operator ParamGenerator<::std::tuple>() const { | ^~~~~ /usr/include/gtest/internal/gtest-param-util.h:871:34: note: 'std::tuple' is only available from C++11 onwards /usr/include/gtest/internal/gtest-param-util.h:871:34: error: 'tuple' is not a member of 'std' /usr/include/gtest/internal/gtest-param-util.h:871:34: note: 'std::tuple' is only available from C++11 onwards /usr/include/gtest/internal/gtest-param-util.h:871:41: error: expected parameter pack before '...' 871 | operator ParamGenerator<::std::tuple>() const { | ^~~ /usr/include/gtest/internal/gtest-param-util.h:871:44: error: spurious '>>', use '>' to terminate a template argument list 871 | operator ParamGenerator<::std::tuple>() const { | ^~ /usr/include/gtest/internal/gtest-param-util.h:871:34: error: 'tuple' is not a member of 'std' 871 | operator ParamGenerator<::std::tuple>() const { | ^~~~~ /usr/include/gtest/internal/gtest-param-util.h:871:34: note: 'std::tuple' is only available from C++11 onwards /usr/include/gtest/internal/gtest-param-util.h:871:34: error: 'tuple' is not a member of 'std' /usr/include/gtest/internal/gtest-param-util.h:871:34: note: 'std::tuple' is only available from C++11 onwards /usr/include/gtest/internal/gtest-param-util.h:871:41: error: expected parameter pack before '...' 871 | operator ParamGenerator<::std::tuple>() const { | ^~~ /usr/include/gtest/internal/gtest-param-util.h:871:44: error: spurious '>>', use '>' to terminate a template argument list 871 | operator ParamGenerator<::std::tuple>() const { | ^~ /usr/include/gtest/internal/gtest-param-util.h:871:34: error: 'tuple' is not a member of 'std' 871 | operator ParamGenerator<::std::tuple>() const { | ^~~~~ /usr/include/gtest/internal/gtest-param-util.h:871:34: note: 'std::tuple' is only available from C++11 onwards /usr/include/gtest/internal/gtest-param-util.h:871:34: error: 'tuple' is not a member of 'std' /usr/include/gtest/internal/gtest-param-util.h:871:34: note: 'std::tuple' is only available from C++11 onwards /usr/include/gtest/internal/gtest-param-util.h:871:41: error: expected parameter pack before '...' 871 | operator ParamGenerator<::std::tuple>() const { | ^~~ /usr/include/gtest/internal/gtest-param-util.h:871:44: error: spurious '>>', use '>' to terminate a template argument list 871 | operator ParamGenerator<::std::tuple>() const { | ^~ /usr/include/gtest/internal/gtest-param-util.h:871:34: error: 'tuple' is not a member of 'std' 871 | operator ParamGenerator<::std::tuple>() const { | ^~~~~ /usr/include/gtest/internal/gtest-param-util.h:871:34: note: 'std::tuple' is only available from C++11 onwards /usr/include/gtest/internal/gtest-param-util.h:871:34: error: 'tuple' is not a member of 'std' /usr/include/gtest/internal/gtest-param-util.h:871:34: note: 'std::tuple' is only available from C++11 onwards /usr/include/gtest/internal/gtest-param-util.h:871:41: error: expected parameter pack before '...' 871 | operator ParamGenerator<::std::tuple>() const { | ^~~ /usr/include/gtest/internal/gtest-param-util.h:871:44: error: spurious '>>', use '>' to terminate a template argument list 871 | operator ParamGenerator<::std::tuple>() const { | ^~ /usr/include/gtest/internal/gtest-param-util.h:871:12: error: invalid use of template-name 'testing::internal::ParamGenerator' without an argument list 871 | operator ParamGenerator<::std::tuple>() const { | ^~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h:871:12: note: class template argument deduction is only available with '-std=c++17' or '-std=gnu++17' /usr/include/gtest/internal/gtest-param-util.h:86:27: note: 'template class testing::internal::ParamGenerator' declared here 86 | template class ParamGenerator; | ^~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h:877:8: error: 'tuple' in namespace 'std' does not name a template type 877 | std::tuple generators_; | ^~~~~ /usr/include/gtest/internal/gtest-param-util.h:877:3: note: 'std::tuple' is only available from C++11 onwards 877 | std::tuple generators_; | ^~~ /usr/include/gtest/internal/gtest-param-util.h: In constructor 'testing::internal::CartesianProductHolder::CartesianProductHolder(const Gen& ...)': /usr/include/gtest/internal/gtest-param-util.h:869:45: error: class 'testing::internal::CartesianProductHolder' does not have any field named 'generators_' 869 | CartesianProductHolder(const Gen&... g) : generators_(g...) {} | ^~~~~~~~~~~ In file included from /usr/include/gtest/gtest.h:67, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/include/gtest/gtest-param-test.h: In function 'testing::internal::ValueArray testing::Values(T ...)': /usr/include/gtest/gtest-param-test.h:336:42: error: 'move' is not a member of 'std' 336 | return internal::ValueArray(std::move(v)...); | ^~~~ /usr/include/gtest/gtest-param-test.h:336:42: note: 'std::move' is only available from C++11 onwards In file included from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/include/gtest/internal/gtest-internal.h: In instantiation of 'struct testing::internal::MakeIndexSequence<1>': /usr/include/gtest/internal/gtest-internal.h:1120:8: required from 'struct testing::internal::MakeIndexSequence<2>' /usr/include/gtest/internal/gtest-internal.h:1185:7: required from 'class testing::internal::FlatTuple' /usr/include/gtest/internal/gtest-param-util.h:747:20: required from 'class testing::internal::ValueArray' /usr/include/gtest/gtest-param-test.h:360:28: required from here /usr/include/gtest/internal/gtest-internal.h:1120:8: error: no type named 'type' in 'struct testing::internal::MakeIndexSequence<0>' 1120 | struct MakeIndexSequence | ^~~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h: In instantiation of 'struct testing::internal::MakeIndexSequence<2>': /usr/include/gtest/internal/gtest-internal.h:1185:7: required from 'class testing::internal::FlatTuple' /usr/include/gtest/internal/gtest-param-util.h:747:20: required from 'class testing::internal::ValueArray' /usr/include/gtest/gtest-param-test.h:360:28: required from here /usr/include/gtest/internal/gtest-internal.h:1120:8: error: no type named 'type' in 'struct testing::internal::MakeIndexSequence<1>' /usr/include/gtest/internal/gtest-internal.h: In instantiation of 'class testing::internal::FlatTuple': /usr/include/gtest/internal/gtest-param-util.h:747:20: required from 'class testing::internal::ValueArray' /usr/include/gtest/gtest-param-test.h:360:28: required from here /usr/include/gtest/internal/gtest-internal.h:1185:7: error: no type named 'type' in 'struct testing::internal::MakeIndexSequence<2>' 1185 | class FlatTuple | ^~~~~~~~~ In file included from /usr/include/gtest/gtest.h:70, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/include/gtest/gtest-test-part.h: In constructor 'testing::TestPartResult::TestPartResult(testing::TestPartResult::Type, const char*, int, const char*)': /usr/include/gtest/gtest-test-part.h:66:35: error: 'nullptr' was not declared in this scope 66 | file_name_(a_file_name == nullptr ? "" : a_file_name), | ^~~~~~~ /usr/include/gtest/gtest-test-part.h: In member function 'const char* testing::TestPartResult::file_name() const': /usr/include/gtest/gtest-test-part.h:77:33: error: 'nullptr' was not declared in this scope 77 | return file_name_.empty() ? nullptr : file_name_.c_str(); | ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/include/gtest/gtest.h: At global scope: /usr/include/gtest/gtest.h:191:7: error: expected nested-name-specifier before 'TestCase' 191 | using TestCase = TestSuite; | ^~~~~~~~ /usr/include/gtest/gtest.h:295:21: error: 'enable_if' in namespace 'std' does not name a template type 295 | typename std::enable_if< | ^~~~~~~~~ /usr/include/gtest/gtest.h:295:30: error: expected ',' or '...' before '<' token 295 | typename std::enable_if< | ^ /usr/include/gtest/gtest.h:357:8: error: 'unique_ptr' in namespace 'std' does not name a template type 357 | std::unique_ptr< ::std::string> message_; | ^~~~~~~~~~ /usr/include/gtest/gtest.h:357:3: note: 'std::unique_ptr' is only available from C++11 onwards 357 | std::unique_ptr< ::std::string> message_; | ^~~ /usr/include/gtest/gtest.h: In member function 'const char* testing::AssertionResult::message() const': /usr/include/gtest/gtest.h:322:12: error: 'message_' was not declared in this scope; did you mean 'message'? 322 | return message_.get() != nullptr ? message_->c_str() : ""; | ^~~~~~~~ | message /usr/include/gtest/gtest.h:322:30: error: 'nullptr' was not declared in this scope 322 | return message_.get() != nullptr ? message_->c_str() : ""; | ^~~~~~~ /usr/include/gtest/gtest.h: In member function 'void testing::AssertionResult::AppendMessage(const testing::Message&)': /usr/include/gtest/gtest.h:344:9: error: 'message_' was not declared in this scope; did you mean 'message'? 344 | if (message_.get() == nullptr) message_.reset(new ::std::string); | ^~~~~~~~ | message /usr/include/gtest/gtest.h:344:27: error: 'nullptr' was not declared in this scope 344 | if (message_.get() == nullptr) message_.reset(new ::std::string); | ^~~~~~~ /usr/include/gtest/gtest.h:345:5: error: 'message_' was not declared in this scope; did you mean 'message'? 345 | message_->append(a_message.GetString().c_str()); | ^~~~~~~~ | message In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/include/gtest/gtest.h: At global scope: /usr/include/gtest/gtest.h:494:14: error: 'unique_ptr' in namespace 'std' does not name a template type 494 | const std::unique_ptr gtest_flag_saver_; | ^~~~~~~~~~ /usr/include/gtest/gtest.h:494:9: note: 'std::unique_ptr' is only available from C++11 onwards 494 | const std::unique_ptr gtest_flag_saver_; | ^~~ /usr/include/gtest/gtest.h: In member function 'virtual testing::Test::Setup_should_be_spelled_SetUp* testing::Test::Setup()': /usr/include/gtest/gtest.h:513:59: error: 'nullptr' was not declared in this scope 513 | virtual Setup_should_be_spelled_SetUp* Setup() { return nullptr; } | ^~~~~~~ /usr/include/gtest/gtest.h: At global scope: /usr/include/gtest/gtest.h:774:52: error: 'testing::internal::SetUpTestSuiteFunc' has not been declared 774 | internal::TypeId fixture_class_id, internal::SetUpTestSuiteFunc set_up_tc, | ^~~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h:775:17: error: 'testing::internal::TearDownTestSuiteFunc' has not been declared 775 | internal::TearDownTestSuiteFunc tear_down_tc, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h:806:14: error: 'unique_ptr' in namespace 'std' does not name a template type 806 | const std::unique_ptr type_param_; | ^~~~~~~~~~ /usr/include/gtest/gtest.h:806:9: note: 'std::unique_ptr' is only available from C++11 onwards 806 | const std::unique_ptr type_param_; | ^~~ /usr/include/gtest/gtest.h:809:14: error: 'unique_ptr' in namespace 'std' does not name a template type 809 | const std::unique_ptr value_param_; | ^~~~~~~~~~ /usr/include/gtest/gtest.h:809:9: note: 'std::unique_ptr' is only available from C++11 onwards 809 | const std::unique_ptr value_param_; | ^~~ /usr/include/gtest/gtest.h: In member function 'const char* testing::TestInfo::type_param() const': /usr/include/gtest/gtest.h:715:9: error: 'type_param_' was not declared in this scope; did you mean 'type_param'? 715 | if (type_param_.get() != nullptr) return type_param_->c_str(); | ^~~~~~~~~~~ | type_param /usr/include/gtest/gtest.h:715:30: error: 'nullptr' was not declared in this scope 715 | if (type_param_.get() != nullptr) return type_param_->c_str(); | ^~~~~~~ /usr/include/gtest/gtest.h:716:12: error: 'nullptr' was not declared in this scope 716 | return nullptr; | ^~~~~~~ /usr/include/gtest/gtest.h: In member function 'const char* testing::TestInfo::value_param() const': /usr/include/gtest/gtest.h:722:9: error: 'value_param_' was not declared in this scope; did you mean 'value_param'? 722 | if (value_param_.get() != nullptr) return value_param_->c_str(); | ^~~~~~~~~~~~ | value_param /usr/include/gtest/gtest.h:722:31: error: 'nullptr' was not declared in this scope 722 | if (value_param_.get() != nullptr) return value_param_->c_str(); | ^~~~~~~ /usr/include/gtest/gtest.h:723:12: error: 'nullptr' was not declared in this scope 723 | return nullptr; | ^~~~~~~ /usr/include/gtest/gtest.h: At global scope: /usr/include/gtest/gtest.h:845:23: error: 'testing::internal::SetUpTestSuiteFunc' has not been declared 845 | internal::SetUpTestSuiteFunc set_up_tc, | ^~~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h:846:23: error: 'testing::internal::TearDownTestSuiteFunc' has not been declared 846 | internal::TearDownTestSuiteFunc tear_down_tc); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h:1005:14: error: 'unique_ptr' in namespace 'std' does not name a template type 1005 | const std::unique_ptr type_param_; | ^~~~~~~~~~ /usr/include/gtest/gtest.h:1005:9: note: 'std::unique_ptr' is only available from C++11 onwards 1005 | const std::unique_ptr type_param_; | ^~~ /usr/include/gtest/gtest.h:1014:13: error: 'SetUpTestSuiteFunc' in namespace 'testing::internal' does not name a type 1014 | internal::SetUpTestSuiteFunc set_up_tc_; | ^~~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h:1016:13: error: 'TearDownTestSuiteFunc' in namespace 'testing::internal' does not name a type 1016 | internal::TearDownTestSuiteFunc tear_down_tc_; | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h: In member function 'const char* testing::TestSuite::type_param() const': /usr/include/gtest/gtest.h:857:9: error: 'type_param_' was not declared in this scope; did you mean 'type_param'? 857 | if (type_param_.get() != nullptr) return type_param_->c_str(); | ^~~~~~~~~~~ | type_param /usr/include/gtest/gtest.h:857:30: error: 'nullptr' was not declared in this scope 857 | if (type_param_.get() != nullptr) return type_param_->c_str(); | ^~~~~~~ /usr/include/gtest/gtest.h:858:12: error: 'nullptr' was not declared in this scope 858 | return nullptr; | ^~~~~~~ /usr/include/gtest/gtest.h: In member function 'void testing::TestSuite::RunSetUpTestSuite()': /usr/include/gtest/gtest.h:946:9: error: 'set_up_tc_' was not declared in this scope 946 | if (set_up_tc_ != nullptr) { | ^~~~~~~~~~ /usr/include/gtest/gtest.h:946:23: error: 'nullptr' was not declared in this scope 946 | if (set_up_tc_ != nullptr) { | ^~~~~~~ /usr/include/gtest/gtest.h: In member function 'void testing::TestSuite::RunTearDownTestSuite()': /usr/include/gtest/gtest.h:954:9: error: 'tear_down_tc_' was not declared in this scope 954 | if (tear_down_tc_ != nullptr) { | ^~~~~~~~~~~~~ /usr/include/gtest/gtest.h:954:26: error: 'nullptr' was not declared in this scope 954 | if (tear_down_tc_ != nullptr) { | ^~~~~~~ /usr/include/gtest/gtest.h: In member function 'virtual testing::Environment::Setup_should_be_spelled_SetUp* testing::Environment::Setup()': /usr/include/gtest/gtest.h:1059:59: error: 'nullptr' was not declared in this scope 1059 | virtual Setup_should_be_spelled_SetUp* Setup() { return nullptr; } | ^~~~~~~ /usr/include/gtest/gtest.h: At global scope: /usr/include/gtest/gtest.h:1100:38: error: 'TestCase' does not name a type 1100 | virtual void OnTestCaseStart(const TestCase& /*test_case*/) {} | ^~~~~~~~ /usr/include/gtest/gtest.h:1119:36: error: 'TestCase' does not name a type 1119 | virtual void OnTestCaseEnd(const TestCase& /*test_case*/) {} | ^~~~~~~~ /usr/include/gtest/gtest.h:1151:30: error: 'TestCase' does not name a type 1151 | void OnTestCaseStart(const TestCase& /*test_case*/) override {} | ^~~~~~~~ /usr/include/gtest/gtest.h:1159:28: error: 'TestCase' does not name a type 1159 | void OnTestCaseEnd(const TestCase& /*test_case*/) override {} | ^~~~~~~~ /usr/include/gtest/gtest.h:1282:9: error: 'TestCase' does not name a type 1282 | const TestCase* current_test_case() const GTEST_LOCK_EXCLUDED_(mutex_); | ^~~~~~~~ /usr/include/gtest/gtest.h:1366:9: error: 'TestCase' does not name a type 1366 | const TestCase* GetTestCase(int i) const; | ^~~~~~~~ /usr/include/gtest/gtest.h:1549:21: error: 'enable_if' in namespace 'std' does not name a template type 1549 | typename std::enable_if::value || | ^~~~~~~~~ /usr/include/gtest/gtest.h:1549:30: error: expected '>' before '<' token 1549 | typename std::enable_if::value || | ^ /usr/include/gtest/gtest.h:1574:12: error: 'std::nullptr_t' has not been declared 1574 | std::nullptr_t /* lhs */, T* rhs) { | ^~~~~~~~~ /usr/include/gtest/gtest.h: In static member function 'static testing::AssertionResult testing::internal::EqHelper::Compare(const char*, const char*, int, T*)': /usr/include/gtest/gtest.h:1576:72: error: 'nullptr' was not declared in this scope 1576 | return CmpHelperEQ(lhs_expression, rhs_expression, static_cast(nullptr), | ^~~~~~~ In file included from /usr/include/gtest/internal/gtest-internal.h:40, from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/include/gtest/gtest.h: In static member function 'static const ParamType& testing::WithParamInterface::GetParam()': /usr/include/gtest/gtest.h:1857:5: error: 'nullptr' was not declared in this scope 1857 | GTEST_CHECK_(parameter_ != nullptr) | ^~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/include/gtest/gtest.h: At global scope: /usr/include/gtest/gtest.h:1878:46: error: 'nullptr' was not declared in this scope 1878 | const T* WithParamInterface::parameter_ = nullptr; | ^~~~~~~ /usr/include/gtest/gtest.h:2300:1: error: 'constexpr' does not name a type 2300 | constexpr bool StaticAssertTypeEq() noexcept { | ^~~~~~~~~ /usr/include/gtest/gtest.h:2300:1: note: C++11 'constexpr' only available with '-std=c++11' or '-std=gnu++11' /usr/include/gtest/gtest.h: In function 'testing::TestInfo* testing::RegisterTest(const char*, const char*, const char*, const char*, const char*, int, Factory)': /usr/include/gtest/gtest.h:2441:9: error: expected nested-name-specifier before 'TestT' 2441 | using TestT = typename std::remove_pointer::type; | ^~~~~ /usr/include/gtest/gtest.h: In constructor 'testing::RegisterTest(const char*, const char*, const char*, const char*, const char*, int, Factory)::FactoryImpl::FactoryImpl(Factory)': /usr/include/gtest/gtest.h:2445:53: error: 'move' is not a member of 'std' 2445 | explicit FactoryImpl(Factory f) : factory_(std::move(f)) {} | ^~~~ /usr/include/gtest/gtest.h:2445:53: note: 'std::move' is only available from C++11 onwards /usr/include/gtest/gtest.h: In function 'testing::TestInfo* testing::RegisterTest(const char*, const char*, const char*, const char*, const char*, int, Factory)': /usr/include/gtest/gtest.h:2454:63: error: 'TestT' was not declared in this scope; did you mean 'Test'? 2454 | internal::CodeLocation(file, line), internal::GetTypeId(), | ^~~~~ | Test /usr/include/gtest/gtest.h:2457:28: error: 'move' is not a member of 'std' 2457 | new FactoryImpl{std::move(factory)}); | ^~~~ /usr/include/gtest/gtest.h:2457:28: note: 'std::move' is only available from C++11 onwards In file included from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp: At global scope: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:56:1: error: expected constructor, destructor, or type conversion before '(' token 56 | TEST(MSGPACK_USER_DEFINED, simple_buffer_class) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:56:1: error: expected constructor, destructor, or type conversion before '(' token 56 | TEST(MSGPACK_USER_DEFINED, simple_buffer_class) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:56:1: error: 'nullptr' was not declared in this scope 56 | TEST(MSGPACK_USER_DEFINED, simple_buffer_class) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:56:1: error: 'nullptr' was not declared in this scope 56 | TEST(MSGPACK_USER_DEFINED, simple_buffer_class) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:56:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 56 | TEST(MSGPACK_USER_DEFINED, simple_buffer_class) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:56:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 56 | TEST(MSGPACK_USER_DEFINED, simple_buffer_class) | ^~~~ In file included from /usr/include/gtest/gtest.h:375, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp: In member function 'virtual void MSGPACK_USER_DEFINED_simple_buffer_class_Test::TestBody()': /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:66:9: error: no matching function for call to 'testing::internal::EqHelper::Compare(const char [7], const char [7], std::string&, std::string&)' 66 | EXPECT_EQ(val1.s, val2.s); | ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/include/gtest/gtest.h:1551:26: note: candidate: 'template > static testing::AssertionResult testing::internal::EqHelper::Compare(const char*, const char*, const T1&, const T2&)' 1551 | static AssertionResult Compare(const char* lhs_expression, | ^~~~~~~ /usr/include/gtest/gtest.h:1551:26: note: template argument deduction/substitution failed: In file included from /usr/include/gtest/gtest.h:375, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:66:9: note: couldn't deduce template parameter '' 66 | EXPECT_EQ(val1.s, val2.s); | ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/include/gtest/gtest.h:1563:26: note: candidate: 'static testing::AssertionResult testing::internal::EqHelper::Compare(const char*, const char*, testing::internal::BiggestInt, testing::internal::BiggestInt)' 1563 | static AssertionResult Compare(const char* lhs_expression, | ^~~~~~~ /usr/include/gtest/gtest.h:1565:45: note: no known conversion for argument 3 from 'std::string' {aka 'std::__cxx11::basic_string'} to 'testing::internal::BiggestInt' {aka 'long long int'} 1565 | BiggestInt lhs, | ~~~~~~~~~~~^~~ /usr/include/gtest/gtest.h:1571:26: note: candidate: 'template static testing::AssertionResult testing::internal::EqHelper::Compare(const char*, const char*, int, T*)' 1571 | static AssertionResult Compare( | ^~~~~~~ /usr/include/gtest/gtest.h:1571:26: note: template argument deduction/substitution failed: In file included from /usr/include/gtest/gtest.h:375, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:66:9: note: mismatched types 'T*' and 'std::__cxx11::basic_string' 66 | EXPECT_EQ(val1.s, val2.s); | ^~~~~~~~~ In file included from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp: At global scope: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:83:1: error: expected constructor, destructor, or type conversion before '(' token 83 | TEST(MSGPACK_USER_DEFINED, simple_buffer_class_old_to_new) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:83:1: error: expected constructor, destructor, or type conversion before '(' token 83 | TEST(MSGPACK_USER_DEFINED, simple_buffer_class_old_to_new) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:83:1: error: 'nullptr' was not declared in this scope 83 | TEST(MSGPACK_USER_DEFINED, simple_buffer_class_old_to_new) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:83:1: error: 'nullptr' was not declared in this scope 83 | TEST(MSGPACK_USER_DEFINED, simple_buffer_class_old_to_new) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:83:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 83 | TEST(MSGPACK_USER_DEFINED, simple_buffer_class_old_to_new) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:83:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 83 | TEST(MSGPACK_USER_DEFINED, simple_buffer_class_old_to_new) | ^~~~ In file included from /usr/include/gtest/gtest.h:375, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp: In member function 'virtual void MSGPACK_USER_DEFINED_simple_buffer_class_old_to_new_Test::TestBody()': /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:93:9: error: no matching function for call to 'testing::internal::EqHelper::Compare(const char [7], const char [7], std::string&, std::string&)' 93 | EXPECT_EQ(val1.s, val2.s); | ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/include/gtest/gtest.h:1551:26: note: candidate: 'template > static testing::AssertionResult testing::internal::EqHelper::Compare(const char*, const char*, const T1&, const T2&)' 1551 | static AssertionResult Compare(const char* lhs_expression, | ^~~~~~~ /usr/include/gtest/gtest.h:1551:26: note: template argument deduction/substitution failed: In file included from /usr/include/gtest/gtest.h:375, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:93:9: note: couldn't deduce template parameter '' 93 | EXPECT_EQ(val1.s, val2.s); | ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/include/gtest/gtest.h:1563:26: note: candidate: 'static testing::AssertionResult testing::internal::EqHelper::Compare(const char*, const char*, testing::internal::BiggestInt, testing::internal::BiggestInt)' 1563 | static AssertionResult Compare(const char* lhs_expression, | ^~~~~~~ /usr/include/gtest/gtest.h:1565:45: note: no known conversion for argument 3 from 'std::string' {aka 'std::__cxx11::basic_string'} to 'testing::internal::BiggestInt' {aka 'long long int'} 1565 | BiggestInt lhs, | ~~~~~~~~~~~^~~ /usr/include/gtest/gtest.h:1571:26: note: candidate: 'template static testing::AssertionResult testing::internal::EqHelper::Compare(const char*, const char*, int, T*)' 1571 | static AssertionResult Compare( | ^~~~~~~ /usr/include/gtest/gtest.h:1571:26: note: template argument deduction/substitution failed: In file included from /usr/include/gtest/gtest.h:375, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:93:9: note: mismatched types 'T*' and 'std::__cxx11::basic_string' 93 | EXPECT_EQ(val1.s, val2.s); | ^~~~~~~~~ In file included from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:94:9: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 94 | EXPECT_FALSE(val2.s.empty()); | ^~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/include/gtest/gtest.h:293:12: note: candidate: 'template testing::AssertionResult::AssertionResult(const T&, int)' 293 | explicit AssertionResult( | ^~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h:293:12: note: template argument deduction/substitution failed: In file included from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:94:9: note: candidate expects 2 arguments, 1 provided 94 | EXPECT_FALSE(val2.s.empty()); | ^~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/include/gtest/gtest.h:279:3: note: candidate: 'testing::AssertionResult::AssertionResult(const testing::AssertionResult&)' 279 | AssertionResult(const AssertionResult& other); | ^~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h:279:42: note: no known conversion for argument 1 from 'bool' to 'const testing::AssertionResult&' 279 | AssertionResult(const AssertionResult& other); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp: At global scope: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:98:1: error: expected constructor, destructor, or type conversion before '(' token 98 | TEST(MSGPACK_USER_DEFINED, simple_buffer_class_new_to_old) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:98:1: error: expected constructor, destructor, or type conversion before '(' token 98 | TEST(MSGPACK_USER_DEFINED, simple_buffer_class_new_to_old) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:98:1: error: 'nullptr' was not declared in this scope 98 | TEST(MSGPACK_USER_DEFINED, simple_buffer_class_new_to_old) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:98:1: error: 'nullptr' was not declared in this scope 98 | TEST(MSGPACK_USER_DEFINED, simple_buffer_class_new_to_old) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:98:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 98 | TEST(MSGPACK_USER_DEFINED, simple_buffer_class_new_to_old) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:98:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 98 | TEST(MSGPACK_USER_DEFINED, simple_buffer_class_new_to_old) | ^~~~ In file included from /usr/include/gtest/gtest.h:375, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp: In member function 'virtual void MSGPACK_USER_DEFINED_simple_buffer_class_new_to_old_Test::TestBody()': /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:108:9: error: no matching function for call to 'testing::internal::EqHelper::Compare(const char [7], const char [7], std::string&, std::string&)' 108 | EXPECT_EQ(val1.s, val2.s); | ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/include/gtest/gtest.h:1551:26: note: candidate: 'template > static testing::AssertionResult testing::internal::EqHelper::Compare(const char*, const char*, const T1&, const T2&)' 1551 | static AssertionResult Compare(const char* lhs_expression, | ^~~~~~~ /usr/include/gtest/gtest.h:1551:26: note: template argument deduction/substitution failed: In file included from /usr/include/gtest/gtest.h:375, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:108:9: note: couldn't deduce template parameter '' 108 | EXPECT_EQ(val1.s, val2.s); | ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/include/gtest/gtest.h:1563:26: note: candidate: 'static testing::AssertionResult testing::internal::EqHelper::Compare(const char*, const char*, testing::internal::BiggestInt, testing::internal::BiggestInt)' 1563 | static AssertionResult Compare(const char* lhs_expression, | ^~~~~~~ /usr/include/gtest/gtest.h:1565:45: note: no known conversion for argument 3 from 'std::string' {aka 'std::__cxx11::basic_string'} to 'testing::internal::BiggestInt' {aka 'long long int'} 1565 | BiggestInt lhs, | ~~~~~~~~~~~^~~ /usr/include/gtest/gtest.h:1571:26: note: candidate: 'template static testing::AssertionResult testing::internal::EqHelper::Compare(const char*, const char*, int, T*)' 1571 | static AssertionResult Compare( | ^~~~~~~ /usr/include/gtest/gtest.h:1571:26: note: template argument deduction/substitution failed: In file included from /usr/include/gtest/gtest.h:375, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:108:9: note: mismatched types 'T*' and 'std::__cxx11::basic_string' 108 | EXPECT_EQ(val1.s, val2.s); | ^~~~~~~~~ In file included from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:109:9: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 109 | EXPECT_FALSE(val2.s.empty()); | ^~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/include/gtest/gtest.h:293:12: note: candidate: 'template testing::AssertionResult::AssertionResult(const T&, int)' 293 | explicit AssertionResult( | ^~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h:293:12: note: template argument deduction/substitution failed: In file included from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:109:9: note: candidate expects 2 arguments, 1 provided 109 | EXPECT_FALSE(val2.s.empty()); | ^~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/include/gtest/gtest.h:279:3: note: candidate: 'testing::AssertionResult::AssertionResult(const testing::AssertionResult&)' 279 | AssertionResult(const AssertionResult& other); | ^~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h:279:42: note: no known conversion for argument 1 from 'bool' to 'const testing::AssertionResult&' 279 | AssertionResult(const AssertionResult& other); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp: At global scope: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:113:1: error: expected constructor, destructor, or type conversion before '(' token 113 | TEST(MSGPACK_USER_DEFINED, simple_buffer_enum_member) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:113:1: error: expected constructor, destructor, or type conversion before '(' token 113 | TEST(MSGPACK_USER_DEFINED, simple_buffer_enum_member) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:113:1: error: 'nullptr' was not declared in this scope 113 | TEST(MSGPACK_USER_DEFINED, simple_buffer_enum_member) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:113:1: error: 'nullptr' was not declared in this scope 113 | TEST(MSGPACK_USER_DEFINED, simple_buffer_enum_member) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:113:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 113 | TEST(MSGPACK_USER_DEFINED, simple_buffer_enum_member) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:113:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 113 | TEST(MSGPACK_USER_DEFINED, simple_buffer_enum_member) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:174:1: error: expected constructor, destructor, or type conversion before '(' token 174 | TEST(MSGPACK_USER_DEFINED, simple_buffer_union_member) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:174:1: error: expected constructor, destructor, or type conversion before '(' token 174 | TEST(MSGPACK_USER_DEFINED, simple_buffer_union_member) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:174:1: error: 'nullptr' was not declared in this scope 174 | TEST(MSGPACK_USER_DEFINED, simple_buffer_union_member) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:174:1: error: 'nullptr' was not declared in this scope 174 | TEST(MSGPACK_USER_DEFINED, simple_buffer_union_member) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:174:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 174 | TEST(MSGPACK_USER_DEFINED, simple_buffer_union_member) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:174:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 174 | TEST(MSGPACK_USER_DEFINED, simple_buffer_union_member) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp: In member function 'virtual void MSGPACK_USER_DEFINED_simple_buffer_union_member_Test::TestBody()': /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:189:9: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 189 | EXPECT_TRUE(fabs(val1.value.f - val2.value.f) < kEPS); | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/include/gtest/gtest.h:293:12: note: candidate: 'template testing::AssertionResult::AssertionResult(const T&, int)' 293 | explicit AssertionResult( | ^~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h:293:12: note: template argument deduction/substitution failed: In file included from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:189:9: note: candidate expects 2 arguments, 1 provided 189 | EXPECT_TRUE(fabs(val1.value.f - val2.value.f) < kEPS); | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/include/gtest/gtest.h:279:3: note: candidate: 'testing::AssertionResult::AssertionResult(const testing::AssertionResult&)' 279 | AssertionResult(const AssertionResult& other); | ^~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h:279:42: note: no known conversion for argument 1 from 'bool' to 'const testing::AssertionResult&' 279 | AssertionResult(const AssertionResult& other); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp: At global scope: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:232:1: error: expected constructor, destructor, or type conversion before '(' token 232 | TEST(MSGPACK_INHERIT, define_non_virtual) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:232:1: error: expected constructor, destructor, or type conversion before '(' token 232 | TEST(MSGPACK_INHERIT, define_non_virtual) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:232:1: error: 'nullptr' was not declared in this scope 232 | TEST(MSGPACK_INHERIT, define_non_virtual) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:232:1: error: 'nullptr' was not declared in this scope 232 | TEST(MSGPACK_INHERIT, define_non_virtual) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:232:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 232 | TEST(MSGPACK_INHERIT, define_non_virtual) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:232:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 232 | TEST(MSGPACK_INHERIT, define_non_virtual) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:272:1: error: expected constructor, destructor, or type conversion before '(' token 272 | TEST(MSGPACK_INHERIT, define_virtual) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:272:1: error: expected constructor, destructor, or type conversion before '(' token 272 | TEST(MSGPACK_INHERIT, define_virtual) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:272:1: error: 'nullptr' was not declared in this scope 272 | TEST(MSGPACK_INHERIT, define_virtual) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:272:1: error: 'nullptr' was not declared in this scope 272 | TEST(MSGPACK_INHERIT, define_virtual) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:272:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 272 | TEST(MSGPACK_INHERIT, define_virtual) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:272:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 272 | TEST(MSGPACK_INHERIT, define_virtual) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:312:1: error: expected constructor, destructor, or type conversion before '(' token 312 | TEST(MSGPACK_INHERIT, define_array_non_virtual) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:312:1: error: expected constructor, destructor, or type conversion before '(' token 312 | TEST(MSGPACK_INHERIT, define_array_non_virtual) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:312:1: error: 'nullptr' was not declared in this scope 312 | TEST(MSGPACK_INHERIT, define_array_non_virtual) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:312:1: error: 'nullptr' was not declared in this scope 312 | TEST(MSGPACK_INHERIT, define_array_non_virtual) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:312:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 312 | TEST(MSGPACK_INHERIT, define_array_non_virtual) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:312:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 312 | TEST(MSGPACK_INHERIT, define_array_non_virtual) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:352:1: error: expected constructor, destructor, or type conversion before '(' token 352 | TEST(MSGPACK_INHERIT, define_array_virtual) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:352:1: error: expected constructor, destructor, or type conversion before '(' token 352 | TEST(MSGPACK_INHERIT, define_array_virtual) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:352:1: error: 'nullptr' was not declared in this scope 352 | TEST(MSGPACK_INHERIT, define_array_virtual) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:352:1: error: 'nullptr' was not declared in this scope 352 | TEST(MSGPACK_INHERIT, define_array_virtual) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:352:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 352 | TEST(MSGPACK_INHERIT, define_array_virtual) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:352:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 352 | TEST(MSGPACK_INHERIT, define_array_virtual) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:392:1: error: expected constructor, destructor, or type conversion before '(' token 392 | TEST(MSGPACK_INHERIT, define_map_non_virtual) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:392:1: error: expected constructor, destructor, or type conversion before '(' token 392 | TEST(MSGPACK_INHERIT, define_map_non_virtual) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:392:1: error: 'nullptr' was not declared in this scope 392 | TEST(MSGPACK_INHERIT, define_map_non_virtual) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:392:1: error: 'nullptr' was not declared in this scope 392 | TEST(MSGPACK_INHERIT, define_map_non_virtual) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:392:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 392 | TEST(MSGPACK_INHERIT, define_map_non_virtual) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:392:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 392 | TEST(MSGPACK_INHERIT, define_map_non_virtual) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:439:1: error: expected constructor, destructor, or type conversion before '(' token 439 | TEST(MSGPACK_INHERIT, define_map_virtual) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:439:1: error: expected constructor, destructor, or type conversion before '(' token 439 | TEST(MSGPACK_INHERIT, define_map_virtual) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:439:1: error: 'nullptr' was not declared in this scope 439 | TEST(MSGPACK_INHERIT, define_map_virtual) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:439:1: error: 'nullptr' was not declared in this scope 439 | TEST(MSGPACK_INHERIT, define_map_virtual) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:439:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 439 | TEST(MSGPACK_INHERIT, define_map_virtual) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:439:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 439 | TEST(MSGPACK_INHERIT, define_map_virtual) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:474:1: error: expected constructor, destructor, or type conversion before '(' token 474 | TEST(MSGPACK_MIGRATION, order_number_changed) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:474:1: error: expected constructor, destructor, or type conversion before '(' token 474 | TEST(MSGPACK_MIGRATION, order_number_changed) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:474:1: error: 'nullptr' was not declared in this scope 474 | TEST(MSGPACK_MIGRATION, order_number_changed) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:474:1: error: 'nullptr' was not declared in this scope 474 | TEST(MSGPACK_MIGRATION, order_number_changed) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:474:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 474 | TEST(MSGPACK_MIGRATION, order_number_changed) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:474:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 474 | TEST(MSGPACK_MIGRATION, order_number_changed) | ^~~~ In file included from /usr/include/gtest/gtest.h:375, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp: In member function 'virtual void MSGPACK_MIGRATION_order_number_changed_Test::TestBody()': /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:485:5: error: no matching function for call to 'testing::internal::EqHelper::Compare(const char [5], const char [6], std::string&, const char [4])' 485 | EXPECT_EQ(v2.s, "foo"); // from v1 | ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/include/gtest/gtest.h:1551:26: note: candidate: 'template > static testing::AssertionResult testing::internal::EqHelper::Compare(const char*, const char*, const T1&, const T2&)' 1551 | static AssertionResult Compare(const char* lhs_expression, | ^~~~~~~ /usr/include/gtest/gtest.h:1551:26: note: template argument deduction/substitution failed: In file included from /usr/include/gtest/gtest.h:375, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:485:5: note: couldn't deduce template parameter '' 485 | EXPECT_EQ(v2.s, "foo"); // from v1 | ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/include/gtest/gtest.h:1563:26: note: candidate: 'static testing::AssertionResult testing::internal::EqHelper::Compare(const char*, const char*, testing::internal::BiggestInt, testing::internal::BiggestInt)' 1563 | static AssertionResult Compare(const char* lhs_expression, | ^~~~~~~ /usr/include/gtest/gtest.h:1565:45: note: no known conversion for argument 3 from 'std::string' {aka 'std::__cxx11::basic_string'} to 'testing::internal::BiggestInt' {aka 'long long int'} 1565 | BiggestInt lhs, | ~~~~~~~~~~~^~~ /usr/include/gtest/gtest.h:1571:26: note: candidate: 'template static testing::AssertionResult testing::internal::EqHelper::Compare(const char*, const char*, int, T*)' 1571 | static AssertionResult Compare( | ^~~~~~~ /usr/include/gtest/gtest.h:1571:26: note: template argument deduction/substitution failed: In file included from /usr/include/gtest/gtest.h:375, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:485:18: note: cannot convert 'v2.s_v2::s' (type 'std::string' {aka 'std::__cxx11::basic_string'}) to type 'int' 485 | EXPECT_EQ(v2.s, "foo"); // from v1 | ~~~^ In file included from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp: At global scope: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:540:1: error: expected constructor, destructor, or type conversion before '(' token 540 | TEST(MSGPACK_USER_DEFINED, test_non_intrusive) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:540:1: error: expected constructor, destructor, or type conversion before '(' token 540 | TEST(MSGPACK_USER_DEFINED, test_non_intrusive) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:540:1: error: 'nullptr' was not declared in this scope 540 | TEST(MSGPACK_USER_DEFINED, test_non_intrusive) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:540:1: error: 'nullptr' was not declared in this scope 540 | TEST(MSGPACK_USER_DEFINED, test_non_intrusive) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:540:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 540 | TEST(MSGPACK_USER_DEFINED, test_non_intrusive) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:540:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 540 | TEST(MSGPACK_USER_DEFINED, test_non_intrusive) | ^~~~ In file included from /usr/include/gtest/gtest.h:375, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp: In member function 'virtual void MSGPACK_USER_DEFINED_test_non_intrusive_Test::TestBody()': /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:550:5: error: no matching function for call to 'testing::internal::EqHelper::Compare(const char [10], const char [10], const string&, const string&)' 550 | EXPECT_EQ(t1.name(), t2.name()); | ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/include/gtest/gtest.h:1551:26: note: candidate: 'template > static testing::AssertionResult testing::internal::EqHelper::Compare(const char*, const char*, const T1&, const T2&)' 1551 | static AssertionResult Compare(const char* lhs_expression, | ^~~~~~~ /usr/include/gtest/gtest.h:1551:26: note: template argument deduction/substitution failed: In file included from /usr/include/gtest/gtest.h:375, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:550:5: note: couldn't deduce template parameter '' 550 | EXPECT_EQ(t1.name(), t2.name()); | ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/include/gtest/gtest.h:1563:26: note: candidate: 'static testing::AssertionResult testing::internal::EqHelper::Compare(const char*, const char*, testing::internal::BiggestInt, testing::internal::BiggestInt)' 1563 | static AssertionResult Compare(const char* lhs_expression, | ^~~~~~~ /usr/include/gtest/gtest.h:1565:45: note: no known conversion for argument 3 from 'const string' {aka 'const std::__cxx11::basic_string'} to 'testing::internal::BiggestInt' {aka 'long long int'} 1565 | BiggestInt lhs, | ~~~~~~~~~~~^~~ /usr/include/gtest/gtest.h:1571:26: note: candidate: 'template static testing::AssertionResult testing::internal::EqHelper::Compare(const char*, const char*, int, T*)' 1571 | static AssertionResult Compare( | ^~~~~~~ /usr/include/gtest/gtest.h:1571:26: note: template argument deduction/substitution failed: In file included from /usr/include/gtest/gtest.h:375, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:550:5: note: mismatched types 'T*' and 'std::__cxx11::basic_string' 550 | EXPECT_EQ(t1.name(), t2.name()); | ^~~~~~~~~ In file included from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp: At global scope: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:565:1: error: expected constructor, destructor, or type conversion before '(' token 565 | TEST(MSGPACK_NVP, combination) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:565:1: error: expected constructor, destructor, or type conversion before '(' token 565 | TEST(MSGPACK_NVP, combination) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:565:1: error: 'nullptr' was not declared in this scope 565 | TEST(MSGPACK_NVP, combination) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:565:1: error: 'nullptr' was not declared in this scope 565 | TEST(MSGPACK_NVP, combination) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:565:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 565 | TEST(MSGPACK_NVP, combination) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:565:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 565 | TEST(MSGPACK_NVP, combination) | ^~~~ In file included from /usr/include/gtest/gtest.h:375, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp: In member function 'virtual void MSGPACK_NVP_combination_Test::TestBody()': /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:580:5: error: no matching function for call to 'testing::internal::EqHelper::Compare(const char [85], const char [6], std::string, const char [4])' 580 | EXPECT_EQ(std::string(obj.via.map.ptr[0].key.via.str.ptr, obj.via.map.ptr[0].key.via.str.size), "ccc"); | ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/include/gtest/gtest.h:1551:26: note: candidate: 'template > static testing::AssertionResult testing::internal::EqHelper::Compare(const char*, const char*, const T1&, const T2&)' 1551 | static AssertionResult Compare(const char* lhs_expression, | ^~~~~~~ /usr/include/gtest/gtest.h:1551:26: note: template argument deduction/substitution failed: In file included from /usr/include/gtest/gtest.h:375, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:580:5: note: couldn't deduce template parameter '' 580 | EXPECT_EQ(std::string(obj.via.map.ptr[0].key.via.str.ptr, obj.via.map.ptr[0].key.via.str.size), "ccc"); | ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/include/gtest/gtest.h:1563:26: note: candidate: 'static testing::AssertionResult testing::internal::EqHelper::Compare(const char*, const char*, testing::internal::BiggestInt, testing::internal::BiggestInt)' 1563 | static AssertionResult Compare(const char* lhs_expression, | ^~~~~~~ /usr/include/gtest/gtest.h:1565:45: note: no known conversion for argument 3 from 'std::string' {aka 'std::__cxx11::basic_string'} to 'testing::internal::BiggestInt' {aka 'long long int'} 1565 | BiggestInt lhs, | ~~~~~~~~~~~^~~ /usr/include/gtest/gtest.h:1571:26: note: candidate: 'template static testing::AssertionResult testing::internal::EqHelper::Compare(const char*, const char*, int, T*)' 1571 | static AssertionResult Compare( | ^~~~~~~ /usr/include/gtest/gtest.h:1571:26: note: template argument deduction/substitution failed: In file included from /usr/include/gtest/gtest.h:375, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:580:20: note: cannot convert 'std::__cxx11::basic_string(obj.msgpack::v2::object::.msgpack::v1::object::via.msgpack::v1::object::union_type::map.msgpack::v1::object_map::ptr->msgpack::v1::object_kv::key.msgpack::v2::object::.msgpack::v1::object::via.msgpack::v1::object::union_type::str.msgpack::v1::object_str::ptr, obj.msgpack::v2::object::.msgpack::v1::object::via.msgpack::v1::object::union_type::map.msgpack::v1::object_map::ptr->msgpack::v1::object_kv::key.msgpack::v2::object::.msgpack::v1::object::via.msgpack::v1::object::union_type::str.msgpack::v1::object_str::size, std::allocator())' (type 'std::string' {aka 'std::__cxx11::basic_string'}) to type 'int' 580 | EXPECT_EQ(std::string(obj.via.map.ptr[0].key.via.str.ptr, obj.via.map.ptr[0].key.via.str.size), "ccc"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:583:5: error: no matching function for call to 'testing::internal::EqHelper::Compare(const char [85], const char [7], std::string, const char [5])' 583 | EXPECT_EQ(std::string(obj.via.map.ptr[1].key.via.str.ptr, obj.via.map.ptr[1].key.via.str.size), "base"); | ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/include/gtest/gtest.h:1551:26: note: candidate: 'template > static testing::AssertionResult testing::internal::EqHelper::Compare(const char*, const char*, const T1&, const T2&)' 1551 | static AssertionResult Compare(const char* lhs_expression, | ^~~~~~~ /usr/include/gtest/gtest.h:1551:26: note: template argument deduction/substitution failed: In file included from /usr/include/gtest/gtest.h:375, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:583:5: note: couldn't deduce template parameter '' 583 | EXPECT_EQ(std::string(obj.via.map.ptr[1].key.via.str.ptr, obj.via.map.ptr[1].key.via.str.size), "base"); | ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/include/gtest/gtest.h:1563:26: note: candidate: 'static testing::AssertionResult testing::internal::EqHelper::Compare(const char*, const char*, testing::internal::BiggestInt, testing::internal::BiggestInt)' 1563 | static AssertionResult Compare(const char* lhs_expression, | ^~~~~~~ /usr/include/gtest/gtest.h:1565:45: note: no known conversion for argument 3 from 'std::string' {aka 'std::__cxx11::basic_string'} to 'testing::internal::BiggestInt' {aka 'long long int'} 1565 | BiggestInt lhs, | ~~~~~~~~~~~^~~ /usr/include/gtest/gtest.h:1571:26: note: candidate: 'template static testing::AssertionResult testing::internal::EqHelper::Compare(const char*, const char*, int, T*)' 1571 | static AssertionResult Compare( | ^~~~~~~ /usr/include/gtest/gtest.h:1571:26: note: template argument deduction/substitution failed: In file included from /usr/include/gtest/gtest.h:375, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:583:20: note: cannot convert 'std::__cxx11::basic_string((obj.msgpack::v2::object::.msgpack::v1::object::via.msgpack::v1::object::union_type::map.msgpack::v1::object_map::ptr + 24)->msgpack::v1::object_kv::key.msgpack::v2::object::.msgpack::v1::object::via.msgpack::v1::object::union_type::str.msgpack::v1::object_str::ptr, (obj.msgpack::v2::object::.msgpack::v1::object::via.msgpack::v1::object::union_type::map.msgpack::v1::object_map::ptr + 24)->msgpack::v1::object_kv::key.msgpack::v2::object::.msgpack::v1::object::via.msgpack::v1::object::union_type::str.msgpack::v1::object_str::size, std::allocator())' (type 'std::string' {aka 'std::__cxx11::basic_string'}) to type 'int' 583 | EXPECT_EQ(std::string(obj.via.map.ptr[1].key.via.str.ptr, obj.via.map.ptr[1].key.via.str.size), "base"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:585:5: error: no matching function for call to 'testing::internal::EqHelper::Compare(const char [124], const char [6], std::string, const char [4])' 585 | EXPECT_EQ( | ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/include/gtest/gtest.h:1551:26: note: candidate: 'template > static testing::AssertionResult testing::internal::EqHelper::Compare(const char*, const char*, const T1&, const T2&)' 1551 | static AssertionResult Compare(const char* lhs_expression, | ^~~~~~~ /usr/include/gtest/gtest.h:1551:26: note: template argument deduction/substitution failed: In file included from /usr/include/gtest/gtest.h:375, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:585:5: note: couldn't deduce template parameter '' 585 | EXPECT_EQ( | ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/include/gtest/gtest.h:1563:26: note: candidate: 'static testing::AssertionResult testing::internal::EqHelper::Compare(const char*, const char*, testing::internal::BiggestInt, testing::internal::BiggestInt)' 1563 | static AssertionResult Compare(const char* lhs_expression, | ^~~~~~~ /usr/include/gtest/gtest.h:1565:45: note: no known conversion for argument 3 from 'std::string' {aka 'std::__cxx11::basic_string'} to 'testing::internal::BiggestInt' {aka 'long long int'} 1565 | BiggestInt lhs, | ~~~~~~~~~~~^~~ /usr/include/gtest/gtest.h:1571:26: note: candidate: 'template static testing::AssertionResult testing::internal::EqHelper::Compare(const char*, const char*, int, T*)' 1571 | static AssertionResult Compare( | ^~~~~~~ /usr/include/gtest/gtest.h:1571:26: note: template argument deduction/substitution failed: In file included from /usr/include/gtest/gtest.h:375, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:586:14: note: cannot convert 'std::__cxx11::basic_string((obj.msgpack::v2::object::.msgpack::v1::object::via.msgpack::v1::object::union_type::map.msgpack::v1::object_map::ptr + 24)->msgpack::v1::object_kv::val.msgpack::v2::object::.msgpack::v1::object::via.msgpack::v1::object::union_type::map.msgpack::v1::object_map::ptr->msgpack::v1::object_kv::key.msgpack::v2::object::.msgpack::v1::object::via.msgpack::v1::object::union_type::str.msgpack::v1::object_str::ptr, (obj.msgpack::v2::object::.msgpack::v1::object::via.msgpack::v1::object::union_type::map.msgpack::v1::object_map::ptr + 24)->msgpack::v1::object_kv::val.msgpack::v2::object::.msgpack::v1::object::via.msgpack::v1::object::union_type::map.msgpack::v1::object_map::ptr->msgpack::v1::object_kv::key.msgpack::v2::object::.msgpack::v1::object::via.msgpack::v1::object::union_type::str.msgpack::v1::object_str::size, std::allocator())' (type 'std::string' {aka 'std::__cxx11::basic_string'}) to type 'int' 586 | std::string( | ^~~~~~~ 587 | obj.via.map.ptr[1].val.via.map.ptr[0].key.via.str.ptr, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 588 | obj.via.map.ptr[1].val.via.map.ptr[0].key.via.str.size), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:592:5: error: no matching function for call to 'testing::internal::EqHelper::Compare(const char [124], const char [4], std::string, const char [2])' 592 | EXPECT_EQ( | ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/include/gtest/gtest.h:1551:26: note: candidate: 'template > static testing::AssertionResult testing::internal::EqHelper::Compare(const char*, const char*, const T1&, const T2&)' 1551 | static AssertionResult Compare(const char* lhs_expression, | ^~~~~~~ /usr/include/gtest/gtest.h:1551:26: note: template argument deduction/substitution failed: In file included from /usr/include/gtest/gtest.h:375, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:592:5: note: couldn't deduce template parameter '' 592 | EXPECT_EQ( | ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/include/gtest/gtest.h:1563:26: note: candidate: 'static testing::AssertionResult testing::internal::EqHelper::Compare(const char*, const char*, testing::internal::BiggestInt, testing::internal::BiggestInt)' 1563 | static AssertionResult Compare(const char* lhs_expression, | ^~~~~~~ /usr/include/gtest/gtest.h:1565:45: note: no known conversion for argument 3 from 'std::string' {aka 'std::__cxx11::basic_string'} to 'testing::internal::BiggestInt' {aka 'long long int'} 1565 | BiggestInt lhs, | ~~~~~~~~~~~^~~ /usr/include/gtest/gtest.h:1571:26: note: candidate: 'template static testing::AssertionResult testing::internal::EqHelper::Compare(const char*, const char*, int, T*)' 1571 | static AssertionResult Compare( | ^~~~~~~ /usr/include/gtest/gtest.h:1571:26: note: template argument deduction/substitution failed: In file included from /usr/include/gtest/gtest.h:375, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:593:14: note: cannot convert 'std::__cxx11::basic_string(((obj.msgpack::v2::object::.msgpack::v1::object::via.msgpack::v1::object::union_type::map.msgpack::v1::object_map::ptr + 24)->msgpack::v1::object_kv::val.msgpack::v2::object::.msgpack::v1::object::via.msgpack::v1::object::union_type::map.msgpack::v1::object_map::ptr + 24)->msgpack::v1::object_kv::key.msgpack::v2::object::.msgpack::v1::object::via.msgpack::v1::object::union_type::str.msgpack::v1::object_str::ptr, ((obj.msgpack::v2::object::.msgpack::v1::object::via.msgpack::v1::object::union_type::map.msgpack::v1::object_map::ptr + 24)->msgpack::v1::object_kv::val.msgpack::v2::object::.msgpack::v1::object::via.msgpack::v1::object::union_type::map.msgpack::v1::object_map::ptr + 24)->msgpack::v1::object_kv::key.msgpack::v2::object::.msgpack::v1::object::via.msgpack::v1::object::union_type::str.msgpack::v1::object_str::size, std::allocator())' (type 'std::string' {aka 'std::__cxx11::basic_string'}) to type 'int' 593 | std::string( | ^~~~~~~ 594 | obj.via.map.ptr[1].val.via.map.ptr[1].key.via.str.ptr, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 595 | obj.via.map.ptr[1].val.via.map.ptr[1].key.via.str.size), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:600:5: error: no matching function for call to 'testing::internal::EqHelper::Compare(const char [85], const char [6], std::string, const char [4])' 600 | EXPECT_EQ(std::string(obj.via.map.ptr[2].key.via.str.ptr, obj.via.map.ptr[2].key.via.str.size), "ddd"); | ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/include/gtest/gtest.h:1551:26: note: candidate: 'template > static testing::AssertionResult testing::internal::EqHelper::Compare(const char*, const char*, const T1&, const T2&)' 1551 | static AssertionResult Compare(const char* lhs_expression, | ^~~~~~~ /usr/include/gtest/gtest.h:1551:26: note: template argument deduction/substitution failed: In file included from /usr/include/gtest/gtest.h:375, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:600:5: note: couldn't deduce template parameter '' 600 | EXPECT_EQ(std::string(obj.via.map.ptr[2].key.via.str.ptr, obj.via.map.ptr[2].key.via.str.size), "ddd"); | ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/include/gtest/gtest.h:1563:26: note: candidate: 'static testing::AssertionResult testing::internal::EqHelper::Compare(const char*, const char*, testing::internal::BiggestInt, testing::internal::BiggestInt)' 1563 | static AssertionResult Compare(const char* lhs_expression, | ^~~~~~~ /usr/include/gtest/gtest.h:1565:45: note: no known conversion for argument 3 from 'std::string' {aka 'std::__cxx11::basic_string'} to 'testing::internal::BiggestInt' {aka 'long long int'} 1565 | BiggestInt lhs, | ~~~~~~~~~~~^~~ /usr/include/gtest/gtest.h:1571:26: note: candidate: 'template static testing::AssertionResult testing::internal::EqHelper::Compare(const char*, const char*, int, T*)' 1571 | static AssertionResult Compare( | ^~~~~~~ /usr/include/gtest/gtest.h:1571:26: note: template argument deduction/substitution failed: In file included from /usr/include/gtest/gtest.h:375, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:600:20: note: cannot convert 'std::__cxx11::basic_string((obj.msgpack::v2::object::.msgpack::v1::object::via.msgpack::v1::object::union_type::map.msgpack::v1::object_map::ptr + 48)->msgpack::v1::object_kv::key.msgpack::v2::object::.msgpack::v1::object::via.msgpack::v1::object::union_type::str.msgpack::v1::object_str::ptr, (obj.msgpack::v2::object::.msgpack::v1::object::via.msgpack::v1::object::union_type::map.msgpack::v1::object_map::ptr + 48)->msgpack::v1::object_kv::key.msgpack::v2::object::.msgpack::v1::object::via.msgpack::v1::object::union_type::str.msgpack::v1::object_str::size, std::allocator())' (type 'std::string' {aka 'std::__cxx11::basic_string'}) to type 'int' 600 | EXPECT_EQ(std::string(obj.via.map.ptr[2].key.via.str.ptr, obj.via.map.ptr[2].key.via.str.size), "ddd"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:601:5: error: no matching function for call to 'testing::internal::EqHelper::Compare(const char [85], const char [6], std::string, const char [4])' 601 | EXPECT_EQ(std::string(obj.via.map.ptr[2].val.via.str.ptr, obj.via.map.ptr[2].val.via.str.size), "ABC"); | ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/include/gtest/gtest.h:1551:26: note: candidate: 'template > static testing::AssertionResult testing::internal::EqHelper::Compare(const char*, const char*, const T1&, const T2&)' 1551 | static AssertionResult Compare(const char* lhs_expression, | ^~~~~~~ /usr/include/gtest/gtest.h:1551:26: note: template argument deduction/substitution failed: In file included from /usr/include/gtest/gtest.h:375, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:601:5: note: couldn't deduce template parameter '' 601 | EXPECT_EQ(std::string(obj.via.map.ptr[2].val.via.str.ptr, obj.via.map.ptr[2].val.via.str.size), "ABC"); | ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/include/gtest/gtest.h:1563:26: note: candidate: 'static testing::AssertionResult testing::internal::EqHelper::Compare(const char*, const char*, testing::internal::BiggestInt, testing::internal::BiggestInt)' 1563 | static AssertionResult Compare(const char* lhs_expression, | ^~~~~~~ /usr/include/gtest/gtest.h:1565:45: note: no known conversion for argument 3 from 'std::string' {aka 'std::__cxx11::basic_string'} to 'testing::internal::BiggestInt' {aka 'long long int'} 1565 | BiggestInt lhs, | ~~~~~~~~~~~^~~ /usr/include/gtest/gtest.h:1571:26: note: candidate: 'template static testing::AssertionResult testing::internal::EqHelper::Compare(const char*, const char*, int, T*)' 1571 | static AssertionResult Compare( | ^~~~~~~ /usr/include/gtest/gtest.h:1571:26: note: template argument deduction/substitution failed: In file included from /usr/include/gtest/gtest.h:375, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:601:20: note: cannot convert 'std::__cxx11::basic_string((obj.msgpack::v2::object::.msgpack::v1::object::via.msgpack::v1::object::union_type::map.msgpack::v1::object_map::ptr + 48)->msgpack::v1::object_kv::val.msgpack::v2::object::.msgpack::v1::object::via.msgpack::v1::object::union_type::str.msgpack::v1::object_str::ptr, (obj.msgpack::v2::object::.msgpack::v1::object::via.msgpack::v1::object::union_type::map.msgpack::v1::object_map::ptr + 48)->msgpack::v1::object_kv::val.msgpack::v2::object::.msgpack::v1::object::via.msgpack::v1::object::union_type::str.msgpack::v1::object_str::size, std::allocator())' (type 'std::string' {aka 'std::__cxx11::basic_string'}) to type 'int' 601 | EXPECT_EQ(std::string(obj.via.map.ptr[2].val.via.str.ptr, obj.via.map.ptr[2].val.via.str.size), "ABC"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:607:5: error: no matching function for call to 'testing::internal::EqHelper::Compare(const char [5], const char [6], std::string&, const char [4])' 607 | EXPECT_EQ(d2.d, "ABC"); | ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/include/gtest/gtest.h:1551:26: note: candidate: 'template > static testing::AssertionResult testing::internal::EqHelper::Compare(const char*, const char*, const T1&, const T2&)' 1551 | static AssertionResult Compare(const char* lhs_expression, | ^~~~~~~ /usr/include/gtest/gtest.h:1551:26: note: template argument deduction/substitution failed: In file included from /usr/include/gtest/gtest.h:375, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:607:5: note: couldn't deduce template parameter '' 607 | EXPECT_EQ(d2.d, "ABC"); | ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/include/gtest/gtest.h:1563:26: note: candidate: 'static testing::AssertionResult testing::internal::EqHelper::Compare(const char*, const char*, testing::internal::BiggestInt, testing::internal::BiggestInt)' 1563 | static AssertionResult Compare(const char* lhs_expression, | ^~~~~~~ /usr/include/gtest/gtest.h:1565:45: note: no known conversion for argument 3 from 'std::string' {aka 'std::__cxx11::basic_string'} to 'testing::internal::BiggestInt' {aka 'long long int'} 1565 | BiggestInt lhs, | ~~~~~~~~~~~^~~ /usr/include/gtest/gtest.h:1571:26: note: candidate: 'template static testing::AssertionResult testing::internal::EqHelper::Compare(const char*, const char*, int, T*)' 1571 | static AssertionResult Compare( | ^~~~~~~ /usr/include/gtest/gtest.h:1571:26: note: template argument deduction/substitution failed: In file included from /usr/include/gtest/gtest.h:375, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:607:18: note: cannot convert 'd2.nvp_derived::d' (type 'std::string' {aka 'std::__cxx11::basic_string'}) to type 'int' 607 | EXPECT_EQ(d2.d, "ABC"); | ~~~^ In file included from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp: At global scope: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:615:1: error: expected constructor, destructor, or type conversion before '(' token 615 | TEST(MSGPACK_USER_DEFINED, test_invalid_key_type) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:615:1: error: expected constructor, destructor, or type conversion before '(' token 615 | TEST(MSGPACK_USER_DEFINED, test_invalid_key_type) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:615:1: error: 'nullptr' was not declared in this scope 615 | TEST(MSGPACK_USER_DEFINED, test_invalid_key_type) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:615:1: error: 'nullptr' was not declared in this scope 615 | TEST(MSGPACK_USER_DEFINED, test_invalid_key_type) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:615:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 615 | TEST(MSGPACK_USER_DEFINED, test_invalid_key_type) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:615:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 615 | TEST(MSGPACK_USER_DEFINED, test_invalid_key_type) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp: In member function 'virtual void MSGPACK_USER_DEFINED_test_invalid_key_type_Test::TestBody()': /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:625:9: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 625 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/include/gtest/gtest.h:293:12: note: candidate: 'template testing::AssertionResult::AssertionResult(const T&, int)' 293 | explicit AssertionResult( | ^~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h:293:12: note: template argument deduction/substitution failed: In file included from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:625:9: note: candidate expects 2 arguments, 1 provided 625 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/include/gtest/gtest.h:279:3: note: candidate: 'testing::AssertionResult::AssertionResult(const testing::AssertionResult&)' 279 | AssertionResult(const AssertionResult& other); | ^~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h:279:42: note: no known conversion for argument 1 from 'bool' to 'const testing::AssertionResult&' 279 | AssertionResult(const AssertionResult& other); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:628:9: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 628 | EXPECT_TRUE(true); | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/include/gtest/gtest.h:293:12: note: candidate: 'template testing::AssertionResult::AssertionResult(const T&, int)' 293 | explicit AssertionResult( | ^~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h:293:12: note: template argument deduction/substitution failed: In file included from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:628:9: note: candidate expects 2 arguments, 1 provided 628 | EXPECT_TRUE(true); | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/include/gtest/gtest.h:279:3: note: candidate: 'testing::AssertionResult::AssertionResult(const testing::AssertionResult&)' 279 | AssertionResult(const AssertionResult& other); | ^~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h:279:42: note: no known conversion for argument 1 from 'bool' to 'const testing::AssertionResult&' 279 | AssertionResult(const AssertionResult& other); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:631:9: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 631 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/include/gtest/gtest.h:293:12: note: candidate: 'template testing::AssertionResult::AssertionResult(const T&, int)' 293 | explicit AssertionResult( | ^~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h:293:12: note: template argument deduction/substitution failed: In file included from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:631:9: note: candidate expects 2 arguments, 1 provided 631 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/include/gtest/gtest.h:279:3: note: candidate: 'testing::AssertionResult::AssertionResult(const testing::AssertionResult&)' 279 | AssertionResult(const AssertionResult& other); | ^~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h:279:42: note: no known conversion for argument 1 from 'bool' to 'const testing::AssertionResult&' 279 | AssertionResult(const AssertionResult& other); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/include/gtest/internal/gtest-internal.h: In instantiation of 'struct testing::internal::IsRecursiveContainer': /usr/include/gtest/gtest-printers.h:506:15: required from 'void testing::internal::PrintTo(const T&, std::ostream*) [with T = const void*; std::ostream = std::basic_ostream]' /usr/include/gtest/gtest-printers.h:553:44: required from here /usr/include/gtest/internal/gtest-internal.h:948:8: error: no type named 'type' in 'struct testing::internal::IsRecursiveContainerImpl' 948 | struct IsRecursiveContainer : public IsRecursiveContainerImpl::type {}; | ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtest/gtest-matchers.h:47, from /usr/include/gtest/internal/gtest-death-test-internal.h:39, from /usr/include/gtest/gtest-death-test.h:41, from /usr/include/gtest/gtest.h:64, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/include/gtest/gtest-printers.h: In instantiation of 'void testing::internal::PrintTo(const T&, std::ostream*) [with T = const void*; std::ostream = std::basic_ostream]': /usr/include/gtest/gtest-printers.h:553:44: required from here /usr/include/gtest/gtest-printers.h:506:15: error: 'value' is not a member of 'testing::internal::IsRecursiveContainer' 506 | !IsRecursiveContainer::value | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtest/internal/gtest-death-test-internal.h:39, from /usr/include/gtest/gtest-death-test.h:41, from /usr/include/gtest/gtest.h:64, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/include/gtest/gtest-matchers.h: In instantiation of 'testing::PolymorphicMatcher::operator testing::Matcher() const [with T = const std::__cxx11::basic_string&; Impl = testing::internal::MatchesRegexMatcher]': /usr/include/gtest/internal/gtest-death-test-internal.h:170:39: required from here /usr/include/gtest/gtest-matchers.h:468:23: error: forming reference to reference type 'const std::__cxx11::basic_string&' 468 | return Matcher(new MonomorphicImpl(impl_)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtest/gtest-param-test.h:181, from /usr/include/gtest/gtest.h:67, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/user_class.cpp:8: /usr/include/gtest/internal/gtest-param-util.h: In instantiation of 'testing::internal::ValueArray::operator testing::internal::ParamGenerator() const [with T = bool; Ts = {bool, bool}]': /usr/include/gtest/gtest-param-test.h:360:28: required from here /usr/include/gtest/internal/gtest-param-util.h:738:20: error: no matching function for call to 'testing::internal::ValueArray::MakeVector(testing::internal::MakeIndexSequence<2>) const' 738 | return ValuesIn(MakeVector(MakeIndexSequence())); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h:743:18: note: candidate: 'template std::vector testing::internal::ValueArray::MakeVector(testing::internal::IndexSequence) const [with T = T; unsigned int ...I = {I ...}; Ts = {bool, bool}]' 743 | std::vector MakeVector(IndexSequence) const { | ^~~~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h:743:18: note: template argument deduction/substitution failed: /usr/include/gtest/internal/gtest-param-util.h:738:20: note: 'testing::internal::MakeIndexSequence<2>' is not derived from 'testing::internal::IndexSequence' 738 | return ValuesIn(MakeVector(MakeIndexSequence())); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [test/CMakeFiles/user_class.dir/build.make:82: test/CMakeFiles/user_class.dir/user_class.cpp.o] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' make[1]: *** [CMakeFiles/Makefile2:1187: test/CMakeFiles/user_class.dir/all] Error 2 make[2]: Entering directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' [ 8%] Building CXX object example/cpp03/CMakeFiles/class_non_intrusive.dir/class_non_intrusive.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' make[2]: Entering directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' [ 29%] Linking CXX executable class_non_intrusive make[2]: Leaving directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' make[1]: Entering directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' [ 29%] Built target class_non_intrusive make[1]: Leaving directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' make[2]: Entering directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' [ 12%] Building CXX object example/cpp03/CMakeFiles/custom.dir/custom.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' make[2]: Entering directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' [ 23%] Building CXX object test/CMakeFiles/visitor.dir/visitor.cpp.o In file included from /usr/include/c++/9/type_traits:35, from /usr/include/gtest/gtest.h:59, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/include/c++/9/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/gtest/internal/gtest-internal.h:40, from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/include/gtest/internal/gtest-port.h:835:12: error: 'std::get' has not been declared 835 | using std::get; | ^~~ /usr/include/gtest/internal/gtest-port.h:836:12: error: 'std::make_tuple' has not been declared 836 | using std::make_tuple; | ^~~~~~~~~~ /usr/include/gtest/internal/gtest-port.h:837:12: error: 'std::tuple' has not been declared 837 | using std::tuple; | ^~~~~ /usr/include/gtest/internal/gtest-port.h:838:12: error: 'std::tuple_element' has not been declared 838 | using std::tuple_element; | ^~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-port.h:839:12: error: 'std::tuple_size' has not been declared 839 | using std::tuple_size; | ^~~~~~~~~~ /usr/include/gtest/internal/gtest-port.h: In function 'void testing::internal::FlushInfoLog()': /usr/include/gtest/internal/gtest-port.h:972:37: error: 'nullptr' was not declared in this scope 972 | inline void FlushInfoLog() { fflush(nullptr); } | ^~~~~~~ /usr/include/gtest/internal/gtest-port.h: In function 'To testing::internal::DownCast_(From*)': /usr/include/gtest/internal/gtest-port.h:1082:17: error: 'nullptr' was not declared in this scope 1082 | const To to = nullptr; | ^~~~~~~ /usr/include/gtest/internal/gtest-port.h:1088:3: error: 'nullptr' was not declared in this scope 1088 | GTEST_CHECK_(f == nullptr || dynamic_cast(f) != nullptr); | ^~~~~~~~~~~~ /usr/include/gtest/internal/gtest-port.h: In function 'void testing::internal::SleepMilliseconds(int)': /usr/include/gtest/internal/gtest-port.h:1157:20: error: 'nullptr' was not declared in this scope 1157 | nanosleep(&time, nullptr); | ^~~~~~~ /usr/include/gtest/internal/gtest-port.h: In constructor 'testing::internal::Notification::Notification()': /usr/include/gtest/internal/gtest-port.h:1175:5: error: 'nullptr' was not declared in this scope 1175 | GTEST_CHECK_POSIX_SUCCESS_(pthread_mutex_init(&mutex_, nullptr)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-port.h: In function 'void* testing::internal::ThreadFuncWithCLinkage(void*)': /usr/include/gtest/internal/gtest-port.h:1285:10: error: 'nullptr' was not declared in this scope 1285 | return nullptr; | ^~~~~~~ /usr/include/gtest/internal/gtest-port.h: In constructor 'testing::internal::ThreadWithParam::ThreadWithParam(void (*)(T), T, testing::internal::Notification*)': /usr/include/gtest/internal/gtest-port.h:1313:5: error: 'nullptr' was not declared in this scope 1313 | GTEST_CHECK_POSIX_SUCCESS_( | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-port.h: In member function 'void testing::internal::ThreadWithParam::Join()': /usr/include/gtest/internal/gtest-port.h:1320:7: error: 'nullptr' was not declared in this scope 1320 | GTEST_CHECK_POSIX_SUCCESS_(pthread_join(thread_, nullptr)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-port.h: In member function 'void testing::internal::ThreadWithParam::Run()': /usr/include/gtest/internal/gtest-port.h:1326:30: error: 'nullptr' was not declared in this scope 1326 | if (thread_can_start_ != nullptr) thread_can_start_->WaitForNotification(); | ^~~~~~~ /usr/include/gtest/internal/gtest-port.h: In constructor 'testing::internal::Mutex::Mutex()': /usr/include/gtest/internal/gtest-port.h:1690:5: error: 'nullptr' was not declared in this scope 1690 | GTEST_CHECK_POSIX_SUCCESS_(pthread_mutex_init(&mutex_, nullptr)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-port.h: At global scope: /usr/include/gtest/internal/gtest-port.h:1832:8: error: 'unique_ptr' in namespace 'std' does not name a template type 1832 | std::unique_ptr default_factory_; | ^~~~~~~~~~ /usr/include/gtest/internal/gtest-port.h:1832:3: note: 'std::unique_ptr' is only available from C++11 onwards 1832 | std::unique_ptr default_factory_; | ^~~ /usr/include/gtest/internal/gtest-port.h: In constructor 'testing::internal::ThreadLocal::ThreadLocal()': /usr/include/gtest/internal/gtest-port.h:1743:28: error: class 'testing::internal::ThreadLocal' does not have any field named 'default_factory_' 1743 | : key_(CreateKey()), default_factory_(new DefaultValueHolderFactory()) {} | ^~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-port.h: In constructor 'testing::internal::ThreadLocal::ThreadLocal(const T&)': /usr/include/gtest/internal/gtest-port.h:1746:9: error: class 'testing::internal::ThreadLocal' does not have any field named 'default_factory_' 1746 | default_factory_(new InstanceValueHolderFactory(value)) {} | ^~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-port.h: In member function 'T* testing::internal::ThreadLocal::GetOrCreateValue() const': /usr/include/gtest/internal/gtest-port.h:1788:19: error: 'nullptr' was not declared in this scope 1788 | if (holder != nullptr) { | ^~~~~~~ /usr/include/gtest/internal/gtest-port.h:1792:37: error: 'default_factory_' was not declared in this scope 1792 | ValueHolder* const new_holder = default_factory_->MakeNewHolder(); | ^~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-port.h: At global scope: /usr/include/gtest/internal/gtest-port.h:1891:1: error: expected unqualified-id before 'using' 1891 | using bool_constant = std::integral_constant; | ^~~~~ /usr/include/gtest/internal/gtest-port.h:2070:1: error: expected unqualified-id before '[' token 2070 | [[noreturn]] inline void Abort() { abort(); } | ^ In file included from /usr/include/gtest/internal/gtest-internal.h:64, from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/include/gtest/gtest-message.h:190:14: error: 'unique_ptr' in namespace 'std' does not name a template type 190 | const std::unique_ptr< ::std::stringstream> ss_; | ^~~~~~~~~~ /usr/include/gtest/gtest-message.h:190:9: note: 'std::unique_ptr' is only available from C++11 onwards 190 | const std::unique_ptr< ::std::stringstream> ss_; | ^~~ /usr/include/gtest/gtest-message.h: In copy constructor 'testing::Message::Message(const testing::Message&)': /usr/include/gtest/gtest-message.h:101:33: error: class 'testing::Message' does not have any field named 'ss_' 101 | Message(const Message& msg) : ss_(new ::std::stringstream) { // NOLINT | ^~~ /usr/include/gtest/gtest-message.h:102:6: error: 'ss_' was not declared in this scope 102 | *ss_ << msg.GetString(); | ^~~ /usr/include/gtest/gtest-message.h: In constructor 'testing::Message::Message(const char*)': /usr/include/gtest/gtest-message.h:106:39: error: class 'testing::Message' does not have any field named 'ss_' 106 | explicit Message(const char* str) : ss_(new ::std::stringstream) { | ^~~ /usr/include/gtest/gtest-message.h:107:6: error: 'ss_' was not declared in this scope 107 | *ss_ << str; | ^~~ /usr/include/gtest/gtest-message.h: In member function 'testing::Message& testing::Message::operator<<(const T&)': /usr/include/gtest/gtest-message.h:128:6: error: 'ss_' was not declared in this scope 128 | *ss_ << val; | ^~~ /usr/include/gtest/gtest-message.h: In member function 'testing::Message& testing::Message::operator<<(T* const&)': /usr/include/gtest/gtest-message.h:147:20: error: 'nullptr' was not declared in this scope 147 | if (pointer == nullptr) { | ^~~~~~~ /usr/include/gtest/gtest-message.h:148:8: error: 'ss_' was not declared in this scope 148 | *ss_ << "(null)"; | ^~~ /usr/include/gtest/gtest-message.h:150:8: error: 'ss_' was not declared in this scope 150 | *ss_ << pointer; | ^~~ /usr/include/gtest/gtest-message.h: In member function 'testing::Message& testing::Message::operator<<(testing::Message::BasicNarrowIoManip)': /usr/include/gtest/gtest-message.h:162:6: error: 'ss_' was not declared in this scope 162 | *ss_ << val; | ^~~ In file included from /usr/include/gtest/internal/gtest-internal.h:67, from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/include/gtest/internal/gtest-type-util.h: In function 'std::string testing::internal::GetTypeName()': /usr/include/gtest/internal/gtest-type-util.h:91:52: error: 'nullptr' was not declared in this scope 91 | char* const readable_name = __cxa_demangle(name, nullptr, nullptr, &status); | ^~~~~~~ In file included from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/include/gtest/internal/gtest-internal.h: At global scope: /usr/include/gtest/internal/gtest-internal.h:121:27: error: 'enable_if' in namespace 'std' does not name a template type 121 | typename std::enable_if::value, | ^~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:121:36: error: expected '>' before '<' token 121 | typename std::enable_if::value, | ^ /usr/include/gtest/internal/gtest-internal.h:477:7: error: expected nested-name-specifier before 'SetUpTestSuiteFunc' 477 | using SetUpTestSuiteFunc = void (*)(); | ^~~~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:478:7: error: expected nested-name-specifier before 'TearDownTestSuiteFunc' 478 | using TearDownTestSuiteFunc = void (*)(); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:492:7: error: expected nested-name-specifier before 'SetUpTearDownSuiteFuncType' 492 | using SetUpTearDownSuiteFuncType = void (*)(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:494:8: error: 'SetUpTearDownSuiteFuncType' does not name a type 494 | inline SetUpTearDownSuiteFuncType GetNotDefaultOrNull( | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:506:9: error: expected nested-name-specifier before 'Test' 506 | using Test = | ^~~~ /usr/include/gtest/internal/gtest-internal.h:509:10: error: 'SetUpTearDownSuiteFuncType' does not name a type 509 | static SetUpTearDownSuiteFuncType GetSetUpCaseOrSuite(const char* filename, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:524:10: error: 'SetUpTearDownSuiteFuncType' does not name a type 524 | static SetUpTearDownSuiteFuncType GetTearDownCaseOrSuite(const char* filename, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:561:30: error: 'SetUpTestSuiteFunc' has not been declared 561 | TypeId fixture_class_id, SetUpTestSuiteFunc set_up_tc, | ^~~~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:562:5: error: 'TearDownTestSuiteFunc' has not been declared 562 | TearDownTestSuiteFunc tear_down_tc, TestFactoryBase* factory); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h: In member function 'bool testing::internal::TypedTestSuitePState::AddTestName(const char*, int, const char*, const char*)': /usr/include/gtest/internal/gtest-internal.h:590:14: error: 'Abort' is not a member of 'testing::internal::posix' 590 | posix::Abort(); | ^~~~~ /usr/include/gtest/internal/gtest-internal.h: At global scope: /usr/include/gtest/internal/gtest-internal.h:622:7: error: expected nested-name-specifier before 'TypedTestCasePState' 622 | using TypedTestCasePState = TypedTestSuitePState; | ^~~~~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h: In function 'const char* testing::internal::SkipComma(const char*)': /usr/include/gtest/internal/gtest-internal.h:631:16: error: 'nullptr' was not declared in this scope 631 | if (comma == nullptr) { | ^~~~~~~ /usr/include/gtest/internal/gtest-internal.h: In function 'std::string testing::internal::GetPrefixUntilComma(const char*)': /usr/include/gtest/internal/gtest-internal.h:642:19: error: 'nullptr' was not declared in this scope 642 | return comma == nullptr ? str : std::string(str, comma); | ^~~~~~~ /usr/include/gtest/internal/gtest-internal.h: In static member function 'static bool testing::internal::TypeParameterizedTest::Register(const char*, const testing::internal::CodeLocation&, const char*, const char*, int, const std::vector >&)': /usr/include/gtest/internal/gtest-internal.h:711:9: error: 'nullptr' was not declared in this scope 711 | nullptr, // No value parameter. | ^~~~~~~ /usr/include/gtest/internal/gtest-internal.h: In static member function 'static bool testing::internal::TypeParameterizedTestSuite::Register(const char*, testing::internal::CodeLocation, const testing::internal::TypedTestSuitePState*, const char*, const char*, const std::vector >&)': /usr/include/gtest/internal/gtest-internal.h:763:14: error: 'Abort' is not a member of 'testing::internal::posix' 763 | posix::Abort(); | ^~~~~ /usr/include/gtest/internal/gtest-internal.h: At global scope: /usr/include/gtest/internal/gtest-internal.h:858:27: error: expected template-name before '<' token 858 | : public bool_constant< | ^ /usr/include/gtest/internal/gtest-internal.h:858:27: error: expected '{' before '<' token /usr/include/gtest/internal/gtest-internal.h:887:28: error: expected type-specifier before 'decltype' 887 | class Iterator = decltype(::std::declval().begin()), | ^~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:887:28: error: expected '>' before 'decltype' /usr/include/gtest/internal/gtest-internal.h:892:44: error: default template arguments may not be used in function templates without '-std=c++11' or '-std=gnu++11' 892 | IsContainer IsContainerTest(int /* dummy */) { | ^ /usr/include/gtest/internal/gtest-internal.h:915:44: error: 'nullptr' was not declared in this scope 915 | static const bool value = sizeof(test(nullptr, nullptr)) == sizeof(int); | ^~~~~~~ /usr/include/gtest/internal/gtest-internal.h:915:53: error: 'nullptr' was not declared in this scope 915 | static const bool value = sizeof(test(nullptr, nullptr)) == sizeof(int); | ^~~~~~~ /usr/include/gtest/internal/gtest-internal.h:926:68: error: expected class-name before '{' token 926 | struct IsRecursiveContainerImpl : public std::false_type {}; | ^ /usr/include/gtest/internal/gtest-internal.h:934:9: error: expected nested-name-specifier before 'value_type' 934 | using value_type = decltype(*std::declval()); | ^~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:935:9: error: expected nested-name-specifier before 'type' 935 | using type = | ^~~~ /usr/include/gtest/internal/gtest-internal.h:1072:17: error: expected identifier before '!' token 1072 | static_assert(!std::is_const::value, "Type must not be const"); | ^ /usr/include/gtest/internal/gtest-internal.h:1072:17: error: expected ',' or '...' before '!' token /usr/include/gtest/internal/gtest-internal.h:1073:17: error: expected identifier before '!' token 1073 | static_assert(!std::is_reference::value, | ^ /usr/include/gtest/internal/gtest-internal.h:1073:17: error: expected ',' or '...' before '!' token /usr/include/gtest/internal/gtest-internal.h:1073:3: error: 'int testing::internal::NativeArray::static_assert(int)' cannot be overloaded with 'int testing::internal::NativeArray::static_assert(int)' 1073 | static_assert(!std::is_reference::value, | ^~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:1072:3: note: previous declaration 'int testing::internal::NativeArray::static_assert(int)' 1072 | static_assert(!std::is_const::value, "Type must not be const"); | ^~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:1102:9: error: expected nested-name-specifier before 'type' 1102 | using type = IndexSequence; | ^~~~ /usr/include/gtest/internal/gtest-internal.h:1110:9: error: expected nested-name-specifier before 'type' 1110 | using type = IndexSequence; | ^~~~ /usr/include/gtest/internal/gtest-internal.h:1114:9: error: expected nested-name-specifier before 'type' 1114 | using type = IndexSequence; | ^~~~ /usr/include/gtest/internal/gtest-internal.h:1135:9: error: expected nested-name-specifier before 'type' 1135 | using type = T; | ^~~~ /usr/include/gtest/internal/gtest-internal.h:1155:9: error: expected nested-name-specifier before 'value_type' 1155 | using value_type = | ^~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:1159:40: error: expected ')' before 't' 1159 | explicit FlatTupleElemBase(value_type t) : value(std::move(t)) {} | ~ ^~ | ) /usr/include/gtest/internal/gtest-internal.h:1160:3: error: 'value_type' does not name a type 1160 | value_type value; | ^~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:1167:59: error: '>>' should be '> >' within a nested template argument list 1167 | struct FlatTupleBase, IndexSequence> | ^~ | > > /usr/include/gtest/internal/gtest-internal.h:1169:9: error: expected nested-name-specifier before 'Indices' 1169 | using Indices = IndexSequence; | ^~~~~~~ /usr/include/gtest/internal/gtest-internal.h: In constructor 'testing::internal::FlatTupleBase, testing::internal::IndexSequence >::FlatTupleBase(T ...)': /usr/include/gtest/internal/gtest-internal.h:1172:54: error: 'move' is not a member of 'std' 1172 | : FlatTupleElemBase, Idx>(std::move(t))... {} | ^~~~ /usr/include/gtest/internal/gtest-internal.h:1172:54: note: 'std::move' is only available from C++11 onwards /usr/include/gtest/internal/gtest-internal.h: At global scope: /usr/include/gtest/internal/gtest-internal.h:1188:9: error: expected nested-name-specifier before 'Indices' 1188 | using Indices = typename FlatTuple::FlatTupleBase::Indices; | ^~~~~~~ /usr/include/gtest/internal/gtest-internal.h:1195:34: error: 'Indices' was not declared in this scope; did you mean 'nice'? 1195 | const typename ElemFromList::type& Get() const { | ^~~~~~~ | nice /usr/include/gtest/internal/gtest-internal.h:1195:47: error: template argument 2 is invalid 1195 | const typename ElemFromList::type& Get() const { | ^ /usr/include/gtest/internal/gtest-internal.h:1200:28: error: 'Indices' was not declared in this scope; did you mean 'nice'? 1200 | typename ElemFromList::type& Get() { | ^~~~~~~ | nice /usr/include/gtest/internal/gtest-internal.h:1200:41: error: template argument 2 is invalid 1200 | typename ElemFromList::type& Get() { | ^ /usr/include/gtest/internal/gtest-internal.h: In constructor 'testing::internal::FlatTuple::FlatTuple(T ...)': /usr/include/gtest/internal/gtest-internal.h:1192:62: error: 'move' is not a member of 'std' 1192 | explicit FlatTuple(T... t) : FlatTuple::FlatTupleBase(std::move(t)...) {} | ^~~~ /usr/include/gtest/internal/gtest-internal.h:1192:62: note: 'std::move' is only available from C++11 onwards /usr/include/gtest/internal/gtest-internal.h: At global scope: /usr/include/gtest/internal/gtest-internal.h:1210:1: error: 'constexpr' does not name a type 1210 | constexpr bool InstantiateTestCase_P_IsDeprecated() { return true; } | ^~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:1210:1: note: C++11 'constexpr' only available with '-std=c++11' or '-std=gnu++11' /usr/include/gtest/internal/gtest-internal.h:1215:1: error: 'constexpr' does not name a type 1215 | constexpr bool TypedTestCase_P_IsDeprecated() { return true; } | ^~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:1215:1: note: C++11 'constexpr' only available with '-std=c++11' or '-std=gnu++11' /usr/include/gtest/internal/gtest-internal.h:1220:1: error: 'constexpr' does not name a type 1220 | constexpr bool TypedTestCaseIsDeprecated() { return true; } | ^~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:1220:1: note: C++11 'constexpr' only available with '-std=c++11' or '-std=gnu++11' /usr/include/gtest/internal/gtest-internal.h:1225:1: error: 'constexpr' does not name a type 1225 | constexpr bool RegisterTypedTestCase_P_IsDeprecated() { return true; } | ^~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:1225:1: note: C++11 'constexpr' only available with '-std=c++11' or '-std=gnu++11' /usr/include/gtest/internal/gtest-internal.h:1230:1: error: 'constexpr' does not name a type 1230 | constexpr bool InstantiateTypedTestCase_P_IsDeprecated() { return true; } | ^~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h:1230:1: note: C++11 'constexpr' only available with '-std=c++11' or '-std=gnu++11' In file included from /usr/include/gtest/gtest-matchers.h:47, from /usr/include/gtest/internal/gtest-death-test-internal.h:39, from /usr/include/gtest/gtest-death-test.h:41, from /usr/include/gtest/gtest.h:64, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/include/gtest/gtest-printers.h: In static member function 'static void testing::internal2::TypeWithoutFormatter::PrintValue(const T&, std::ostream*)': /usr/include/gtest/gtest-printers.h:156:48: error: 'addressof' is not a member of 'std' 156 | reinterpret_cast(std::addressof(value))), | ^~~~~~~~~ /usr/include/gtest/gtest-printers.h: In function 'std::basic_ostream<_CharT, _Traits>& testing::internal2::operator<<(std::basic_ostream<_CharT, _Traits>&, const T&)': /usr/include/gtest/gtest-printers.h:236:39: error: 'is_convertible' is not a member of 'std'; did you mean 'std::tr1::is_convertible'? 236 | : std::is_convertible< | ^~~~~~~~~~~~~~ In file included from /usr/include/c++/9/tr1/unordered_map:39, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/adaptor/tr1/unordered_map.hpp:29, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/type.hpp:30, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack.hpp:22, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:1: /usr/include/c++/9/tr1/type_traits:636:12: note: 'std::tr1::is_convertible' declared here 636 | struct is_convertible | ^~~~~~~~~~~~~~ In file included from /usr/include/gtest/gtest-matchers.h:47, from /usr/include/gtest/internal/gtest-death-test-internal.h:39, from /usr/include/gtest/gtest-death-test.h:41, from /usr/include/gtest/gtest.h:64, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/include/gtest/gtest-printers.h:237:68: error: template argument 2 is invalid 237 | const T&, internal::BiggestInt>::value | ^ /usr/include/gtest/gtest-printers.h:238:38: error: qualified-id in declaration before '?' token 238 | ? kConvertibleToInteger | ^ /usr/include/gtest/gtest-printers.h: In function 'void testing::internal::DefaultPrintTo(testing::internal::WrapPrinterType, T*, std::ostream*)': /usr/include/gtest/gtest-printers.h:441:12: error: 'nullptr' was not declared in this scope 441 | if (p == nullptr) { | ^~~~~~~ /usr/include/gtest/gtest-printers.h: In function 'void testing::internal::DefaultPrintTo(testing::internal::WrapPrinterType, T*, std::ostream*)': /usr/include/gtest/gtest-printers.h:453:12: error: 'nullptr' was not declared in this scope 453 | if (p == nullptr) { | ^~~~~~~ /usr/include/gtest/gtest-printers.h: In function 'void testing::internal::PrintTo(const T&, std::ostream*)': /usr/include/gtest/gtest-printers.h:508:19: error: 'is_pointer' is not a member of 'std'; did you mean 'isprint'? 508 | : !std::is_pointer::value | ^~~~~~~~~~ | isprint /usr/include/gtest/gtest-printers.h:504:7: error: parse error in template argument list 504 | WrapPrinterType < | ^~~~~~~~~~~~~~~~~ 505 | (sizeof(IsContainerTest(0)) == sizeof(IsContainer)) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 506 | !IsRecursiveContainer::value | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 507 | ? kPrintContainer | ~~~~~~~~~~~~~~~~~ 508 | : !std::is_pointer::value | ~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest-printers.h:510:24: error: 'is_function' is not a member of 'std'; did you mean 'binary_function'? 510 | : std::is_function::type>::value | ^~~~~~~~~~~ | binary_function /usr/include/gtest/gtest-printers.h:510:50: error: 'remove_pointer' in namespace 'std' does not name a template type 510 | : std::is_function::type>::value | ^~~~~~~~~~~~~~ /usr/include/gtest/gtest-printers.h:510:64: error: expected '(' before '<' token 510 | : std::is_function::type>::value | ^ | ( /usr/include/gtest/gtest-printers.h:510:66: error: expected primary-expression before '>' token 510 | : std::is_function::type>::value | ^ /usr/include/gtest/gtest-printers.h:510:69: error: '::type' has not been declared 510 | : std::is_function::type>::value | ^~~~ /usr/include/gtest/gtest-printers.h:510:69: note: suggested alternatives: In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/object_fwd_decl.hpp:14, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/object_fwd.hpp:14, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v1/adaptor/adaptor_base_decl.hpp:14, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/adaptor/adaptor_base_decl.hpp:13, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/adaptor/adaptor_base.hpp:13, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v1/object_decl.hpp:16, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/object_decl.hpp:14, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/object.hpp:13, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack.hpp:10, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:1: /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v1/object_fwd_decl.hpp:27:11: note: 'msgpack::v1::type' 27 | namespace type { | ^~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/object_fwd_decl.hpp:15, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/object_fwd.hpp:14, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v1/adaptor/adaptor_base_decl.hpp:14, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/adaptor/adaptor_base_decl.hpp:13, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/adaptor/adaptor_base.hpp:13, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v1/object_decl.hpp:16, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/object_decl.hpp:14, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/object.hpp:13, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack.hpp:10, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:1: /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v2/object_fwd_decl.hpp:22:11: note: 'msgpack::v2::type' 22 | namespace type { | ^~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/object_fwd_decl.hpp:16, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/object_fwd.hpp:14, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v1/adaptor/adaptor_base_decl.hpp:14, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/adaptor/adaptor_base_decl.hpp:13, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/adaptor/adaptor_base.hpp:13, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v1/object_decl.hpp:16, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/object_decl.hpp:14, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/object.hpp:13, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack.hpp:10, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:1: /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v3/object_fwd_decl.hpp:22:11: note: 'msgpack::v3::type' 22 | namespace type { | ^~~~ In file included from /usr/include/gtest/gtest-matchers.h:47, from /usr/include/gtest/internal/gtest-death-test-internal.h:39, from /usr/include/gtest/gtest-death-test.h:41, from /usr/include/gtest/gtest.h:64, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/include/gtest/gtest-printers.h:510:76: error: '::value' has not been declared 510 | : std::is_function::type>::value | ^~~~~ /usr/include/gtest/gtest-printers.h:510:76: note: suggested alternatives: In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/unpack_decl.hpp:13, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v2/parse.hpp:20, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/parse.hpp:15, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack.hpp:15, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:1: /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v1/unpack_decl.hpp:185:8: note: 'msgpack::v1::detail::value' 185 | struct value; | ^~~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v1/unpack_decl.hpp:185:8: note: 'msgpack::v1::detail::value' /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v1/unpack_decl.hpp:185:8: note: 'msgpack::v1::detail::value' In file included from /usr/include/gtest/gtest-matchers.h:47, from /usr/include/gtest/internal/gtest-death-test-internal.h:39, from /usr/include/gtest/gtest-death-test.h:41, from /usr/include/gtest/gtest.h:64, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/include/gtest/gtest-printers.h:512:42: error: expected primary-expression before ')' token 512 | : kPrintPointer > (), | ^ /usr/include/gtest/gtest-printers.h: At global scope: /usr/include/gtest/gtest-printers.h:613:26: error: variable or field 'PrintTo' declared void 613 | inline void PrintTo(std::nullptr_t, ::std::ostream* os) { *os << "(nullptr)"; } | ^~~~~~~~~ /usr/include/gtest/gtest-printers.h:613:26: error: 'nullptr_t' is not a member of 'std' /usr/include/gtest/gtest-printers.h:613:51: error: expected primary-expression before '*' token 613 | inline void PrintTo(std::nullptr_t, ::std::ostream* os) { *os << "(nullptr)"; } | ^ /usr/include/gtest/gtest-printers.h:613:53: error: 'os' was not declared in this scope 613 | inline void PrintTo(std::nullptr_t, ::std::ostream* os) { *os << "(nullptr)"; } | ^~ /usr/include/gtest/gtest-printers.h:616:19: error: variable or field 'PrintTo' declared void 616 | void PrintTo(std::reference_wrapper ref, ::std::ostream* os) { | ^~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest-printers.h:616:19: error: 'reference_wrapper' is not a member of 'std' /usr/include/gtest/gtest-printers.h:616:38: error: expected primary-expression before '>' token 616 | void PrintTo(std::reference_wrapper ref, ::std::ostream* os) { | ^ /usr/include/gtest/gtest-printers.h:616:40: error: 'ref' was not declared in this scope 616 | void PrintTo(std::reference_wrapper ref, ::std::ostream* os) { | ^~~ /usr/include/gtest/gtest-printers.h:616:59: error: expected primary-expression before '*' token 616 | void PrintTo(std::reference_wrapper ref, ::std::ostream* os) { | ^ /usr/include/gtest/gtest-printers.h:616:61: error: 'os' was not declared in this scope 616 | void PrintTo(std::reference_wrapper ref, ::std::ostream* os) { | ^~ /usr/include/gtest/gtest-printers.h:623:34: error: 'std::integral_constant' has not been declared 623 | void PrintTupleTo(const T&, std::integral_constant, | ^~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest-printers.h:623:51: error: expected ',' or '...' before '<' token 623 | void PrintTupleTo(const T&, std::integral_constant, | ^ /usr/include/gtest/gtest-printers.h:627:36: error: 'std::integral_constant' has not been declared 627 | void PrintTupleTo(const T& t, std::integral_constant, | ^~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest-printers.h:627:53: error: expected ',' or '...' before '<' token 627 | void PrintTupleTo(const T& t, std::integral_constant, | ^ /usr/include/gtest/gtest-printers.h: In function 'void testing::internal::PrintTupleTo(const T&, int)': /usr/include/gtest/gtest-printers.h:629:24: error: 'integral_constant' is not a member of 'std' 629 | PrintTupleTo(t, std::integral_constant(), os); | ^~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest-printers.h:629:24: note: suggested alternatives: In file included from /usr/include/c++/9/tr1/unordered_map:39, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/adaptor/tr1/unordered_map.hpp:29, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/type.hpp:30, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack.hpp:22, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:1: /usr/include/c++/9/tr1/type_traits:71:12: note: 'std::tr1::integral_constant' 71 | struct integral_constant | ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/cpp_config_decl.hpp:13, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/cpp_config.hpp:13, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v1/pack_decl.hpp:14, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/pack_decl.hpp:13, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/pack.hpp:13, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v1/object_decl.hpp:14, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/object_decl.hpp:14, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/object.hpp:13, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack.hpp:10, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:1: /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' 59 | struct integral_constant; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' In file included from /usr/include/gtest/gtest-matchers.h:47, from /usr/include/gtest/internal/gtest-death-test-internal.h:39, from /usr/include/gtest/gtest-death-test.h:41, from /usr/include/gtest/gtest.h:64, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/include/gtest/gtest-printers.h:629:48: error: expected primary-expression before ',' token 629 | PrintTupleTo(t, std::integral_constant(), os); | ^ /usr/include/gtest/gtest-printers.h:629:57: error: expected primary-expression before ')' token 629 | PrintTupleTo(t, std::integral_constant(), os); | ^ /usr/include/gtest/gtest-printers.h:629:60: error: 'os' was not declared in this scope 629 | PrintTupleTo(t, std::integral_constant(), os); | ^~ /usr/include/gtest/gtest-printers.h:635:34: error: 'tuple_element' in namespace 'std' does not name a template type 635 | UniversalPrinter::type>::Print( | ^~~~~~~~~~~~~ /usr/include/gtest/gtest-printers.h:635:34: note: 'std::tuple_element' is only available from C++11 onwards /usr/include/gtest/gtest-printers.h:635:47: error: expected template-argument before '<' token 635 | UniversalPrinter::type>::Print( | ^ /usr/include/gtest/gtest-printers.h:635:47: error: expected '>' before '<' token /usr/include/gtest/gtest-printers.h:635:63: error: template argument 1 is invalid 635 | UniversalPrinter::type>::Print( | ^ /usr/include/gtest/gtest-printers.h:636:12: error: 'get' is not a member of 'std'; did you mean 'set'? 636 | std::get(t), os); | ^~~ | set /usr/include/gtest/gtest-printers.h:636:29: error: expression list treated as compound expression in initializer [-fpermissive] 636 | std::get(t), os); | ^ /usr/include/gtest/gtest-printers.h: At global scope: /usr/include/gtest/gtest-printers.h:640:27: error: 'tuple' in namespace 'std' does not name a template type 640 | void PrintTo(const ::std::tuple& t, ::std::ostream* os) { | ^~~~~ /usr/include/gtest/gtest-printers.h:640:20: note: 'std::tuple' is only available from C++11 onwards 640 | void PrintTo(const ::std::tuple& t, ::std::ostream* os) { | ^~ /usr/include/gtest/gtest-printers.h:640:32: error: expected ',' or '...' before '<' token 640 | void PrintTo(const ::std::tuple& t, ::std::ostream* os) { | ^ /usr/include/gtest/gtest-printers.h: In function 'void testing::internal::PrintTo(int)': /usr/include/gtest/gtest-printers.h:641:4: error: 'os' was not declared in this scope 641 | *os << "("; | ^~ /usr/include/gtest/gtest-printers.h:642:16: error: 't' was not declared in this scope; did you mean 'tm'? 642 | PrintTupleTo(t, std::integral_constant(), os); | ^ | tm /usr/include/gtest/gtest-printers.h:642:24: error: 'integral_constant' is not a member of 'std' 642 | PrintTupleTo(t, std::integral_constant(), os); | ^~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest-printers.h:642:24: note: suggested alternatives: In file included from /usr/include/c++/9/tr1/unordered_map:39, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/adaptor/tr1/unordered_map.hpp:29, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/type.hpp:30, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack.hpp:22, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:1: /usr/include/c++/9/tr1/type_traits:71:12: note: 'std::tr1::integral_constant' 71 | struct integral_constant | ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/cpp_config_decl.hpp:13, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/cpp_config.hpp:13, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v1/pack_decl.hpp:14, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/pack_decl.hpp:13, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/pack.hpp:13, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v1/object_decl.hpp:14, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/object_decl.hpp:14, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/object.hpp:13, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack.hpp:10, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:1: /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' 59 | struct integral_constant; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' In file included from /usr/include/gtest/gtest-matchers.h:47, from /usr/include/gtest/internal/gtest-death-test-internal.h:39, from /usr/include/gtest/gtest-death-test.h:41, from /usr/include/gtest/gtest.h:64, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/include/gtest/gtest-printers.h:642:48: error: expected primary-expression before ',' token 642 | PrintTupleTo(t, std::integral_constant(), os); | ^ /usr/include/gtest/gtest-printers.h:642:68: error: expected primary-expression before ')' token 642 | PrintTupleTo(t, std::integral_constant(), os); | ^ /usr/include/gtest/gtest-printers.h: In static member function 'static void testing::internal::UniversalTersePrinter::Print(const char*, std::ostream*)': /usr/include/gtest/gtest-printers.h:818:16: error: 'nullptr' was not declared in this scope 818 | if (str == nullptr) { | ^~~~~~~ /usr/include/gtest/gtest-printers.h: In static member function 'static void testing::internal::UniversalTersePrinter::Print(const wchar_t*, std::ostream*)': /usr/include/gtest/gtest-printers.h:838:16: error: 'nullptr' was not declared in this scope 838 | if (str == nullptr) { | ^~~~~~~ /usr/include/gtest/gtest-printers.h: At global scope: /usr/include/gtest/gtest-printers.h:877:51: error: 'std::integral_constant' has not been declared 877 | void TersePrintPrefixToStrings(const Tuple&, std::integral_constant, | ^~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest-printers.h:877:68: error: expected ',' or '...' before '<' token 877 | void TersePrintPrefixToStrings(const Tuple&, std::integral_constant, | ^ /usr/include/gtest/gtest-printers.h:881:37: error: 'std::integral_constant' has not been declared 881 | std::integral_constant, | ^~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest-printers.h:881:54: error: expected ',' or '...' before '<' token 881 | std::integral_constant, | ^ /usr/include/gtest/gtest-printers.h: In function 'void testing::internal::TersePrintPrefixToStrings(const Tuple&, int)': /usr/include/gtest/gtest-printers.h:883:37: error: 'integral_constant' is not a member of 'std' 883 | TersePrintPrefixToStrings(t, std::integral_constant(), | ^~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest-printers.h:883:37: note: suggested alternatives: In file included from /usr/include/c++/9/tr1/unordered_map:39, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/adaptor/tr1/unordered_map.hpp:29, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/type.hpp:30, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack.hpp:22, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:1: /usr/include/c++/9/tr1/type_traits:71:12: note: 'std::tr1::integral_constant' 71 | struct integral_constant | ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/cpp_config_decl.hpp:13, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/cpp_config.hpp:13, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v1/pack_decl.hpp:14, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/pack_decl.hpp:13, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/pack.hpp:13, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v1/object_decl.hpp:14, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/object_decl.hpp:14, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/object.hpp:13, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack.hpp:10, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:1: /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' 59 | struct integral_constant; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' In file included from /usr/include/gtest/gtest-matchers.h:47, from /usr/include/gtest/internal/gtest-death-test-internal.h:39, from /usr/include/gtest/gtest-death-test.h:41, from /usr/include/gtest/gtest.h:64, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/include/gtest/gtest-printers.h:883:61: error: expected primary-expression before ',' token 883 | TersePrintPrefixToStrings(t, std::integral_constant(), | ^ /usr/include/gtest/gtest-printers.h:883:70: error: expected primary-expression before ')' token 883 | TersePrintPrefixToStrings(t, std::integral_constant(), | ^ /usr/include/gtest/gtest-printers.h:884:29: error: 'strings' was not declared in this scope; did you mean 'Strings'? 884 | strings); | ^~~~~~~ | Strings /usr/include/gtest/gtest-printers.h:886:28: error: 'get' is not a member of 'std'; did you mean 'set'? 886 | UniversalTersePrint(std::get(t), &ss); | ^~~ | set /usr/include/gtest/gtest-printers.h: In function 'testing::internal::Strings testing::internal::UniversalTersePrintTupleFieldsToStrings(const Tuple&)': /usr/include/gtest/gtest-printers.h:897:19: error: 'integral_constant' is not a member of 'std' 897 | value, std::integral_constant::value>(), | ^~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest-printers.h:897:19: note: suggested alternatives: In file included from /usr/include/c++/9/tr1/unordered_map:39, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/adaptor/tr1/unordered_map.hpp:29, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/type.hpp:30, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack.hpp:22, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:1: /usr/include/c++/9/tr1/type_traits:71:12: note: 'std::tr1::integral_constant' 71 | struct integral_constant | ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/cpp_config_decl.hpp:13, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/cpp_config.hpp:13, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v1/pack_decl.hpp:14, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/pack_decl.hpp:13, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/pack.hpp:13, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v1/object_decl.hpp:14, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/object_decl.hpp:14, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/object.hpp:13, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack.hpp:10, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:1: /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' 59 | struct integral_constant; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' In file included from /usr/include/gtest/gtest-matchers.h:47, from /usr/include/gtest/internal/gtest-death-test-internal.h:39, from /usr/include/gtest/gtest-death-test.h:41, from /usr/include/gtest/gtest.h:64, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/include/gtest/gtest-printers.h:897:43: error: expected primary-expression before ',' token 897 | value, std::integral_constant::value>(), | ^ /usr/include/gtest/gtest-printers.h:897:50: error: 'tuple_size' is not a member of 'std' 897 | value, std::integral_constant::value>(), | ^~~~~~~~~~ /usr/include/gtest/gtest-printers.h:897:50: note: 'std::tuple_size' is only available from C++11 onwards /usr/include/gtest/gtest-printers.h:897:66: error: expected primary-expression before '>' token 897 | value, std::integral_constant::value>(), | ^ /usr/include/gtest/gtest-printers.h:897:69: error: '::value' has not been declared 897 | value, std::integral_constant::value>(), | ^~~~~ /usr/include/gtest/gtest-printers.h:897:69: note: suggested alternatives: In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/unpack_decl.hpp:13, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v2/parse.hpp:20, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/parse.hpp:15, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack.hpp:15, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:1: /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v1/unpack_decl.hpp:185:8: note: 'msgpack::v1::detail::value' 185 | struct value; | ^~~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v1/unpack_decl.hpp:185:8: note: 'msgpack::v1::detail::value' /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v1/unpack_decl.hpp:185:8: note: 'msgpack::v1::detail::value' In file included from /usr/include/gtest/gtest-matchers.h:47, from /usr/include/gtest/internal/gtest-death-test-internal.h:39, from /usr/include/gtest/gtest-death-test.h:41, from /usr/include/gtest/gtest.h:64, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/include/gtest/gtest-printers.h:897:76: error: expected primary-expression before ')' token 897 | value, std::integral_constant::value>(), | ^ In file included from /usr/include/gtest/internal/gtest-death-test-internal.h:39, from /usr/include/gtest/gtest-death-test.h:41, from /usr/include/gtest/gtest.h:64, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/include/gtest/gtest-matchers.h: In member function 'testing::MatchResultListener& testing::MatchResultListener::operator<<(const T&)': /usr/include/gtest/gtest-matchers.h:92:20: error: 'nullptr' was not declared in this scope 92 | if (stream_ != nullptr) *stream_ << x; | ^~~~~~~ /usr/include/gtest/gtest-matchers.h: In member function 'bool testing::MatchResultListener::IsInterested() const': /usr/include/gtest/gtest-matchers.h:103:49: error: 'nullptr' was not declared in this scope 103 | bool IsInterested() const { return stream_ != nullptr; } | ^~~~~~~ /usr/include/gtest/gtest-matchers.h: In constructor 'testing::internal::DummyMatchResultListener::DummyMatchResultListener()': /usr/include/gtest/gtest-matchers.h:237:52: error: 'nullptr' was not declared in this scope 237 | DummyMatchResultListener() : MatchResultListener(nullptr) {} | ^~~~~~~ /usr/include/gtest/gtest-matchers.h: At global scope: /usr/include/gtest/gtest-matchers.h:303:21: error: 'enable_if' in namespace 'std' does not name a template type 303 | typename std::enable_if::value>::type* = | ^~~~~~~~~ /usr/include/gtest/gtest-matchers.h:303:30: error: expected ',' or '...' before '<' token 303 | typename std::enable_if::value>::type* = | ^ /usr/include/gtest/gtest-matchers.h:309:26: error: expected ',' or '...' before '&&' token 309 | MatcherBase(MatcherBase&&) = default; | ^~ /usr/include/gtest/gtest-matchers.h:309:32: error: invalid constructor; you probably meant 'testing::internal::MatcherBase (const testing::internal::MatcherBase&)' 309 | MatcherBase(MatcherBase&&) = default; | ^~~~~~~ /usr/include/gtest/gtest-matchers.h:310:37: error: expected ',' or '...' before '&&' token 310 | MatcherBase& operator=(MatcherBase&&) = default; | ^~ /usr/include/gtest/gtest-matchers.h:315:8: error: 'shared_ptr' in namespace 'std' does not name a template type 315 | std::shared_ptr> impl_; | ^~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:315:3: note: 'std::shared_ptr' is only available from C++11 onwards 315 | std::shared_ptr> impl_; | ^~~ /usr/include/gtest/gtest-matchers.h: In member function 'bool testing::internal::MatcherBase::MatchAndExplain(const T&, testing::MatchResultListener*) const': /usr/include/gtest/gtest-matchers.h:264:12: error: 'impl_' was not declared in this scope 264 | return impl_->MatchAndExplain(x, listener); | ^~~~~ /usr/include/gtest/gtest-matchers.h: In member function 'void testing::internal::MatcherBase::DescribeTo(std::ostream*) const': /usr/include/gtest/gtest-matchers.h:274:47: error: 'impl_' was not declared in this scope 274 | void DescribeTo(::std::ostream* os) const { impl_->DescribeTo(os); } | ^~~~~ /usr/include/gtest/gtest-matchers.h: In member function 'void testing::internal::MatcherBase::DescribeNegationTo(std::ostream*) const': /usr/include/gtest/gtest-matchers.h:278:5: error: 'impl_' was not declared in this scope 278 | impl_->DescribeNegationTo(os); | ^~~~~ /usr/include/gtest/gtest-matchers.h: In member function 'const testing::MatcherDescriberInterface* testing::internal::MatcherBase::GetDescriber() const': /usr/include/gtest/gtest-matchers.h:291:12: error: 'impl_' was not declared in this scope 291 | return impl_.get(); | ^~~~~ /usr/include/gtest/gtest-matchers.h: In constructor 'testing::internal::MatcherBase::MatcherBase(const testing::MatcherInterface*)': /usr/include/gtest/gtest-matchers.h:298:66: error: class 'testing::internal::MatcherBase' does not have any field named 'impl_' 298 | explicit MatcherBase(const MatcherInterface* impl) : impl_(impl) {} | ^~~~~ /usr/include/gtest/gtest-matchers.h: In constructor 'testing::internal::MatcherBase::MatcherBase(const testing::MatcherInterface*, int)': /usr/include/gtest/gtest-matchers.h:305:9: error: class 'testing::internal::MatcherBase' does not have any field named 'impl_' 305 | : impl_(new internal::MatcherInterfaceAdapter(impl)) {} | ^~~~~ /usr/include/gtest/gtest-matchers.h: At global scope: /usr/include/gtest/gtest-matchers.h:339:21: error: 'enable_if' in namespace 'std' does not name a template type 339 | typename std::enable_if::value>::type* = | ^~~~~~~~~ /usr/include/gtest/gtest-matchers.h:339:30: error: expected ',' or '...' before '<' token 339 | typename std::enable_if::value>::type* = | ^ /usr/include/gtest/gtest-matchers.h: In instantiation of 'class testing::internal::MatcherBase&>': /usr/include/gtest/gtest-matchers.h:353:24: required from here /usr/include/gtest/gtest-matchers.h:263:8: error: forming reference to reference type 'const std::__cxx11::basic_string&' 263 | bool MatchAndExplain(const T& x, MatchResultListener* listener) const { | ^~~~~~~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:268:8: error: forming reference to reference type 'const std::__cxx11::basic_string&' 268 | bool Matches(const T& x) const { | ^~~~~~~ /usr/include/gtest/gtest-matchers.h:282:8: error: forming reference to reference type 'const std::__cxx11::basic_string&' 282 | void ExplainMatchResultTo(const T& x, ::std::ostream* os) const { | ^~~~~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:298:12: error: forming reference to reference type 'const std::__cxx11::basic_string&' 298 | explicit MatcherBase(const MatcherInterface* impl) : impl_(impl) {} | ^~~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:310:16: error: defaulted declaration 'testing::internal::MatcherBase& testing::internal::MatcherBase::operator=(testing::internal::MatcherBase) [with T = const std::__cxx11::basic_string&; testing::internal::MatcherBase = testing::internal::MatcherBase&>]' does not match the expected signature 310 | MatcherBase& operator=(MatcherBase&&) = default; | ^~~~~~~~ /usr/include/gtest/gtest-matchers.h:310:16: note: expected signature: 'testing::internal::MatcherBase&>& testing::internal::MatcherBase&>::operator=(testing::internal::MatcherBase&>&)' /usr/include/gtest/gtest-matchers.h: In constructor 'testing::Matcher&>::Matcher(const testing::MatcherInterface&>*)': /usr/include/gtest/gtest-matchers.h:358:55: error: no matching function for call to 'testing::internal::MatcherBase&>::MatcherBase(const testing::MatcherInterface&>*&)' 358 | : internal::MatcherBase(impl) {} | ^ /usr/include/gtest/gtest-matchers.h:307:3: note: candidate: 'testing::internal::MatcherBase::MatcherBase(const testing::internal::MatcherBase&) [with T = const std::__cxx11::basic_string&]' 307 | MatcherBase(const MatcherBase&) = default; | ^~~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:307:15: note: no known conversion for argument 1 from 'const testing::MatcherInterface&>*' to 'const testing::internal::MatcherBase&>&' 307 | MatcherBase(const MatcherBase&) = default; | ^~~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:301:12: note: candidate: 'template testing::internal::MatcherBase::MatcherBase(const testing::MatcherInterface*, int)' 301 | explicit MatcherBase( | ^~~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:301:12: note: template argument deduction/substitution failed: /usr/include/gtest/gtest-matchers.h:358:55: note: candidate expects 2 arguments, 1 provided 358 | : internal::MatcherBase(impl) {} | ^ /usr/include/gtest/gtest-matchers.h:295:3: note: candidate: 'testing::internal::MatcherBase::MatcherBase() [with T = const std::__cxx11::basic_string&]' 295 | MatcherBase() {} | ^~~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:295:3: note: candidate expects 0 arguments, 1 provided /usr/include/gtest/gtest-matchers.h: In instantiation of 'class testing::internal::MatcherBase >': /usr/include/gtest/gtest-matchers.h:370:24: required from here /usr/include/gtest/gtest-matchers.h:310:16: error: defaulted declaration 'testing::internal::MatcherBase& testing::internal::MatcherBase::operator=(testing::internal::MatcherBase) [with T = std::__cxx11::basic_string; testing::internal::MatcherBase = testing::internal::MatcherBase >]' does not match the expected signature 310 | MatcherBase& operator=(MatcherBase&&) = default; | ^~~~~~~~ /usr/include/gtest/gtest-matchers.h:310:16: note: expected signature: 'testing::internal::MatcherBase >& testing::internal::MatcherBase >::operator=(testing::internal::MatcherBase >&)' /usr/include/gtest/gtest-matchers.h: In constructor 'testing::Matcher >::Matcher(const testing::MatcherInterface >*)': /usr/include/gtest/gtest-matchers.h:377:48: error: no matching function for call to 'testing::internal::MatcherBase >::MatcherBase(const testing::MatcherInterface >*&)' 377 | : internal::MatcherBase(impl) {} | ^ /usr/include/gtest/gtest-matchers.h:307:3: note: candidate: 'testing::internal::MatcherBase::MatcherBase(const testing::internal::MatcherBase&) [with T = std::__cxx11::basic_string]' 307 | MatcherBase(const MatcherBase&) = default; | ^~~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:307:15: note: no known conversion for argument 1 from 'const testing::MatcherInterface >*' to 'const testing::internal::MatcherBase >&' 307 | MatcherBase(const MatcherBase&) = default; | ^~~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:301:12: note: candidate: 'template testing::internal::MatcherBase::MatcherBase(const testing::MatcherInterface*, int)' 301 | explicit MatcherBase( | ^~~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:301:12: note: template argument deduction/substitution failed: /usr/include/gtest/gtest-matchers.h:377:48: note: candidate expects 2 arguments, 1 provided 377 | : internal::MatcherBase(impl) {} | ^ /usr/include/gtest/gtest-matchers.h:298:12: note: candidate: 'testing::internal::MatcherBase::MatcherBase(const testing::MatcherInterface*) [with T = std::__cxx11::basic_string]' 298 | explicit MatcherBase(const MatcherInterface* impl) : impl_(impl) {} | ^~~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:298:58: note: no known conversion for argument 1 from 'const testing::MatcherInterface >*' to 'const testing::MatcherInterface&>*' 298 | explicit MatcherBase(const MatcherInterface* impl) : impl_(impl) {} | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /usr/include/gtest/gtest-matchers.h:295:3: note: candidate: 'testing::internal::MatcherBase::MatcherBase() [with T = std::__cxx11::basic_string]' 295 | MatcherBase() {} | ^~~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:295:3: note: candidate expects 0 arguments, 1 provided /usr/include/gtest/gtest-matchers.h: At global scope: /usr/include/gtest/gtest-matchers.h:541:31: error: 'reference_wrapper' is not a member of 'std' 541 | static const T& Unwrap(std::reference_wrapper v) { return v; } | ^~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:541:50: error: expected primary-expression before '>' token 541 | static const T& Unwrap(std::reference_wrapper v) { return v; } | ^ /usr/include/gtest/gtest-matchers.h:541:52: error: 'v' was not declared in this scope 541 | static const T& Unwrap(std::reference_wrapper v) { return v; } | ^ /usr/include/gtest/gtest-matchers.h:541:54: error: expected ';' before '{' token 541 | static const T& Unwrap(std::reference_wrapper v) { return v; } | ^~ | ; /usr/include/gtest/gtest-matchers.h:541:67: error: 'template template const T& testing::internal::ComparisonBase::Unwrap' conflicts with a previous declaration 541 | static const T& Unwrap(std::reference_wrapper v) { return v; } | ^ /usr/include/gtest/gtest-matchers.h:539:19: note: previous declaration 'static const T& testing::internal::ComparisonBase::Unwrap(const T&)' 539 | static const T& Unwrap(const T& v) { return v; } | ^~~~~~ /usr/include/gtest/gtest-matchers.h:664:14: error: 'shared_ptr' in namespace 'std' does not name a template type 664 | const std::shared_ptr regex_; | ^~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:664:9: note: 'std::shared_ptr' is only available from C++11 onwards 664 | const std::shared_ptr regex_; | ^~~ /usr/include/gtest/gtest-matchers.h: In constructor 'testing::internal::MatchesRegexMatcher::MatchesRegexMatcher(const testing::internal::RE*, bool)': /usr/include/gtest/gtest-matchers.h:621:9: error: class 'testing::internal::MatchesRegexMatcher' does not have any field named 'regex_' 621 | : regex_(regex), full_match_(full_match) {} | ^~~~~~ /usr/include/gtest/gtest-matchers.h: In member function 'bool testing::internal::MatchesRegexMatcher::MatchAndExplain(CharType*, testing::MatchResultListener*) const': /usr/include/gtest/gtest-matchers.h:637:17: error: 'nullptr' was not declared in this scope 637 | return s != nullptr && MatchAndExplain(std::string(s), listener); | ^~~~~~~ /usr/include/gtest/gtest-matchers.h: In member function 'bool testing::internal::MatchesRegexMatcher::MatchAndExplain(const MatcheeStringType&, testing::MatchResultListener*) const': /usr/include/gtest/gtest-matchers.h:648:45: error: 'regex_' was not declared in this scope; did you mean 'regex_t'? 648 | return full_match_ ? RE::FullMatch(s2, *regex_) | ^~~~~~ | regex_t /usr/include/gtest/gtest-matchers.h: In member function 'void testing::internal::MatchesRegexMatcher::DescribeTo(std::ostream*) const': /usr/include/gtest/gtest-matchers.h:654:42: error: 'regex_' was not declared in this scope; did you mean 'regex_t'? 654 | UniversalPrinter::Print(regex_->pattern(), os); | ^~~~~~ | regex_t /usr/include/gtest/gtest-matchers.h: In member function 'void testing::internal::MatchesRegexMatcher::DescribeNegationTo(std::ostream*) const': /usr/include/gtest/gtest-matchers.h:660:42: error: 'regex_' was not declared in this scope; did you mean 'regex_t'? 660 | UniversalPrinter::Print(regex_->pattern(), os); | ^~~~~~ | regex_t In file included from /usr/include/gtest/gtest-param-test.h:181, from /usr/include/gtest/gtest.h:67, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/include/gtest/internal/gtest-param-util.h: At global scope: /usr/include/gtest/internal/gtest-param-util.h:158:8: error: 'unique_ptr' in namespace 'std' does not name a template type 158 | std::unique_ptr > impl_; | ^~~~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h:158:3: note: 'std::unique_ptr' is only available from C++11 onwards 158 | std::unique_ptr > impl_; | ^~~ /usr/include/gtest/internal/gtest-param-util.h: In copy constructor 'testing::internal::ParamIterator::ParamIterator(const testing::internal::ParamIterator&)': /usr/include/gtest/internal/gtest-param-util.h:128:47: error: class 'testing::internal::ParamIterator' does not have any field named 'impl_' 128 | ParamIterator(const ParamIterator& other) : impl_(other.impl_->Clone()) {} | ^~~~~ /usr/include/gtest/internal/gtest-param-util.h: In member function 'testing::internal::ParamIterator& testing::internal::ParamIterator::operator=(const testing::internal::ParamIterator&)': /usr/include/gtest/internal/gtest-param-util.h:131:7: error: 'impl_' was not declared in this scope 131 | impl_.reset(other.impl_->Clone()); | ^~~~~ /usr/include/gtest/internal/gtest-param-util.h: In member function 'const T& testing::internal::ParamIterator::operator*() const': /usr/include/gtest/internal/gtest-param-util.h:135:40: error: 'impl_' was not declared in this scope 135 | const T& operator*() const { return *impl_->Current(); } | ^~~~~ /usr/include/gtest/internal/gtest-param-util.h: In member function 'const T* testing::internal::ParamIterator::operator->() const': /usr/include/gtest/internal/gtest-param-util.h:136:40: error: 'impl_' was not declared in this scope 136 | const T* operator->() const { return impl_->Current(); } | ^~~~~ /usr/include/gtest/internal/gtest-param-util.h: In member function 'testing::internal::ParamIterator& testing::internal::ParamIterator::operator++()': /usr/include/gtest/internal/gtest-param-util.h:139:5: error: 'impl_' was not declared in this scope 139 | impl_->Advance(); | ^~~~~ /usr/include/gtest/internal/gtest-param-util.h: In member function 'testing::internal::ParamIterator testing::internal::ParamIterator::operator++(int)': /usr/include/gtest/internal/gtest-param-util.h:144:40: error: 'impl_' was not declared in this scope 144 | ParamIteratorInterface* clone = impl_->Clone(); | ^~~~~ /usr/include/gtest/internal/gtest-param-util.h: In member function 'bool testing::internal::ParamIterator::operator==(const testing::internal::ParamIterator&) const': /usr/include/gtest/internal/gtest-param-util.h:149:12: error: 'impl_' was not declared in this scope 149 | return impl_.get() == other.impl_.get() || impl_->Equals(*other.impl_); | ^~~~~ /usr/include/gtest/internal/gtest-param-util.h: In constructor 'testing::internal::ParamIterator::ParamIterator(testing::internal::ParamIteratorInterface*)': /usr/include/gtest/internal/gtest-param-util.h:157:61: error: class 'testing::internal::ParamIterator' does not have any field named 'impl_' 157 | explicit ParamIterator(ParamIteratorInterface* impl) : impl_(impl) {} | ^~~~~ /usr/include/gtest/internal/gtest-param-util.h: At global scope: /usr/include/gtest/internal/gtest-param-util.h:197:8: error: 'shared_ptr' in namespace 'std' does not name a template type 197 | std::shared_ptr > impl_; | ^~~~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h:197:3: note: 'std::shared_ptr' is only available from C++11 onwards 197 | std::shared_ptr > impl_; | ^~~ /usr/include/gtest/internal/gtest-param-util.h: In constructor 'testing::internal::ParamGenerator< >::ParamGenerator(testing::internal::ParamGeneratorInterface*)': /usr/include/gtest/internal/gtest-param-util.h:185:63: error: class 'testing::internal::ParamGenerator< >' does not have any field named 'impl_' 185 | explicit ParamGenerator(ParamGeneratorInterface* impl) : impl_(impl) {} | ^~~~~ /usr/include/gtest/internal/gtest-param-util.h: In copy constructor 'testing::internal::ParamGenerator< >::ParamGenerator(const testing::internal::ParamGenerator< >&)': /usr/include/gtest/internal/gtest-param-util.h:186:49: error: class 'testing::internal::ParamGenerator< >' does not have any field named 'impl_' 186 | ParamGenerator(const ParamGenerator& other) : impl_(other.impl_) {} | ^~~~~ /usr/include/gtest/internal/gtest-param-util.h: In member function 'testing::internal::ParamGenerator< >& testing::internal::ParamGenerator< >::operator=(const testing::internal::ParamGenerator< >&)': /usr/include/gtest/internal/gtest-param-util.h:189:5: error: 'impl_' was not declared in this scope 189 | impl_ = other.impl_; | ^~~~~ /usr/include/gtest/internal/gtest-param-util.h: In member function 'testing::internal::ParamGenerator< >::iterator testing::internal::ParamGenerator< >::begin() const': /usr/include/gtest/internal/gtest-param-util.h:193:44: error: 'impl_' was not declared in this scope 193 | iterator begin() const { return iterator(impl_->Begin()); } | ^~~~~ /usr/include/gtest/internal/gtest-param-util.h: In member function 'testing::internal::ParamGenerator< >::iterator testing::internal::ParamGenerator< >::end() const': /usr/include/gtest/internal/gtest-param-util.h:194:42: error: 'impl_' was not declared in this scope 194 | iterator end() const { return iterator(impl_->End()); } | ^~~~~ /usr/include/gtest/internal/gtest-param-util.h: At global scope: /usr/include/gtest/internal/gtest-param-util.h:360:18: error: 'unique_ptr' in namespace 'std' does not name a template type 360 | mutable std::unique_ptr value_; | ^~~~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h:360:13: note: 'std::unique_ptr' is only available from C++11 onwards 360 | mutable std::unique_ptr value_; | ^~~ /usr/include/gtest/internal/gtest-param-util.h: In member function 'void testing::internal::ValuesInIteratorRangeGenerator::Iterator::Advance()': /usr/include/gtest/internal/gtest-param-util.h:319:7: error: 'value_' was not declared in this scope 319 | value_.reset(); | ^~~~~~ /usr/include/gtest/internal/gtest-param-util.h: In member function 'const T* testing::internal::ValuesInIteratorRangeGenerator::Iterator::Current() const': /usr/include/gtest/internal/gtest-param-util.h:332:11: error: 'value_' was not declared in this scope 332 | if (value_.get() == nullptr) value_.reset(new T(*iterator_)); | ^~~~~~ /usr/include/gtest/internal/gtest-param-util.h:332:27: error: 'nullptr' was not declared in this scope 332 | if (value_.get() == nullptr) value_.reset(new T(*iterator_)); | ^~~~~~~ /usr/include/gtest/internal/gtest-param-util.h:333:14: error: 'value_' was not declared in this scope 333 | return value_.get(); | ^~~~~~ /usr/include/gtest/internal/gtest-param-util.h: At global scope: /usr/include/gtest/internal/gtest-param-util.h:381:19: error: default template arguments may not be used in function templates without '-std=c++11' or '-std=gnu++11' 381 | void TestNotEmpty() { | ^ /usr/include/gtest/internal/gtest-param-util.h: In function 'void testing::internal::TestNotEmpty()': /usr/include/gtest/internal/gtest-param-util.h:382:3: error: there are no arguments to 'static_assert' that depend on a template parameter, so a declaration of 'static_assert' must be available [-fpermissive] 382 | static_assert(sizeof(T) == 0, "Empty arguments are not allowed."); | ^~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h:382:3: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/include/gtest/internal/gtest-param-util.h: At global scope: /usr/include/gtest/internal/gtest-param-util.h:385:27: error: default template arguments may not be used in function templates without '-std=c++11' or '-std=gnu++11' 385 | void TestNotEmpty(const T&) {} | ^ /usr/include/gtest/internal/gtest-param-util.h:432:9: error: expected nested-name-specifier before 'ParamType' 432 | using ParamType = typename TestSuite::ParamType; | ^~~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h:436:20: error: expected ';' at end of member declaration 436 | TestFactoryBase* CreateTestFactory(ParamType parameter) override { | ^~~~~~~~~~~~~~~~~ | ; /usr/include/gtest/internal/gtest-param-util.h:436:47: error: expected ')' before 'parameter' 436 | TestFactoryBase* CreateTestFactory(ParamType parameter) override { | ~ ^~~~~~~~~~ | ) /usr/include/gtest/internal/gtest-param-util.h:488:9: error: expected nested-name-specifier before 'ParamType' 488 | using ParamType = typename TestSuite::ParamType; | ^~~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h:490:26: error: 'ParamType' was not declared in this scope 490 | typedef ParamGenerator(GeneratorCreationFunc)(); | ^~~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h:490:35: error: template argument 1 is invalid 490 | typedef ParamGenerator(GeneratorCreationFunc)(); | ^ /usr/include/gtest/internal/gtest-param-util.h:491:9: error: expected nested-name-specifier before 'ParamNameGeneratorFunc' 491 | using ParamNameGeneratorFunc = std::string(const TestParamInfo&); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h:510:43: error: 'ParamType' was not declared in this scope 510 | TestMetaFactoryBase* meta_factory) { | ^~~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h:510:52: error: template argument 1 is invalid 510 | TestMetaFactoryBase* meta_factory) { | ^ /usr/include/gtest/internal/gtest-param-util.h:518:33: error: 'ParamNameGeneratorFunc' has not been declared 518 | ParamNameGeneratorFunc* name_func, | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h:590:34: error: 'ParamType' was not declared in this scope 590 | TestMetaFactoryBase* a_test_meta_factory) | ^~~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h:590:43: error: template argument 1 is invalid 590 | TestMetaFactoryBase* a_test_meta_factory) | ^ /usr/include/gtest/internal/gtest-param-util.h:597:16: error: 'unique_ptr' in namespace 'std' does not name a template type 597 | const std::unique_ptr > test_meta_factory; | ^~~~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h:597:11: note: 'std::unique_ptr' is only available from C++11 onwards 597 | const std::unique_ptr > test_meta_factory; | ^~~ /usr/include/gtest/internal/gtest-param-util.h:599:9: error: expected nested-name-specifier before 'TestInfoContainer' 599 | using TestInfoContainer = ::std::vector >; | ^~~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h:606:25: error: 'ParamNameGeneratorFunc' has not been declared 606 | ParamNameGeneratorFunc* name_func_in, | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h:617:7: error: 'ParamNameGeneratorFunc' does not name a type; did you mean 'ParamGenerator'? 617 | ParamNameGeneratorFunc* name_func; | ^~~~~~~~~~~~~~~~~~~~~~ | ParamGenerator /usr/include/gtest/internal/gtest-param-util.h:639:3: error: 'TestInfoContainer' does not name a type 639 | TestInfoContainer tests_; | ^~~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h: In member function 'void testing::internal::ParameterizedTestSuiteInfo::AddTestPattern(const char*, const char*, int*)': /usr/include/gtest/internal/gtest-param-util.h:511:5: error: 'tests_' was not declared in this scope 511 | tests_.push_back(std::shared_ptr( | ^~~~~~ /usr/include/gtest/internal/gtest-param-util.h:511:27: error: 'shared_ptr' is not a member of 'std' 511 | tests_.push_back(std::shared_ptr( | ^~~~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h:511:27: note: 'std::shared_ptr' is only available from C++11 onwards /usr/include/gtest/internal/gtest-param-util.h:511:46: error: expected primary-expression before '>' token 511 | tests_.push_back(std::shared_ptr( | ^ /usr/include/gtest/internal/gtest-param-util.h: In member function 'void testing::internal::ParameterizedTestSuiteInfo::RegisterTests()': /usr/include/gtest/internal/gtest-param-util.h:530:36: error: expected ';' before '::' token 530 | for (typename TestInfoContainer::iterator test_it = tests_.begin(); | ^~ | ; /usr/include/gtest/internal/gtest-param-util.h:530:38: error: '::iterator' has not been declared 530 | for (typename TestInfoContainer::iterator test_it = tests_.begin(); | ^~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h:530:38: note: suggested alternatives: In file included from /usr/include/c++/9/bits/stl_algobase.h:65, from /usr/include/c++/9/memory:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v1/cpp_config_decl.hpp:38, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/cpp_config_decl.hpp:13, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/cpp_config.hpp:13, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v1/pack_decl.hpp:14, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/pack_decl.hpp:13, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/pack.hpp:13, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/v1/object_decl.hpp:14, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/object_decl.hpp:14, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack/object.hpp:13, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/include/msgpack.hpp:10, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:1: /usr/include/c++/9/bits/stl_iterator_base_types.h:118:12: note: 'std::iterator' 118 | struct iterator | ^~~~~~~~ /usr/include/c++/9/bits/stl_iterator_base_types.h:118:12: note: 'std::iterator' In file included from /usr/include/gtest/gtest-param-test.h:181, from /usr/include/gtest/gtest.h:67, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/include/gtest/internal/gtest-param-util.h:530:46: error: expected ';' before 'test_it' 530 | for (typename TestInfoContainer::iterator test_it = tests_.begin(); | ^~~~~~~~ | ; /usr/include/gtest/internal/gtest-param-util.h:530:47: error: 'test_it' was not declared in this scope 530 | for (typename TestInfoContainer::iterator test_it = tests_.begin(); | ^~~~~~~ /usr/include/gtest/internal/gtest-param-util.h:530:57: error: 'tests_' was not declared in this scope 530 | for (typename TestInfoContainer::iterator test_it = tests_.begin(); | ^~~~~~ /usr/include/gtest/internal/gtest-param-util.h:530:71: error: expected ')' before ';' token 530 | for (typename TestInfoContainer::iterator test_it = tests_.begin(); | ~ ^ | ) /usr/include/gtest/internal/gtest-param-util.h:531:10: error: 'test_it' was not declared in this scope 531 | test_it != tests_.end(); ++test_it) { | ^~~~~~~ /usr/include/gtest/internal/gtest-param-util.h:531:21: error: 'tests_' was not declared in this scope 531 | test_it != tests_.end(); ++test_it) { | ^~~~~~ /usr/include/gtest/internal/gtest-param-util.h: In constructor 'testing::internal::ParameterizedTestSuiteInfo::TestInfo::TestInfo(const char*, const char*, int*)': /usr/include/gtest/internal/gtest-param-util.h:593:11: error: class 'testing::internal::ParameterizedTestSuiteInfo::TestInfo' does not have any field named 'test_meta_factory' 593 | test_meta_factory(a_test_meta_factory) {} | ^~~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h: In constructor 'testing::internal::ParameterizedTestSuiteInfo::InstantiationInfo::InstantiationInfo(const string&, int (*)(), int*, const char*, int)': /usr/include/gtest/internal/gtest-param-util.h:611:13: error: class 'testing::internal::ParameterizedTestSuiteInfo::InstantiationInfo' does not have any field named 'name_func' 611 | name_func(name_func_in), | ^~~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h: At global scope: /usr/include/gtest/internal/gtest-param-util.h:648:1: error: expected unqualified-id before 'using' 648 | using ParameterizedTestCaseInfo = ParameterizedTestSuiteInfo; | ^~~~~ /usr/include/gtest/internal/gtest-param-util.h:705:3: error: 'ParameterizedTestCaseInfo' does not name a type; did you mean 'ParameterizedTestSuiteInfo'? 705 | ParameterizedTestCaseInfo* GetTestCasePatternHolder( | ^~~~~~~~~~~~~~~~~~~~~~~~~ | ParameterizedTestSuiteInfo /usr/include/gtest/internal/gtest-param-util.h:713:9: error: expected nested-name-specifier before 'TestSuiteInfoContainer' 713 | using TestSuiteInfoContainer = ::std::vector; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h:715:3: error: 'TestSuiteInfoContainer' does not name a type 715 | TestSuiteInfoContainer test_suite_infos_; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h: In destructor 'testing::internal::ParameterizedTestSuiteRegistry::~ParameterizedTestSuiteRegistry()': /usr/include/gtest/internal/gtest-param-util.h:661:34: error: 'test_suite_infos_' was not declared in this scope; did you mean 'test_suite_info'? 661 | for (auto& test_suite_info : test_suite_infos_) { | ^~~~~~~~~~~~~~~~~ | test_suite_info /usr/include/gtest/internal/gtest-param-util.h:662:14: error: type 'int' argument given to 'delete', expected pointer 662 | delete test_suite_info; | ^~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h: In member function 'testing::internal::ParameterizedTestSuiteInfo* testing::internal::ParameterizedTestSuiteRegistry::GetTestSuitePatternHolder(const char*, testing::internal::CodeLocation)': /usr/include/gtest/internal/gtest-param-util.h:671:62: error: 'nullptr' was not declared in this scope 671 | ParameterizedTestSuiteInfo* typed_test_info = nullptr; | ^~~~~~~ /usr/include/gtest/internal/gtest-param-util.h:672:34: error: 'test_suite_infos_' was not declared in this scope; did you mean 'test_suite_info'? 672 | for (auto& test_suite_info : test_suite_infos_) { | ^~~~~~~~~~~~~~~~~ | test_suite_info /usr/include/gtest/internal/gtest-param-util.h:673:26: error: base operand of '->' is not a pointer 673 | if (test_suite_info->GetTestSuiteName() == test_suite_name) { | ^~ /usr/include/gtest/internal/gtest-param-util.h:674:28: error: base operand of '->' is not a pointer 674 | if (test_suite_info->GetTestSuiteTypeId() != GetTypeId()) { | ^~ /usr/include/gtest/internal/gtest-param-util.h:679:18: error: 'Abort' is not a member of 'testing::internal::posix' 679 | posix::Abort(); | ^~~~~ /usr/include/gtest/internal/gtest-param-util.h:693:7: error: 'test_suite_infos_' was not declared in this scope; did you mean 'test_suite_name'? 693 | test_suite_infos_.push_back(typed_test_info); | ^~~~~~~~~~~~~~~~~ | test_suite_name /usr/include/gtest/internal/gtest-param-util.h: In member function 'void testing::internal::ParameterizedTestSuiteRegistry::RegisterTests()': /usr/include/gtest/internal/gtest-param-util.h:698:34: error: 'test_suite_infos_' was not declared in this scope; did you mean 'test_suite_info'? 698 | for (auto& test_suite_info : test_suite_infos_) { | ^~~~~~~~~~~~~~~~~ | test_suite_info /usr/include/gtest/internal/gtest-param-util.h:699:22: error: base operand of '->' is not a pointer 699 | test_suite_info->RegisterTests(); | ^~ /usr/include/gtest/internal/gtest-param-util.h: In constructor 'testing::internal::ValueArray::ValueArray(Ts ...)': /usr/include/gtest/internal/gtest-param-util.h:734:33: error: 'move' is not a member of 'std' 734 | ValueArray(Ts... v) : v_{std::move(v)...} {} | ^~~~ /usr/include/gtest/internal/gtest-param-util.h:734:33: note: 'std::move' is only available from C++11 onwards /usr/include/gtest/internal/gtest-param-util.h: At global scope: /usr/include/gtest/internal/gtest-param-util.h:752:45: error: 'tuple' is not a member of 'std' 752 | : public ParamGeneratorInterface<::std::tuple> { | ^~~~~ /usr/include/gtest/internal/gtest-param-util.h:752:45: note: 'std::tuple' is only available from C++11 onwards /usr/include/gtest/internal/gtest-param-util.h:752:45: error: 'tuple' is not a member of 'std' /usr/include/gtest/internal/gtest-param-util.h:752:45: note: 'std::tuple' is only available from C++11 onwards /usr/include/gtest/internal/gtest-param-util.h:752:52: error: expected parameter pack before '...' 752 | : public ParamGeneratorInterface<::std::tuple> { | ^~~ /usr/include/gtest/internal/gtest-param-util.h:752:55: error: spurious '>>', use '>' to terminate a template argument list 752 | : public ParamGeneratorInterface<::std::tuple> { | ^~ /usr/include/gtest/internal/gtest-param-util.h:752:45: error: 'tuple' is not a member of 'std' 752 | : public ParamGeneratorInterface<::std::tuple> { | ^~~~~ /usr/include/gtest/internal/gtest-param-util.h:752:45: note: 'std::tuple' is only available from C++11 onwards /usr/include/gtest/internal/gtest-param-util.h:752:45: error: 'tuple' is not a member of 'std' /usr/include/gtest/internal/gtest-param-util.h:752:45: note: 'std::tuple' is only available from C++11 onwards /usr/include/gtest/internal/gtest-param-util.h:752:52: error: expected parameter pack before '...' 752 | : public ParamGeneratorInterface<::std::tuple> { | ^~~ /usr/include/gtest/internal/gtest-param-util.h:752:55: error: spurious '>>', use '>' to terminate a template argument list 752 | : public ParamGeneratorInterface<::std::tuple> { | ^~ /usr/include/gtest/internal/gtest-param-util.h:752:37: error: expected '<' before '<:' token 752 | : public ParamGeneratorInterface<::std::tuple> { | ^~ /usr/include/gtest/internal/gtest-param-util.h:752:37: error: expected '{' before '<:' token /usr/include/gtest/internal/gtest-param-util.h:871:34: error: 'tuple' is not a member of 'std' 871 | operator ParamGenerator<::std::tuple>() const { | ^~~~~ /usr/include/gtest/internal/gtest-param-util.h:871:34: note: 'std::tuple' is only available from C++11 onwards /usr/include/gtest/internal/gtest-param-util.h:871:34: error: 'tuple' is not a member of 'std' /usr/include/gtest/internal/gtest-param-util.h:871:34: note: 'std::tuple' is only available from C++11 onwards /usr/include/gtest/internal/gtest-param-util.h:871:41: error: expected parameter pack before '...' 871 | operator ParamGenerator<::std::tuple>() const { | ^~~ /usr/include/gtest/internal/gtest-param-util.h:871:44: error: spurious '>>', use '>' to terminate a template argument list 871 | operator ParamGenerator<::std::tuple>() const { | ^~ /usr/include/gtest/internal/gtest-param-util.h:871:34: error: 'tuple' is not a member of 'std' 871 | operator ParamGenerator<::std::tuple>() const { | ^~~~~ /usr/include/gtest/internal/gtest-param-util.h:871:34: note: 'std::tuple' is only available from C++11 onwards /usr/include/gtest/internal/gtest-param-util.h:871:34: error: 'tuple' is not a member of 'std' /usr/include/gtest/internal/gtest-param-util.h:871:34: note: 'std::tuple' is only available from C++11 onwards /usr/include/gtest/internal/gtest-param-util.h:871:41: error: expected parameter pack before '...' 871 | operator ParamGenerator<::std::tuple>() const { | ^~~ /usr/include/gtest/internal/gtest-param-util.h:871:44: error: spurious '>>', use '>' to terminate a template argument list 871 | operator ParamGenerator<::std::tuple>() const { | ^~ /usr/include/gtest/internal/gtest-param-util.h:871:34: error: 'tuple' is not a member of 'std' 871 | operator ParamGenerator<::std::tuple>() const { | ^~~~~ /usr/include/gtest/internal/gtest-param-util.h:871:34: note: 'std::tuple' is only available from C++11 onwards /usr/include/gtest/internal/gtest-param-util.h:871:34: error: 'tuple' is not a member of 'std' /usr/include/gtest/internal/gtest-param-util.h:871:34: note: 'std::tuple' is only available from C++11 onwards /usr/include/gtest/internal/gtest-param-util.h:871:41: error: expected parameter pack before '...' 871 | operator ParamGenerator<::std::tuple>() const { | ^~~ /usr/include/gtest/internal/gtest-param-util.h:871:44: error: spurious '>>', use '>' to terminate a template argument list 871 | operator ParamGenerator<::std::tuple>() const { | ^~ /usr/include/gtest/internal/gtest-param-util.h:871:34: error: 'tuple' is not a member of 'std' 871 | operator ParamGenerator<::std::tuple>() const { | ^~~~~ /usr/include/gtest/internal/gtest-param-util.h:871:34: note: 'std::tuple' is only available from C++11 onwards /usr/include/gtest/internal/gtest-param-util.h:871:34: error: 'tuple' is not a member of 'std' /usr/include/gtest/internal/gtest-param-util.h:871:34: note: 'std::tuple' is only available from C++11 onwards /usr/include/gtest/internal/gtest-param-util.h:871:41: error: expected parameter pack before '...' 871 | operator ParamGenerator<::std::tuple>() const { | ^~~ /usr/include/gtest/internal/gtest-param-util.h:871:44: error: spurious '>>', use '>' to terminate a template argument list 871 | operator ParamGenerator<::std::tuple>() const { | ^~ /usr/include/gtest/internal/gtest-param-util.h:871:34: error: 'tuple' is not a member of 'std' 871 | operator ParamGenerator<::std::tuple>() const { | ^~~~~ /usr/include/gtest/internal/gtest-param-util.h:871:34: note: 'std::tuple' is only available from C++11 onwards /usr/include/gtest/internal/gtest-param-util.h:871:34: error: 'tuple' is not a member of 'std' /usr/include/gtest/internal/gtest-param-util.h:871:34: note: 'std::tuple' is only available from C++11 onwards /usr/include/gtest/internal/gtest-param-util.h:871:41: error: expected parameter pack before '...' 871 | operator ParamGenerator<::std::tuple>() const { | ^~~ /usr/include/gtest/internal/gtest-param-util.h:871:44: error: spurious '>>', use '>' to terminate a template argument list 871 | operator ParamGenerator<::std::tuple>() const { | ^~ /usr/include/gtest/internal/gtest-param-util.h:871:34: error: 'tuple' is not a member of 'std' 871 | operator ParamGenerator<::std::tuple>() const { | ^~~~~ /usr/include/gtest/internal/gtest-param-util.h:871:34: note: 'std::tuple' is only available from C++11 onwards /usr/include/gtest/internal/gtest-param-util.h:871:34: error: 'tuple' is not a member of 'std' /usr/include/gtest/internal/gtest-param-util.h:871:34: note: 'std::tuple' is only available from C++11 onwards /usr/include/gtest/internal/gtest-param-util.h:871:41: error: expected parameter pack before '...' 871 | operator ParamGenerator<::std::tuple>() const { | ^~~ /usr/include/gtest/internal/gtest-param-util.h:871:44: error: spurious '>>', use '>' to terminate a template argument list 871 | operator ParamGenerator<::std::tuple>() const { | ^~ /usr/include/gtest/internal/gtest-param-util.h:871:12: error: invalid use of template-name 'testing::internal::ParamGenerator' without an argument list 871 | operator ParamGenerator<::std::tuple>() const { | ^~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h:871:12: note: class template argument deduction is only available with '-std=c++17' or '-std=gnu++17' /usr/include/gtest/internal/gtest-param-util.h:86:27: note: 'template class testing::internal::ParamGenerator' declared here 86 | template class ParamGenerator; | ^~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h:877:8: error: 'tuple' in namespace 'std' does not name a template type 877 | std::tuple generators_; | ^~~~~ /usr/include/gtest/internal/gtest-param-util.h:877:3: note: 'std::tuple' is only available from C++11 onwards 877 | std::tuple generators_; | ^~~ /usr/include/gtest/internal/gtest-param-util.h: In constructor 'testing::internal::CartesianProductHolder::CartesianProductHolder(const Gen& ...)': /usr/include/gtest/internal/gtest-param-util.h:869:45: error: class 'testing::internal::CartesianProductHolder' does not have any field named 'generators_' 869 | CartesianProductHolder(const Gen&... g) : generators_(g...) {} | ^~~~~~~~~~~ In file included from /usr/include/gtest/gtest.h:67, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/include/gtest/gtest-param-test.h: In function 'testing::internal::ValueArray testing::Values(T ...)': /usr/include/gtest/gtest-param-test.h:336:42: error: 'move' is not a member of 'std' 336 | return internal::ValueArray(std::move(v)...); | ^~~~ /usr/include/gtest/gtest-param-test.h:336:42: note: 'std::move' is only available from C++11 onwards In file included from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/include/gtest/internal/gtest-internal.h: In instantiation of 'struct testing::internal::MakeIndexSequence<1>': /usr/include/gtest/internal/gtest-internal.h:1120:8: required from 'struct testing::internal::MakeIndexSequence<2>' /usr/include/gtest/internal/gtest-internal.h:1185:7: required from 'class testing::internal::FlatTuple' /usr/include/gtest/internal/gtest-param-util.h:747:20: required from 'class testing::internal::ValueArray' /usr/include/gtest/gtest-param-test.h:360:28: required from here /usr/include/gtest/internal/gtest-internal.h:1120:8: error: no type named 'type' in 'struct testing::internal::MakeIndexSequence<0>' 1120 | struct MakeIndexSequence | ^~~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-internal.h: In instantiation of 'struct testing::internal::MakeIndexSequence<2>': /usr/include/gtest/internal/gtest-internal.h:1185:7: required from 'class testing::internal::FlatTuple' /usr/include/gtest/internal/gtest-param-util.h:747:20: required from 'class testing::internal::ValueArray' /usr/include/gtest/gtest-param-test.h:360:28: required from here /usr/include/gtest/internal/gtest-internal.h:1120:8: error: no type named 'type' in 'struct testing::internal::MakeIndexSequence<1>' /usr/include/gtest/internal/gtest-internal.h: In instantiation of 'class testing::internal::FlatTuple': /usr/include/gtest/internal/gtest-param-util.h:747:20: required from 'class testing::internal::ValueArray' /usr/include/gtest/gtest-param-test.h:360:28: required from here /usr/include/gtest/internal/gtest-internal.h:1185:7: error: no type named 'type' in 'struct testing::internal::MakeIndexSequence<2>' 1185 | class FlatTuple | ^~~~~~~~~ In file included from /usr/include/gtest/gtest.h:70, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/include/gtest/gtest-test-part.h: In constructor 'testing::TestPartResult::TestPartResult(testing::TestPartResult::Type, const char*, int, const char*)': /usr/include/gtest/gtest-test-part.h:66:35: error: 'nullptr' was not declared in this scope 66 | file_name_(a_file_name == nullptr ? "" : a_file_name), | ^~~~~~~ /usr/include/gtest/gtest-test-part.h: In member function 'const char* testing::TestPartResult::file_name() const': /usr/include/gtest/gtest-test-part.h:77:33: error: 'nullptr' was not declared in this scope 77 | return file_name_.empty() ? nullptr : file_name_.c_str(); | ^~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/include/gtest/gtest.h: At global scope: /usr/include/gtest/gtest.h:191:7: error: expected nested-name-specifier before 'TestCase' 191 | using TestCase = TestSuite; | ^~~~~~~~ /usr/include/gtest/gtest.h:295:21: error: 'enable_if' in namespace 'std' does not name a template type 295 | typename std::enable_if< | ^~~~~~~~~ /usr/include/gtest/gtest.h:295:30: error: expected ',' or '...' before '<' token 295 | typename std::enable_if< | ^ /usr/include/gtest/gtest.h:357:8: error: 'unique_ptr' in namespace 'std' does not name a template type 357 | std::unique_ptr< ::std::string> message_; | ^~~~~~~~~~ /usr/include/gtest/gtest.h:357:3: note: 'std::unique_ptr' is only available from C++11 onwards 357 | std::unique_ptr< ::std::string> message_; | ^~~ /usr/include/gtest/gtest.h: In member function 'const char* testing::AssertionResult::message() const': /usr/include/gtest/gtest.h:322:12: error: 'message_' was not declared in this scope; did you mean 'message'? 322 | return message_.get() != nullptr ? message_->c_str() : ""; | ^~~~~~~~ | message /usr/include/gtest/gtest.h:322:30: error: 'nullptr' was not declared in this scope 322 | return message_.get() != nullptr ? message_->c_str() : ""; | ^~~~~~~ /usr/include/gtest/gtest.h: In member function 'void testing::AssertionResult::AppendMessage(const testing::Message&)': /usr/include/gtest/gtest.h:344:9: error: 'message_' was not declared in this scope; did you mean 'message'? 344 | if (message_.get() == nullptr) message_.reset(new ::std::string); | ^~~~~~~~ | message /usr/include/gtest/gtest.h:344:27: error: 'nullptr' was not declared in this scope 344 | if (message_.get() == nullptr) message_.reset(new ::std::string); | ^~~~~~~ /usr/include/gtest/gtest.h:345:5: error: 'message_' was not declared in this scope; did you mean 'message'? 345 | message_->append(a_message.GetString().c_str()); | ^~~~~~~~ | message In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/include/gtest/gtest.h: At global scope: /usr/include/gtest/gtest.h:494:14: error: 'unique_ptr' in namespace 'std' does not name a template type 494 | const std::unique_ptr gtest_flag_saver_; | ^~~~~~~~~~ /usr/include/gtest/gtest.h:494:9: note: 'std::unique_ptr' is only available from C++11 onwards 494 | const std::unique_ptr gtest_flag_saver_; | ^~~ /usr/include/gtest/gtest.h: In member function 'virtual testing::Test::Setup_should_be_spelled_SetUp* testing::Test::Setup()': /usr/include/gtest/gtest.h:513:59: error: 'nullptr' was not declared in this scope 513 | virtual Setup_should_be_spelled_SetUp* Setup() { return nullptr; } | ^~~~~~~ /usr/include/gtest/gtest.h: At global scope: /usr/include/gtest/gtest.h:774:52: error: 'testing::internal::SetUpTestSuiteFunc' has not been declared 774 | internal::TypeId fixture_class_id, internal::SetUpTestSuiteFunc set_up_tc, | ^~~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h:775:17: error: 'testing::internal::TearDownTestSuiteFunc' has not been declared 775 | internal::TearDownTestSuiteFunc tear_down_tc, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h:806:14: error: 'unique_ptr' in namespace 'std' does not name a template type 806 | const std::unique_ptr type_param_; | ^~~~~~~~~~ /usr/include/gtest/gtest.h:806:9: note: 'std::unique_ptr' is only available from C++11 onwards 806 | const std::unique_ptr type_param_; | ^~~ /usr/include/gtest/gtest.h:809:14: error: 'unique_ptr' in namespace 'std' does not name a template type 809 | const std::unique_ptr value_param_; | ^~~~~~~~~~ /usr/include/gtest/gtest.h:809:9: note: 'std::unique_ptr' is only available from C++11 onwards 809 | const std::unique_ptr value_param_; | ^~~ /usr/include/gtest/gtest.h: In member function 'const char* testing::TestInfo::type_param() const': /usr/include/gtest/gtest.h:715:9: error: 'type_param_' was not declared in this scope; did you mean 'type_param'? 715 | if (type_param_.get() != nullptr) return type_param_->c_str(); | ^~~~~~~~~~~ | type_param /usr/include/gtest/gtest.h:715:30: error: 'nullptr' was not declared in this scope 715 | if (type_param_.get() != nullptr) return type_param_->c_str(); | ^~~~~~~ /usr/include/gtest/gtest.h:716:12: error: 'nullptr' was not declared in this scope 716 | return nullptr; | ^~~~~~~ /usr/include/gtest/gtest.h: In member function 'const char* testing::TestInfo::value_param() const': /usr/include/gtest/gtest.h:722:9: error: 'value_param_' was not declared in this scope; did you mean 'value_param'? 722 | if (value_param_.get() != nullptr) return value_param_->c_str(); | ^~~~~~~~~~~~ | value_param /usr/include/gtest/gtest.h:722:31: error: 'nullptr' was not declared in this scope 722 | if (value_param_.get() != nullptr) return value_param_->c_str(); | ^~~~~~~ /usr/include/gtest/gtest.h:723:12: error: 'nullptr' was not declared in this scope 723 | return nullptr; | ^~~~~~~ /usr/include/gtest/gtest.h: At global scope: /usr/include/gtest/gtest.h:845:23: error: 'testing::internal::SetUpTestSuiteFunc' has not been declared 845 | internal::SetUpTestSuiteFunc set_up_tc, | ^~~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h:846:23: error: 'testing::internal::TearDownTestSuiteFunc' has not been declared 846 | internal::TearDownTestSuiteFunc tear_down_tc); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h:1005:14: error: 'unique_ptr' in namespace 'std' does not name a template type 1005 | const std::unique_ptr type_param_; | ^~~~~~~~~~ /usr/include/gtest/gtest.h:1005:9: note: 'std::unique_ptr' is only available from C++11 onwards 1005 | const std::unique_ptr type_param_; | ^~~ /usr/include/gtest/gtest.h:1014:13: error: 'SetUpTestSuiteFunc' in namespace 'testing::internal' does not name a type 1014 | internal::SetUpTestSuiteFunc set_up_tc_; | ^~~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h:1016:13: error: 'TearDownTestSuiteFunc' in namespace 'testing::internal' does not name a type 1016 | internal::TearDownTestSuiteFunc tear_down_tc_; | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h: In member function 'const char* testing::TestSuite::type_param() const': /usr/include/gtest/gtest.h:857:9: error: 'type_param_' was not declared in this scope; did you mean 'type_param'? 857 | if (type_param_.get() != nullptr) return type_param_->c_str(); | ^~~~~~~~~~~ | type_param /usr/include/gtest/gtest.h:857:30: error: 'nullptr' was not declared in this scope 857 | if (type_param_.get() != nullptr) return type_param_->c_str(); | ^~~~~~~ /usr/include/gtest/gtest.h:858:12: error: 'nullptr' was not declared in this scope 858 | return nullptr; | ^~~~~~~ /usr/include/gtest/gtest.h: In member function 'void testing::TestSuite::RunSetUpTestSuite()': /usr/include/gtest/gtest.h:946:9: error: 'set_up_tc_' was not declared in this scope 946 | if (set_up_tc_ != nullptr) { | ^~~~~~~~~~ /usr/include/gtest/gtest.h:946:23: error: 'nullptr' was not declared in this scope 946 | if (set_up_tc_ != nullptr) { | ^~~~~~~ /usr/include/gtest/gtest.h: In member function 'void testing::TestSuite::RunTearDownTestSuite()': /usr/include/gtest/gtest.h:954:9: error: 'tear_down_tc_' was not declared in this scope 954 | if (tear_down_tc_ != nullptr) { | ^~~~~~~~~~~~~ /usr/include/gtest/gtest.h:954:26: error: 'nullptr' was not declared in this scope 954 | if (tear_down_tc_ != nullptr) { | ^~~~~~~ /usr/include/gtest/gtest.h: In member function 'virtual testing::Environment::Setup_should_be_spelled_SetUp* testing::Environment::Setup()': /usr/include/gtest/gtest.h:1059:59: error: 'nullptr' was not declared in this scope 1059 | virtual Setup_should_be_spelled_SetUp* Setup() { return nullptr; } | ^~~~~~~ /usr/include/gtest/gtest.h: At global scope: /usr/include/gtest/gtest.h:1100:38: error: 'TestCase' does not name a type 1100 | virtual void OnTestCaseStart(const TestCase& /*test_case*/) {} | ^~~~~~~~ /usr/include/gtest/gtest.h:1119:36: error: 'TestCase' does not name a type 1119 | virtual void OnTestCaseEnd(const TestCase& /*test_case*/) {} | ^~~~~~~~ /usr/include/gtest/gtest.h:1151:30: error: 'TestCase' does not name a type 1151 | void OnTestCaseStart(const TestCase& /*test_case*/) override {} | ^~~~~~~~ /usr/include/gtest/gtest.h:1159:28: error: 'TestCase' does not name a type 1159 | void OnTestCaseEnd(const TestCase& /*test_case*/) override {} | ^~~~~~~~ /usr/include/gtest/gtest.h:1282:9: error: 'TestCase' does not name a type 1282 | const TestCase* current_test_case() const GTEST_LOCK_EXCLUDED_(mutex_); | ^~~~~~~~ /usr/include/gtest/gtest.h:1366:9: error: 'TestCase' does not name a type 1366 | const TestCase* GetTestCase(int i) const; | ^~~~~~~~ /usr/include/gtest/gtest.h:1549:21: error: 'enable_if' in namespace 'std' does not name a template type 1549 | typename std::enable_if::value || | ^~~~~~~~~ /usr/include/gtest/gtest.h:1549:30: error: expected '>' before '<' token 1549 | typename std::enable_if::value || | ^ /usr/include/gtest/gtest.h:1574:12: error: 'std::nullptr_t' has not been declared 1574 | std::nullptr_t /* lhs */, T* rhs) { | ^~~~~~~~~ /usr/include/gtest/gtest.h: In static member function 'static testing::AssertionResult testing::internal::EqHelper::Compare(const char*, const char*, int, T*)': /usr/include/gtest/gtest.h:1576:72: error: 'nullptr' was not declared in this scope 1576 | return CmpHelperEQ(lhs_expression, rhs_expression, static_cast(nullptr), | ^~~~~~~ In file included from /usr/include/gtest/internal/gtest-internal.h:40, from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/include/gtest/gtest.h: In static member function 'static const ParamType& testing::WithParamInterface::GetParam()': /usr/include/gtest/gtest.h:1857:5: error: 'nullptr' was not declared in this scope 1857 | GTEST_CHECK_(parameter_ != nullptr) | ^~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/include/gtest/gtest.h: At global scope: /usr/include/gtest/gtest.h:1878:46: error: 'nullptr' was not declared in this scope 1878 | const T* WithParamInterface::parameter_ = nullptr; | ^~~~~~~ /usr/include/gtest/gtest.h:2300:1: error: 'constexpr' does not name a type 2300 | constexpr bool StaticAssertTypeEq() noexcept { | ^~~~~~~~~ /usr/include/gtest/gtest.h:2300:1: note: C++11 'constexpr' only available with '-std=c++11' or '-std=gnu++11' /usr/include/gtest/gtest.h: In function 'testing::TestInfo* testing::RegisterTest(const char*, const char*, const char*, const char*, const char*, int, Factory)': /usr/include/gtest/gtest.h:2441:9: error: expected nested-name-specifier before 'TestT' 2441 | using TestT = typename std::remove_pointer::type; | ^~~~~ /usr/include/gtest/gtest.h: In constructor 'testing::RegisterTest(const char*, const char*, const char*, const char*, const char*, int, Factory)::FactoryImpl::FactoryImpl(Factory)': /usr/include/gtest/gtest.h:2445:53: error: 'move' is not a member of 'std' 2445 | explicit FactoryImpl(Factory f) : factory_(std::move(f)) {} | ^~~~ /usr/include/gtest/gtest.h:2445:53: note: 'std::move' is only available from C++11 onwards /usr/include/gtest/gtest.h: In function 'testing::TestInfo* testing::RegisterTest(const char*, const char*, const char*, const char*, const char*, int, Factory)': /usr/include/gtest/gtest.h:2454:63: error: 'TestT' was not declared in this scope; did you mean 'Test'? 2454 | internal::CodeLocation(file, line), internal::GetTypeId(), | ^~~~~ | Test /usr/include/gtest/gtest.h:2457:28: error: 'move' is not a member of 'std' 2457 | new FactoryImpl{std::move(factory)}); | ^~~~ /usr/include/gtest/gtest.h:2457:28: note: 'std::move' is only available from C++11 onwards In file included from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp: At global scope: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:13:1: error: expected constructor, destructor, or type conversion before '(' token 13 | TEST(visitor, dummy) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:13:1: error: expected constructor, destructor, or type conversion before '(' token 13 | TEST(visitor, dummy) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:13:1: error: 'nullptr' was not declared in this scope 13 | TEST(visitor, dummy) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:13:1: error: 'nullptr' was not declared in this scope 13 | TEST(visitor, dummy) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:13:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 13 | TEST(visitor, dummy) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:13:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 13 | TEST(visitor, dummy) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp: In member function 'void json_like_visitor::parse_error(size_t, size_t)': /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:79:9: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 79 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/include/gtest/gtest.h:293:12: note: candidate: 'template testing::AssertionResult::AssertionResult(const T&, int)' 293 | explicit AssertionResult( | ^~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h:293:12: note: template argument deduction/substitution failed: In file included from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:79:9: note: candidate expects 2 arguments, 1 provided 79 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/include/gtest/gtest.h:279:3: note: candidate: 'testing::AssertionResult::AssertionResult(const testing::AssertionResult&)' 279 | AssertionResult(const AssertionResult& other); | ^~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h:279:42: note: no known conversion for argument 1 from 'bool' to 'const testing::AssertionResult&' 279 | AssertionResult(const AssertionResult& other); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp: In member function 'void json_like_visitor::insufficient_bytes(size_t, size_t)': /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:82:9: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 82 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/include/gtest/gtest.h:293:12: note: candidate: 'template testing::AssertionResult::AssertionResult(const T&, int)' 293 | explicit AssertionResult( | ^~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h:293:12: note: template argument deduction/substitution failed: In file included from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:82:9: note: candidate expects 2 arguments, 1 provided 82 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/include/gtest/gtest.h:279:3: note: candidate: 'testing::AssertionResult::AssertionResult(const testing::AssertionResult&)' 279 | AssertionResult(const AssertionResult& other); | ^~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h:279:42: note: no known conversion for argument 1 from 'bool' to 'const testing::AssertionResult&' 279 | AssertionResult(const AssertionResult& other); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp: At global scope: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:87:1: error: expected constructor, destructor, or type conversion before '(' token 87 | TEST(visitor, json_like) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:87:1: error: expected constructor, destructor, or type conversion before '(' token 87 | TEST(visitor, json_like) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:87:1: error: 'nullptr' was not declared in this scope 87 | TEST(visitor, json_like) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:87:1: error: 'nullptr' was not declared in this scope 87 | TEST(visitor, json_like) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:87:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 87 | TEST(visitor, json_like) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:87:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 87 | TEST(visitor, json_like) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp: In member function 'virtual void visitor_json_like_Test::TestBody()': /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:103:5: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool&)' 103 | EXPECT_TRUE(ret); | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/include/gtest/gtest.h:293:12: note: candidate: 'template testing::AssertionResult::AssertionResult(const T&, int)' 293 | explicit AssertionResult( | ^~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h:293:12: note: template argument deduction/substitution failed: In file included from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:103:5: note: candidate expects 2 arguments, 1 provided 103 | EXPECT_TRUE(ret); | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/include/gtest/gtest.h:279:3: note: candidate: 'testing::AssertionResult::AssertionResult(const testing::AssertionResult&)' 279 | AssertionResult(const AssertionResult& other); | ^~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h:279:42: note: no known conversion for argument 1 from 'bool' to 'const testing::AssertionResult&' 279 | AssertionResult(const AssertionResult& other); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/include/gtest/gtest.h:375, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:104:5: error: no matching function for call to 'testing::internal::EqHelper::Compare(const char [27], const char [10], const char [23], std::string&)' 104 | EXPECT_EQ("{\"key\":[42,null,true]}", json_like); | ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/include/gtest/gtest.h:1551:26: note: candidate: 'template > static testing::AssertionResult testing::internal::EqHelper::Compare(const char*, const char*, const T1&, const T2&)' 1551 | static AssertionResult Compare(const char* lhs_expression, | ^~~~~~~ /usr/include/gtest/gtest.h:1551:26: note: template argument deduction/substitution failed: In file included from /usr/include/gtest/gtest.h:375, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:104:5: note: couldn't deduce template parameter '' 104 | EXPECT_EQ("{\"key\":[42,null,true]}", json_like); | ^~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/include/gtest/gtest.h:1563:26: note: candidate: 'static testing::AssertionResult testing::internal::EqHelper::Compare(const char*, const char*, testing::internal::BiggestInt, testing::internal::BiggestInt)' 1563 | static AssertionResult Compare(const char* lhs_expression, | ^~~~~~~ /usr/include/gtest/gtest.h:1566:45: note: no known conversion for argument 4 from 'std::string' {aka 'std::__cxx11::basic_string'} to 'testing::internal::BiggestInt' {aka 'long long int'} 1566 | BiggestInt rhs) { | ~~~~~~~~~~~^~~ /usr/include/gtest/gtest.h:1571:26: note: candidate: 'template static testing::AssertionResult testing::internal::EqHelper::Compare(const char*, const char*, int, T*)' 1571 | static AssertionResult Compare( | ^~~~~~~ /usr/include/gtest/gtest.h:1571:26: note: template argument deduction/substitution failed: In file included from /usr/include/gtest/gtest.h:375, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:104:5: note: mismatched types 'T*' and 'std::__cxx11::basic_string' 104 | EXPECT_EQ("{\"key\":[42,null,true]}", json_like); | ^~~~~~~~~ In file included from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp: At global scope: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:117:1: error: expected constructor, destructor, or type conversion before '(' token 117 | TEST(visitor, parse_error) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:117:1: error: expected constructor, destructor, or type conversion before '(' token 117 | TEST(visitor, parse_error) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:117:1: error: 'nullptr' was not declared in this scope 117 | TEST(visitor, parse_error) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:117:1: error: 'nullptr' was not declared in this scope 117 | TEST(visitor, parse_error) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:117:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 117 | TEST(visitor, parse_error) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:117:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 117 | TEST(visitor, parse_error) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp: In member function 'virtual void visitor_parse_error_Test::TestBody()': /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:124:5: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 124 | EXPECT_FALSE(ret); | ^~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/include/gtest/gtest.h:293:12: note: candidate: 'template testing::AssertionResult::AssertionResult(const T&, int)' 293 | explicit AssertionResult( | ^~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h:293:12: note: template argument deduction/substitution failed: In file included from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:124:5: note: candidate expects 2 arguments, 1 provided 124 | EXPECT_FALSE(ret); | ^~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/include/gtest/gtest.h:279:3: note: candidate: 'testing::AssertionResult::AssertionResult(const testing::AssertionResult&)' 279 | AssertionResult(const AssertionResult& other); | ^~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h:279:42: note: no known conversion for argument 1 from 'bool' to 'const testing::AssertionResult&' 279 | AssertionResult(const AssertionResult& other); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:125:5: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool&)' 125 | EXPECT_TRUE(called); | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/include/gtest/gtest.h:293:12: note: candidate: 'template testing::AssertionResult::AssertionResult(const T&, int)' 293 | explicit AssertionResult( | ^~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h:293:12: note: template argument deduction/substitution failed: In file included from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:125:5: note: candidate expects 2 arguments, 1 provided 125 | EXPECT_TRUE(called); | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/include/gtest/gtest.h:279:3: note: candidate: 'testing::AssertionResult::AssertionResult(const testing::AssertionResult&)' 279 | AssertionResult(const AssertionResult& other); | ^~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h:279:42: note: no known conversion for argument 1 from 'bool' to 'const testing::AssertionResult&' 279 | AssertionResult(const AssertionResult& other); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp: At global scope: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:143:1: error: expected constructor, destructor, or type conversion before '(' token 143 | TEST(visitor, insuf_bytes) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:143:1: error: expected constructor, destructor, or type conversion before '(' token 143 | TEST(visitor, insuf_bytes) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:143:1: error: 'nullptr' was not declared in this scope 143 | TEST(visitor, insuf_bytes) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:143:1: error: 'nullptr' was not declared in this scope 143 | TEST(visitor, insuf_bytes) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:143:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 143 | TEST(visitor, insuf_bytes) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:143:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 143 | TEST(visitor, insuf_bytes) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp: In member function 'virtual void visitor_insuf_bytes_Test::TestBody()': /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:150:5: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 150 | EXPECT_FALSE(ret); | ^~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/include/gtest/gtest.h:293:12: note: candidate: 'template testing::AssertionResult::AssertionResult(const T&, int)' 293 | explicit AssertionResult( | ^~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h:293:12: note: template argument deduction/substitution failed: In file included from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:150:5: note: candidate expects 2 arguments, 1 provided 150 | EXPECT_FALSE(ret); | ^~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/include/gtest/gtest.h:279:3: note: candidate: 'testing::AssertionResult::AssertionResult(const testing::AssertionResult&)' 279 | AssertionResult(const AssertionResult& other); | ^~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h:279:42: note: no known conversion for argument 1 from 'bool' to 'const testing::AssertionResult&' 279 | AssertionResult(const AssertionResult& other); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:151:5: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool&)' 151 | EXPECT_TRUE(called); | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/include/gtest/gtest.h:293:12: note: candidate: 'template testing::AssertionResult::AssertionResult(const T&, int)' 293 | explicit AssertionResult( | ^~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h:293:12: note: template argument deduction/substitution failed: In file included from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:151:5: note: candidate expects 2 arguments, 1 provided 151 | EXPECT_TRUE(called); | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/include/gtest/gtest.h:279:3: note: candidate: 'testing::AssertionResult::AssertionResult(const testing::AssertionResult&)' 279 | AssertionResult(const AssertionResult& other); | ^~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h:279:42: note: no known conversion for argument 1 from 'bool' to 'const testing::AssertionResult&' 279 | AssertionResult(const AssertionResult& other); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp: At global scope: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:166:1: error: expected constructor, destructor, or type conversion before '(' token 166 | TEST(visitor, return_false_array_val) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:166:1: error: expected constructor, destructor, or type conversion before '(' token 166 | TEST(visitor, return_false_array_val) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:166:1: error: 'nullptr' was not declared in this scope 166 | TEST(visitor, return_false_array_val) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:166:1: error: 'nullptr' was not declared in this scope 166 | TEST(visitor, return_false_array_val) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:166:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 166 | TEST(visitor, return_false_array_val) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:166:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 166 | TEST(visitor, return_false_array_val) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp: In member function 'virtual void visitor_return_false_array_val_Test::TestBody()': /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:173:5: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 173 | EXPECT_FALSE(ret); | ^~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/include/gtest/gtest.h:293:12: note: candidate: 'template testing::AssertionResult::AssertionResult(const T&, int)' 293 | explicit AssertionResult( | ^~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h:293:12: note: template argument deduction/substitution failed: In file included from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:173:5: note: candidate expects 2 arguments, 1 provided 173 | EXPECT_FALSE(ret); | ^~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/include/gtest/gtest.h:279:3: note: candidate: 'testing::AssertionResult::AssertionResult(const testing::AssertionResult&)' 279 | AssertionResult(const AssertionResult& other); | ^~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h:279:42: note: no known conversion for argument 1 from 'bool' to 'const testing::AssertionResult&' 279 | AssertionResult(const AssertionResult& other); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp: At global scope: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:191:1: error: expected constructor, destructor, or type conversion before '(' token 191 | TEST(visitor, return_false_start_array_item) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:191:1: error: expected constructor, destructor, or type conversion before '(' token 191 | TEST(visitor, return_false_start_array_item) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:191:1: error: 'nullptr' was not declared in this scope 191 | TEST(visitor, return_false_start_array_item) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:191:1: error: 'nullptr' was not declared in this scope 191 | TEST(visitor, return_false_start_array_item) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:191:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 191 | TEST(visitor, return_false_start_array_item) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:191:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 191 | TEST(visitor, return_false_start_array_item) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp: In member function 'virtual void visitor_return_false_start_array_item_Test::TestBody()': /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:198:5: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 198 | EXPECT_FALSE(ret); | ^~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/include/gtest/gtest.h:293:12: note: candidate: 'template testing::AssertionResult::AssertionResult(const T&, int)' 293 | explicit AssertionResult( | ^~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h:293:12: note: template argument deduction/substitution failed: In file included from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:198:5: note: candidate expects 2 arguments, 1 provided 198 | EXPECT_FALSE(ret); | ^~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/include/gtest/gtest.h:279:3: note: candidate: 'testing::AssertionResult::AssertionResult(const testing::AssertionResult&)' 279 | AssertionResult(const AssertionResult& other); | ^~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h:279:42: note: no known conversion for argument 1 from 'bool' to 'const testing::AssertionResult&' 279 | AssertionResult(const AssertionResult& other); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp: At global scope: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:216:1: error: expected constructor, destructor, or type conversion before '(' token 216 | TEST(visitor, return_false_end_array_item) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:216:1: error: expected constructor, destructor, or type conversion before '(' token 216 | TEST(visitor, return_false_end_array_item) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:216:1: error: 'nullptr' was not declared in this scope 216 | TEST(visitor, return_false_end_array_item) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:216:1: error: 'nullptr' was not declared in this scope 216 | TEST(visitor, return_false_end_array_item) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:216:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 216 | TEST(visitor, return_false_end_array_item) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:216:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 216 | TEST(visitor, return_false_end_array_item) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp: In member function 'virtual void visitor_return_false_end_array_item_Test::TestBody()': /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:223:5: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 223 | EXPECT_FALSE(ret); | ^~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/include/gtest/gtest.h:293:12: note: candidate: 'template testing::AssertionResult::AssertionResult(const T&, int)' 293 | explicit AssertionResult( | ^~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h:293:12: note: template argument deduction/substitution failed: In file included from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:223:5: note: candidate expects 2 arguments, 1 provided 223 | EXPECT_FALSE(ret); | ^~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/include/gtest/gtest.h:279:3: note: candidate: 'testing::AssertionResult::AssertionResult(const testing::AssertionResult&)' 279 | AssertionResult(const AssertionResult& other); | ^~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h:279:42: note: no known conversion for argument 1 from 'bool' to 'const testing::AssertionResult&' 279 | AssertionResult(const AssertionResult& other); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp: At global scope: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:238:1: error: expected constructor, destructor, or type conversion before '(' token 238 | TEST(visitor, return_false_start_array) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:238:1: error: expected constructor, destructor, or type conversion before '(' token 238 | TEST(visitor, return_false_start_array) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:238:1: error: 'nullptr' was not declared in this scope 238 | TEST(visitor, return_false_start_array) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:238:1: error: 'nullptr' was not declared in this scope 238 | TEST(visitor, return_false_start_array) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:238:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 238 | TEST(visitor, return_false_start_array) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:238:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 238 | TEST(visitor, return_false_start_array) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp: In member function 'virtual void visitor_return_false_start_array_Test::TestBody()': /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:244:5: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 244 | EXPECT_FALSE(ret); | ^~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/include/gtest/gtest.h:293:12: note: candidate: 'template testing::AssertionResult::AssertionResult(const T&, int)' 293 | explicit AssertionResult( | ^~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h:293:12: note: template argument deduction/substitution failed: In file included from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:244:5: note: candidate expects 2 arguments, 1 provided 244 | EXPECT_FALSE(ret); | ^~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/include/gtest/gtest.h:279:3: note: candidate: 'testing::AssertionResult::AssertionResult(const testing::AssertionResult&)' 279 | AssertionResult(const AssertionResult& other); | ^~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h:279:42: note: no known conversion for argument 1 from 'bool' to 'const testing::AssertionResult&' 279 | AssertionResult(const AssertionResult& other); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp: At global scope: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:254:1: error: expected constructor, destructor, or type conversion before '(' token 254 | TEST(visitor, return_false_start_array0) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:254:1: error: expected constructor, destructor, or type conversion before '(' token 254 | TEST(visitor, return_false_start_array0) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:254:1: error: 'nullptr' was not declared in this scope 254 | TEST(visitor, return_false_start_array0) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:254:1: error: 'nullptr' was not declared in this scope 254 | TEST(visitor, return_false_start_array0) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:254:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 254 | TEST(visitor, return_false_start_array0) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:254:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 254 | TEST(visitor, return_false_start_array0) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp: In member function 'virtual void visitor_return_false_start_array0_Test::TestBody()': /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:260:5: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 260 | EXPECT_FALSE(ret); | ^~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/include/gtest/gtest.h:293:12: note: candidate: 'template testing::AssertionResult::AssertionResult(const T&, int)' 293 | explicit AssertionResult( | ^~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h:293:12: note: template argument deduction/substitution failed: In file included from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:260:5: note: candidate expects 2 arguments, 1 provided 260 | EXPECT_FALSE(ret); | ^~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/include/gtest/gtest.h:279:3: note: candidate: 'testing::AssertionResult::AssertionResult(const testing::AssertionResult&)' 279 | AssertionResult(const AssertionResult& other); | ^~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h:279:42: note: no known conversion for argument 1 from 'bool' to 'const testing::AssertionResult&' 279 | AssertionResult(const AssertionResult& other); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp: At global scope: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:270:1: error: expected constructor, destructor, or type conversion before '(' token 270 | TEST(visitor, return_false_end_array) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:270:1: error: expected constructor, destructor, or type conversion before '(' token 270 | TEST(visitor, return_false_end_array) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:270:1: error: 'nullptr' was not declared in this scope 270 | TEST(visitor, return_false_end_array) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:270:1: error: 'nullptr' was not declared in this scope 270 | TEST(visitor, return_false_end_array) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:270:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 270 | TEST(visitor, return_false_end_array) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:270:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 270 | TEST(visitor, return_false_end_array) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp: In member function 'virtual void visitor_return_false_end_array_Test::TestBody()': /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:276:5: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 276 | EXPECT_FALSE(ret); | ^~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/include/gtest/gtest.h:293:12: note: candidate: 'template testing::AssertionResult::AssertionResult(const T&, int)' 293 | explicit AssertionResult( | ^~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h:293:12: note: template argument deduction/substitution failed: In file included from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:276:5: note: candidate expects 2 arguments, 1 provided 276 | EXPECT_FALSE(ret); | ^~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/include/gtest/gtest.h:279:3: note: candidate: 'testing::AssertionResult::AssertionResult(const testing::AssertionResult&)' 279 | AssertionResult(const AssertionResult& other); | ^~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h:279:42: note: no known conversion for argument 1 from 'bool' to 'const testing::AssertionResult&' 279 | AssertionResult(const AssertionResult& other); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp: At global scope: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:290:1: error: expected constructor, destructor, or type conversion before '(' token 290 | TEST(visitor, return_false_end_array0) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:290:1: error: expected constructor, destructor, or type conversion before '(' token 290 | TEST(visitor, return_false_end_array0) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:290:1: error: 'nullptr' was not declared in this scope 290 | TEST(visitor, return_false_end_array0) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:290:1: error: 'nullptr' was not declared in this scope 290 | TEST(visitor, return_false_end_array0) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:290:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 290 | TEST(visitor, return_false_end_array0) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:290:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 290 | TEST(visitor, return_false_end_array0) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp: In member function 'virtual void visitor_return_false_end_array0_Test::TestBody()': /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:296:5: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 296 | EXPECT_FALSE(ret); | ^~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/include/gtest/gtest.h:293:12: note: candidate: 'template testing::AssertionResult::AssertionResult(const T&, int)' 293 | explicit AssertionResult( | ^~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h:293:12: note: template argument deduction/substitution failed: In file included from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:296:5: note: candidate expects 2 arguments, 1 provided 296 | EXPECT_FALSE(ret); | ^~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/include/gtest/gtest.h:279:3: note: candidate: 'testing::AssertionResult::AssertionResult(const testing::AssertionResult&)' 279 | AssertionResult(const AssertionResult& other); | ^~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h:279:42: note: no known conversion for argument 1 from 'bool' to 'const testing::AssertionResult&' 279 | AssertionResult(const AssertionResult& other); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp: At global scope: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:309:1: error: expected constructor, destructor, or type conversion before '(' token 309 | TEST(visitor, return_false_map_val) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:309:1: error: expected constructor, destructor, or type conversion before '(' token 309 | TEST(visitor, return_false_map_val) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:309:1: error: 'nullptr' was not declared in this scope 309 | TEST(visitor, return_false_map_val) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:309:1: error: 'nullptr' was not declared in this scope 309 | TEST(visitor, return_false_map_val) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:309:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 309 | TEST(visitor, return_false_map_val) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:309:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 309 | TEST(visitor, return_false_map_val) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp: In member function 'virtual void visitor_return_false_map_val_Test::TestBody()': /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:316:5: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 316 | EXPECT_FALSE(ret); | ^~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/include/gtest/gtest.h:293:12: note: candidate: 'template testing::AssertionResult::AssertionResult(const T&, int)' 293 | explicit AssertionResult( | ^~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h:293:12: note: template argument deduction/substitution failed: In file included from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:316:5: note: candidate expects 2 arguments, 1 provided 316 | EXPECT_FALSE(ret); | ^~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/include/gtest/gtest.h:279:3: note: candidate: 'testing::AssertionResult::AssertionResult(const testing::AssertionResult&)' 279 | AssertionResult(const AssertionResult& other); | ^~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h:279:42: note: no known conversion for argument 1 from 'bool' to 'const testing::AssertionResult&' 279 | AssertionResult(const AssertionResult& other); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp: At global scope: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:334:1: error: expected constructor, destructor, or type conversion before '(' token 334 | TEST(visitor, return_false_start_map_key) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:334:1: error: expected constructor, destructor, or type conversion before '(' token 334 | TEST(visitor, return_false_start_map_key) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:334:1: error: 'nullptr' was not declared in this scope 334 | TEST(visitor, return_false_start_map_key) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:334:1: error: 'nullptr' was not declared in this scope 334 | TEST(visitor, return_false_start_map_key) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:334:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 334 | TEST(visitor, return_false_start_map_key) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:334:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 334 | TEST(visitor, return_false_start_map_key) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp: In member function 'virtual void visitor_return_false_start_map_key_Test::TestBody()': /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:341:5: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 341 | EXPECT_FALSE(ret); | ^~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/include/gtest/gtest.h:293:12: note: candidate: 'template testing::AssertionResult::AssertionResult(const T&, int)' 293 | explicit AssertionResult( | ^~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h:293:12: note: template argument deduction/substitution failed: In file included from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:341:5: note: candidate expects 2 arguments, 1 provided 341 | EXPECT_FALSE(ret); | ^~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/include/gtest/gtest.h:279:3: note: candidate: 'testing::AssertionResult::AssertionResult(const testing::AssertionResult&)' 279 | AssertionResult(const AssertionResult& other); | ^~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h:279:42: note: no known conversion for argument 1 from 'bool' to 'const testing::AssertionResult&' 279 | AssertionResult(const AssertionResult& other); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp: At global scope: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:359:1: error: expected constructor, destructor, or type conversion before '(' token 359 | TEST(visitor, return_false_end_map_key) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:359:1: error: expected constructor, destructor, or type conversion before '(' token 359 | TEST(visitor, return_false_end_map_key) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:359:1: error: 'nullptr' was not declared in this scope 359 | TEST(visitor, return_false_end_map_key) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:359:1: error: 'nullptr' was not declared in this scope 359 | TEST(visitor, return_false_end_map_key) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:359:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 359 | TEST(visitor, return_false_end_map_key) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:359:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 359 | TEST(visitor, return_false_end_map_key) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp: In member function 'virtual void visitor_return_false_end_map_key_Test::TestBody()': /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:366:5: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 366 | EXPECT_FALSE(ret); | ^~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/include/gtest/gtest.h:293:12: note: candidate: 'template testing::AssertionResult::AssertionResult(const T&, int)' 293 | explicit AssertionResult( | ^~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h:293:12: note: template argument deduction/substitution failed: In file included from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:366:5: note: candidate expects 2 arguments, 1 provided 366 | EXPECT_FALSE(ret); | ^~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/include/gtest/gtest.h:279:3: note: candidate: 'testing::AssertionResult::AssertionResult(const testing::AssertionResult&)' 279 | AssertionResult(const AssertionResult& other); | ^~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h:279:42: note: no known conversion for argument 1 from 'bool' to 'const testing::AssertionResult&' 279 | AssertionResult(const AssertionResult& other); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp: At global scope: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:384:1: error: expected constructor, destructor, or type conversion before '(' token 384 | TEST(visitor, return_false_start_map_value) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:384:1: error: expected constructor, destructor, or type conversion before '(' token 384 | TEST(visitor, return_false_start_map_value) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:384:1: error: 'nullptr' was not declared in this scope 384 | TEST(visitor, return_false_start_map_value) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:384:1: error: 'nullptr' was not declared in this scope 384 | TEST(visitor, return_false_start_map_value) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:384:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 384 | TEST(visitor, return_false_start_map_value) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:384:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 384 | TEST(visitor, return_false_start_map_value) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp: In member function 'virtual void visitor_return_false_start_map_value_Test::TestBody()': /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:391:5: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 391 | EXPECT_FALSE(ret); | ^~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/include/gtest/gtest.h:293:12: note: candidate: 'template testing::AssertionResult::AssertionResult(const T&, int)' 293 | explicit AssertionResult( | ^~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h:293:12: note: template argument deduction/substitution failed: In file included from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:391:5: note: candidate expects 2 arguments, 1 provided 391 | EXPECT_FALSE(ret); | ^~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/include/gtest/gtest.h:279:3: note: candidate: 'testing::AssertionResult::AssertionResult(const testing::AssertionResult&)' 279 | AssertionResult(const AssertionResult& other); | ^~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h:279:42: note: no known conversion for argument 1 from 'bool' to 'const testing::AssertionResult&' 279 | AssertionResult(const AssertionResult& other); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp: At global scope: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:409:1: error: expected constructor, destructor, or type conversion before '(' token 409 | TEST(visitor, return_false_end_map_value) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:409:1: error: expected constructor, destructor, or type conversion before '(' token 409 | TEST(visitor, return_false_end_map_value) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:409:1: error: 'nullptr' was not declared in this scope 409 | TEST(visitor, return_false_end_map_value) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:409:1: error: 'nullptr' was not declared in this scope 409 | TEST(visitor, return_false_end_map_value) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:409:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 409 | TEST(visitor, return_false_end_map_value) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:409:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 409 | TEST(visitor, return_false_end_map_value) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp: In member function 'virtual void visitor_return_false_end_map_value_Test::TestBody()': /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:416:5: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 416 | EXPECT_FALSE(ret); | ^~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/include/gtest/gtest.h:293:12: note: candidate: 'template testing::AssertionResult::AssertionResult(const T&, int)' 293 | explicit AssertionResult( | ^~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h:293:12: note: template argument deduction/substitution failed: In file included from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:416:5: note: candidate expects 2 arguments, 1 provided 416 | EXPECT_FALSE(ret); | ^~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/include/gtest/gtest.h:279:3: note: candidate: 'testing::AssertionResult::AssertionResult(const testing::AssertionResult&)' 279 | AssertionResult(const AssertionResult& other); | ^~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h:279:42: note: no known conversion for argument 1 from 'bool' to 'const testing::AssertionResult&' 279 | AssertionResult(const AssertionResult& other); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp: At global scope: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:431:1: error: expected constructor, destructor, or type conversion before '(' token 431 | TEST(visitor, return_false_start_map) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:431:1: error: expected constructor, destructor, or type conversion before '(' token 431 | TEST(visitor, return_false_start_map) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:431:1: error: 'nullptr' was not declared in this scope 431 | TEST(visitor, return_false_start_map) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:431:1: error: 'nullptr' was not declared in this scope 431 | TEST(visitor, return_false_start_map) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:431:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 431 | TEST(visitor, return_false_start_map) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:431:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 431 | TEST(visitor, return_false_start_map) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp: In member function 'virtual void visitor_return_false_start_map_Test::TestBody()': /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:437:5: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 437 | EXPECT_FALSE(ret); | ^~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/include/gtest/gtest.h:293:12: note: candidate: 'template testing::AssertionResult::AssertionResult(const T&, int)' 293 | explicit AssertionResult( | ^~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h:293:12: note: template argument deduction/substitution failed: In file included from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:437:5: note: candidate expects 2 arguments, 1 provided 437 | EXPECT_FALSE(ret); | ^~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/include/gtest/gtest.h:279:3: note: candidate: 'testing::AssertionResult::AssertionResult(const testing::AssertionResult&)' 279 | AssertionResult(const AssertionResult& other); | ^~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h:279:42: note: no known conversion for argument 1 from 'bool' to 'const testing::AssertionResult&' 279 | AssertionResult(const AssertionResult& other); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp: At global scope: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:447:1: error: expected constructor, destructor, or type conversion before '(' token 447 | TEST(visitor, return_false_start_map0) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:447:1: error: expected constructor, destructor, or type conversion before '(' token 447 | TEST(visitor, return_false_start_map0) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:447:1: error: 'nullptr' was not declared in this scope 447 | TEST(visitor, return_false_start_map0) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:447:1: error: 'nullptr' was not declared in this scope 447 | TEST(visitor, return_false_start_map0) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:447:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 447 | TEST(visitor, return_false_start_map0) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:447:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 447 | TEST(visitor, return_false_start_map0) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp: In member function 'virtual void visitor_return_false_start_map0_Test::TestBody()': /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:453:5: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 453 | EXPECT_FALSE(ret); | ^~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/include/gtest/gtest.h:293:12: note: candidate: 'template testing::AssertionResult::AssertionResult(const T&, int)' 293 | explicit AssertionResult( | ^~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h:293:12: note: template argument deduction/substitution failed: In file included from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:453:5: note: candidate expects 2 arguments, 1 provided 453 | EXPECT_FALSE(ret); | ^~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/include/gtest/gtest.h:279:3: note: candidate: 'testing::AssertionResult::AssertionResult(const testing::AssertionResult&)' 279 | AssertionResult(const AssertionResult& other); | ^~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h:279:42: note: no known conversion for argument 1 from 'bool' to 'const testing::AssertionResult&' 279 | AssertionResult(const AssertionResult& other); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp: At global scope: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:463:1: error: expected constructor, destructor, or type conversion before '(' token 463 | TEST(visitor, return_false_end_map) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:463:1: error: expected constructor, destructor, or type conversion before '(' token 463 | TEST(visitor, return_false_end_map) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:463:1: error: 'nullptr' was not declared in this scope 463 | TEST(visitor, return_false_end_map) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:463:1: error: 'nullptr' was not declared in this scope 463 | TEST(visitor, return_false_end_map) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:463:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 463 | TEST(visitor, return_false_end_map) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:463:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 463 | TEST(visitor, return_false_end_map) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp: In member function 'virtual void visitor_return_false_end_map_Test::TestBody()': /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:469:5: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 469 | EXPECT_FALSE(ret); | ^~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/include/gtest/gtest.h:293:12: note: candidate: 'template testing::AssertionResult::AssertionResult(const T&, int)' 293 | explicit AssertionResult( | ^~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h:293:12: note: template argument deduction/substitution failed: In file included from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:469:5: note: candidate expects 2 arguments, 1 provided 469 | EXPECT_FALSE(ret); | ^~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/include/gtest/gtest.h:279:3: note: candidate: 'testing::AssertionResult::AssertionResult(const testing::AssertionResult&)' 279 | AssertionResult(const AssertionResult& other); | ^~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h:279:42: note: no known conversion for argument 1 from 'bool' to 'const testing::AssertionResult&' 279 | AssertionResult(const AssertionResult& other); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp: At global scope: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:483:1: error: expected constructor, destructor, or type conversion before '(' token 483 | TEST(visitor, return_false_end_map0) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:483:1: error: expected constructor, destructor, or type conversion before '(' token 483 | TEST(visitor, return_false_end_map0) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:483:1: error: 'nullptr' was not declared in this scope 483 | TEST(visitor, return_false_end_map0) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:483:1: error: 'nullptr' was not declared in this scope 483 | TEST(visitor, return_false_end_map0) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:483:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 483 | TEST(visitor, return_false_end_map0) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:483:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 483 | TEST(visitor, return_false_end_map0) | ^~~~ /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp: In member function 'virtual void visitor_return_false_end_map0_Test::TestBody()': /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:489:5: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 489 | EXPECT_FALSE(ret); | ^~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/include/gtest/gtest.h:293:12: note: candidate: 'template testing::AssertionResult::AssertionResult(const T&, int)' 293 | explicit AssertionResult( | ^~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h:293:12: note: template argument deduction/substitution failed: In file included from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:489:5: note: candidate expects 2 arguments, 1 provided 489 | EXPECT_FALSE(ret); | ^~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/include/gtest/gtest.h:279:3: note: candidate: 'testing::AssertionResult::AssertionResult(const testing::AssertionResult&)' 279 | AssertionResult(const AssertionResult& other); | ^~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h:279:42: note: no known conversion for argument 1 from 'bool' to 'const testing::AssertionResult&' 279 | AssertionResult(const AssertionResult& other); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/include/gtest/gtest.h:62, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/include/gtest/internal/gtest-internal.h: In instantiation of 'struct testing::internal::IsRecursiveContainer': /usr/include/gtest/gtest-printers.h:506:15: required from 'void testing::internal::PrintTo(const T&, std::ostream*) [with T = const void*; std::ostream = std::basic_ostream]' /usr/include/gtest/gtest-printers.h:553:44: required from here /usr/include/gtest/internal/gtest-internal.h:948:8: error: no type named 'type' in 'struct testing::internal::IsRecursiveContainerImpl' 948 | struct IsRecursiveContainer : public IsRecursiveContainerImpl::type {}; | ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtest/gtest-matchers.h:47, from /usr/include/gtest/internal/gtest-death-test-internal.h:39, from /usr/include/gtest/gtest-death-test.h:41, from /usr/include/gtest/gtest.h:64, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/include/gtest/gtest-printers.h: In instantiation of 'void testing::internal::PrintTo(const T&, std::ostream*) [with T = const void*; std::ostream = std::basic_ostream]': /usr/include/gtest/gtest-printers.h:553:44: required from here /usr/include/gtest/gtest-printers.h:506:15: error: 'value' is not a member of 'testing::internal::IsRecursiveContainer' 506 | !IsRecursiveContainer::value | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtest/internal/gtest-death-test-internal.h:39, from /usr/include/gtest/gtest-death-test.h:41, from /usr/include/gtest/gtest.h:64, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/include/gtest/gtest-matchers.h: In instantiation of 'testing::PolymorphicMatcher::operator testing::Matcher() const [with T = const std::__cxx11::basic_string&; Impl = testing::internal::MatchesRegexMatcher]': /usr/include/gtest/internal/gtest-death-test-internal.h:170:39: required from here /usr/include/gtest/gtest-matchers.h:468:23: error: forming reference to reference type 'const std::__cxx11::basic_string&' 468 | return Matcher(new MonomorphicImpl(impl_)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtest/gtest-param-test.h:181, from /usr/include/gtest/gtest.h:67, from /usr/src/RPM/BUILD/libmsgpack-3.2.1/test/visitor.cpp:6: /usr/include/gtest/internal/gtest-param-util.h: In instantiation of 'testing::internal::ValueArray::operator testing::internal::ParamGenerator() const [with T = bool; Ts = {bool, bool}]': /usr/include/gtest/gtest-param-test.h:360:28: required from here /usr/include/gtest/internal/gtest-param-util.h:738:20: error: no matching function for call to 'testing::internal::ValueArray::MakeVector(testing::internal::MakeIndexSequence<2>) const' 738 | return ValuesIn(MakeVector(MakeIndexSequence())); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h:743:18: note: candidate: 'template std::vector testing::internal::ValueArray::MakeVector(testing::internal::IndexSequence) const [with T = T; unsigned int ...I = {I ...}; Ts = {bool, bool}]' 743 | std::vector MakeVector(IndexSequence) const { | ^~~~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h:743:18: note: template argument deduction/substitution failed: /usr/include/gtest/internal/gtest-param-util.h:738:20: note: 'testing::internal::MakeIndexSequence<2>' is not derived from 'testing::internal::IndexSequence' 738 | return ValuesIn(MakeVector(MakeIndexSequence())); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [test/CMakeFiles/visitor.dir/build.make:82: test/CMakeFiles/visitor.dir/visitor.cpp.o] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' make[1]: *** [CMakeFiles/Makefile2:1160: test/CMakeFiles/visitor.dir/all] Error 2 make[2]: Entering directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' [ 30%] Linking CXX executable custom make[2]: Leaving directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' make[1]: Entering directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' [ 30%] Built target custom make[1]: Leaving directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' make[2]: Entering directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' [ 4%] Building CXX object example/cpp03/CMakeFiles/stream.dir/stream.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' make[2]: Entering directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' [ 31%] Linking CXX executable stream make[2]: Leaving directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' make[1]: Entering directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' [ 31%] Built target stream make[1]: Leaving directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' make[2]: Entering directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' [ 21%] Building CXX object example/cpp03/CMakeFiles/reuse_zone.dir/reuse_zone.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' make[2]: Entering directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' [ 32%] Linking CXX executable reuse_zone make[2]: Leaving directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' make[1]: Entering directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' [ 32%] Built target reuse_zone make[1]: Leaving directory '/usr/src/RPM/BUILD/libmsgpack-3.2.1' make: *** [Makefile:160: all] Error 2 error: Bad exit status from /usr/src/tmp/rpm-tmp.99929 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.99929 (%build) Command exited with non-zero status 1 35.81user 2.16system 0:20.18elapsed 188%CPU (0avgtext+0avgdata 158852maxresident)k 0inputs+0outputs (0major+883266minor)pagefaults 0swaps hsh-rebuild: rebuild of `libmsgpack-3.2.1-alt1.src.rpm' failed. Command exited with non-zero status 1 42.28user 4.30system 0:40.19elapsed 115%CPU (0avgtext+0avgdata 158852maxresident)k 0inputs+0outputs (0major+1155077minor)pagefaults 0swaps