D: [iurt_root_command] chroot warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend. Installing /home/iurt/rpmbuild/SRPMS/msgpack-3.3.0-1.mga9.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.2D6kIo + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf msgpack-3.3.0 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/msgpack-3.3.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd msgpack-3.3.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.XmqTzJ + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd msgpack-3.3.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FCFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + /usr/bin/cmake -Wno-dev -S . -B build -DCMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-DNDEBUG -DCMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib64 -DCMAKE_INSTALL_LIBEXECDIR:PATH=/usr/libexec -DCMAKE_INSTALL_RUNSTATEDIR:PATH=/run -DCMAKE_INSTALL_SYSCONFDIR:PATH=/etc -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DCMAKE_BUILD_TYPE=RelWithDebInfo -DLIB_SUFFIX=64 -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON '-DCMAKE_MODULE_LINKER_FLAGS=-Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' -DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_STATIC_LIBS:BOOL=OFF -- The C compiler identification is GNU 11.2.1 -- The CXX compiler identification is GNU 11.2.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/lib64/cmake/GTest/GTestConfig.cmake (found version "1.10.0") -- Found ZLIB: /usr/lib64/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 CMake Warning at example/c/CMakeLists.txt:1 (FIND_PACKAGE): By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "cJSON", but CMake did not find one. Could not find a package configuration file provided by "cJSON" with any of the following names: cJSONConfig.cmake cjson-config.cmake Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set "cJSON_DIR" to a directory containing one of the above files. If "cJSON" provides a separate development package or SDK, be sure it has been installed. -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: BUILD_STATIC_LIBS CMAKE_CXX_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE CMAKE_INSTALL_LIBEXECDIR CMAKE_INSTALL_RUNSTATEDIR CMAKE_INSTALL_SYSCONFDIR INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build + /usr/bin/cmake --build build -j8 --verbose /usr/bin/cmake -S/home/iurt/rpmbuild/BUILD/msgpack-3.3.0 -B/home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build/CMakeFiles /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build//CMakeFiles/progress.marks /usr/bin/gmake -f CMakeFiles/Makefile2 all gmake[1]: Entering directory '/home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build' /usr/bin/gmake -f CMakeFiles/msgpackc.dir/build.make CMakeFiles/msgpackc.dir/depend /usr/bin/gmake -f test/CMakeFiles/array_ref.dir/build.make test/CMakeFiles/array_ref.dir/depend /usr/bin/gmake -f test/CMakeFiles/buffer.dir/build.make test/CMakeFiles/buffer.dir/depend gmake[2]: Entering directory '/home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build' cd /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/iurt/rpmbuild/BUILD/msgpack-3.3.0 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build/CMakeFiles/msgpackc.dir/DependInfo.cmake --color= gmake[2]: Entering directory '/home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build' cd /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/iurt/rpmbuild/BUILD/msgpack-3.3.0 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build/test /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build/test/CMakeFiles/array_ref.dir/DependInfo.cmake --color= /usr/bin/gmake -f test/CMakeFiles/carray.dir/build.make test/CMakeFiles/carray.dir/depend gmake[2]: Entering directory '/home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build' cd /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/iurt/rpmbuild/BUILD/msgpack-3.3.0 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build/test /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build/test/CMakeFiles/buffer.dir/DependInfo.cmake --color= /usr/bin/gmake -f test/CMakeFiles/cases.dir/build.make test/CMakeFiles/cases.dir/depend gmake[2]: Entering directory '/home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build' cd /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/iurt/rpmbuild/BUILD/msgpack-3.3.0 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build/test /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build/test/CMakeFiles/carray.dir/DependInfo.cmake --color= /usr/bin/gmake -f test/CMakeFiles/convert.dir/build.make test/CMakeFiles/convert.dir/depend gmake[2]: Entering directory '/home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build' cd /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/iurt/rpmbuild/BUILD/msgpack-3.3.0 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build/test /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build/test/CMakeFiles/cases.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build' gmake[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build' gmake[2]: Entering directory '/home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build' cd /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/iurt/rpmbuild/BUILD/msgpack-3.3.0 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build/test /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build/test/CMakeFiles/convert.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build' /usr/bin/gmake -f CMakeFiles/msgpackc.dir/build.make CMakeFiles/msgpackc.dir/build gmake[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build' gmake[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build' /usr/bin/gmake -f test/CMakeFiles/array_ref.dir/build.make test/CMakeFiles/array_ref.dir/build gmake[2]: Entering directory '/home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build' gmake[2]: Entering directory '/home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build' gmake[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build' /usr/bin/gmake -f test/CMakeFiles/buffer.dir/build.make test/CMakeFiles/buffer.dir/build [ 1%] Building C object CMakeFiles/msgpackc.dir/src/objectc.c.o gmake[2]: Entering directory '/home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build' [ 1%] Building CXX object test/CMakeFiles/array_ref.dir/array_ref.cpp.o cd /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build/test && /usr/bin/c++ -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -I/home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include -I/home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build/include -DMSGPACK_DEFAULT_API_VERSION=3 -std=c++98 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DNDEBUG -Wall -Wextra -Wconversion -MD -MT test/CMakeFiles/array_ref.dir/array_ref.cpp.o -MF CMakeFiles/array_ref.dir/array_ref.cpp.o.d -o CMakeFiles/array_ref.dir/array_ref.cpp.o -c /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp /usr/bin/gmake -f test/CMakeFiles/carray.dir/build.make test/CMakeFiles/carray.dir/build /usr/bin/cc -Dmsgpackc_EXPORTS -I/home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include -I/home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build/include -I/home/iurt/rpmbuild/BUILD/msgpack-3.3.0 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DNDEBUG -fPIC -Wall -Wextra -DPIC -MD -MT CMakeFiles/msgpackc.dir/src/objectc.c.o -MF CMakeFiles/msgpackc.dir/src/objectc.c.o.d -o CMakeFiles/msgpackc.dir/src/objectc.c.o -c /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/src/objectc.c [ 2%] Building C object CMakeFiles/msgpackc.dir/src/unpack.c.o [ 3%] Building CXX object test/CMakeFiles/buffer.dir/buffer.cpp.o gmake[2]: Entering directory '/home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build' cd /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build/test && /usr/bin/c++ -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -I/home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include -I/home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build/include -DMSGPACK_DEFAULT_API_VERSION=3 -std=c++98 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DNDEBUG -Wall -Wextra -Wconversion -MD -MT test/CMakeFiles/buffer.dir/buffer.cpp.o -MF CMakeFiles/buffer.dir/buffer.cpp.o.d -o CMakeFiles/buffer.dir/buffer.cpp.o -c /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp /usr/bin/gmake -f test/CMakeFiles/cases.dir/build.make test/CMakeFiles/cases.dir/build /usr/bin/gmake -f test/CMakeFiles/convert.dir/build.make test/CMakeFiles/convert.dir/build gmake[2]: Entering directory '/home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build' /usr/bin/cc -Dmsgpackc_EXPORTS -I/home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include -I/home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build/include -I/home/iurt/rpmbuild/BUILD/msgpack-3.3.0 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DNDEBUG -fPIC -Wall -Wextra -DPIC -MD -MT CMakeFiles/msgpackc.dir/src/unpack.c.o -MF CMakeFiles/msgpackc.dir/src/unpack.c.o.d -o CMakeFiles/msgpackc.dir/src/unpack.c.o -c /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/src/unpack.c /usr/bin/gmake -f test/CMakeFiles/fixint.dir/build.make test/CMakeFiles/fixint.dir/depend gmake[2]: Entering directory '/home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build' [ 4%] Building CXX object test/CMakeFiles/cases.dir/cases.cpp.o [ 5%] Building CXX object test/CMakeFiles/carray.dir/carray.cpp.o gmake[2]: Entering directory '/home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build' cd /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/iurt/rpmbuild/BUILD/msgpack-3.3.0 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build/test /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build/test/CMakeFiles/fixint.dir/DependInfo.cmake --color= cd /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build/test && /usr/bin/c++ -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -I/home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include -I/home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build/include -DMSGPACK_DEFAULT_API_VERSION=3 -std=c++98 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DNDEBUG -Wall -Wextra -Wconversion -MD -MT test/CMakeFiles/cases.dir/cases.cpp.o -MF CMakeFiles/cases.dir/cases.cpp.o.d -o CMakeFiles/cases.dir/cases.cpp.o -c /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/cases.cpp cd /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build/test && /usr/bin/c++ -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -I/home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include -I/home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build/include -DMSGPACK_DEFAULT_API_VERSION=3 -std=c++98 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DNDEBUG -Wall -Wextra -Wconversion -MD -MT test/CMakeFiles/carray.dir/carray.cpp.o -MF CMakeFiles/carray.dir/carray.cpp.o.d -o CMakeFiles/carray.dir/carray.cpp.o -c /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp [ 6%] Building CXX object test/CMakeFiles/convert.dir/convert.cpp.o gmake[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build' /usr/bin/gmake -f test/CMakeFiles/fixint.dir/build.make test/CMakeFiles/fixint.dir/build gmake[2]: Entering directory '/home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build' cd /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build/test && /usr/bin/c++ -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -I/home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include -I/home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build/include -DMSGPACK_DEFAULT_API_VERSION=3 -std=c++98 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DNDEBUG -Wall -Wextra -Wconversion -MD -MT test/CMakeFiles/convert.dir/convert.cpp.o -MF CMakeFiles/convert.dir/convert.cpp.o.d -o CMakeFiles/convert.dir/convert.cpp.o -c /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp [ 7%] Building CXX object test/CMakeFiles/fixint.dir/fixint.cpp.o cd /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build/test && /usr/bin/c++ -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -I/home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include -I/home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build/include -DMSGPACK_DEFAULT_API_VERSION=3 -std=c++98 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DNDEBUG -Wall -Wextra -Wconversion -MD -MT test/CMakeFiles/fixint.dir/fixint.cpp.o -MF CMakeFiles/fixint.dir/fixint.cpp.o.d -o CMakeFiles/fixint.dir/fixint.cpp.o -c /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/fixint.cpp In file included from /usr/include/c++/11/type_traits:35, from /usr/include/gtest/gtest.h:59, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:8: /usr/include/c++/11/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/c++/11/type_traits:35, from /usr/include/gtest/gtest.h:59, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:11: /usr/include/c++/11/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/c++/11/type_traits:35, from /usr/include/gtest/gtest.h:59, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/cases.cpp:9: /usr/include/c++/11/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/c++/11/type_traits:35, from /usr/include/gtest/gtest.h:59, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/fixint.cpp:8: /usr/include/c++/11/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/c++/11/type_traits:35, from /usr/include/gtest/gtest.h:59, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:10: /usr/include/c++/11/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/c++/11/type_traits:35, from /usr/include/gtest/gtest.h:59, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:8: /usr/include/c++/11/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 \ | ^~~~~ [ 8%] Building C object CMakeFiles/msgpackc.dir/src/version.c.o /usr/bin/cc -Dmsgpackc_EXPORTS -I/home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include -I/home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build/include -I/home/iurt/rpmbuild/BUILD/msgpack-3.3.0 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DNDEBUG -fPIC -Wall -Wextra -DPIC -MD -MT CMakeFiles/msgpackc.dir/src/version.c.o -MF CMakeFiles/msgpackc.dir/src/version.c.o.d -o CMakeFiles/msgpackc.dir/src/version.c.o -c /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/src/version.c [ 9%] Building C object CMakeFiles/msgpackc.dir/src/vrefbuffer.c.o /usr/bin/cc -Dmsgpackc_EXPORTS -I/home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include -I/home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build/include -I/home/iurt/rpmbuild/BUILD/msgpack-3.3.0 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DNDEBUG -fPIC -Wall -Wextra -DPIC -MD -MT CMakeFiles/msgpackc.dir/src/vrefbuffer.c.o -MF CMakeFiles/msgpackc.dir/src/vrefbuffer.c.o.d -o CMakeFiles/msgpackc.dir/src/vrefbuffer.c.o -c /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/src/vrefbuffer.c [ 10%] Building C object CMakeFiles/msgpackc.dir/src/zone.c.o /usr/bin/cc -Dmsgpackc_EXPORTS -I/home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include -I/home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build/include -I/home/iurt/rpmbuild/BUILD/msgpack-3.3.0 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DNDEBUG -fPIC -Wall -Wextra -DPIC -MD -MT CMakeFiles/msgpackc.dir/src/zone.c.o -MF CMakeFiles/msgpackc.dir/src/zone.c.o.d -o CMakeFiles/msgpackc.dir/src/zone.c.o -c /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/src/zone.c /usr/bin/gmake -f test/CMakeFiles/inc_adaptor_define.dir/build.make test/CMakeFiles/inc_adaptor_define.dir/depend gmake[2]: Entering directory '/home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build' cd /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/iurt/rpmbuild/BUILD/msgpack-3.3.0 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build/test /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build/test/CMakeFiles/inc_adaptor_define.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build' /usr/bin/gmake -f test/CMakeFiles/inc_adaptor_define.dir/build.make test/CMakeFiles/inc_adaptor_define.dir/build gmake[2]: Entering directory '/home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build' [ 11%] Building CXX object test/CMakeFiles/inc_adaptor_define.dir/inc_adaptor_define.cpp.o cd /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build/test && /usr/bin/c++ -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -I/home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include -I/home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build/include -DMSGPACK_DEFAULT_API_VERSION=3 -std=c++98 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DNDEBUG -Wall -Wextra -Wconversion -MD -MT test/CMakeFiles/inc_adaptor_define.dir/inc_adaptor_define.cpp.o -MF CMakeFiles/inc_adaptor_define.dir/inc_adaptor_define.cpp.o.d -o CMakeFiles/inc_adaptor_define.dir/inc_adaptor_define.cpp.o -c /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/inc_adaptor_define.cpp [ 12%] Linking C shared library libmsgpackc.so /usr/bin/cmake -E cmake_link_script CMakeFiles/msgpackc.dir/link.txt --verbose=1 /usr/bin/cc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DNDEBUG -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -shared -Wl,-soname,libmsgpackc.so.2 -o libmsgpackc.so.2.0.0 CMakeFiles/msgpackc.dir/src/objectc.c.o CMakeFiles/msgpackc.dir/src/unpack.c.o CMakeFiles/msgpackc.dir/src/version.c.o CMakeFiles/msgpackc.dir/src/vrefbuffer.c.o CMakeFiles/msgpackc.dir/src/zone.c.o /usr/bin/cmake -E cmake_symlink_library libmsgpackc.so.2.0.0 libmsgpackc.so.2 libmsgpackc.so gmake[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build' [ 12%] Built target msgpackc /usr/bin/gmake -f test/CMakeFiles/json.dir/build.make test/CMakeFiles/json.dir/depend gmake[2]: Entering directory '/home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build' cd /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/iurt/rpmbuild/BUILD/msgpack-3.3.0 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build/test /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build/test/CMakeFiles/json.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build' /usr/bin/gmake -f test/CMakeFiles/json.dir/build.make test/CMakeFiles/json.dir/build gmake[2]: Entering directory '/home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build' [ 13%] Building CXX object test/CMakeFiles/json.dir/json.cpp.o cd /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build/test && /usr/bin/c++ -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -I/home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include -I/home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build/include -DMSGPACK_DEFAULT_API_VERSION=3 -std=c++98 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DNDEBUG -Wall -Wextra -Wconversion -MD -MT test/CMakeFiles/json.dir/json.cpp.o -MF CMakeFiles/json.dir/json.cpp.o.d -o CMakeFiles/json.dir/json.cpp.o -c /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp In file included from /usr/include/c++/11/type_traits:35, from /usr/include/gtest/gtest.h:59, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:10: /usr/include/c++/11/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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:11: /usr/include/gtest/internal/gtest-port.h:835:12: error: 'get' has not been declared in 'std' 835 | using std::get; | ^~~ /usr/include/gtest/internal/gtest-port.h:836:12: error: 'make_tuple' has not been declared in 'std' 836 | using std::make_tuple; | ^~~~~~~~~~ /usr/include/gtest/internal/gtest-port.h:837:12: error: 'tuple' has not been declared in 'std' 837 | using std::tuple; | ^~~~~ /usr/include/gtest/internal/gtest-port.h:838:12: error: 'tuple_element' has not been declared in 'std' 838 | using std::tuple_element; | ^~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-port.h:839:12: error: 'tuple_size' has not been declared in 'std' 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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:11: /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:40, from /usr/include/gtest/gtest.h:62, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/fixint.cpp:8: /usr/include/gtest/internal/gtest-port.h:835:12: error: 'get' has not been declared in 'std' 835 | using std::get; | ^~~ /usr/include/gtest/internal/gtest-port.h:836:12: error: 'make_tuple' has not been declared in 'std' 836 | using std::make_tuple; | ^~~~~~~~~~ /usr/include/gtest/internal/gtest-port.h:837:12: error: 'tuple' has not been declared in 'std' 837 | using std::tuple; | ^~~~~ /usr/include/gtest/internal/gtest-port.h:838:12: error: 'tuple_element' has not been declared in 'std' 838 | using std::tuple_element; | ^~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-port.h:839:12: error: 'tuple_size' has not been declared in 'std' 839 | using std::tuple_size; | ^~~~~~~~~~ In file included from /usr/include/gtest/internal/gtest-internal.h:67, from /usr/include/gtest/gtest.h:62, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:11: /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); | ^~~~~~~ /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; | ^~~~~~~ In file included from /usr/include/gtest/gtest.h:62, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:11: /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:27: note: 'std::enable_if' is only available from C++11 onwards /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-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-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-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-internal.h:509:10: error: 'SetUpTearDownSuiteFuncType' does not name a type 509 | static SetUpTearDownSuiteFuncType GetSetUpCaseOrSuite(const char* filename, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/fixint.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/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/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/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/gtest-message.h:148:8: error: 'ss_' was not declared in this scope 148 | *ss_ << "(null)"; | ^~~ /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/gtest-message.h:150:8: error: 'ss_' was not declared in this scope 150 | *ss_ << pointer; | ^~~ /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/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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/fixint.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); | ^~~~~~~ /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)) {} | ~ ^~ | ) In file included from /usr/include/gtest/internal/gtest-internal.h:40, from /usr/include/gtest/gtest.h:62, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:8: /usr/include/gtest/internal/gtest-port.h:835:12: error: 'get' has not been declared in 'std' 835 | using std::get; | ^~~ /usr/include/gtest/internal/gtest-port.h:836:12: error: 'make_tuple' has not been declared in 'std' 836 | using std::make_tuple; | ^~~~~~~~~~ /usr/include/gtest/internal/gtest-port.h:837:12: error: 'tuple' has not been declared in 'std' 837 | using std::tuple; | ^~~~~ /usr/include/gtest/internal/gtest-port.h:838:12: error: 'tuple_element' has not been declared in 'std' 838 | using std::tuple_element; | ^~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-port.h:839:12: error: 'tuple_size' has not been declared in 'std' 839 | using std::tuple_size; | ^~~~~~~~~~ In file included from /usr/include/gtest/internal/gtest-internal.h:40, from /usr/include/gtest/gtest.h:62, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/cases.cpp:9: /usr/include/gtest/internal/gtest-port.h:835:12: error: 'get' has not been declared in 'std' 835 | using std::get; | ^~~ /usr/include/gtest/internal/gtest-port.h:836:12: error: 'make_tuple' has not been declared in 'std' 836 | using std::make_tuple; | ^~~~~~~~~~ /usr/include/gtest/internal/gtest-port.h:837:12: error: 'tuple' has not been declared in 'std' 837 | using std::tuple; | ^~~~~ /usr/include/gtest/internal/gtest-port.h:838:12: error: 'tuple_element' has not been declared in 'std' 838 | using std::tuple_element; | ^~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-port.h:839:12: error: 'tuple_size' has not been declared in 'std' 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 '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-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; | ^~~~~~~ In file included from /usr/include/gtest/gtest.h:62, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/fixint.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:27: note: 'std::enable_if' is only available from C++11 onwards /usr/include/gtest/internal/gtest-internal.h:121:36: error: expected '>' before '<' token 121 | typename std::enable_if::value, | ^ /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: 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-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-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-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-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 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-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-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-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-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::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-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-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-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' /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 = | ^~~~ 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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:11: /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++/11/tr1/unordered_map:39, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/tr1/unordered_map.hpp:29, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/type.hpp:30, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:22, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:1: /usr/include/c++/11/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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:11: /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/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/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/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/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 'iswprint'? 508 | : !std::is_pointer::value | ^~~~~~~~~~ | iswprint /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 'unary_function'? 510 | : std::is_function::type>::value | ^~~~~~~~~~~ | unary_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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_fwd_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_fwd.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/adaptor/adaptor_base_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/adaptor_base_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/adaptor_base.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/object_decl.hpp:16, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:10, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:1: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/object_fwd_decl.hpp:27:11: note: 'msgpack::v1::type' 27 | namespace type { | ^~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_fwd_decl.hpp:15, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_fwd.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/adaptor/adaptor_base_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/adaptor_base_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/adaptor_base.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/object_decl.hpp:16, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:10, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:1: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v2/object_fwd_decl.hpp:22:11: note: 'msgpack::v2::type' 22 | namespace type { | ^~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_fwd_decl.hpp:16, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_fwd.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/adaptor/adaptor_base_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/adaptor_base_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/adaptor_base.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/object_decl.hpp:16, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:10, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:1: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:11: /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/unpack_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v2/parse.hpp:20, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/parse.hpp:15, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:15, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:1: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/unpack_decl.hpp:185:8: note: 'msgpack::v1::detail::value' 185 | struct value; | ^~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/unpack_decl.hpp:185:8: note: 'msgpack::v1::detail::value' /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:11: /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:13: 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' 613 | inline void PrintTo(std::nullptr_t, ::std::ostream* os) { *os << "(nullptr)"; } | ^~~~~~~~~ /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/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/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:6: 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' 616 | void PrintTo(std::reference_wrapper ref, ::std::ostream* os) { | ^~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest-printers.h:616:19: note: 'std::reference_wrapper' is only available from C++11 onwards /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/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/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/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-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/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, | ^ In file included from /usr/include/gtest/internal/gtest-internal.h:40, from /usr/include/gtest/gtest.h:62, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:8: /usr/include/gtest/internal/gtest-port.h:835:12: error: 'get' has not been declared in 'std' 835 | using std::get; | ^~~ /usr/include/gtest/internal/gtest-port.h:836:12: error: 'make_tuple' has not been declared in 'std' 836 | using std::make_tuple; | ^~~~~~~~~~ /usr/include/gtest/internal/gtest-port.h:837:12: error: 'tuple' has not been declared in 'std' 837 | using std::tuple; | ^~~~~ /usr/include/gtest/internal/gtest-port.h:838:12: error: 'tuple_element' has not been declared in 'std' 838 | using std::tuple_element; | ^~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-port.h:839:12: error: 'tuple_size' has not been declared in 'std' 839 | using std::tuple_size; | ^~~~~~~~~~ /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++/11/tr1/unordered_map:39, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/tr1/unordered_map.hpp:29, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/type.hpp:30, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:22, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:1: /usr/include/c++/11/tr1/type_traits:71:12: note: 'std::tr1::integral_constant' 71 | struct integral_constant | ^~~~~~~~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/pack_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:10, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:1: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' 59 | struct integral_constant; | ^~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:11: /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/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/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/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 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/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/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/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++/11/tr1/unordered_map:39, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/tr1/unordered_map.hpp:29, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/type.hpp:30, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:22, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:1: /usr/include/c++/11/tr1/type_traits:71:12: note: 'std::tr1::integral_constant' 71 | struct integral_constant | ^~~~~~~~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/pack_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:10, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:1: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' 59 | struct integral_constant; | ^~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:11: /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/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/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/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-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/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/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/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++/11/tr1/unordered_map:39, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/tr1/unordered_map.hpp:29, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/type.hpp:30, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:22, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:1: /usr/include/c++/11/tr1/type_traits:71:12: note: 'std::tr1::integral_constant' 71 | struct integral_constant | ^~~~~~~~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/pack_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:10, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:1: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' 59 | struct integral_constant; | ^~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:11: /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/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-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: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/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++/11/tr1/unordered_map:39, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/tr1/unordered_map.hpp:29, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/type.hpp:30, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:22, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:1: /usr/include/c++/11/tr1/type_traits:71:12: note: 'std::tr1::integral_constant' 71 | struct integral_constant | ^~~~~~~~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/pack_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:10, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:1: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' 59 | struct integral_constant; | ^~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:11: /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/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/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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/unpack_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v2/parse.hpp:20, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/parse.hpp:15, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:15, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:1: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/unpack_decl.hpp:185:8: note: 'msgpack::v1::detail::value' 185 | struct value; | ^~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/unpack_decl.hpp:185:8: note: 'msgpack::v1::detail::value' /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:11: /usr/include/gtest/gtest-printers.h:897:76: error: expected primary-expression before ')' token 897 | value, std::integral_constant::value>(), | ^ /usr/include/gtest/internal/gtest-port.h:2070:1: error: expected unqualified-id before '[' token 2070 | [[noreturn]] inline void Abort() { abort(); } | ^ /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_( | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtest/internal/gtest-internal.h:64, from /usr/include/gtest/gtest.h:62, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.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/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); | ^~~~~~~ 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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:11: /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/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/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-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/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-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/gtest-message.h:107:6: error: 'ss_' was not declared in this scope 107 | *ss_ << str; | ^~~ /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-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-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/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-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-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:21: note: 'std::enable_if' is only available from C++11 onwards /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:3: 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/internal/gtest-port.h:2070:1: error: expected unqualified-id before '[' token 2070 | [[noreturn]] inline void Abort() { abort(); } | ^ /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-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/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-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); | ^~~~~ In file included from /usr/include/gtest/internal/gtest-internal.h:64, from /usr/include/gtest/gtest.h:62, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/cases.cpp:9: /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:148:8: error: 'ss_' was not declared in this scope 148 | *ss_ << "(null)"; | ^~~ /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-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:150:8: error: 'ss_' was not declared in this scope 150 | *ss_ << pointer; | ^~~ /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/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/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; | ^~~ /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-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/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:21: note: 'std::enable_if' is only available from C++11 onwards /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/internal/gtest-internal.h:1114:9: error: expected nested-name-specifier before 'type' 1114 | using type = IndexSequence; | ^~~~ /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:301:12: note: candidate: 'template testing::internal::MatcherBase::MatcherBase(const testing::MatcherInterface*, int) [with U = U; T = const std::__cxx11::basic_string&]' 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: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: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/internal/gtest-internal.h:1135:9: error: expected nested-name-specifier before 'type' 1135 | using type = T; | ^~~~ /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/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/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:301:12: note: candidate: 'template testing::internal::MatcherBase::MatcherBase(const testing::MatcherInterface*, int) [with U = U; T = std::__cxx11::basic_string]' 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: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: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: 'std::reference_wrapper' has not been declared 541 | static const T& Unwrap(std::reference_wrapper v) { return v; } | ^~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:541:48: error: expected ',' or '...' before '<' token 541 | static const T& Unwrap(std::reference_wrapper v) { return v; } | ^ /usr/include/gtest/gtest-message.h:107:6: error: 'ss_' was not declared in this scope 107 | *ss_ << str; | ^~~ In file included from /usr/include/gtest/internal/gtest-internal.h:67, from /usr/include/gtest/gtest.h:62, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.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); | ^~~~~~~ /usr/include/gtest/gtest-matchers.h: In static member function 'static const T& testing::internal::ComparisonBase::Unwrap(int)': /usr/include/gtest/gtest-matchers.h:541:64: 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: At global scope: /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/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/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/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/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-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-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/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-port.h:1792:37: error: 'default_factory_' was not declared in this scope 1792 | ValueHolder* const new_holder = default_factory_->MakeNewHolder(); | ^~~~~~~~~~~~~~~~ /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 /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/gtest.h:62, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.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:27: note: 'std::enable_if' is only available from C++11 onwards /usr/include/gtest/internal/gtest-internal.h:121:36: error: expected '>' before '<' token 121 | typename std::enable_if::value, | ^ In file included from /usr/include/gtest/gtest-param-test.h:181, from /usr/include/gtest/gtest.h:67, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:11: /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-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 (*)(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtest/internal/gtest-internal.h:64, from /usr/include/gtest/gtest.h:62, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.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/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-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/gtest-message.h:148:8: error: 'ss_' was not declared in this scope 148 | *ss_ << "(null)"; | ^~~ /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/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/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/gtest-message.h:150:8: error: 'ss_' was not declared in this scope 150 | *ss_ << pointer; | ^~~ /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-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/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; | ^~~ /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/gtest-message.h:107:6: error: 'ss_' was not declared in this scope 107 | *ss_ << str; | ^~~ /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-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-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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/fixint.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/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/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++/11/tr1/unordered_map:39, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/tr1/unordered_map.hpp:29, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/type.hpp:30, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:22, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/fixint.cpp:1: /usr/include/c++/11/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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/fixint.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/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/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; | ^~~ In file included from /usr/include/gtest/internal/gtest-internal.h:67, from /usr/include/gtest/gtest.h:62, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/cases.cpp:9: /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); | ^~~~~~~ /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/internal/gtest-internal.h:509:10: error: 'SetUpTearDownSuiteFuncType' does not name a type 509 | static SetUpTearDownSuiteFuncType GetSetUpCaseOrSuite(const char* filename, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /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/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/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 'iswprint'? 508 | : !std::is_pointer::value | ^~~~~~~~~~ | iswprint /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 'unary_function'? 510 | : std::is_function::type>::value | ^~~~~~~~~~~ | unary_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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_fwd_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_fwd.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/adaptor/adaptor_base_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/adaptor_base_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/adaptor_base.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/object_decl.hpp:16, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:10, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/fixint.cpp:1: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/object_fwd_decl.hpp:27:11: note: 'msgpack::v1::type' 27 | namespace type { | ^~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_fwd_decl.hpp:15, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_fwd.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/adaptor/adaptor_base_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/adaptor_base_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/adaptor_base.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/object_decl.hpp:16, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:10, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/fixint.cpp:1: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v2/object_fwd_decl.hpp:22:11: note: 'msgpack::v2::type' 22 | namespace type { | ^~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_fwd_decl.hpp:16, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_fwd.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/adaptor/adaptor_base_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/adaptor_base_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/adaptor_base.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/object_decl.hpp:16, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:10, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/fixint.cpp:1: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v3/object_fwd_decl.hpp:22:11: note: 'msgpack::v3::type' 22 | namespace type { | ^~~~ /usr/include/gtest/gtest-message.h:148:8: error: 'ss_' was not declared in this scope 148 | *ss_ << "(null)"; | ^~~ 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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/fixint.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/unpack_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v2/parse.hpp:20, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/parse.hpp:15, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:15, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/fixint.cpp:1: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/unpack_decl.hpp:185:8: note: 'msgpack::v1::detail::value' 185 | struct value; | ^~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/unpack_decl.hpp:185:8: note: 'msgpack::v1::detail::value' /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/fixint.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:13: error: variable or field 'PrintTo' declared void 613 | inline void PrintTo(std::nullptr_t, ::std::ostream* os) { *os << "(nullptr)"; } | ^~~~~~~ /usr/include/gtest/gtest-message.h:150:8: error: 'ss_' was not declared in this scope 150 | *ss_ << pointer; | ^~~ /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-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); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtest/gtest.h:62, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/cases.cpp:9: /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:27: note: 'std::enable_if' is only available from C++11 onwards /usr/include/gtest/internal/gtest-internal.h:121:36: error: expected '>' before '<' token 121 | typename std::enable_if::value, | ^ /usr/include/gtest/gtest-printers.h:613:26: error: 'nullptr_t' is not a member of 'std' 613 | inline void PrintTo(std::nullptr_t, ::std::ostream* os) { *os << "(nullptr)"; } | ^~~~~~~~~ /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/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-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/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:6: 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' 616 | void PrintTo(std::reference_wrapper ref, ::std::ostream* os) { | ^~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest-printers.h:616:19: note: 'std::reference_wrapper' is only available from C++11 onwards /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/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/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-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; | ^~~ [ 14%] Linking CXX executable inc_adaptor_define cd /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build/test && /usr/bin/cmake -E cmake_link_script CMakeFiles/inc_adaptor_define.dir/link.txt --verbose=1 /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/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++/11/tr1/unordered_map:39, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/tr1/unordered_map.hpp:29, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/type.hpp:30, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:22, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/fixint.cpp:1: /usr/include/c++/11/tr1/type_traits:71:12: note: 'std::tr1::integral_constant' 71 | struct integral_constant | ^~~~~~~~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/pack_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:10, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/fixint.cpp:1: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' 59 | struct integral_constant; | ^~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/fixint.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/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/bin/c++ -DMSGPACK_DEFAULT_API_VERSION=3 -std=c++98 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DNDEBUG -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -rdynamic CMakeFiles/inc_adaptor_define.dir/inc_adaptor_define.cpp.o -o inc_adaptor_define /usr/lib64/libgtest_main.so.0.0.0 -lz /usr/lib64/libgtest.so.0.0.0 /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) { | ^ In file included from /usr/include/gtest/internal/gtest-internal.h:67, from /usr/include/gtest/gtest.h:62, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.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); | ^~~~~~~ /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/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 In file included from /usr/include/gtest/internal/gtest-internal.h:40, from /usr/include/gtest/gtest.h:62, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:10: /usr/include/gtest/internal/gtest-port.h:835:12: error: 'get' has not been declared in 'std' 835 | using std::get; | ^~~ /usr/include/gtest/internal/gtest-port.h:836:12: error: 'make_tuple' has not been declared in 'std' 836 | using std::make_tuple; | ^~~~~~~~~~ /usr/include/gtest/internal/gtest-port.h:837:12: error: 'tuple' has not been declared in 'std' 837 | using std::tuple; | ^~~~~ /usr/include/gtest/internal/gtest-port.h:838:12: error: 'tuple_element' has not been declared in 'std' 838 | using std::tuple_element; | ^~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-port.h:839:12: error: 'tuple_size' has not been declared in 'std' 839 | using std::tuple_size; | ^~~~~~~~~~ /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++/11/tr1/unordered_map:39, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/tr1/unordered_map.hpp:29, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/type.hpp:30, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:22, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/fixint.cpp:1: /usr/include/c++/11/tr1/type_traits:71:12: note: 'std::tr1::integral_constant' 71 | struct integral_constant | ^~~~~~~~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/pack_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:10, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/fixint.cpp:1: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' 59 | struct integral_constant; | ^~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/fixint.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/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-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-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: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-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/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/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:38: error: 'ParamType' has not been declared 436 | TestFactoryBase* CreateTestFactory(ParamType parameter) override { | ^~~~~~~~~ /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-param-util.h:488:9: error: expected nested-name-specifier before 'ParamType' 488 | using ParamType = typename TestSuite::ParamType; | ^~~~~~~~~ /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/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/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/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/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/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++/11/tr1/unordered_map:39, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/tr1/unordered_map.hpp:29, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/type.hpp:30, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:22, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/fixint.cpp:1: /usr/include/c++/11/tr1/type_traits:71:12: note: 'std::tr1::integral_constant' 71 | struct integral_constant | ^~~~~~~~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/pack_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:10, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/fixint.cpp:1: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' 59 | struct integral_constant; | ^~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/fixint.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/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-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-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-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-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/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++/11/tr1/unordered_map:39, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/tr1/unordered_map.hpp:29, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/type.hpp:30, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:22, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/fixint.cpp:1: /usr/include/c++/11/tr1/type_traits:71:12: note: 'std::tr1::integral_constant' 71 | struct integral_constant | ^~~~~~~~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/pack_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:10, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/fixint.cpp:1: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' 59 | struct integral_constant; | ^~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/fixint.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/unpack_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v2/parse.hpp:20, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/parse.hpp:15, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:15, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/fixint.cpp:1: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/unpack_decl.hpp:185:8: note: 'msgpack::v1::detail::value' 185 | struct value; | ^~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/unpack_decl.hpp:185:8: note: 'msgpack::v1::detail::value' /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/fixint.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/gtest.h:62, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.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:27: note: 'std::enable_if' is only available from C++11 onwards /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: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:492:7: error: expected nested-name-specifier before 'SetUpTearDownSuiteFuncType' 492 | using SetUpTearDownSuiteFuncType = void (*)(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /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-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) { | ^ gmake[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build' /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-internal.h:509:10: error: 'SetUpTearDownSuiteFuncType' does not name a type 509 | static SetUpTearDownSuiteFuncType GetSetUpCaseOrSuite(const char* filename, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/fixint.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/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-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 { | ^ [ 14%] Built target inc_adaptor_define /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/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-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/bin/gmake -f test/CMakeFiles/limit.dir/build.make test/CMakeFiles/limit.dir/depend gmake[2]: Entering directory '/home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build' cd /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/iurt/rpmbuild/BUILD/msgpack-3.3.0 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build/test /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build/test/CMakeFiles/limit.dir/DependInfo.cmake --color= /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-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/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/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/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:21: note: 'std::enable_if' is only available from C++11 onwards /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:3: 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/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-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-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: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/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/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-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' /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_( | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.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++/11/tr1/unordered_map:39, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/tr1/unordered_map.hpp:29, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/type.hpp:30, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:22, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:1: /usr/include/c++/11/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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.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/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/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); } | ^~~~~ gmake[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build' /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-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/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/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/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/bin/gmake -f test/CMakeFiles/limit.dir/build.make test/CMakeFiles/limit.dir/build /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-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/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/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/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 'iswprint'? 508 | : !std::is_pointer::value | ^~~~~~~~~~ | iswprint /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 'unary_function'? 510 | : std::is_function::type>::value | ^~~~~~~~~~~ | unary_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 | ^ gmake[2]: Entering directory '/home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build' /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_fwd_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_fwd.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/adaptor/adaptor_base_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/adaptor_base_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/adaptor_base.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/object_decl.hpp:16, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:10, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:1: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/object_fwd_decl.hpp:27:11: note: 'msgpack::v1::type' 27 | namespace type { | ^~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_fwd_decl.hpp:15, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_fwd.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/adaptor/adaptor_base_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/adaptor_base_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/adaptor_base.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/object_decl.hpp:16, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:10, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:1: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v2/object_fwd_decl.hpp:22:11: note: 'msgpack::v2::type' 22 | namespace type { | ^~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_fwd_decl.hpp:16, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_fwd.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/adaptor/adaptor_base_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/adaptor_base_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/adaptor_base.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/object_decl.hpp:16, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:10, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:1: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/unpack_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v2/parse.hpp:20, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/parse.hpp:15, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:15, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:1: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/unpack_decl.hpp:185:8: note: 'msgpack::v1::detail::value' 185 | struct value; | ^~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/unpack_decl.hpp:185:8: note: 'msgpack::v1::detail::value' /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:8: /usr/include/gtest/gtest-printers.h:512:42: error: expected primary-expression before ')' token 512 | : kPrintPointer > (), | ^ /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:21: note: 'std::enable_if' is only available from C++11 onwards /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-printers.h: At global scope: /usr/include/gtest/gtest-printers.h:613:13: error: variable or field 'PrintTo' declared void 613 | inline void PrintTo(std::nullptr_t, ::std::ostream* os) { *os << "(nullptr)"; } | ^~~~~~~ /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:301:12: note: candidate: 'template testing::internal::MatcherBase::MatcherBase(const testing::MatcherInterface*, int) [with U = U; T = const std::__cxx11::basic_string&]' 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: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: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/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/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-printers.h:613:26: error: 'nullptr_t' is not a member of 'std' 613 | inline void PrintTo(std::nullptr_t, ::std::ostream* os) { *os << "(nullptr)"; } | ^~~~~~~~~ /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-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-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:301:12: note: candidate: 'template testing::internal::MatcherBase::MatcherBase(const testing::MatcherInterface*, int) [with U = U; T = std::__cxx11::basic_string]' 301 | explicit MatcherBase( | ^~~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:301:12: note: template argument deduction/substitution failed: /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; did you mean 'Test'? 511 | tests_.push_back(std::shared_ptr( | ^~~~~~ | Test /usr/include/gtest/gtest-matchers.h:377:48: note: candidate expects 2 arguments, 1 provided 377 | : internal::MatcherBase(impl) {} | ^ /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/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/internal/gtest-param-util.h:511:46: error: expected primary-expression before '>' token 511 | tests_.push_back(std::shared_ptr( | ^ /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/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; did you mean 'std::iterator'? 530 | for (typename TestInfoContainer::iterator test_it = tests_.begin(); | ^~~~~~~~ | std::iterator In file included from /usr/include/c++/11/bits/stl_algobase.h:65, from /usr/include/c++/11/memory:63, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/cpp_config_decl.hpp:38, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/pack_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:10, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:1: /usr/include/c++/11/bits/stl_iterator_base_types.h:127:12: note: 'std::iterator' declared here 127 | struct iterator | ^~~~~~~~ In file included from /usr/include/gtest/gtest-param-test.h:181, from /usr/include/gtest/gtest.h:67, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:11: /usr/include/gtest/internal/gtest-param-util.h:530:47: error: expected ';' before 'test_it' 530 | for (typename TestInfoContainer::iterator test_it = tests_.begin(); | ^~~~~~~ /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/gtest-matchers.h: At global scope: /usr/include/gtest/gtest-matchers.h:541:31: error: 'std::reference_wrapper' has not been declared 541 | static const T& Unwrap(std::reference_wrapper v) { return v; } | ^~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:541:48: error: expected ',' or '...' before '<' token 541 | static const T& Unwrap(std::reference_wrapper v) { return v; } | ^ /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/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:6: 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' 616 | void PrintTo(std::reference_wrapper ref, ::std::ostream* os) { | ^~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest-printers.h:616:19: note: 'std::reference_wrapper' is only available from C++11 onwards /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/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)) {} | ^~~~~~~~~~~~~~~~ [ 15%] Building CXX object test/CMakeFiles/limit.dir/limit.cpp.o /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/internal/gtest-param-util.h:530:47: error: 'test_it' was not declared in this scope /usr/include/gtest/gtest-matchers.h: In static member function 'static const T& testing::internal::ComparisonBase::Unwrap(int)': /usr/include/gtest/gtest-matchers.h:541:64: 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: At global scope: /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/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. | ^~~~~~~ cd /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build/test && /usr/bin/c++ -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -I/home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include -I/home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build/include -DMSGPACK_DEFAULT_API_VERSION=3 -std=c++98 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DNDEBUG -Wall -Wextra -Wconversion -MD -MT test/CMakeFiles/limit.dir/limit.cpp.o -MF CMakeFiles/limit.dir/limit.cpp.o.d -o CMakeFiles/limit.dir/limit.cpp.o -c /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp /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/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/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-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/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++/11/tr1/unordered_map:39, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/tr1/unordered_map.hpp:29, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/type.hpp:30, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:22, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:1: /usr/include/c++/11/tr1/type_traits:71:12: note: 'std::tr1::integral_constant' 71 | struct integral_constant | ^~~~~~~~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/pack_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:10, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:1: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' 59 | struct integral_constant; | ^~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.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/internal/gtest-param-util.h:530:57: error: 'tests_' was not declared in this scope; did you mean 'Test'? 530 | for (typename TestInfoContainer::iterator test_it = tests_.begin(); | ^~~~~~ | Test /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:530:9: note: to match this '(' 530 | for (typename TestInfoContainer::iterator test_it = tests_.begin(); | ^ /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-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/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/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/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/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-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++/11/tr1/unordered_map:39, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/tr1/unordered_map.hpp:29, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/type.hpp:30, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:22, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:1: /usr/include/c++/11/tr1/type_traits:71:12: note: 'std::tr1::integral_constant' 71 | struct integral_constant | ^~~~~~~~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/pack_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:10, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:1: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' 59 | struct integral_constant; | ^~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.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/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-param-util.h:531:21: error: 'tests_' was not declared in this scope; did you mean 'Test'? 531 | test_it != tests_.end(); ++test_it) { | ^~~~~~ | Test /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-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:1135:9: error: expected nested-name-specifier before 'type' 1135 | using type = T; | ^~~~ /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-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-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/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/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/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-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 /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: 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/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) { | ^~~~~~~ In file included from /usr/include/gtest/gtest-param-test.h:181, from /usr/include/gtest/gtest.h:67, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/fixint.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/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/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/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++/11/tr1/unordered_map:39, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/tr1/unordered_map.hpp:29, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/type.hpp:30, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:22, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:1: /usr/include/c++/11/tr1/type_traits:71:12: note: 'std::tr1::integral_constant' 71 | struct integral_constant | ^~~~~~~~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/pack_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:10, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:1: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' 59 | struct integral_constant; | ^~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.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/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-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/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/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/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++/11/tr1/unordered_map:39, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/tr1/unordered_map.hpp:29, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/type.hpp:30, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:22, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:1: /usr/include/c++/11/tr1/type_traits:71:12: note: 'std::tr1::integral_constant' 71 | struct integral_constant | ^~~~~~~~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/pack_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:10, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:1: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' 59 | struct integral_constant; | ^~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/unpack_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v2/parse.hpp:20, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/parse.hpp:15, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:15, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:1: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/unpack_decl.hpp:185:8: note: 'msgpack::v1::detail::value' 185 | struct value; | ^~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/unpack_decl.hpp:185:8: note: 'msgpack::v1::detail::value' /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:8: /usr/include/gtest/gtest-printers.h:897:76: error: expected primary-expression before ')' token 897 | value, std::integral_constant::value>(), | ^ /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: 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-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-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: 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:887:28: error: expected '>' before 'decltype' /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: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-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-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-death-test-internal.h:39, from /usr/include/gtest/gtest-death-test.h:41, from /usr/include/gtest/gtest.h:64, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.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/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' In file included from /usr/include/gtest/internal/gtest-internal.h:64, from /usr/include/gtest/gtest.h:62, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:10: /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/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: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: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/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/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:715:3: error: 'TestSuiteInfoContainer' does not name a type 715 | TestSuiteInfoContainer test_suite_infos_; | ^~~~~~~~~~~~~~~~~~~~~~ /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/cases.cpp:9: /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/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/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< | ^~~~~~~~~~~~~~ /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"); | ^~~~~~~~~~~~~ In file included from /usr/include/c++/11/tr1/unordered_map:39, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/tr1/unordered_map.hpp:29, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/type.hpp:30, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:22, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/cases.cpp:1: /usr/include/c++/11/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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/cases.cpp:9: /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/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-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/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:21: note: 'std::enable_if' is only available from C++11 onwards /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:3: 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-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-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/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::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-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/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-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 'iswprint'? 508 | : !std::is_pointer::value | ^~~~~~~~~~ | iswprint /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 'unary_function'? 510 | : std::is_function::type>::value | ^~~~~~~~~~~ | unary_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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_fwd_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_fwd.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/adaptor/adaptor_base_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/adaptor_base_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/adaptor_base.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/object_decl.hpp:16, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:10, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/cases.cpp:1: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/object_fwd_decl.hpp:27:11: note: 'msgpack::v1::type' 27 | namespace type { | ^~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_fwd_decl.hpp:15, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_fwd.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/adaptor/adaptor_base_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/adaptor_base_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/adaptor_base.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/object_decl.hpp:16, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:10, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/cases.cpp:1: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v2/object_fwd_decl.hpp:22:11: note: 'msgpack::v2::type' 22 | namespace type { | ^~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_fwd_decl.hpp:16, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_fwd.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/adaptor/adaptor_base_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/adaptor_base_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/adaptor_base.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/object_decl.hpp:16, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:10, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/cases.cpp:1: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/cases.cpp:9: /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/unpack_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v2/parse.hpp:20, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/parse.hpp:15, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:15, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/cases.cpp:1: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/unpack_decl.hpp:185:8: note: 'msgpack::v1::detail::value' 185 | struct value; | ^~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/unpack_decl.hpp:185:8: note: 'msgpack::v1::detail::value' /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/unpack_decl.hpp:185:8: note: 'msgpack::v1::detail::value' /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; | ^~~~~~~ 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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/cases.cpp:9: /usr/include/gtest/gtest-printers.h:512:42: error: expected primary-expression before ')' token 512 | : kPrintPointer > (), | ^ /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/gtest-printers.h: At global scope: /usr/include/gtest/gtest-printers.h:613:13: error: variable or field 'PrintTo' declared void 613 | inline void PrintTo(std::nullptr_t, ::std::ostream* os) { *os << "(nullptr)"; } | ^~~~~~~ /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-printers.h:613:26: error: 'nullptr_t' is not a member of 'std' 613 | inline void PrintTo(std::nullptr_t, ::std::ostream* os) { *os << "(nullptr)"; } | ^~~~~~~~~ /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/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/gtest-message.h:107:6: error: 'ss_' was not declared in this scope 107 | *ss_ << str; | ^~~ /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:6: 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' 616 | void PrintTo(std::reference_wrapper ref, ::std::ostream* os) { | ^~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest-printers.h:616:19: note: 'std::reference_wrapper' is only available from C++11 onwards /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/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: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/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/internal/gtest-param-util.h:679:18: error: 'Abort' is not a member of 'testing::internal::posix' 679 | posix::Abort(); | ^~~~~ /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/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/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-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/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/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/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/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++/11/tr1/unordered_map:39, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/tr1/unordered_map.hpp:29, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/type.hpp:30, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:22, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/cases.cpp:1: /usr/include/c++/11/tr1/type_traits:71:12: note: 'std::tr1::integral_constant' 71 | struct integral_constant | ^~~~~~~~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/pack_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:10, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/cases.cpp:1: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' 59 | struct integral_constant; | ^~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/cases.cpp:9: /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-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:21: note: 'std::enable_if' is only available from C++11 onwards /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/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/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:301:12: note: candidate: 'template testing::internal::MatcherBase::MatcherBase(const testing::MatcherInterface*, int) [with U = U; T = const std::__cxx11::basic_string&]' 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: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: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-printers.h:629:60: error: 'os' was not declared in this scope 629 | PrintTupleTo(t, std::integral_constant(), os); | ^~ /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-printers.h:635:34: error: 'tuple_element' in namespace 'std' does not name a template type 635 | UniversalPrinter::type>::Print( | ^~~~~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:301:12: note: candidate: 'template testing::internal::MatcherBase::MatcherBase(const testing::MatcherInterface*, int) [with U = U; T = std::__cxx11::basic_string]' 301 | explicit MatcherBase( | ^~~~~~~~~~~ /usr/include/gtest/gtest-printers.h:635:34: note: 'std::tuple_element' is only available from C++11 onwards /usr/include/gtest/gtest-matchers.h:301:12: note: template argument deduction/substitution failed: /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-matchers.h:377:48: note: candidate expects 2 arguments, 1 provided 377 | : internal::MatcherBase(impl) {} | ^ /usr/include/gtest/gtest-printers.h:635:63: error: template argument 1 is invalid 635 | UniversalPrinter::type>::Print( | ^ /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: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-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-matchers.h: At global scope: /usr/include/gtest/gtest-matchers.h:541:31: error: 'std::reference_wrapper' has not been declared 541 | static const T& Unwrap(std::reference_wrapper v) { return v; } | ^~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:541:48: error: expected ',' or '...' before '<' token 541 | static const T& Unwrap(std::reference_wrapper v) { return v; } | ^ /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-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-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/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/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/gtest-matchers.h: In static member function 'static const T& testing::internal::ComparisonBase::Unwrap(int)': /usr/include/gtest/gtest-matchers.h:541:64: error: 'v' was not declared in this scope 541 | static const T& Unwrap(std::reference_wrapper v) { return v; } | ^ /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/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-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' /usr/include/gtest/gtest-matchers.h: At global scope: /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-printers.h:642:24: error: 'integral_constant' is not a member of 'std' 642 | PrintTupleTo(t, std::integral_constant(), os); | ^~~~~~~~~~~~~~~~~ /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-printers.h:642:24: note: suggested alternatives: In file included from /usr/include/c++/11/tr1/unordered_map:39, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/tr1/unordered_map.hpp:29, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/type.hpp:30, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:22, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/cases.cpp:1: /usr/include/c++/11/tr1/type_traits:71:12: note: 'std::tr1::integral_constant' 71 | struct integral_constant | ^~~~~~~~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/pack_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:10, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/cases.cpp:1: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' 59 | struct integral_constant; | ^~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' /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) {} | ^~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/cases.cpp:9: /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); | ^ 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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.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-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-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++/11/tr1/unordered_map:39, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/tr1/unordered_map.hpp:29, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/type.hpp:30, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:22, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:1: /usr/include/c++/11/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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.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/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/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-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/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: 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/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/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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:11: /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:11: /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:16: 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:16: 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:16: 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 | ^~~~~~~~~ /usr/include/gtest/gtest-message.h:148:8: error: 'ss_' was not declared in this scope 148 | *ss_ << "(null)"; | ^~~ /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-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 'iswprint'? 508 | : !std::is_pointer::value | ^~~~~~~~~~ | iswprint /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 'unary_function'? 510 | : std::is_function::type>::value | ^~~~~~~~~~~ | unary_function /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/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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_fwd_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_fwd.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/adaptor/adaptor_base_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/adaptor_base_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/adaptor_base.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/object_decl.hpp:16, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:10, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:1: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/object_fwd_decl.hpp:27:11: note: 'msgpack::v1::type' 27 | namespace type { | ^~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_fwd_decl.hpp:15, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_fwd.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/adaptor/adaptor_base_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/adaptor_base_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/adaptor_base.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/object_decl.hpp:16, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:10, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:1: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v2/object_fwd_decl.hpp:22:11: note: 'msgpack::v2::type' 22 | namespace type { | ^~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_fwd_decl.hpp:16, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_fwd.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/adaptor/adaptor_base_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/adaptor_base_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/adaptor_base.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/object_decl.hpp:16, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:10, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:1: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/unpack_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v2/parse.hpp:20, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/parse.hpp:15, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:15, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:1: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/unpack_decl.hpp:185:8: note: 'msgpack::v1::detail::value' 185 | struct value; | ^~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/unpack_decl.hpp:185:8: note: 'msgpack::v1::detail::value' /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:8: /usr/include/gtest/gtest-printers.h:512:42: error: expected primary-expression before ')' token 512 | : kPrintPointer > (), | ^ /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: At global scope: /usr/include/gtest/gtest-printers.h:613:13: 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: 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++/11/tr1/unordered_map:39, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/tr1/unordered_map.hpp:29, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/type.hpp:30, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:22, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/cases.cpp:1: /usr/include/c++/11/tr1/type_traits:71:12: note: 'std::tr1::integral_constant' 71 | struct integral_constant | ^~~~~~~~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/pack_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:10, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/cases.cpp:1: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' 59 | struct integral_constant; | ^~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/cases.cpp:9: /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:613:26: error: 'nullptr_t' is not a member of 'std' 613 | inline void PrintTo(std::nullptr_t, ::std::ostream* os) { *os << "(nullptr)"; } | ^~~~~~~~~ /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)"; } | ^ In file included from /usr/include/gtest/gtest.h:70, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:11: /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-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-message.h:150:8: error: 'ss_' was not declared in this scope 150 | *ss_ << pointer; | ^~~ /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/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: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:6: 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' 616 | void PrintTo(std::reference_wrapper ref, ::std::ostream* os) { | ^~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest-printers.h:616:19: note: 'std::reference_wrapper' is only available from C++11 onwards /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:886:28: error: 'get' is not a member of 'std'; did you mean 'set'? 886 | UniversalTersePrint(std::get(t), &ss); | ^~~ | set /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:38: error: 'ParamType' has not been declared 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/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++/11/tr1/unordered_map:39, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/tr1/unordered_map.hpp:29, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/type.hpp:30, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:22, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/cases.cpp:1: /usr/include/c++/11/tr1/type_traits:71:12: note: 'std::tr1::integral_constant' 71 | struct integral_constant | ^~~~~~~~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/pack_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:10, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/cases.cpp:1: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' 59 | struct integral_constant; | ^~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/cases.cpp:9: /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/unpack_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v2/parse.hpp:20, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/parse.hpp:15, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:15, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/cases.cpp:1: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/unpack_decl.hpp:185:8: note: 'msgpack::v1::detail::value' 185 | struct value; | ^~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/unpack_decl.hpp:185:8: note: 'msgpack::v1::detail::value' /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/cases.cpp:9: /usr/include/gtest/gtest-printers.h:897:76: error: expected primary-expression before ')' token 897 | value, std::integral_constant::value>(), | ^ /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(); | ^~~~~~~ /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-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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:11: /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-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.h:295:21: note: 'std::enable_if' is only available from C++11 onwards /usr/include/gtest/gtest.h:295:30: error: expected ',' or '...' before '<' token 295 | typename std::enable_if< | ^ /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.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-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++/11/tr1/unordered_map:39, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/tr1/unordered_map.hpp:29, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/type.hpp:30, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:22, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:1: /usr/include/c++/11/tr1/type_traits:71:12: note: 'std::tr1::integral_constant' 71 | struct integral_constant | ^~~~~~~~~~~~~~~~~ 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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/cases.cpp:9: /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; | ^~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/pack_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:10, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:1: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' 59 | struct integral_constant; | ^~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.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/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/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/gtest-param-test.h:181, from /usr/include/gtest/gtest.h:67, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.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/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.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-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-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/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: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/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++/11/tr1/unordered_map:39, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/tr1/unordered_map.hpp:29, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/type.hpp:30, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:22, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:1: /usr/include/c++/11/tr1/type_traits:71:12: note: 'std::tr1::integral_constant' 71 | struct integral_constant | ^~~~~~~~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/pack_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:10, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:1: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' 59 | struct integral_constant; | ^~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' In file included from /usr/include/gtest/internal/gtest-internal.h:67, from /usr/include/gtest/gtest.h:62, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:10: /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); | ^~~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.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.h:322:30: error: 'nullptr' was not declared in this scope 322 | return message_.get() != nullptr ? message_->c_str() : ""; | ^~~~~~~ /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/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.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-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:21: note: 'std::enable_if' is only available from C++11 onwards /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:3: 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-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/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: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/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-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/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/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.h:345:5: error: 'message_' was not declared in this scope; did you mean 'message'? 345 | message_->append(a_message.GetString().c_str()); | ^~~~~~~~ | message /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++/11/tr1/unordered_map:39, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/tr1/unordered_map.hpp:29, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/type.hpp:30, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:22, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:1: /usr/include/c++/11/tr1/type_traits:71:12: note: 'std::tr1::integral_constant' 71 | struct integral_constant | ^~~~~~~~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/pack_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:10, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:1: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' 59 | struct integral_constant; | ^~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.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-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); } | ^~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:11: /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_; | ^~~~~~~~~~ In file included from /usr/include/c++/11/type_traits:35, from /usr/include/gtest/gtest.h:59, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /usr/include/c++/11/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options. 32 | #error This file requires compiler and library support \ | ^~~~~ /usr/include/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-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/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/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++/11/tr1/unordered_map:39, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/tr1/unordered_map.hpp:29, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/type.hpp:30, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:22, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:1: /usr/include/c++/11/tr1/type_traits:71:12: note: 'std::tr1::integral_constant' 71 | struct integral_constant | ^~~~~~~~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/pack_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:10, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:1: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' 59 | struct integral_constant; | ^~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/unpack_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v2/parse.hpp:20, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/parse.hpp:15, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:15, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:1: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/unpack_decl.hpp:185:8: note: 'msgpack::v1::detail::value' 185 | struct value; | ^~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/unpack_decl.hpp:185:8: note: 'msgpack::v1::detail::value' /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:8: /usr/include/gtest/gtest-printers.h:897:76: error: expected primary-expression before ')' token 897 | value, std::integral_constant::value>(), | ^ /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/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_) {} | ^~~~~ 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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.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/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/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; } | ^~~~~~~ In file included from /usr/include/gtest/gtest.h:62, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:10: /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:27: note: 'std::enable_if' is only available from C++11 onwards /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/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/internal/gtest-internal.h:492:7: error: expected nested-name-specifier before 'SetUpTearDownSuiteFuncType' 492 | using SetUpTearDownSuiteFuncType = void (*)(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /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:21: note: 'std::enable_if' is only available from C++11 onwards /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.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-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.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-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:301:12: note: candidate: 'template testing::internal::MatcherBase::MatcherBase(const testing::MatcherInterface*, int) [with U = U; T = const std::__cxx11::basic_string&]' 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: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: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/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/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 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::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:301:12: note: candidate: 'template testing::internal::MatcherBase::MatcherBase(const testing::MatcherInterface*, int) [with U = U; T = std::__cxx11::basic_string]' 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: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: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: 'std::reference_wrapper' has not been declared 541 | static const T& Unwrap(std::reference_wrapper v) { return v; } | ^~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:541:48: error: expected ',' or '...' before '<' token 541 | static const T& Unwrap(std::reference_wrapper v) { return v; } | ^ /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/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/internal/gtest-param-util.h:639:3: error: 'TestInfoContainer' does not name a type 639 | TestInfoContainer tests_; | ^~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest-matchers.h: In static member function 'static const T& testing::internal::ComparisonBase::Unwrap(int)': /usr/include/gtest/gtest-matchers.h:541:64: 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: 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:21: note: 'std::enable_if' is only available from C++11 onwards /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:3: 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: At global scope: /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/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/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/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; did you mean 'Test'? 511 | tests_.push_back(std::shared_ptr( | ^~~~~~ | Test /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; did you mean 'std::iterator'? 530 | for (typename TestInfoContainer::iterator test_it = tests_.begin(); | ^~~~~~~~ | std::iterator In file included from /usr/include/c++/11/bits/stl_algobase.h:65, from /usr/include/c++/11/memory:63, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/cpp_config_decl.hpp:38, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/pack_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:10, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/fixint.cpp:1: /usr/include/c++/11/bits/stl_iterator_base_types.h:127:12: note: 'std::iterator' declared here 127 | struct iterator | ^~~~~~~~ In file included from /usr/include/gtest/gtest-param-test.h:181, from /usr/include/gtest/gtest.h:67, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/fixint.cpp:8: /usr/include/gtest/internal/gtest-param-util.h:530:47: error: expected ';' before 'test_it' 530 | for (typename TestInfoContainer::iterator test_it = tests_.begin(); | ^~~~~~~ /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 '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.h:716:12: error: 'nullptr' was not declared in this scope 716 | return nullptr; | ^~~~~~~ /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/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/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/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/internal/gtest-param-util.h:530:47: error: 'test_it' was not declared in this scope /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-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/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/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/internal/gtest-param-util.h:530:57: error: 'tests_' was not declared in this scope; did you mean 'Test'? 530 | for (typename TestInfoContainer::iterator test_it = tests_.begin(); | ^~~~~~ | Test /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:530:9: note: to match this '(' 530 | for (typename TestInfoContainer::iterator test_it = tests_.begin(); | ^ /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-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:21: note: 'std::enable_if' is only available from C++11 onwards /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:301:12: note: candidate: 'template testing::internal::MatcherBase::MatcherBase(const testing::MatcherInterface*, int) [with U = U; T = const std::__cxx11::basic_string&]' 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: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: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:301:12: note: candidate: 'template testing::internal::MatcherBase::MatcherBase(const testing::MatcherInterface*, int) [with U = U; T = std::__cxx11::basic_string]' 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: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: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: 'std::reference_wrapper' has not been declared 541 | static const T& Unwrap(std::reference_wrapper v) { return v; } | ^~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:541:48: error: expected ',' or '...' before '<' token 541 | static const T& Unwrap(std::reference_wrapper v) { return v; } | ^ /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 /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:531:10: error: 'test_it' was not declared in this scope 531 | test_it != tests_.end(); ++test_it) { | ^~~~~~~ /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-matchers.h: In static member function 'static const T& testing::internal::ComparisonBase::Unwrap(int)': /usr/include/gtest/gtest-matchers.h:541:64: error: 'v' was not declared in this scope 541 | static const T& Unwrap(std::reference_wrapper v) { return v; } | ^ In file included from /usr/include/gtest/gtest-param-test.h:181, from /usr/include/gtest/gtest.h:67, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/cases.cpp:9: /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/gtest-matchers.h: At global scope: /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/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:38: error: 'ParamType' has not been declared 436 | TestFactoryBase* CreateTestFactory(ParamType parameter) override { | ^~~~~~~~~ /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/internal/gtest-param-util.h:531:21: error: 'tests_' was not declared in this scope; did you mean 'Test'? 531 | test_it != tests_.end(); ++test_it) { | ^~~~~~ | Test /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: 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/gtest.h:1016:13: error: 'TearDownTestSuiteFunc' in namespace 'testing::internal' does not name a type 1016 | internal::TearDownTestSuiteFunc tear_down_tc_; | ^~~~~~~~~~~~~~~~~~~~~ /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: 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/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.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/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/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/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/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-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/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: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: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:518:33: error: 'ParamNameGeneratorFunc' has not been declared 518 | ParamNameGeneratorFunc* name_func, | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h:858:12: error: 'nullptr' was not declared in this scope 858 | return nullptr; | ^~~~~~~ /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 /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: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, | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtest/gtest-param-test.h:181, from /usr/include/gtest/gtest.h:67, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.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/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/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-internal.h:509:10: error: 'SetUpTearDownSuiteFuncType' does not name a type 509 | static SetUpTearDownSuiteFuncType GetSetUpCaseOrSuite(const char* filename, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtest/internal/gtest-internal.h:40, from /usr/include/gtest/gtest.h:62, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:10: /usr/include/gtest/internal/gtest-port.h:835:12: error: 'get' has not been declared in 'std' 835 | using std::get; | ^~~ /usr/include/gtest/internal/gtest-port.h:836:12: error: 'make_tuple' has not been declared in 'std' 836 | using std::make_tuple; | ^~~~~~~~~~ /usr/include/gtest/internal/gtest-port.h:837:12: error: 'tuple' has not been declared in 'std' 837 | using std::tuple; | ^~~~~ /usr/include/gtest/internal/gtest-port.h:838:12: error: 'tuple_element' has not been declared in 'std' 838 | using std::tuple_element; | ^~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-port.h:839:12: error: 'tuple_size' has not been declared in 'std' 839 | using std::tuple_size; | ^~~~~~~~~~ /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/gtest.h:946:23: error: 'nullptr' was not declared in this scope 946 | if (set_up_tc_ != nullptr) { | ^~~~~~~ /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-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-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:715:3: error: 'TestSuiteInfoContainer' does not name a type 715 | TestSuiteInfoContainer test_suite_infos_; | ^~~~~~~~~~~~~~~~~~~~~~ /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-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-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:617:7: error: 'ParamNameGeneratorFunc' does not name a type; did you mean 'ParamGenerator'? 617 | ParamNameGeneratorFunc* name_func; | ^~~~~~~~~~~~~~~~~~~~~~ | ParamGenerator /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-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::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 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/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/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-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::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/gtest.h:954:26: error: 'nullptr' was not declared in this scope 954 | if (tear_down_tc_ != nullptr) { | ^~~~~~~ /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: 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:639:3: error: 'TestInfoContainer' does not name a type 639 | TestInfoContainer tests_; | ^~~~~~~~~~~~~~~~~ /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-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-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/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/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; did you mean 'Test'? 511 | tests_.push_back(std::shared_ptr( | ^~~~~~ | Test /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: 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: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; did you mean 'std::iterator'? 530 | for (typename TestInfoContainer::iterator test_it = tests_.begin(); | ^~~~~~~~ | std::iterator In file included from /usr/include/c++/11/bits/stl_algobase.h:65, from /usr/include/c++/11/memory:63, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/cpp_config_decl.hpp:38, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/pack_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:10, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:1: /usr/include/c++/11/bits/stl_iterator_base_types.h:127:12: note: 'std::iterator' declared here 127 | struct iterator | ^~~~~~~~ In file included from /usr/include/gtest/gtest-param-test.h:181, from /usr/include/gtest/gtest.h:67, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:8: /usr/include/gtest/internal/gtest-param-util.h:530:47: error: expected ';' before 'test_it' 530 | for (typename TestInfoContainer::iterator test_it = tests_.begin(); | ^~~~~~~ /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/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: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: 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: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: 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:679:18: error: 'Abort' is not a member of 'testing::internal::posix' 679 | posix::Abort(); | ^~~~~ /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/gtest.h:1119:36: error: 'TestCase' does not name a type 1119 | virtual void OnTestCaseEnd(const TestCase& /*test_case*/) {} | ^~~~~~~~ /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:530:47: error: 'test_it' was not declared in this scope /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/gtest.h:1151:30: error: 'TestCase' does not name a type 1151 | void OnTestCaseStart(const TestCase& /*test_case*/) override {} | ^~~~~~~~ /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/gtest.h:1159:28: error: 'TestCase' does not name a type 1159 | void OnTestCaseEnd(const TestCase& /*test_case*/) override {} | ^~~~~~~~ /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-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:530:57: error: 'tests_' was not declared in this scope; did you mean 'Test'? 530 | for (typename TestInfoContainer::iterator test_it = tests_.begin(); | ^~~~~~ | Test /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:530:9: note: to match this '(' 530 | for (typename TestInfoContainer::iterator test_it = tests_.begin(); | ^ /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/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/gtest.h:1366:9: error: 'TestCase' does not name a type 1366 | const TestCase* GetTestCase(int i) const; | ^~~~~~~~ /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-param-util.h:333:14: error: 'value_' was not declared in this scope 333 | return value_.get(); | ^~~~~~ /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:21: note: 'std::enable_if' is only available from C++11 onwards /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/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: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:436:38: error: 'ParamType' has not been declared 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:531:10: error: 'test_it' was not declared in this scope 531 | test_it != tests_.end(); ++test_it) { | ^~~~~~~ /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-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-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/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), | ^~~~~~~ /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-param-util.h:531:21: error: 'tests_' was not declared in this scope; did you mean 'Test'? 531 | test_it != tests_.end(); ++test_it) { | ^~~~~~ | Test /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-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-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-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-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: 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 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 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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/fixint.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/fixint.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:16: 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:16: 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:16: 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 | ^~~~~~~~~ /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) { | ^~~~~~~ In file included from /usr/include/gtest/internal/gtest-internal.h:40, from /usr/include/gtest/gtest.h:62, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:11: /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) | ^~~~~~~~~~~~ /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-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: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, | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtest/gtest.h:70, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/fixint.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), | ^~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:11: /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/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-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: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/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/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/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(); | ^~~~~~~ /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:11: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp: At global scope: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:21:1: error: expected constructor, destructor, or type conversion before '(' token 21 | TEST(MSGPACK_ARRAY_REF, pack_unpack_convert_vector_char) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:21:1: error: expected constructor, destructor, or type conversion before '(' token 21 | TEST(MSGPACK_ARRAY_REF, pack_unpack_convert_vector_char) | ^~~~ /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&) {} | ^ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/fixint.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:21: note: 'std::enable_if' is only available from C++11 onwards /usr/include/gtest/gtest.h:295:30: error: expected ',' or '...' before '<' token 295 | typename std::enable_if< | ^ /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:38: error: 'ParamType' has not been declared 436 | TestFactoryBase* CreateTestFactory(ParamType parameter) override { | ^~~~~~~~~ /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/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-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; | ^~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:21:1: error: 'nullptr' was not declared in this scope 21 | TEST(MSGPACK_ARRAY_REF, pack_unpack_convert_vector_char) | ^~~~ /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/internal/gtest-port.h:2070:1: error: expected unqualified-id before '[' token 2070 | [[noreturn]] inline void Abort() { abort(); } | ^ /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-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. | ^~~~~~~ In file included from /usr/include/gtest/internal/gtest-internal.h:64, from /usr/include/gtest/gtest.h:62, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:10: /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/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(); | ^~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:21:1: error: 'nullptr' was not declared in this scope 21 | TEST(MSGPACK_ARRAY_REF, pack_unpack_convert_vector_char) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:21:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 21 | TEST(MSGPACK_ARRAY_REF, pack_unpack_convert_vector_char) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:21:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 21 | TEST(MSGPACK_ARRAY_REF, pack_unpack_convert_vector_char) | ^~~~ /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 */) { | ^ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp: In member function 'virtual void MSGPACK_ARRAY_REF_pack_unpack_convert_vector_char_Test::TestBody()': /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:39:5: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 39 | EXPECT_TRUE(ar1 == ar2); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:11: /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:11: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:39:5: note: candidate expects 2 arguments, 1 provided 39 | EXPECT_TRUE(ar1 == ar2); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:11: /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:11: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp: At global scope: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:42:1: error: expected constructor, destructor, or type conversion before '(' token 42 | TEST(MSGPACK_ARRAY_REF, pack_unpack_convert_vector_char_const) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:42:1: error: expected constructor, destructor, or type conversion before '(' token 42 | TEST(MSGPACK_ARRAY_REF, pack_unpack_convert_vector_char_const) | ^~~~ /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/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:617:7: error: 'ParamNameGeneratorFunc' does not name a type; did you mean 'ParamGenerator'? 617 | ParamNameGeneratorFunc* name_func; | ^~~~~~~~~~~~~~~~~~~~~~ | ParamGenerator /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/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/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-message.h:107:6: error: 'ss_' was not declared in this scope 107 | *ss_ << str; | ^~~ /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/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/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-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-param-util.h:639:3: error: 'TestInfoContainer' does not name a type 639 | TestInfoContainer tests_; | ^~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:42:1: error: 'nullptr' was not declared in this scope 42 | TEST(MSGPACK_ARRAY_REF, pack_unpack_convert_vector_char_const) | ^~~~ /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/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/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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/fixint.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/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; did you mean 'Test'? 511 | tests_.push_back(std::shared_ptr( | ^~~~~~ | Test /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; did you mean 'std::iterator'? 530 | for (typename TestInfoContainer::iterator test_it = tests_.begin(); | ^~~~~~~~ | std::iterator In file included from /usr/include/c++/11/bits/stl_algobase.h:65, from /usr/include/c++/11/memory:63, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/cpp_config_decl.hpp:38, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/pack_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:10, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/cases.cpp:1: /usr/include/c++/11/bits/stl_iterator_base_types.h:127:12: note: 'std::iterator' declared here 127 | struct iterator | ^~~~~~~~ In file included from /usr/include/gtest/gtest-param-test.h:181, from /usr/include/gtest/gtest.h:67, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/cases.cpp:9: /usr/include/gtest/internal/gtest-param-util.h:530:47: error: expected ';' before 'test_it' 530 | for (typename TestInfoContainer::iterator test_it = tests_.begin(); | ^~~~~~~ /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) { | ^~~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:42:1: error: 'nullptr' was not declared in this scope 42 | TEST(MSGPACK_ARRAY_REF, pack_unpack_convert_vector_char_const) | ^~~~ /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); | ^~~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:42:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 42 | TEST(MSGPACK_ARRAY_REF, pack_unpack_convert_vector_char_const) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:42:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 42 | TEST(MSGPACK_ARRAY_REF, pack_unpack_convert_vector_char_const) | ^~~~ /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 = | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp: In member function 'virtual void MSGPACK_ARRAY_REF_pack_unpack_convert_vector_char_const_Test::TestBody()': /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:62:5: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 62 | EXPECT_TRUE(ar1 == ar2); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:11: /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:11: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:62:5: note: candidate expects 2 arguments, 1 provided 62 | EXPECT_TRUE(ar1 == ar2); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:11: /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:11: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp: At global scope: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:65:1: error: expected constructor, destructor, or type conversion before '(' token 65 | TEST(MSGPACK_ARRAY_REF, pack_unpack_convert_vector_unsigned_char) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:65:1: error: expected constructor, destructor, or type conversion before '(' token 65 | TEST(MSGPACK_ARRAY_REF, pack_unpack_convert_vector_unsigned_char) | ^~~~ /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/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/internal/gtest-param-util.h:530:47: error: 'test_it' was not declared in this scope /usr/include/gtest/gtest-message.h:148:8: error: 'ss_' was not declared in this scope 148 | *ss_ << "(null)"; | ^~~ /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-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-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/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/internal/gtest-internal.h:1159:40: error: expected ')' before 't' 1159 | explicit FlatTupleElemBase(value_type t) : value(std::move(t)) {} | ~ ^~ | ) /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-message.h:150:8: error: 'ss_' was not declared in this scope 150 | *ss_ << pointer; | ^~~ /usr/include/gtest/internal/gtest-param-util.h:530:57: error: 'tests_' was not declared in this scope; did you mean 'Test'? 530 | for (typename TestInfoContainer::iterator test_it = tests_.begin(); | ^~~~~~ | Test /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:530:9: note: to match this '(' 530 | for (typename TestInfoContainer::iterator test_it = tests_.begin(); | ^ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:65:1: error: 'nullptr' was not declared in this scope 65 | TEST(MSGPACK_ARRAY_REF, pack_unpack_convert_vector_unsigned_char) | ^~~~ /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-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; | ^~~ /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-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; | ^~~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:65:1: error: 'nullptr' was not declared in this scope 65 | TEST(MSGPACK_ARRAY_REF, pack_unpack_convert_vector_unsigned_char) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:65:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 65 | TEST(MSGPACK_ARRAY_REF, pack_unpack_convert_vector_unsigned_char) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:65:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 65 | TEST(MSGPACK_ARRAY_REF, pack_unpack_convert_vector_unsigned_char) | ^~~~ /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: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/gtest.h:715:30: error: 'nullptr' was not declared in this scope 715 | if (type_param_.get() != nullptr) return type_param_->c_str(); | ^~~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp: In member function 'virtual void MSGPACK_ARRAY_REF_pack_unpack_convert_vector_unsigned_char_Test::TestBody()': /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:83:5: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 83 | EXPECT_TRUE(ar1 == ar2); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:11: /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:11: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:83:5: note: candidate expects 2 arguments, 1 provided 83 | EXPECT_TRUE(ar1 == ar2); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:11: /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:11: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp: At global scope: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:86:1: error: expected constructor, destructor, or type conversion before '(' token 86 | TEST(MSGPACK_ARRAY_REF, pack_unpack_convert_vector_unsigned_char_const) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:86:1: error: expected constructor, destructor, or type conversion before '(' token 86 | TEST(MSGPACK_ARRAY_REF, pack_unpack_convert_vector_unsigned_char_const) | ^~~~ /usr/include/gtest/internal/gtest-param-util.h:531:21: error: 'tests_' was not declared in this scope; did you mean 'Test'? 531 | test_it != tests_.end(); ++test_it) { | ^~~~~~ | Test /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-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-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; did you mean 'Test'? 511 | tests_.push_back(std::shared_ptr( | ^~~~~~ | Test /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; did you mean 'std::iterator'? 530 | for (typename TestInfoContainer::iterator test_it = tests_.begin(); | ^~~~~~~~ | std::iterator In file included from /usr/include/c++/11/bits/stl_algobase.h:65, from /usr/include/c++/11/memory:63, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/cpp_config_decl.hpp:38, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/pack_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:10, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:1: /usr/include/c++/11/bits/stl_iterator_base_types.h:127:12: note: 'std::iterator' declared here 127 | struct iterator | ^~~~~~~~ In file included from /usr/include/gtest/gtest-param-test.h:181, from /usr/include/gtest/gtest.h:67, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:8: /usr/include/gtest/internal/gtest-param-util.h:530:47: error: expected ';' before 'test_it' 530 | for (typename TestInfoContainer::iterator test_it = tests_.begin(); | ^~~~~~~ In file included from /usr/include/gtest/internal/gtest-internal.h:67, from /usr/include/gtest/gtest.h:62, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:10: /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); | ^~~~~~~ /usr/include/gtest/gtest.h:716:12: error: 'nullptr' was not declared in this scope 716 | return nullptr; | ^~~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:86:1: error: 'nullptr' was not declared in this scope 86 | TEST(MSGPACK_ARRAY_REF, pack_unpack_convert_vector_unsigned_char_const) | ^~~~ /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.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:16: 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:16: 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:16: 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 | ^~~~~~~~~ /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/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/internal/gtest-param-util.h:530:47: error: 'test_it' was not declared in this scope /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:86:1: error: 'nullptr' was not declared in this scope 86 | TEST(MSGPACK_ARRAY_REF, pack_unpack_convert_vector_unsigned_char_const) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:86:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 86 | TEST(MSGPACK_ARRAY_REF, pack_unpack_convert_vector_unsigned_char_const) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:86:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 86 | TEST(MSGPACK_ARRAY_REF, pack_unpack_convert_vector_unsigned_char_const) | ^~~~ /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' /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp: In member function 'virtual void MSGPACK_ARRAY_REF_pack_unpack_convert_vector_unsigned_char_const_Test::TestBody()': /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:106:5: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 106 | EXPECT_TRUE(ar1 == ar2); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:11: /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:11: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:106:5: note: candidate expects 2 arguments, 1 provided 106 | EXPECT_TRUE(ar1 == ar2); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:11: /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:11: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp: At global scope: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:109:1: error: expected constructor, destructor, or type conversion before '(' token 109 | TEST(MSGPACK_ARRAY_REF, object_with_zone_vector_char) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:109:1: error: expected constructor, destructor, or type conversion before '(' token 109 | TEST(MSGPACK_ARRAY_REF, object_with_zone_vector_char) | ^~~~ /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-param-util.h:530:57: error: 'tests_' was not declared in this scope; did you mean 'Test'? 530 | for (typename TestInfoContainer::iterator test_it = tests_.begin(); | ^~~~~~ | Test /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:530:9: note: to match this '(' 530 | for (typename TestInfoContainer::iterator test_it = tests_.begin(); | ^ In file included from /usr/include/gtest/gtest.h:70, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.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.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/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-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' /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:109:1: error: 'nullptr' was not declared in this scope 109 | TEST(MSGPACK_ARRAY_REF, object_with_zone_vector_char) | ^~~~ /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-param-util.h:531:10: error: 'test_it' was not declared in this scope 531 | test_it != tests_.end(); ++test_it) { | ^~~~~~~ /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-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(); | ^~~~~~~ /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/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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:10: /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))), | ^~~~~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:109:1: error: 'nullptr' was not declared in this scope 109 | TEST(MSGPACK_ARRAY_REF, object_with_zone_vector_char) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:109:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 109 | TEST(MSGPACK_ARRAY_REF, object_with_zone_vector_char) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:109:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 109 | TEST(MSGPACK_ARRAY_REF, object_with_zone_vector_char) | ^~~~ /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++/11/tr1/unordered_map:39, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/tr1/unordered_map.hpp:29, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/type.hpp:30, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:22, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:1: /usr/include/c++/11/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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:10: /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 | ^ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp: In member function 'virtual void MSGPACK_ARRAY_REF_object_with_zone_vector_char_Test::TestBody()': /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:124:5: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 124 | EXPECT_TRUE(ar1 == ar2); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:11: /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:11: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:124:5: note: candidate expects 2 arguments, 1 provided 124 | EXPECT_TRUE(ar1 == ar2); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:11: /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:1014:13: error: 'SetUpTestSuiteFunc' in namespace 'testing::internal' does not name a type 1014 | internal::SetUpTestSuiteFunc set_up_tc_; | ^~~~~~~~~~~~~~~~~~ /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.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; | ^~~~~~~~ In file included from /usr/include/gtest/gtest.h:62, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:11: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp: At global scope: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:127:1: error: expected constructor, destructor, or type conversion before '(' token 127 | TEST(MSGPACK_ARRAY_REF, object_with_zone_vector_char_const) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:127:1: error: expected constructor, destructor, or type conversion before '(' token 127 | TEST(MSGPACK_ARRAY_REF, object_with_zone_vector_char_const) | ^~~~ /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:21: note: 'std::enable_if' is only available from C++11 onwards /usr/include/gtest/gtest.h:295:30: error: expected ',' or '...' before '<' token 295 | typename std::enable_if< | ^ /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: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/internal/gtest-param-util.h:531:21: error: 'tests_' was not declared in this scope; did you mean 'Test'? 531 | test_it != tests_.end(); ++test_it) { | ^~~~~~ | Test /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/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.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: 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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:127:1: error: 'nullptr' was not declared in this scope 127 | TEST(MSGPACK_ARRAY_REF, object_with_zone_vector_char_const) | ^~~~ /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/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 'iswprint'? 508 | : !std::is_pointer::value | ^~~~~~~~~~ | iswprint /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 'unary_function'? 510 | : std::is_function::type>::value | ^~~~~~~~~~~ | unary_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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_fwd_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_fwd.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/adaptor/adaptor_base_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/adaptor_base_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/adaptor_base.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/object_decl.hpp:16, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:10, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:1: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/object_fwd_decl.hpp:27:11: note: 'msgpack::v1::type' 27 | namespace type { | ^~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_fwd_decl.hpp:15, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_fwd.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/adaptor/adaptor_base_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/adaptor_base_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/adaptor_base.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/object_decl.hpp:16, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:10, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:1: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v2/object_fwd_decl.hpp:22:11: note: 'msgpack::v2::type' 22 | namespace type { | ^~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_fwd_decl.hpp:16, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_fwd.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/adaptor/adaptor_base_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/adaptor_base_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/adaptor_base.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/object_decl.hpp:16, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:10, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:1: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:10: /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/unpack_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v2/parse.hpp:20, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/parse.hpp:15, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:15, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:1: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/unpack_decl.hpp:185:8: note: 'msgpack::v1::detail::value' 185 | struct value; | ^~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/unpack_decl.hpp:185:8: note: 'msgpack::v1::detail::value' /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:10: /usr/include/gtest/gtest-printers.h:512:42: error: expected primary-expression before ')' token 512 | : kPrintPointer > (), | ^ /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: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-printers.h: At global scope: /usr/include/gtest/gtest-printers.h:613:13: 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' 613 | inline void PrintTo(std::nullptr_t, ::std::ostream* os) { *os << "(nullptr)"; } | ^~~~~~~~~ /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)"; } | ^ In file included from /usr/include/gtest/gtest.h:62, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:10: /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:27: note: 'std::enable_if' is only available from C++11 onwards /usr/include/gtest/internal/gtest-internal.h:121:36: error: expected '>' before '<' token 121 | typename std::enable_if::value, | ^ /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/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:6: 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' 616 | void PrintTo(std::reference_wrapper ref, ::std::ostream* os) { | ^~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest-printers.h:616:19: note: 'std::reference_wrapper' is only available from C++11 onwards /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/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/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/internal/gtest-internal.h:492:7: error: expected nested-name-specifier before 'SetUpTearDownSuiteFuncType' 492 | using SetUpTearDownSuiteFuncType = void (*)(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h:858:12: error: 'nullptr' was not declared in this scope 858 | return nullptr; | ^~~~~~~ /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; | ^~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:127:1: error: 'nullptr' was not declared in this scope 127 | TEST(MSGPACK_ARRAY_REF, object_with_zone_vector_char_const) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:127:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 127 | TEST(MSGPACK_ARRAY_REF, object_with_zone_vector_char_const) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:127:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 127 | TEST(MSGPACK_ARRAY_REF, object_with_zone_vector_char_const) | ^~~~ /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) { | ^ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp: In member function 'virtual void MSGPACK_ARRAY_REF_object_with_zone_vector_char_const_Test::TestBody()': /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:144:5: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 144 | EXPECT_TRUE(ar1 == ar2); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:11: /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:11: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:144:5: note: candidate expects 2 arguments, 1 provided 144 | EXPECT_TRUE(ar1 == ar2); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:11: /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:11: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp: At global scope: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:147:1: error: expected constructor, destructor, or type conversion before '(' token 147 | TEST(MSGPACK_ARRAY_REF, object_with_zone_vector_unsigned_char) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:147:1: error: expected constructor, destructor, or type conversion before '(' token 147 | TEST(MSGPACK_ARRAY_REF, object_with_zone_vector_unsigned_char) | ^~~~ /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.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-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++/11/tr1/unordered_map:39, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/tr1/unordered_map.hpp:29, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/type.hpp:30, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:22, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:1: /usr/include/c++/11/tr1/type_traits:71:12: note: 'std::tr1::integral_constant' 71 | struct integral_constant | ^~~~~~~~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/pack_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:10, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:1: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' 59 | struct integral_constant; | ^~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:10: /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/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/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-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) { | ^ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:147:1: error: 'nullptr' was not declared in this scope 147 | TEST(MSGPACK_ARRAY_REF, object_with_zone_vector_unsigned_char) | ^~~~ /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.h:946:23: error: 'nullptr' was not declared in this scope 946 | if (set_up_tc_ != 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:715:3: error: 'TestSuiteInfoContainer' does not name a type 715 | TestSuiteInfoContainer test_suite_infos_; | ^~~~~~~~~~~~~~~~~~~~~~ /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/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++/11/tr1/unordered_map:39, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/tr1/unordered_map.hpp:29, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/type.hpp:30, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:22, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:1: /usr/include/c++/11/tr1/type_traits:71:12: note: 'std::tr1::integral_constant' 71 | struct integral_constant | ^~~~~~~~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/pack_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:10, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:1: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' 59 | struct integral_constant; | ^~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:10: /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.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.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/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-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/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) { | ^~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:147:1: error: 'nullptr' was not declared in this scope 147 | TEST(MSGPACK_ARRAY_REF, object_with_zone_vector_unsigned_char) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:147:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 147 | TEST(MSGPACK_ARRAY_REF, object_with_zone_vector_unsigned_char) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:147:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 147 | TEST(MSGPACK_ARRAY_REF, object_with_zone_vector_unsigned_char) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp: In member function 'virtual void MSGPACK_ARRAY_REF_object_with_zone_vector_unsigned_char_Test::TestBody()': /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:162:5: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 162 | EXPECT_TRUE(ar1 == ar2); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:11: /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:11: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:162:5: note: candidate expects 2 arguments, 1 provided 162 | EXPECT_TRUE(ar1 == ar2); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:11: /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:11: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp: At global scope: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:165:1: error: expected constructor, destructor, or type conversion before '(' token 165 | TEST(MSGPACK_ARRAY_REF, object_with_zone_vector_unsigned_char_const) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:165:1: error: expected constructor, destructor, or type conversion before '(' token 165 | TEST(MSGPACK_ARRAY_REF, object_with_zone_vector_unsigned_char_const) | ^~~~ /usr/include/gtest/gtest.h:954:26: error: 'nullptr' was not declared in this scope 954 | if (tear_down_tc_ != nullptr) { | ^~~~~~~ /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 '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/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.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: 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: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: 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/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: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: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' /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:165:1: error: 'nullptr' was not declared in this scope 165 | TEST(MSGPACK_ARRAY_REF, object_with_zone_vector_unsigned_char_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: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: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: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: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:679:18: error: 'Abort' is not a member of 'testing::internal::posix' 679 | posix::Abort(); | ^~~~~ /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/cases.cpp:9: /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/cases.cpp:9: /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:16: 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:16: 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:16: 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 | ^~~~~~~~~ /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/internal/gtest-internal.h:509:10: error: 'SetUpTearDownSuiteFuncType' does not name a type 509 | static SetUpTearDownSuiteFuncType GetSetUpCaseOrSuite(const char* filename, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest.h:1151:30: error: 'TestCase' does not name a type 1151 | void OnTestCaseStart(const TestCase& /*test_case*/) override {} | ^~~~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:165:1: error: 'nullptr' was not declared in this scope 165 | TEST(MSGPACK_ARRAY_REF, object_with_zone_vector_unsigned_char_const) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:165:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 165 | TEST(MSGPACK_ARRAY_REF, object_with_zone_vector_unsigned_char_const) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:165:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 165 | TEST(MSGPACK_ARRAY_REF, object_with_zone_vector_unsigned_char_const) | ^~~~ /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) { | ^~~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp: In member function 'virtual void MSGPACK_ARRAY_REF_object_with_zone_vector_unsigned_char_const_Test::TestBody()': /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:182:5: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 182 | EXPECT_TRUE(ar1 == ar2); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:11: /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:11: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:182:5: note: candidate expects 2 arguments, 1 provided 182 | EXPECT_TRUE(ar1 == ar2); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:11: /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); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /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.h:1159:28: error: 'TestCase' does not name a type 1159 | void OnTestCaseEnd(const TestCase& /*test_case*/) override {} | ^~~~~~~~ /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++/11/tr1/unordered_map:39, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/tr1/unordered_map.hpp:29, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/type.hpp:30, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:22, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:1: /usr/include/c++/11/tr1/type_traits:71:12: note: 'std::tr1::integral_constant' 71 | struct integral_constant | ^~~~~~~~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/pack_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:10, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:1: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' 59 | struct integral_constant; | ^~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' In file included from /usr/include/gtest/gtest.h:70, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/cases.cpp:9: /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), | ^~~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:10: /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.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-printers.h:884:29: error: 'strings' was not declared in this scope; did you mean 'Strings'? 884 | strings); | ^~~~~~~ | Strings /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-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.h:1366:9: error: 'TestCase' does not name a type 1366 | const TestCase* GetTestCase(int i) const; | ^~~~~~~~ /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(); | ^~~~~~~ /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:21: note: 'std::enable_if' is only available from C++11 onwards /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/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 In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/cases.cpp:9: /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:21: note: 'std::enable_if' is only available from C++11 onwards /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-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++/11/tr1/unordered_map:39, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/tr1/unordered_map.hpp:29, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/type.hpp:30, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:22, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:1: /usr/include/c++/11/tr1/type_traits:71:12: note: 'std::tr1::integral_constant' 71 | struct integral_constant | ^~~~~~~~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/pack_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:10, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:1: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' 59 | struct integral_constant; | ^~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:10: /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/unpack_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v2/parse.hpp:20, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/parse.hpp:15, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:15, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:1: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/unpack_decl.hpp:185:8: note: 'msgpack::v1::detail::value' 185 | struct value; | ^~~~~ /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), | ^~~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/unpack_decl.hpp:185:8: note: 'msgpack::v1::detail::value' /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:10: /usr/include/gtest/gtest-printers.h:897:76: error: expected primary-expression before ')' token 897 | value, std::integral_constant::value>(), | ^ /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: 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/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-internal.h:524:10: error: 'SetUpTearDownSuiteFuncType' does not name a type 524 | static SetUpTearDownSuiteFuncType GetTearDownCaseOrSuite(const char* filename, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /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-internal.h:561:30: error: 'SetUpTestSuiteFunc' has not been declared 561 | TypeId fixture_class_id, SetUpTestSuiteFunc set_up_tc, | ^~~~~~~~~~~~~~~~~~ /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-internal.h:562:5: error: 'TearDownTestSuiteFunc' has not been declared 562 | TearDownTestSuiteFunc tear_down_tc, TestFactoryBase* factory); | ^~~~~~~~~~~~~~~~~~~~~ /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.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:16: 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:16: 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:16: 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/internal/gtest-death-test-internal.h:39, from /usr/include/gtest/gtest-death-test.h:41, from /usr/include/gtest/gtest.h:64, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:10: /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; | ^~~~~~~ In file included from /usr/include/gtest/internal/gtest-internal.h:40, from /usr/include/gtest/gtest.h:62, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/fixint.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) | ^~~~~~~~~~~~ /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:716:12: error: 'nullptr' was not declared in this scope 716 | return nullptr; | ^~~~~~~ /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; | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtest/gtest.h:70, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.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), | ^~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/fixint.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: 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/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/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/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/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(); | ^~~~~~~ /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-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.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/fixint.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/fixint.cpp: At global scope: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/fixint.cpp:22:1: error: expected constructor, destructor, or type conversion before '(' token 22 | TEST(fixint, size) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/fixint.cpp:22:1: error: expected constructor, destructor, or type conversion before '(' token 22 | TEST(fixint, size) | ^~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.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:21: note: 'std::enable_if' is only available from C++11 onwards /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: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/include/gtest/gtest.h:62, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:11: /usr/include/gtest/internal/gtest-internal.h: In instantiation of 'struct testing::internal::IsRecursiveContainer': /usr/include/gtest/gtest-printers.h:506:41: 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:10: 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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:11: /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:10: required from here /usr/include/gtest/gtest-printers.h:506:41: error: 'value' is not a member of 'testing::internal::IsRecursiveContainer' 506 | !IsRecursiveContainer::value | ^~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/cases.cpp:9: /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-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.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-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:21: note: 'std::enable_if' is only available from C++11 onwards /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:3: 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/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/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/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/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-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.h:322:30: error: 'nullptr' was not declared in this scope 322 | return message_.get() != nullptr ? message_->c_str() : ""; | ^~~~~~~ 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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:11: /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/array_ref.cpp:11: /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:34: 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; long 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:34: note: 'testing::internal::MakeIndexSequence<2>' is not derived from 'testing::internal::IndexSequence' 738 | return ValuesIn(MakeVector(MakeIndexSequence())); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/fixint.cpp:22:1: error: 'nullptr' was not declared in this scope 22 | TEST(fixint, size) | ^~~~ /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/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/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-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.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/fixint.cpp:22:1: error: 'nullptr' was not declared in this scope 22 | TEST(fixint, size) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/fixint.cpp:22:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 22 | TEST(fixint, size) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/fixint.cpp:22:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 22 | TEST(fixint, size) | ^~~~ /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/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/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/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/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); | ^~~~~ In file included from /usr/include/gtest/gtest.h:375, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/fixint.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/fixint.cpp: In function 'void check_convert()': /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/fixint.cpp:50:5: error: no matching function for call to 'testing::internal::EqHelper::Compare(const char [9], const char [29], const msgpack::v2::object&, msgpack::v2::object)' 50 | EXPECT_EQ(oh.get(), msgpack::object(T(v1.get()))); | ^ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/fixint.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/fixint.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/fixint.cpp:50:5: note: couldn't deduce template parameter '' 50 | EXPECT_EQ(oh.get(), msgpack::object(T(v1.get()))); | ^ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/fixint.cpp:8: /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/fixint.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/fixint.cpp:50:5: note: mismatched types 'T*' and 'msgpack::v2::object' 50 | EXPECT_EQ(oh.get(), msgpack::object(T(v1.get()))); | ^ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/fixint.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 msgpack::v2::object' to 'testing::internal::BiggestInt' {aka 'long long int'} 1565 | BiggestInt lhs, | ~~~~~~~~~~~^~~ In file included from /usr/include/gtest/gtest.h:62, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/fixint.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/fixint.cpp: At global scope: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/fixint.cpp:53:1: error: expected constructor, destructor, or type conversion before '(' token 53 | TEST(fixint, convert) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/fixint.cpp:53:1: error: expected constructor, destructor, or type conversion before '(' token 53 | TEST(fixint, convert) | ^~~~ /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-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/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/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:21: note: 'std::enable_if' is only available from C++11 onwards /usr/include/gtest/gtest-matchers.h:339:30: error: expected ',' or '...' before '<' token 339 | typename std::enable_if::value>::type* = | ^ /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/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/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/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:301:12: note: candidate: 'template testing::internal::MatcherBase::MatcherBase(const testing::MatcherInterface*, int) [with U = U; T = const std::__cxx11::basic_string&]' 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: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: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.h:345:5: error: 'message_' was not declared in this scope; did you mean 'message'? 345 | message_->append(a_message.GetString().c_str()); | ^~~~~~~~ | message /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 >&)' /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/fixint.cpp:53:1: error: 'nullptr' was not declared in this scope 53 | TEST(fixint, convert) | ^~~~ /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:301:12: note: candidate: 'template testing::internal::MatcherBase::MatcherBase(const testing::MatcherInterface*, int) [with U = U; T = std::__cxx11::basic_string]' 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: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: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: 'std::reference_wrapper' has not been declared 541 | static const T& Unwrap(std::reference_wrapper v) { return v; } | ^~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:541:48: error: expected ',' or '...' before '<' token 541 | static const T& Unwrap(std::reference_wrapper v) { return v; } | ^ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.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:715:30: error: 'nullptr' was not declared in this scope 715 | if (type_param_.get() != nullptr) return type_param_->c_str(); | ^~~~~~~ /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/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-matchers.h: In static member function 'static const T& testing::internal::ComparisonBase::Unwrap(int)': /usr/include/gtest/gtest-matchers.h:541:64: 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: At global scope: /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.h:716:12: error: 'nullptr' was not declared in this scope 716 | return nullptr; | ^~~~~~~ /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/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/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/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' /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/fixint.cpp:53:1: error: 'nullptr' was not declared in this scope 53 | TEST(fixint, convert) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/fixint.cpp:53:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 53 | TEST(fixint, convert) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/fixint.cpp:53:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 53 | TEST(fixint, convert) | ^~~~ /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/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/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::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/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/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/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/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: 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/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' /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-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 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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:10: /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++/11/tr1/unordered_map:39, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/tr1/unordered_map.hpp:29, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/type.hpp:30, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:22, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:1: /usr/include/c++/11/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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:10: /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.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:716:12: error: 'nullptr' was not declared in this scope 716 | return nullptr; | ^~~~~~~ /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 /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.h:858:12: error: 'nullptr' was not declared in this scope 858 | return nullptr; | ^~~~~~~ In file included from /usr/include/gtest/gtest-param-test.h:181, from /usr/include/gtest/gtest.h:67, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:10: /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/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: 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-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 'iswprint'? 508 | : !std::is_pointer::value | ^~~~~~~~~~ | iswprint /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 'unary_function'? 510 | : std::is_function::type>::value | ^~~~~~~~~~~ | unary_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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_fwd_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_fwd.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/adaptor/adaptor_base_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/adaptor_base_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/adaptor_base.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/object_decl.hpp:16, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:10, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:1: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/object_fwd_decl.hpp:27:11: note: 'msgpack::v1::type' 27 | namespace type { | ^~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_fwd_decl.hpp:15, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_fwd.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/adaptor/adaptor_base_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/adaptor_base_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/adaptor_base.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/object_decl.hpp:16, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:10, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:1: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v2/object_fwd_decl.hpp:22:11: note: 'msgpack::v2::type' 22 | namespace type { | ^~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_fwd_decl.hpp:16, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_fwd.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/adaptor/adaptor_base_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/adaptor_base_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/adaptor_base.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/object_decl.hpp:16, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:10, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:1: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:10: /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/unpack_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v2/parse.hpp:20, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/parse.hpp:15, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:15, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:1: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/unpack_decl.hpp:185:8: note: 'msgpack::v1::detail::value' 185 | struct value; | ^~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/unpack_decl.hpp:185:8: note: 'msgpack::v1::detail::value' /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:10: /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:13: 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' 613 | inline void PrintTo(std::nullptr_t, ::std::ostream* os) { *os << "(nullptr)"; } | ^~~~~~~~~ /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.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: 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-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:6: 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' 616 | void PrintTo(std::reference_wrapper ref, ::std::ostream* os) { | ^~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest-printers.h:616:19: note: 'std::reference_wrapper' is only available from C++11 onwards /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.h:723:12: error: 'nullptr' was not declared in this scope 723 | return 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: 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:723:12: error: 'nullptr' was not declared in this scope 723 | return nullptr; | ^~~~~~~ /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/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: 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/internal/gtest-internal.h: In instantiation of 'struct testing::internal::IsRecursiveContainer': /usr/include/gtest/gtest-printers.h:506:41: 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:10: 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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/fixint.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:10: required from here /usr/include/gtest/gtest-printers.h:506:41: error: 'value' is not a member of 'testing::internal::IsRecursiveContainer' 506 | !IsRecursiveContainer::value | ^~~~~ /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, | ^ 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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/fixint.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/fixint.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:34: 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; long 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:34: note: 'testing::internal::MakeIndexSequence<2>' is not derived from 'testing::internal::IndexSequence' 738 | return ValuesIn(MakeVector(MakeIndexSequence())); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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++/11/tr1/unordered_map:39, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/tr1/unordered_map.hpp:29, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/type.hpp:30, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:22, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:1: /usr/include/c++/11/tr1/type_traits:71:12: note: 'std::tr1::integral_constant' 71 | struct integral_constant | ^~~~~~~~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/pack_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:10, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:1: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' 59 | struct integral_constant; | ^~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:10: /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.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: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-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.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: 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-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.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/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/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++/11/tr1/unordered_map:39, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/tr1/unordered_map.hpp:29, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/type.hpp:30, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:22, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:1: /usr/include/c++/11/tr1/type_traits:71:12: note: 'std::tr1::integral_constant' 71 | struct integral_constant | ^~~~~~~~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/pack_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:10, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:1: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' 59 | struct integral_constant; | ^~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:10: /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.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: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:954:26: error: 'nullptr' was not declared in this scope 954 | if (tear_down_tc_ != nullptr) { | ^~~~~~~ /usr/include/gtest/gtest.h:858:12: error: 'nullptr' was not declared in this scope 858 | return nullptr; | ^~~~~~~ /usr/include/gtest/gtest.h:858:12: error: 'nullptr' was not declared in this scope 858 | return nullptr; | ^~~~~~~ /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.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/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/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-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.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-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++/11/tr1/unordered_map:39, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/tr1/unordered_map.hpp:29, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/type.hpp:30, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:22, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:1: /usr/include/c++/11/tr1/type_traits:71:12: note: 'std::tr1::integral_constant' 71 | struct integral_constant | ^~~~~~~~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/pack_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:10, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:1: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' 59 | struct integral_constant; | ^~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:10: /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.h:1119:36: error: 'TestCase' does not name a type 1119 | virtual void OnTestCaseEnd(const TestCase& /*test_case*/) {} | ^~~~~~~~ /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/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/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.h:1151:30: error: 'TestCase' does not name a type 1151 | void OnTestCaseStart(const TestCase& /*test_case*/) override {} | ^~~~~~~~ /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++/11/tr1/unordered_map:39, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/tr1/unordered_map.hpp:29, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/type.hpp:30, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:22, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:1: /usr/include/c++/11/tr1/type_traits:71:12: note: 'std::tr1::integral_constant' 71 | struct integral_constant | ^~~~~~~~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/pack_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:10, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:1: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' 59 | struct integral_constant; | ^~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:10: /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/unpack_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v2/parse.hpp:20, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/parse.hpp:15, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:15, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:1: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/unpack_decl.hpp:185:8: note: 'msgpack::v1::detail::value' 185 | struct value; | ^~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/unpack_decl.hpp:185:8: note: 'msgpack::v1::detail::value' /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:10: /usr/include/gtest/gtest-printers.h:897:76: error: expected primary-expression before ')' token 897 | value, std::integral_constant::value>(), | ^ /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:1159:28: error: 'TestCase' does not name a type 1159 | void OnTestCaseEnd(const TestCase& /*test_case*/) override {} | ^~~~~~~~ /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:1282:9: error: 'TestCase' does not name a type 1282 | const TestCase* current_test_case() const GTEST_LOCK_EXCLUDED_(mutex_); | ^~~~~~~~ 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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:10: /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.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:21: note: 'std::enable_if' is only available from C++11 onwards /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/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/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.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: 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: 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), | ^~~~~~~ /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/gtest.h:954:26: error: 'nullptr' was not declared in this scope 954 | if (tear_down_tc_ != nullptr) { | ^~~~~~~ /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/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.h:954:26: error: 'nullptr' was not declared in this scope 954 | if (tear_down_tc_ != 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:21: note: 'std::enable_if' is only available from C++11 onwards /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:3: 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_; | ^~~ In file included from /usr/include/gtest/internal/gtest-internal.h:40, from /usr/include/gtest/gtest.h:62, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.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) | ^~~~~~~~~~~~ /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/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.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/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/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*/) {} | ^~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.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-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.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:1119:36: error: 'TestCase' does not name a type 1119 | virtual void OnTestCaseEnd(const TestCase& /*test_case*/) {} | ^~~~~~~~ /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/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/gtest.h:1151:30: error: 'TestCase' does not name a type 1151 | void OnTestCaseStart(const TestCase& /*test_case*/) override {} | ^~~~~~~~ /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/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.h:1159:28: error: 'TestCase' does not name a type 1159 | void OnTestCaseEnd(const TestCase& /*test_case*/) override {} | ^~~~~~~~ /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 /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/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/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-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:21: note: 'std::enable_if' is only available from C++11 onwards /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.h:1366:9: error: 'TestCase' does not name a type 1366 | const TestCase* GetTestCase(int i) const; | ^~~~~~~~ /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:301:12: note: candidate: 'template testing::internal::MatcherBase::MatcherBase(const testing::MatcherInterface*, int) [with U = U; T = const std::__cxx11::basic_string&]' 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: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: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.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:21: note: 'std::enable_if' is only available from C++11 onwards /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-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:301:12: note: candidate: 'template testing::internal::MatcherBase::MatcherBase(const testing::MatcherInterface*, int) [with U = U; T = std::__cxx11::basic_string]' 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: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: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.h:1119:36: error: 'TestCase' does not name a type 1119 | virtual void OnTestCaseEnd(const TestCase& /*test_case*/) {} | ^~~~~~~~ /usr/include/gtest/gtest-matchers.h: At global scope: /usr/include/gtest/gtest-matchers.h:541:31: error: 'std::reference_wrapper' has not been declared 541 | static const T& Unwrap(std::reference_wrapper v) { return v; } | ^~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:541:48: error: expected ',' or '...' before '<' token 541 | static const T& Unwrap(std::reference_wrapper v) { return v; } | ^ In file included from /usr/include/gtest/gtest.h:62, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp: At global scope: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:40:1: error: expected constructor, destructor, or type conversion before '(' token 40 | TEST(convert, compatibility_less) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:40:1: error: expected constructor, destructor, or type conversion before '(' token 40 | TEST(convert, compatibility_less) | ^~~~ /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/gtest.h:1151:30: error: 'TestCase' does not name a type 1151 | void OnTestCaseStart(const TestCase& /*test_case*/) override {} | ^~~~~~~~ /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), | ^~~~~~~ /usr/include/gtest/gtest-matchers.h: In static member function 'static const T& testing::internal::ComparisonBase::Unwrap(int)': /usr/include/gtest/gtest-matchers.h:541:64: 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: At global scope: /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/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_)); | ^~~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:40:1: error: 'nullptr' was not declared in this scope 40 | TEST(convert, compatibility_less) | ^~~~ /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); | ^~~~~~~ In file included from /usr/include/gtest/internal/gtest-internal.h:40, from /usr/include/gtest/gtest.h:62, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.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) | ^~~~~~~~~~~~ /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/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:38: error: 'ParamType' has not been declared 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/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-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.h:1366:9: error: 'TestCase' does not name a type 1366 | const TestCase* GetTestCase(int i) const; | ^~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.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: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:21: note: 'std::enable_if' is only available from C++11 onwards /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: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/internal/gtest-param-util.h:490:26: error: 'ParamType' was not declared in this scope 490 | typedef ParamGenerator(GeneratorCreationFunc)(); | ^~~~~~~~~ /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/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/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-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.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), | ^~~~~~~ /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp: At global scope: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:16:1: error: expected constructor, destructor, or type conversion before '(' token 16 | TEST(carray, pack_unpack_int) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:16:1: error: expected constructor, destructor, or type conversion before '(' token 16 | TEST(carray, pack_unpack_int) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:40:1: error: 'nullptr' was not declared in this scope 40 | TEST(convert, compatibility_less) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:40:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 40 | TEST(convert, compatibility_less) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:40:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 40 | TEST(convert, compatibility_less) | ^~~~ In file included from /usr/include/gtest/gtest.h:375, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp: In member function 'virtual void convert_compatibility_less_Test::TestBody()': /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:51:5: error: no matching function for call to 'testing::internal::EqHelper::Compare(const char [9], const char [7], const char [7], std::string&)' 51 | EXPECT_EQ("kumofs", c.str1); | ^ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:51:5: note: couldn't deduce template parameter '' 51 | EXPECT_EQ("kumofs", c.str1); | ^ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:8: /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:51:5: note: mismatched types 'T*' and 'std::__cxx11::basic_string' 51 | EXPECT_EQ("kumofs", c.str1); | ^ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.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: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) { | ~~~~~~~~~~~^~~ In file included from /usr/include/gtest/gtest.h:375, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:52:5: error: no matching function for call to 'testing::internal::EqHelper::Compare(const char [10], const char [7], const char [8], std::string&)' 52 | EXPECT_EQ("default", c.str2); | ^ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:52:5: note: couldn't deduce template parameter '' 52 | EXPECT_EQ("default", c.str2); | ^ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:8: /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:52:5: note: mismatched types 'T*' and 'std::__cxx11::basic_string' 52 | EXPECT_EQ("default", c.str2); | ^ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.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: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) { | ~~~~~~~~~~~^~~ In file included from /usr/include/gtest/gtest.h:62, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp: At global scope: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:55:1: error: expected constructor, destructor, or type conversion before '(' token 55 | TEST(convert, compatibility_more) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:55:1: error: expected constructor, destructor, or type conversion before '(' token 55 | TEST(convert, compatibility_more) | ^~~~ /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:16:1: error: 'nullptr' was not declared in this scope 16 | TEST(carray, pack_unpack_int) | ^~~~ In file included from /usr/include/gtest/internal/gtest-internal.h:40, from /usr/include/gtest/gtest.h:62, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/cases.cpp:9: /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) | ^~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:55:1: error: 'nullptr' was not declared in this scope 55 | TEST(convert, compatibility_more) | ^~~~ In file included from /usr/include/gtest/gtest-param-test.h:181, from /usr/include/gtest/gtest.h:67, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:10: /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()) {} | ^~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:16:1: error: 'nullptr' was not declared in this scope 16 | TEST(carray, pack_unpack_int) | ^~~~ /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, | ^~~~~~~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:16:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 16 | TEST(carray, pack_unpack_int) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:16:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 16 | TEST(carray, pack_unpack_int) | ^~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/cases.cpp:9: /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; | ^~~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:32:1: error: expected constructor, destructor, or type conversion before '(' token 32 | TEST(carray, obj_with_zone_int) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:32:1: error: expected constructor, destructor, or type conversion before '(' token 32 | TEST(carray, obj_with_zone_int) | ^~~~ /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/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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:55:1: error: 'nullptr' was not declared in this scope 55 | TEST(convert, compatibility_more) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:55:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 55 | TEST(convert, compatibility_more) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:55:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 55 | TEST(convert, compatibility_more) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:32:1: error: 'nullptr' was not declared in this scope 32 | TEST(carray, obj_with_zone_int) | ^~~~ In file included from /usr/include/gtest/gtest.h:375, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp: In member function 'virtual void convert_compatibility_more_Test::TestBody()': /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:68:5: error: no matching function for call to 'testing::internal::EqHelper::Compare(const char [9], const char [8], const char [7], std::string&)' 68 | EXPECT_EQ("kumofs", to.str1); | ^ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:68:5: note: couldn't deduce template parameter '' 68 | EXPECT_EQ("kumofs", to.str1); | ^ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:8: /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:68:5: note: mismatched types 'T*' and 'std::__cxx11::basic_string' 68 | EXPECT_EQ("kumofs", to.str1); | ^ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.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: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) { | ~~~~~~~~~~~^~~ In file included from /usr/include/gtest/gtest.h:375, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:69:5: error: no matching function for call to 'testing::internal::EqHelper::Compare(const char [7], const char [8], const char [5], std::string&)' 69 | EXPECT_EQ("mpio", to.str2); | ^ /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 In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:69:5: note: couldn't deduce template parameter '' 69 | EXPECT_EQ("mpio", to.str2); | ^ /usr/include/gtest/gtest.h:2457:28: error: 'move' is not a member of 'std' 2457 | new FactoryImpl{std::move(factory)}); | ^~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:8: /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:2457:28: note: 'std::move' is only available from C++11 onwards /usr/include/gtest/gtest.h:1571:26: note: template argument deduction/substitution failed: In file included from /usr/include/gtest/gtest.h:375, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:69:5: note: mismatched types 'T*' and 'std::__cxx11::basic_string' 69 | EXPECT_EQ("mpio", to.str2); | ^ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.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: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) { | ~~~~~~~~~~~^~~ In file included from /usr/include/gtest/gtest.h:62, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp: At global scope: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:72:1: error: expected constructor, destructor, or type conversion before '(' token 72 | TEST(convert, enum_member) | ^~~~ /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(); } | ^~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:72:1: error: expected constructor, destructor, or type conversion before '(' token 72 | TEST(convert, enum_member) | ^~~~ In file included from /usr/include/gtest/gtest.h:62, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/cases.cpp:9: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/cases.cpp: At global scope: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/cases.cpp:31:1: error: expected constructor, destructor, or type conversion before '(' token 31 | TEST(cases, format) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/cases.cpp:31:1: error: expected constructor, destructor, or type conversion before '(' token 31 | TEST(cases, format) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:32:1: error: 'nullptr' was not declared in this scope 32 | TEST(carray, obj_with_zone_int) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:32:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 32 | TEST(carray, obj_with_zone_int) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:32:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 32 | TEST(carray, obj_with_zone_int) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:46:1: error: expected constructor, destructor, or type conversion before '(' token 46 | TEST(carray, pack_unpack_const_int) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:46:1: error: expected constructor, destructor, or type conversion before '(' token 46 | TEST(carray, pack_unpack_const_int) | ^~~~ /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(); } | ^~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/cases.cpp:31:1: error: 'nullptr' was not declared in this scope 31 | TEST(cases, format) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:72:1: error: 'nullptr' was not declared in this scope 72 | TEST(convert, enum_member) | ^~~~ /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: 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(); | ^~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:46:1: error: 'nullptr' was not declared in this scope 46 | TEST(carray, pack_unpack_const_int) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:72:1: error: 'nullptr' was not declared in this scope 72 | TEST(convert, enum_member) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:72:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 72 | TEST(convert, enum_member) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:72:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 72 | TEST(convert, enum_member) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:86:1: error: expected constructor, destructor, or type conversion before '(' token 86 | TEST(convert, return_value_ref) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:86:1: error: expected constructor, destructor, or type conversion before '(' token 86 | TEST(convert, return_value_ref) | ^~~~ /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(); | ^~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:46:1: error: 'nullptr' was not declared in this scope 46 | TEST(carray, pack_unpack_const_int) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:46:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 46 | TEST(carray, pack_unpack_const_int) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:46:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 46 | TEST(carray, pack_unpack_const_int) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:86:1: error: 'nullptr' was not declared in this scope 86 | TEST(convert, return_value_ref) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:62:1: error: expected constructor, destructor, or type conversion before '(' token 62 | TEST(carray, obj_with_zone_const_int) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:62:1: error: expected constructor, destructor, or type conversion before '(' token 62 | TEST(carray, obj_with_zone_const_int) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/cases.cpp:31:1: error: 'nullptr' was not declared in this scope 31 | TEST(cases, format) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/cases.cpp:31:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 31 | TEST(cases, format) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/cases.cpp:31:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 31 | TEST(cases, format) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/cases.cpp: In member function 'virtual void cases_format_Test::TestBody()': /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/cases.cpp:46:9: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 46 | EXPECT_TRUE( pac_compact.next(oh_compact) ); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/cases.cpp:9: /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/cases.cpp:9: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/cases.cpp:46:9: note: candidate expects 2 arguments, 1 provided 46 | EXPECT_TRUE( pac_compact.next(oh_compact) ); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/cases.cpp:9: /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/cases.cpp:9: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/cases.cpp:47:9: error: no matching function for call to 'testing::internal::EqHelper::Compare(const char [17], const char [9], const msgpack::v2::object&, const msgpack::v2::object&)' 47 | EXPECT_EQ(oh_compact.get(), oh.get()); | ^ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/cases.cpp:9: /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/cases.cpp:9: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/cases.cpp:47:9: note: couldn't deduce template parameter '' 47 | EXPECT_EQ(oh_compact.get(), oh.get()); | ^ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/cases.cpp:9: /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/cases.cpp:9: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/cases.cpp:47:9: note: mismatched types 'T*' and 'msgpack::v2::object' 47 | EXPECT_EQ(oh_compact.get(), oh.get()); | ^ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/cases.cpp:9: /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 msgpack::v2::object' to 'testing::internal::BiggestInt' {aka 'long long int'} 1565 | BiggestInt lhs, | ~~~~~~~~~~~^~~ In file included from /usr/include/gtest/gtest.h:62, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/cases.cpp:9: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/cases.cpp:50:5: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 50 | EXPECT_FALSE( pac_compact.next(oh) ); | ^~~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/cases.cpp:9: /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/cases.cpp:9: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/cases.cpp:50:5: note: candidate expects 2 arguments, 1 provided 50 | EXPECT_FALSE( pac_compact.next(oh) ); | ^~~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/cases.cpp:9: /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); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /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_) {} | ^~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:86:1: error: 'nullptr' was not declared in this scope 86 | TEST(convert, return_value_ref) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:86:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 86 | TEST(convert, return_value_ref) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:86:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 86 | TEST(convert, return_value_ref) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:62:1: error: 'nullptr' was not declared in this scope 62 | TEST(carray, obj_with_zone_const_int) | ^~~~ In file included from /usr/include/gtest/gtest.h:375, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp: In member function 'virtual void convert_return_value_ref_Test::TestBody()': /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:93:5: error: no matching function for call to 'testing::internal::EqHelper::Compare(const char [3], const char [3], int*, const int*)' 93 | EXPECT_EQ(&i, &j); | ^ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:93:5: note: couldn't deduce template parameter '' 93 | EXPECT_EQ(&i, &j); | ^ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:8: /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:93:15: note: cannot convert '& i' (type 'int*') to type 'int' 93 | EXPECT_EQ(&i, &j); | ^~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.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)' (near match) 1563 | static AssertionResult Compare(const char* lhs_expression, | ^~~~~~~ /usr/include/gtest/gtest.h:1563:26: note: conversion of argument 4 would be ill-formed: In file included from /usr/include/gtest/gtest.h:375, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:93:19: error: invalid conversion from 'const int*' to 'testing::internal::BiggestInt' {aka 'long long int'} [-fpermissive] 93 | EXPECT_EQ(&i, &j); | ^~ | | | const int* In file included from /usr/include/gtest/gtest.h:62, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp: At global scope: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:119:1: error: expected constructor, destructor, or type conversion before '(' token 119 | TEST(convert, if_not_nil_nil) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:119:1: error: expected constructor, destructor, or type conversion before '(' token 119 | TEST(convert, if_not_nil_nil) | ^~~~ /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_; | ^~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:62:1: error: 'nullptr' was not declared in this scope 62 | TEST(carray, obj_with_zone_const_int) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:62:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 62 | TEST(carray, obj_with_zone_const_int) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:62:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 62 | TEST(carray, obj_with_zone_const_int) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:76:1: error: expected constructor, destructor, or type conversion before '(' token 76 | TEST(carray, pack_unpack_string) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:76:1: error: expected constructor, destructor, or type conversion before '(' token 76 | TEST(carray, pack_unpack_string) | ^~~~ /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:617:7: error: 'ParamNameGeneratorFunc' does not name a type; did you mean 'ParamGenerator'? 617 | ParamNameGeneratorFunc* name_func; | ^~~~~~~~~~~~~~~~~~~~~~ | ParamGenerator /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:76:1: error: 'nullptr' was not declared in this scope 76 | TEST(carray, pack_unpack_string) | ^~~~ /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_; | ^~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:119:1: error: 'nullptr' was not declared in this scope 119 | TEST(convert, if_not_nil_nil) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:76:1: error: 'nullptr' was not declared in this scope 76 | TEST(carray, pack_unpack_string) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:76:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 76 | TEST(carray, pack_unpack_string) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:76:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 76 | TEST(carray, pack_unpack_string) | ^~~~ In file included from /usr/include/gtest/gtest.h:375, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp: In member function 'virtual void carray_pack_unpack_string_Test::TestBody()': /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:88:5: error: no matching function for call to 'testing::internal::EqHelper::Compare(const char [6], const char [6], std::string&, std::string&)' 88 | EXPECT_EQ(v1[0], v2[0]); | ^ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:88:5: note: couldn't deduce template parameter '' 88 | EXPECT_EQ(v1[0], v2[0]); | ^ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:8: /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:88:5: note: mismatched types 'T*' and 'std::__cxx11::basic_string' 88 | EXPECT_EQ(v1[0], v2[0]); | ^ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.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, | ~~~~~~~~~~~^~~ In file included from /usr/include/gtest/gtest.h:375, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:89:5: error: no matching function for call to 'testing::internal::EqHelper::Compare(const char [6], const char [6], std::string&, std::string&)' 89 | EXPECT_EQ(v1[1], v2[1]); | ^ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:89:5: note: couldn't deduce template parameter '' 89 | EXPECT_EQ(v1[1], v2[1]); | ^ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:8: /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:89:5: note: mismatched types 'T*' and 'std::__cxx11::basic_string' 89 | EXPECT_EQ(v1[1], v2[1]); | ^ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.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, | ~~~~~~~~~~~^~~ In file included from /usr/include/gtest/gtest.h:62, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp: At global scope: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:92:1: error: expected constructor, destructor, or type conversion before '(' token 92 | TEST(carray, obj_with_zone_string) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:92:1: error: expected constructor, destructor, or type conversion before '(' token 92 | TEST(carray, obj_with_zone_string) | ^~~~ /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(); | ^~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:119:1: error: 'nullptr' was not declared in this scope 119 | TEST(convert, if_not_nil_nil) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:119:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 119 | TEST(convert, if_not_nil_nil) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:119:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 119 | TEST(convert, if_not_nil_nil) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp: In member function 'virtual void convert_if_not_nil_nil_Test::TestBody()': /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:123:5: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 123 | EXPECT_FALSE(obj.convert_if_not_nil(i)); | ^~~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:123:5: note: candidate expects 2 arguments, 1 provided 123 | EXPECT_FALSE(obj.convert_if_not_nil(i)); | ^~~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp: At global scope: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:126:1: error: expected constructor, destructor, or type conversion before '(' token 126 | TEST(convert, if_not_nil_not_nil) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:126:1: error: expected constructor, destructor, or type conversion before '(' token 126 | TEST(convert, if_not_nil_not_nil) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:92:1: error: 'nullptr' was not declared in this scope 92 | TEST(carray, obj_with_zone_string) | ^~~~ /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_)); | ^~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:126:1: error: 'nullptr' was not declared in this scope 126 | TEST(convert, if_not_nil_not_nil) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:92:1: error: 'nullptr' was not declared in this scope 92 | TEST(carray, obj_with_zone_string) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:92:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 92 | TEST(carray, obj_with_zone_string) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:92:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 92 | TEST(carray, obj_with_zone_string) | ^~~~ /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:639:3: error: 'TestInfoContainer' does not name a type 639 | TestInfoContainer tests_; | ^~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:126:1: error: 'nullptr' was not declared in this scope 126 | TEST(convert, if_not_nil_not_nil) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:126:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 126 | TEST(convert, if_not_nil_not_nil) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:126:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 126 | TEST(convert, if_not_nil_not_nil) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp: In member function 'virtual void convert_if_not_nil_not_nil_Test::TestBody()': /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:132:5: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 132 | EXPECT_TRUE(obj.convert_if_not_nil(i)); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:132:5: note: candidate expects 2 arguments, 1 provided 132 | EXPECT_TRUE(obj.convert_if_not_nil(i)); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.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); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/include/gtest/internal/gtest-param-util.h:333:14: error: 'value_' was not declared in this scope 333 | return value_.get(); | ^~~~~~ In file included from /usr/include/gtest/gtest.h:375, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp: In member function 'virtual void carray_obj_with_zone_string_Test::TestBody()': /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:102:5: error: no matching function for call to 'testing::internal::EqHelper::Compare(const char [6], const char [6], std::string&, std::string&)' 102 | EXPECT_EQ(v1[0], v2[0]); | ^ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.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: /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() { | ^ In file included from /usr/include/gtest/gtest.h:375, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:102:5: note: couldn't deduce template parameter '' 102 | EXPECT_EQ(v1[0], v2[0]); | ^ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:8: /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: /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."); | ^~~~~~~~~~~~~ In file included from /usr/include/gtest/gtest.h:375, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:102:5: note: mismatched types 'T*' and 'std::__cxx11::basic_string' 102 | EXPECT_EQ(v1[0], v2[0]); | ^ /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) In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.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/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/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, | ~~~~~~~~~~~^~~ In file included from /usr/include/gtest/gtest.h:375, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:103:5: error: no matching function for call to 'testing::internal::EqHelper::Compare(const char [6], const char [6], std::string&, std::string&)' 103 | EXPECT_EQ(v1[1], v2[1]); | ^ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:103:5: note: couldn't deduce template parameter '' 103 | EXPECT_EQ(v1[1], v2[1]); | ^ /usr/include/gtest/internal/gtest-param-util.h:432:9: error: expected nested-name-specifier before 'ParamType' 432 | using ParamType = typename TestSuite::ParamType; | ^~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:8: /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:103:5: note: mismatched types 'T*' and 'std::__cxx11::basic_string' 103 | EXPECT_EQ(v1[1], v2[1]); | ^ /usr/include/gtest/internal/gtest-param-util.h:436:38: error: 'ParamType' has not been declared 436 | TestFactoryBase* CreateTestFactory(ParamType parameter) override { | ^~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.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, | ~~~~~~~~~~~^~~ In file included from /usr/include/gtest/gtest.h:62, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp: At global scope: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:106:1: error: expected constructor, destructor, or type conversion before '(' token 106 | TEST(carray, pack_unpack_char) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:106:1: error: expected constructor, destructor, or type conversion before '(' token 106 | TEST(carray, pack_unpack_char) | ^~~~ In file included from /usr/include/gtest/gtest.h:62, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/cases.cpp:9: /usr/include/gtest/internal/gtest-internal.h: In instantiation of 'struct testing::internal::IsRecursiveContainer': /usr/include/gtest/gtest-printers.h:506:41: 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:10: 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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/cases.cpp:9: /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:10: required from here /usr/include/gtest/gtest-printers.h:506:41: 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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/cases.cpp:9: /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/cases.cpp:9: /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:34: 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; long 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:34: note: 'testing::internal::MakeIndexSequence<2>' is not derived from 'testing::internal::IndexSequence' 738 | return ValuesIn(MakeVector(MakeIndexSequence())); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:106:1: error: 'nullptr' was not declared in this scope 106 | TEST(carray, pack_unpack_char) | ^~~~ /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; did you mean 'Test'? 511 | tests_.push_back(std::shared_ptr( | ^~~~~~ | Test /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; did you mean 'std::iterator'? 530 | for (typename TestInfoContainer::iterator test_it = tests_.begin(); | ^~~~~~~~ | std::iterator In file included from /usr/include/c++/11/bits/stl_algobase.h:65, from /usr/include/c++/11/memory:63, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/cpp_config_decl.hpp:38, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/pack_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:10, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:1: /usr/include/c++/11/bits/stl_iterator_base_types.h:127:12: note: 'std::iterator' declared here 127 | struct iterator | ^~~~~~~~ In file included from /usr/include/gtest/gtest-param-test.h:181, from /usr/include/gtest/gtest.h:67, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:10: /usr/include/gtest/internal/gtest-param-util.h:530:47: error: expected ';' before 'test_it' 530 | for (typename TestInfoContainer::iterator test_it = tests_.begin(); | ^~~~~~~ /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:530:47: error: 'test_it' was not declared in this scope /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:106:1: error: 'nullptr' was not declared in this scope 106 | TEST(carray, pack_unpack_char) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:106:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 106 | TEST(carray, pack_unpack_char) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:106:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 106 | TEST(carray, pack_unpack_char) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:123:1: error: expected constructor, destructor, or type conversion before '(' token 123 | TEST(carray, pack_unpack_char_as_str) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:123:1: error: expected constructor, destructor, or type conversion before '(' token 123 | TEST(carray, pack_unpack_char_as_str) | ^~~~ /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:530:57: error: 'tests_' was not declared in this scope; did you mean 'Test'? 530 | for (typename TestInfoContainer::iterator test_it = tests_.begin(); | ^~~~~~ | Test /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:530:9: note: to match this '(' 530 | for (typename TestInfoContainer::iterator test_it = tests_.begin(); | ^ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:123:1: error: 'nullptr' was not declared in this scope 123 | TEST(carray, pack_unpack_char_as_str) | ^~~~ /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, | ^~~~~~~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:123:1: error: 'nullptr' was not declared in this scope 123 | TEST(carray, pack_unpack_char_as_str) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:123:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 123 | TEST(carray, pack_unpack_char_as_str) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:123:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 123 | TEST(carray, pack_unpack_char_as_str) | ^~~~ In file included from /usr/include/gtest/gtest.h:62, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.cpp:8: /usr/include/gtest/internal/gtest-internal.h: In instantiation of 'struct testing::internal::IsRecursiveContainer': /usr/include/gtest/gtest-printers.h:506:41: 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:10: 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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.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:10: required from here /usr/include/gtest/gtest-printers.h:506:41: error: 'value' is not a member of 'testing::internal::IsRecursiveContainer' 506 | !IsRecursiveContainer::value | ^~~~~ /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) { | ^~~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:140:1: error: expected constructor, destructor, or type conversion before '(' token 140 | TEST(carray, obj_with_zone_char) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:140:1: error: expected constructor, destructor, or type conversion before '(' token 140 | TEST(carray, obj_with_zone_char) | ^~~~ 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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/convert.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:34: 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; long 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:34: note: 'testing::internal::MakeIndexSequence<2>' is not derived from 'testing::internal::IndexSequence' 738 | return ValuesIn(MakeVector(MakeIndexSequence())); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gmake[2]: *** [test/CMakeFiles/fixint.dir/build.make:79: test/CMakeFiles/fixint.dir/fixint.cpp.o] Error 1 gmake[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build' gmake[1]: *** [CMakeFiles/Makefile2:1338: test/CMakeFiles/fixint.dir/all] Error 2 gmake[1]: *** Waiting for unfinished jobs.... /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:140:1: error: 'nullptr' was not declared in this scope 140 | TEST(carray, obj_with_zone_char) | ^~~~ /usr/include/gtest/internal/gtest-param-util.h:531:21: error: 'tests_' was not declared in this scope; did you mean 'Test'? 531 | test_it != tests_.end(); ++test_it) { | ^~~~~~ | Test /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: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, | ^~~~~~~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:140:1: error: 'nullptr' was not declared in this scope 140 | TEST(carray, obj_with_zone_char) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:140:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 140 | TEST(carray, obj_with_zone_char) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:140:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 140 | TEST(carray, obj_with_zone_char) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:155:1: error: expected constructor, destructor, or type conversion before '(' token 155 | TEST(carray, obj_with_zone_char_as_str) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:155:1: error: expected constructor, destructor, or type conversion before '(' token 155 | TEST(carray, obj_with_zone_char_as_str) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:155:1: error: 'nullptr' was not declared in this scope 155 | TEST(carray, obj_with_zone_char_as_str) | ^~~~ /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; | ^~~~~~~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:155:1: error: 'nullptr' was not declared in this scope 155 | TEST(carray, obj_with_zone_char_as_str) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:155:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 155 | TEST(carray, obj_with_zone_char_as_str) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:155:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 155 | TEST(carray, obj_with_zone_char_as_str) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:170:1: error: expected constructor, destructor, or type conversion before '(' token 170 | TEST(carray, pack_unpack_unsigned_char) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:170:1: error: expected constructor, destructor, or type conversion before '(' token 170 | TEST(carray, pack_unpack_unsigned_char) | ^~~~ /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:715:3: error: 'TestSuiteInfoContainer' does not name a type 715 | TestSuiteInfoContainer test_suite_infos_; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-param-util.h:639:3: error: 'TestInfoContainer' does not name a type 639 | TestInfoContainer tests_; | ^~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:170:1: error: 'nullptr' was not declared in this scope 170 | TEST(carray, pack_unpack_unsigned_char) | ^~~~ /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; did you mean 'Test'? 511 | tests_.push_back(std::shared_ptr( | ^~~~~~ | Test /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; did you mean 'std::iterator'? 530 | for (typename TestInfoContainer::iterator test_it = tests_.begin(); | ^~~~~~~~ | std::iterator In file included from /usr/include/c++/11/bits/stl_algobase.h:65, from /usr/include/c++/11/memory:63, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/cpp_config_decl.hpp:38, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/pack_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:10, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:1: /usr/include/c++/11/bits/stl_iterator_base_types.h:127:12: note: 'std::iterator' declared here 127 | struct iterator | ^~~~~~~~ In file included from /usr/include/gtest/gtest-param-test.h:181, from /usr/include/gtest/gtest.h:67, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:10: /usr/include/gtest/internal/gtest-param-util.h:530:47: error: expected ';' before 'test_it' 530 | for (typename TestInfoContainer::iterator test_it = tests_.begin(); | ^~~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:170:1: error: 'nullptr' was not declared in this scope 170 | TEST(carray, pack_unpack_unsigned_char) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:170:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 170 | TEST(carray, pack_unpack_unsigned_char) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:170:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 170 | TEST(carray, pack_unpack_unsigned_char) | ^~~~ /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:187:1: error: expected constructor, destructor, or type conversion before '(' token 187 | TEST(carray, pack_unpack_unsigned_char_as_bin) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:187:1: error: expected constructor, destructor, or type conversion before '(' token 187 | TEST(carray, pack_unpack_unsigned_char_as_bin) | ^~~~ /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:530:47: error: 'test_it' was not declared in this scope /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; | ^~~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:187:1: error: 'nullptr' was not declared in this scope 187 | TEST(carray, pack_unpack_unsigned_char_as_bin) | ^~~~ /usr/include/gtest/internal/gtest-param-util.h:530:57: error: 'tests_' was not declared in this scope; did you mean 'Test'? 530 | for (typename TestInfoContainer::iterator test_it = tests_.begin(); | ^~~~~~ | Test /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:530:9: note: to match this '(' 530 | for (typename TestInfoContainer::iterator test_it = tests_.begin(); | ^ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:187:1: error: 'nullptr' was not declared in this scope 187 | TEST(carray, pack_unpack_unsigned_char_as_bin) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:187:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 187 | TEST(carray, pack_unpack_unsigned_char_as_bin) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:187:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 187 | TEST(carray, pack_unpack_unsigned_char_as_bin) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:204:1: error: expected constructor, destructor, or type conversion before '(' token 204 | TEST(carray, obj_with_zone_unsigned_char) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:204:1: error: expected constructor, destructor, or type conversion before '(' token 204 | TEST(carray, obj_with_zone_unsigned_char) | ^~~~ /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) { | ^~~~~~~ gmake[2]: *** [test/CMakeFiles/array_ref.dir/build.make:79: test/CMakeFiles/array_ref.dir/array_ref.cpp.o] Error 1 gmake[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build' gmake[1]: *** [CMakeFiles/Makefile2:1208: test/CMakeFiles/array_ref.dir/all] Error 2 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:204:1: error: 'nullptr' was not declared in this scope 204 | TEST(carray, obj_with_zone_unsigned_char) | ^~~~ /usr/include/gtest/internal/gtest-param-util.h:531:21: error: 'tests_' was not declared in this scope; did you mean 'Test'? 531 | test_it != tests_.end(); ++test_it) { | ^~~~~~ | Test /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; | ^~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:204:1: error: 'nullptr' was not declared in this scope 204 | TEST(carray, obj_with_zone_unsigned_char) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:204:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 204 | TEST(carray, obj_with_zone_unsigned_char) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:204:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 204 | TEST(carray, obj_with_zone_unsigned_char) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:219:1: error: expected constructor, destructor, or type conversion before '(' token 219 | TEST(carray, obj_with_zone_unsigned_char_as_bin) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:219:1: error: expected constructor, destructor, or type conversion before '(' token 219 | TEST(carray, obj_with_zone_unsigned_char_as_bin) | ^~~~ /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(); | ^~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:219:1: error: 'nullptr' was not declared in this scope 219 | TEST(carray, obj_with_zone_unsigned_char_as_bin) | ^~~~ /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; | ^~~~~~~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:219:1: error: 'nullptr' was not declared in this scope 219 | TEST(carray, obj_with_zone_unsigned_char_as_bin) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:219:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 219 | TEST(carray, obj_with_zone_unsigned_char_as_bin) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:219:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 219 | TEST(carray, obj_with_zone_unsigned_char_as_bin) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:234:1: error: expected constructor, destructor, or type conversion before '(' token 234 | TEST(carray, pack_unpack_signed_char) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:234:1: error: expected constructor, destructor, or type conversion before '(' token 234 | TEST(carray, pack_unpack_signed_char) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:234:1: error: 'nullptr' was not declared in this scope 234 | TEST(carray, pack_unpack_signed_char) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:234:1: error: 'nullptr' was not declared in this scope 234 | TEST(carray, pack_unpack_signed_char) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:234:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 234 | TEST(carray, pack_unpack_signed_char) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:234:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 234 | TEST(carray, pack_unpack_signed_char) | ^~~~ /usr/include/gtest/internal/gtest-param-util.h:715:3: error: 'TestSuiteInfoContainer' does not name a type 715 | TestSuiteInfoContainer test_suite_infos_; | ^~~~~~~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:250:1: error: expected constructor, destructor, or type conversion before '(' token 250 | TEST(carray, obj_with_zone_signed_char) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:250:1: error: expected constructor, destructor, or type conversion before '(' token 250 | TEST(carray, obj_with_zone_signed_char) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:250:1: error: 'nullptr' was not declared in this scope 250 | TEST(carray, obj_with_zone_signed_char) | ^~~~ /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 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; | ^~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:250:1: error: 'nullptr' was not declared in this scope 250 | TEST(carray, obj_with_zone_signed_char) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:250:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 250 | TEST(carray, obj_with_zone_signed_char) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.cpp:250:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 250 | TEST(carray, obj_with_zone_signed_char) | ^~~~ /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:10: /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:10: /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:16: 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:16: 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:16: 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 | ^~~~~~~~~ /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; | ^~~~~~~ In file included from /usr/include/gtest/gtest.h:70, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:10: /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(); | ^~~~~~~ /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(); | ^~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:10: /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:21: note: 'std::enable_if' is only available from C++11 onwards /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/internal/gtest-internal.h: In instantiation of 'struct testing::internal::IsRecursiveContainer': /usr/include/gtest/gtest-printers.h:506:41: 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:10: 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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.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:10: required from here /usr/include/gtest/gtest-printers.h:506:41: 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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/carray.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:34: 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; long 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:34: note: 'testing::internal::MakeIndexSequence<2>' is not derived from 'testing::internal::IndexSequence' 738 | return ValuesIn(MakeVector(MakeIndexSequence())); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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 gmake[2]: *** [test/CMakeFiles/cases.dir/build.make:79: test/CMakeFiles/cases.dir/cases.cpp.o] Error 1 gmake[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build' /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); | ^~~~~~~ gmake[1]: *** [CMakeFiles/Makefile2:1286: test/CMakeFiles/cases.dir/all] Error 2 /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/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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:10: /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/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/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/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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:10: /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:10: /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:16: 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:16: 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:16: 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 | ^~~~~~~~~ /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(); | ^~~~~~~ In file included from /usr/include/gtest/gtest.h:70, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:10: /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.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-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(); | ^~~~~~~ /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(); | ^~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:10: /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:21: note: 'std::enable_if' is only available from C++11 onwards /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_; | ^~~ gmake[2]: *** [test/CMakeFiles/convert.dir/build.make:79: test/CMakeFiles/convert.dir/convert.cpp.o] Error 1 gmake[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build' /usr/include/gtest/gtest.h:723:12: error: 'nullptr' was not declared in this scope 723 | return nullptr; | ^~~~~~~ gmake[1]: *** [CMakeFiles/Makefile2:1312: test/CMakeFiles/convert.dir/all] Error 2 /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: 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: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::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: 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: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:946:23: error: 'nullptr' was not declared in this scope 946 | if (set_up_tc_ != nullptr) { | ^~~~~~~ /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:10: /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 '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: 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:954:26: error: 'nullptr' was not declared in this scope 954 | if (tear_down_tc_ != nullptr) { | ^~~~~~~ /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: 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:716:12: error: 'nullptr' was not declared in this scope 716 | return nullptr; | ^~~~~~~ /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: 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: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: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: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:21: note: 'std::enable_if' is only available from C++11 onwards /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: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: 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), | ^~~~~~~ /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 In file included from /usr/include/gtest/internal/gtest-internal.h:40, from /usr/include/gtest/gtest.h:62, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:10: /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) | ^~~~~~~~~~~~ /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(); | ^~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:10: /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:858:12: error: 'nullptr' was not declared in this scope 858 | return nullptr; | ^~~~~~~ /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:10: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp: At global scope: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:18:1: error: expected constructor, destructor, or type conversion before '(' token 18 | TEST(buffer, sbuffer) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:18:1: error: expected constructor, destructor, or type conversion before '(' token 18 | TEST(buffer, sbuffer) | ^~~~ /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) { | ^~~~~~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:18:1: error: 'nullptr' was not declared in this scope 18 | TEST(buffer, sbuffer) | ^~~~ /usr/include/gtest/gtest.h:946:23: error: 'nullptr' was not declared in this scope 946 | if (set_up_tc_ != nullptr) { | ^~~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:18:1: error: 'nullptr' was not declared in this scope 18 | TEST(buffer, sbuffer) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:18:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 18 | TEST(buffer, sbuffer) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:18:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 18 | TEST(buffer, sbuffer) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp: In member function 'virtual void buffer_sbuffer_Test::TestBody()': /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:26:5: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 26 | EXPECT_TRUE( memcmp(sbuf.data(), "aaa", 3) == 0 ); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:10: /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:10: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:26:5: note: candidate expects 2 arguments, 1 provided 26 | EXPECT_TRUE( memcmp(sbuf.data(), "aaa", 3) == 0 ); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:10: /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:10: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:34:5: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 34 | EXPECT_TRUE( memcmp(sbuf.data(), "aaa", 3) == 0 ); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:10: /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:10: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:34:5: note: candidate expects 2 arguments, 1 provided 34 | EXPECT_TRUE( memcmp(sbuf.data(), "aaa", 3) == 0 ); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:10: /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:10: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp: At global scope: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:38:1: error: expected constructor, destructor, or type conversion before '(' token 38 | TEST(buffer, vrefbuffer) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:38:1: error: expected constructor, destructor, or type conversion before '(' token 38 | TEST(buffer, vrefbuffer) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:38:1: error: 'nullptr' was not declared in this scope 38 | TEST(buffer, vrefbuffer) | ^~~~ /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) { | ^~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:38:1: error: 'nullptr' was not declared in this scope 38 | TEST(buffer, vrefbuffer) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:38:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 38 | TEST(buffer, vrefbuffer) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:38:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 38 | TEST(buffer, vrefbuffer) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp: In member function 'virtual void buffer_vrefbuffer_Test::TestBody()': /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:54:5: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 54 | EXPECT_TRUE( memcmp(sbuf.data(), "aaa", 3) == 0 ); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:10: /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:10: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:54:5: note: candidate expects 2 arguments, 1 provided 54 | EXPECT_TRUE( memcmp(sbuf.data(), "aaa", 3) == 0 ); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:10: /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:10: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:71:5: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 71 | EXPECT_TRUE( memcmp(sbuf.data(), "aaa", 3) == 0 ); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:10: /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:10: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:71:5: note: candidate expects 2 arguments, 1 provided 71 | EXPECT_TRUE( memcmp(sbuf.data(), "aaa", 3) == 0 ); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:10: /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:10: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp: At global scope: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:74:1: error: expected constructor, destructor, or type conversion before '(' token 74 | TEST(buffer, zbuffer) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:74:1: error: expected constructor, destructor, or type conversion before '(' token 74 | TEST(buffer, zbuffer) | ^~~~ /usr/include/gtest/gtest.h:954:26: error: 'nullptr' was not declared in this scope 954 | if (tear_down_tc_ != nullptr) { | ^~~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:74:1: error: 'nullptr' was not declared in this scope 74 | TEST(buffer, zbuffer) | ^~~~ /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*/) {} | ^~~~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:74:1: error: 'nullptr' was not declared in this scope 74 | TEST(buffer, zbuffer) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:74:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 74 | TEST(buffer, zbuffer) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:74:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 74 | TEST(buffer, zbuffer) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:85:1: error: expected constructor, destructor, or type conversion before '(' token 85 | TEST(buffer, fbuffer) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:85:1: error: expected constructor, destructor, or type conversion before '(' token 85 | TEST(buffer, fbuffer) | ^~~~ /usr/include/gtest/gtest.h:1119:36: error: 'TestCase' does not name a type 1119 | virtual void OnTestCaseEnd(const TestCase& /*test_case*/) {} | ^~~~~~~~ gmake[2]: *** [test/CMakeFiles/carray.dir/build.make:79: test/CMakeFiles/carray.dir/carray.cpp.o] Error 1 gmake[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build' gmake[1]: *** [CMakeFiles/Makefile2:1260: test/CMakeFiles/carray.dir/all] Error 2 /usr/include/gtest/gtest.h:1151:30: error: 'TestCase' does not name a type 1151 | void OnTestCaseStart(const TestCase& /*test_case*/) override {} | ^~~~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:85:1: error: 'nullptr' was not declared in this scope 85 | TEST(buffer, fbuffer) | ^~~~ /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_); | ^~~~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:85:1: error: 'nullptr' was not declared in this scope 85 | TEST(buffer, fbuffer) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:85:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 85 | TEST(buffer, fbuffer) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:85:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 85 | TEST(buffer, fbuffer) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp: In member function 'virtual void buffer_fbuffer_Test::TestBody()': /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:93:5: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 93 | EXPECT_TRUE( file != NULL ); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:10: /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:10: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:93:5: note: candidate expects 2 arguments, 1 provided 93 | EXPECT_TRUE( file != NULL ); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:10: /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:10: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:96:5: error: no matching function for call to 'testing::internal::EqHelper::Compare(const char [5], const char [12], FILE*&, FILE*)' 96 | EXPECT_EQ(file, fbuf.file()); | ^ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:10: /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:10: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:96:5: note: couldn't deduce template parameter '' 96 | EXPECT_EQ(file, fbuf.file()); | ^ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:10: /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:10: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:96:15: note: cannot convert 'file' (type 'FILE*') to type 'int' 96 | EXPECT_EQ(file, fbuf.file()); | ^~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:10: /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)' (near match) 1563 | static AssertionResult Compare(const char* lhs_expression, | ^~~~~~~ /usr/include/gtest/gtest.h:1563:26: note: conversion of argument 4 would be ill-formed: In file included from /usr/include/gtest/gtest.h:375, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:10: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:96:30: error: invalid conversion from 'FILE*' to 'testing::internal::BiggestInt' {aka 'long long int'} [-fpermissive] 96 | EXPECT_EQ(file, fbuf.file()); | ~~~~~~~~~^~ | | | FILE* In file included from /usr/include/gtest/gtest.h:62, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:10: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:106:9: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 106 | EXPECT_TRUE(ch != EOF); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:10: /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:10: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:106:9: note: candidate expects 2 arguments, 1 provided 106 | EXPECT_TRUE(ch != EOF); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:10: /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); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /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:21: note: 'std::enable_if' is only available from C++11 onwards /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:10: /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:10: /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:10: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp: At global scope: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:16:1: error: expected constructor, destructor, or type conversion before '(' token 16 | TEST(json, basic_elements) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:16:1: error: expected constructor, destructor, or type conversion before '(' token 16 | TEST(json, basic_elements) | ^~~~ In file included from /usr/include/gtest/internal/gtest-internal.h:40, from /usr/include/gtest/gtest.h:62, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /usr/include/gtest/internal/gtest-port.h:835:12: error: 'get' has not been declared in 'std' 835 | using std::get; | ^~~ /usr/include/gtest/internal/gtest-port.h:836:12: error: 'make_tuple' has not been declared in 'std' 836 | using std::make_tuple; | ^~~~~~~~~~ /usr/include/gtest/internal/gtest-port.h:837:12: error: 'tuple' has not been declared in 'std' 837 | using std::tuple; | ^~~~~ /usr/include/gtest/internal/gtest-port.h:838:12: error: 'tuple_element' has not been declared in 'std' 838 | using std::tuple_element; | ^~~~~~~~~~~~~ /usr/include/gtest/internal/gtest-port.h:839:12: error: 'tuple_size' has not been declared in 'std' 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); } | ^~~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:16:1: error: 'nullptr' was not declared in this scope 16 | TEST(json, basic_elements) | ^~~~ In file included from /usr/include/gtest/gtest.h:62, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:10: /usr/include/gtest/internal/gtest-internal.h: In instantiation of 'struct testing::internal::IsRecursiveContainer': /usr/include/gtest/gtest-printers.h:506:41: 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:10: 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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:10: /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:10: required from here /usr/include/gtest/gtest-printers.h:506:41: 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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:10: /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_)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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; | ^~~~~~~ In file included from /usr/include/gtest/gtest-param-test.h:181, from /usr/include/gtest/gtest.h:67, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/buffer.cpp:10: /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:34: 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; long 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:34: note: 'testing::internal::MakeIndexSequence<2>' is not derived from 'testing::internal::IndexSequence' 738 | return ValuesIn(MakeVector(MakeIndexSequence())); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:16:1: error: 'nullptr' was not declared in this scope 16 | TEST(json, basic_elements) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:16:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 16 | TEST(json, basic_elements) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:16:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 16 | TEST(json, basic_elements) | ^~~~ /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); | ^~~~~~~ In file included from /usr/include/gtest/gtest.h:375, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:10: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp: In member function 'virtual void json_basic_elements_Test::TestBody()': /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:30:5: error: no matching function for call to 'testing::internal::EqHelper::Compare(const char [9], const char [72], std::__cxx11::basic_stringstream::__string_type, const char [64])' 30 | EXPECT_EQ(ss.str(), "[12,-34,1.23,-4.56,true,false,\"ABC\",{\"Hello\":789,\"World\":-789}]"); | ^ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:10: /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:10: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:30:5: note: couldn't deduce template parameter '' 30 | EXPECT_EQ(ss.str(), "[12,-34,1.23,-4.56,true,false,\"ABC\",{\"Hello\":789,\"World\":-789}]"); | ^ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:10: /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:10: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:30:21: note: cannot convert 'std::__cxx11::basic_stringstream<_CharT, _Traits, _Alloc>::str() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_stringstream<_CharT, _Traits, _Alloc>::__string_type = std::__cxx11::basic_string]()' (type 'std::__cxx11::basic_stringstream::__string_type' {aka 'std::__cxx11::basic_string'}) to type 'int' 30 | EXPECT_EQ(ss.str(), "[12,-34,1.23,-4.56,true,false,\"ABC\",{\"Hello\":789,\"World\":-789}]"); | ~~~~~~^~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:10: /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::__cxx11::basic_stringstream::__string_type' {aka 'std::__cxx11::basic_string'} to 'testing::internal::BiggestInt' {aka 'long long int'} 1565 | BiggestInt lhs, | ~~~~~~~~~~~^~~ In file included from /usr/include/gtest/gtest.h:62, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:10: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp: At global scope: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:33:1: error: expected constructor, destructor, or type conversion before '(' token 33 | TEST(json, escape) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:33:1: error: expected constructor, destructor, or type conversion before '(' token 33 | TEST(json, escape) | ^~~~ /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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:33:1: error: 'nullptr' was not declared in this scope 33 | TEST(json, escape) | ^~~~ /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; | ^~~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:33:1: error: 'nullptr' was not declared in this scope 33 | TEST(json, escape) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:33:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 33 | TEST(json, escape) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:33:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 33 | TEST(json, escape) | ^~~~ In file included from /usr/include/gtest/gtest.h:375, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:10: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp: In member function 'virtual void json_escape_Test::TestBody()': /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:41:5: error: no matching function for call to 'testing::internal::EqHelper::Compare(const char [9], const char [36], std::__cxx11::basic_stringstream::__string_type, const char [22])' 41 | EXPECT_EQ(ss.str(), "\"\\\"\\\\\\/\\b\\f\\n\\r\\tabc\""); | ^ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:10: /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:10: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:41:5: note: couldn't deduce template parameter '' 41 | EXPECT_EQ(ss.str(), "\"\\\"\\\\\\/\\b\\f\\n\\r\\tabc\""); | ^ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:10: /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:10: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:41:21: note: cannot convert 'std::__cxx11::basic_stringstream<_CharT, _Traits, _Alloc>::str() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_stringstream<_CharT, _Traits, _Alloc>::__string_type = std::__cxx11::basic_string]()' (type 'std::__cxx11::basic_stringstream::__string_type' {aka 'std::__cxx11::basic_string'}) to type 'int' 41 | EXPECT_EQ(ss.str(), "\"\\\"\\\\\\/\\b\\f\\n\\r\\tabc\""); | ~~~~~~^~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:10: /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::__cxx11::basic_stringstream::__string_type' {aka 'std::__cxx11::basic_string'} to 'testing::internal::BiggestInt' {aka 'long long int'} 1565 | BiggestInt lhs, | ~~~~~~~~~~~^~~ In file included from /usr/include/gtest/gtest.h:62, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:10: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp: At global scope: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:44:1: error: expected constructor, destructor, or type conversion before '(' token 44 | TEST(json, escape_cc) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:44:1: error: expected constructor, destructor, or type conversion before '(' token 44 | TEST(json, escape_cc) | ^~~~ /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_( | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:44:1: error: 'nullptr' was not declared in this scope 44 | TEST(json, escape_cc) | ^~~~ /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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:44:1: error: 'nullptr' was not declared in this scope 44 | TEST(json, escape_cc) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:44:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 44 | TEST(json, escape_cc) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:44:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 44 | TEST(json, escape_cc) | ^~~~ /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(); | ^~~~~~~ In file included from /usr/include/gtest/gtest.h:375, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:10: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp: In member function 'virtual void json_escape_cc_Test::TestBody()': /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:55:5: error: no matching function for call to 'testing::internal::EqHelper::Compare(const char [9], const char [219], std::__cxx11::basic_stringstream::__string_type, const char [182])' 55 | EXPECT_EQ(ss.str(), "\"\\u0000\\u0001\\u0002\\u0003\\u0004\\u0005\\u0006\\u0007\\b\\t\\n\\u000b\\f\\r\\u000e\\u000f\\u0010\\u0011\\u0012\\u0013\\u0014\\u0015\\u0016\\u0017\\u0018\\u0019\\u001a\\u001b\\u001c\\u001d\\u001e\\u001f\\u007f \""); | ^ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:10: /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:10: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:55:5: note: couldn't deduce template parameter '' 55 | EXPECT_EQ(ss.str(), "\"\\u0000\\u0001\\u0002\\u0003\\u0004\\u0005\\u0006\\u0007\\b\\t\\n\\u000b\\f\\r\\u000e\\u000f\\u0010\\u0011\\u0012\\u0013\\u0014\\u0015\\u0016\\u0017\\u0018\\u0019\\u001a\\u001b\\u001c\\u001d\\u001e\\u001f\\u007f \""); | ^ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:10: /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:10: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:55:21: note: cannot convert 'std::__cxx11::basic_stringstream<_CharT, _Traits, _Alloc>::str() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_stringstream<_CharT, _Traits, _Alloc>::__string_type = std::__cxx11::basic_string]()' (type 'std::__cxx11::basic_stringstream::__string_type' {aka 'std::__cxx11::basic_string'}) to type 'int' 55 | EXPECT_EQ(ss.str(), "\"\\u0000\\u0001\\u0002\\u0003\\u0004\\u0005\\u0006\\u0007\\b\\t\\n\\u000b\\f\\r\\u000e\\u000f\\u0010\\u0011\\u0012\\u0013\\u0014\\u0015\\u0016\\u0017\\u0018\\u0019\\u001a\\u001b\\u001c\\u001d\\u001e\\u001f\\u007f \""); | ~~~~~~^~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:10: /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::__cxx11::basic_stringstream::__string_type' {aka 'std::__cxx11::basic_string'} to 'testing::internal::BiggestInt' {aka 'long long int'} 1565 | BiggestInt lhs, | ~~~~~~~~~~~^~~ /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) { | ^~~~~~~ In file included from /usr/include/gtest/gtest.h:62, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:10: /usr/include/gtest/internal/gtest-internal.h: In instantiation of 'struct testing::internal::IsRecursiveContainer': /usr/include/gtest/gtest-printers.h:506:41: 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:10: 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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:10: /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:10: required from here /usr/include/gtest/gtest-printers.h:506:41: 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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:10: /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/json.cpp:10: /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:34: 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; long 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:34: note: 'testing::internal::MakeIndexSequence<2>' is not derived from 'testing::internal::IndexSequence' 738 | return ValuesIn(MakeVector(MakeIndexSequence())); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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); | ^~~~~~~ gmake[2]: *** [test/CMakeFiles/buffer.dir/build.make:79: test/CMakeFiles/buffer.dir/buffer.cpp.o] Error 1 gmake[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build' gmake[1]: *** [CMakeFiles/Makefile2:1234: test/CMakeFiles/buffer.dir/all] Error 2 In file included from /usr/include/gtest/gtest.h:62, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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:27: note: 'std::enable_if' is only available from C++11 onwards /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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++/11/tr1/unordered_map:39, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/tr1/unordered_map.hpp:29, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/type.hpp:30, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:22, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:1: /usr/include/c++/11/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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 | ^ gmake[2]: *** [test/CMakeFiles/json.dir/build.make:79: test/CMakeFiles/json.dir/json.cpp.o] Error 1 gmake[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build' gmake[1]: *** [CMakeFiles/Makefile2:1390: test/CMakeFiles/json.dir/all] Error 2 /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 'iswprint'? 508 | : !std::is_pointer::value | ^~~~~~~~~~ | iswprint /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 'unary_function'? 510 | : std::is_function::type>::value | ^~~~~~~~~~~ | unary_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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_fwd_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_fwd.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/adaptor/adaptor_base_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/adaptor_base_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/adaptor_base.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/object_decl.hpp:16, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:10, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:1: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/object_fwd_decl.hpp:27:11: note: 'msgpack::v1::type' 27 | namespace type { | ^~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_fwd_decl.hpp:15, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_fwd.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/adaptor/adaptor_base_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/adaptor_base_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/adaptor_base.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/object_decl.hpp:16, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:10, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:1: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v2/object_fwd_decl.hpp:22:11: note: 'msgpack::v2::type' 22 | namespace type { | ^~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_fwd_decl.hpp:16, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_fwd.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/adaptor/adaptor_base_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/adaptor_base_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/adaptor_base.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/object_decl.hpp:16, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:10, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:1: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/unpack_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v2/parse.hpp:20, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/parse.hpp:15, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:15, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:1: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/unpack_decl.hpp:185:8: note: 'msgpack::v1::detail::value' 185 | struct value; | ^~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/unpack_decl.hpp:185:8: note: 'msgpack::v1::detail::value' /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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:13: 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' 613 | inline void PrintTo(std::nullptr_t, ::std::ostream* os) { *os << "(nullptr)"; } | ^~~~~~~~~ /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:6: 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' 616 | void PrintTo(std::reference_wrapper ref, ::std::ostream* os) { | ^~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest-printers.h:616:19: note: 'std::reference_wrapper' is only available from C++11 onwards /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++/11/tr1/unordered_map:39, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/tr1/unordered_map.hpp:29, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/type.hpp:30, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:22, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:1: /usr/include/c++/11/tr1/type_traits:71:12: note: 'std::tr1::integral_constant' 71 | struct integral_constant | ^~~~~~~~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/pack_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:10, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:1: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' 59 | struct integral_constant; | ^~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 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++/11/tr1/unordered_map:39, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/tr1/unordered_map.hpp:29, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/type.hpp:30, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:22, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:1: /usr/include/c++/11/tr1/type_traits:71:12: note: 'std::tr1::integral_constant' 71 | struct integral_constant | ^~~~~~~~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/pack_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:10, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:1: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' 59 | struct integral_constant; | ^~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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++/11/tr1/unordered_map:39, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/tr1/unordered_map.hpp:29, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/type.hpp:30, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:22, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:1: /usr/include/c++/11/tr1/type_traits:71:12: note: 'std::tr1::integral_constant' 71 | struct integral_constant | ^~~~~~~~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/pack_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:10, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:1: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' 59 | struct integral_constant; | ^~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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++/11/tr1/unordered_map:39, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/adaptor/tr1/unordered_map.hpp:29, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/type.hpp:30, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:22, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:1: /usr/include/c++/11/tr1/type_traits:71:12: note: 'std::tr1::integral_constant' 71 | struct integral_constant | ^~~~~~~~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/pack_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:10, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:1: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' 59 | struct integral_constant; | ^~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/cpp_config_decl.hpp:59:8: note: 'msgpack::v1::integral_constant' /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/unpack_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v2/parse.hpp:20, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/parse.hpp:15, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:15, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:1: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/unpack_decl.hpp:185:8: note: 'msgpack::v1::detail::value' 185 | struct value; | ^~~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/unpack_decl.hpp:185:8: note: 'msgpack::v1::detail::value' /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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:21: note: 'std::enable_if' is only available from C++11 onwards /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:3: 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:21: note: 'std::enable_if' is only available from C++11 onwards /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:301:12: note: candidate: 'template testing::internal::MatcherBase::MatcherBase(const testing::MatcherInterface*, int) [with U = U; T = const std::__cxx11::basic_string&]' 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: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: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:301:12: note: candidate: 'template testing::internal::MatcherBase::MatcherBase(const testing::MatcherInterface*, int) [with U = U; T = std::__cxx11::basic_string]' 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: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: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: 'std::reference_wrapper' has not been declared 541 | static const T& Unwrap(std::reference_wrapper v) { return v; } | ^~~~~~~~~~~~~~~~~ /usr/include/gtest/gtest-matchers.h:541:48: error: expected ',' or '...' before '<' token 541 | static const T& Unwrap(std::reference_wrapper v) { return v; } | ^ /usr/include/gtest/gtest-matchers.h: In static member function 'static const T& testing::internal::ComparisonBase::Unwrap(int)': /usr/include/gtest/gtest-matchers.h:541:64: 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: At global scope: /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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:38: error: 'ParamType' has not been declared 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; did you mean 'Test'? 511 | tests_.push_back(std::shared_ptr( | ^~~~~~ | Test /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; did you mean 'std::iterator'? 530 | for (typename TestInfoContainer::iterator test_it = tests_.begin(); | ^~~~~~~~ | std::iterator In file included from /usr/include/c++/11/bits/stl_algobase.h:65, from /usr/include/c++/11/memory:63, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/cpp_config_decl.hpp:38, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/cpp_config.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/pack_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack_decl.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/pack.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/v1/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object_decl.hpp:14, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack/object.hpp:13, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/include/msgpack.hpp:10, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:1: /usr/include/c++/11/bits/stl_iterator_base_types.h:127:12: note: 'std::iterator' declared here 127 | struct iterator | ^~~~~~~~ In file included from /usr/include/gtest/gtest-param-test.h:181, from /usr/include/gtest/gtest.h:67, from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /usr/include/gtest/internal/gtest-param-util.h:530:47: 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 /usr/include/gtest/internal/gtest-param-util.h:530:57: error: 'tests_' was not declared in this scope; did you mean 'Test'? 530 | for (typename TestInfoContainer::iterator test_it = tests_.begin(); | ^~~~~~ | Test /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:530:9: note: to match this '(' 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; did you mean 'Test'? 531 | test_it != tests_.end(); ++test_it) { | ^~~~~~ | Test /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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:16: 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:16: 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:16: 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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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:21: note: 'std::enable_if' is only available from C++11 onwards /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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:21: note: 'std::enable_if' is only available from C++11 onwards /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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp: At global scope: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:16:1: error: expected constructor, destructor, or type conversion before '(' token 16 | TEST(limit, unpack_array_no_over) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:16:1: error: expected constructor, destructor, or type conversion before '(' token 16 | TEST(limit, unpack_array_no_over) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:16:1: error: 'nullptr' was not declared in this scope 16 | TEST(limit, unpack_array_no_over) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:16:1: error: 'nullptr' was not declared in this scope 16 | TEST(limit, unpack_array_no_over) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:16:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 16 | TEST(limit, unpack_array_no_over) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:16:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 16 | TEST(limit, unpack_array_no_over) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp: In member function 'virtual void limit_unpack_array_no_over_Test::TestBody()': /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:28:9: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 28 | EXPECT_TRUE(true); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:28:9: note: candidate expects 2 arguments, 1 provided 28 | EXPECT_TRUE(true); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:31:9: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 31 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:31:9: note: candidate expects 2 arguments, 1 provided 31 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:34:9: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 34 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:34:9: note: candidate expects 2 arguments, 1 provided 34 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp: At global scope: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:38:1: error: expected constructor, destructor, or type conversion before '(' token 38 | TEST(limit, unpack_array_over) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:38:1: error: expected constructor, destructor, or type conversion before '(' token 38 | TEST(limit, unpack_array_over) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:38:1: error: 'nullptr' was not declared in this scope 38 | TEST(limit, unpack_array_over) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:38:1: error: 'nullptr' was not declared in this scope 38 | TEST(limit, unpack_array_over) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:38:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 38 | TEST(limit, unpack_array_over) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:38:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 38 | TEST(limit, unpack_array_over) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp: In member function 'virtual void limit_unpack_array_over_Test::TestBody()': /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:50:9: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 50 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:50:9: note: candidate expects 2 arguments, 1 provided 50 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:53:9: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 53 | EXPECT_TRUE(true); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:53:9: note: candidate expects 2 arguments, 1 provided 53 | EXPECT_TRUE(true); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:56:9: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 56 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:56:9: note: candidate expects 2 arguments, 1 provided 56 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp: At global scope: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:60:1: error: expected constructor, destructor, or type conversion before '(' token 60 | TEST(limit, unpack_map_no_over) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:60:1: error: expected constructor, destructor, or type conversion before '(' token 60 | TEST(limit, unpack_map_no_over) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:60:1: error: 'nullptr' was not declared in this scope 60 | TEST(limit, unpack_map_no_over) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:60:1: error: 'nullptr' was not declared in this scope 60 | TEST(limit, unpack_map_no_over) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:60:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 60 | TEST(limit, unpack_map_no_over) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:60:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 60 | TEST(limit, unpack_map_no_over) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp: In member function 'virtual void limit_unpack_map_no_over_Test::TestBody()': /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:72:9: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 72 | EXPECT_TRUE(true); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:72:9: note: candidate expects 2 arguments, 1 provided 72 | EXPECT_TRUE(true); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:75:9: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 75 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:75:9: note: candidate expects 2 arguments, 1 provided 75 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:78:9: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 78 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:78:9: note: candidate expects 2 arguments, 1 provided 78 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp: At global scope: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:82:1: error: expected constructor, destructor, or type conversion before '(' token 82 | TEST(limit, unpack_map_over) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:82:1: error: expected constructor, destructor, or type conversion before '(' token 82 | TEST(limit, unpack_map_over) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:82:1: error: 'nullptr' was not declared in this scope 82 | TEST(limit, unpack_map_over) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:82:1: error: 'nullptr' was not declared in this scope 82 | TEST(limit, unpack_map_over) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:82:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 82 | TEST(limit, unpack_map_over) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:82:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 82 | TEST(limit, unpack_map_over) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp: In member function 'virtual void limit_unpack_map_over_Test::TestBody()': /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:94:9: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 94 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:94:9: note: candidate expects 2 arguments, 1 provided 94 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:97:9: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 97 | EXPECT_TRUE(true); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:97:9: note: candidate expects 2 arguments, 1 provided 97 | EXPECT_TRUE(true); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:100:9: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 100 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:100:9: note: candidate expects 2 arguments, 1 provided 100 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp: At global scope: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:104:1: error: expected constructor, destructor, or type conversion before '(' token 104 | TEST(limit, unpack_str_no_over) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:104:1: error: expected constructor, destructor, or type conversion before '(' token 104 | TEST(limit, unpack_str_no_over) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:104:1: error: 'nullptr' was not declared in this scope 104 | TEST(limit, unpack_str_no_over) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:104:1: error: 'nullptr' was not declared in this scope 104 | TEST(limit, unpack_str_no_over) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:104:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 104 | TEST(limit, unpack_str_no_over) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:104:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 104 | TEST(limit, unpack_str_no_over) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp: In member function 'virtual void limit_unpack_str_no_over_Test::TestBody()': /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:113:9: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 113 | EXPECT_TRUE(true); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:113:9: note: candidate expects 2 arguments, 1 provided 113 | EXPECT_TRUE(true); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:116:9: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 116 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:116:9: note: candidate expects 2 arguments, 1 provided 116 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:119:9: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 119 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:119:9: note: candidate expects 2 arguments, 1 provided 119 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp: At global scope: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:123:1: error: expected constructor, destructor, or type conversion before '(' token 123 | TEST(limit, unpack_str_over) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:123:1: error: expected constructor, destructor, or type conversion before '(' token 123 | TEST(limit, unpack_str_over) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:123:1: error: 'nullptr' was not declared in this scope 123 | TEST(limit, unpack_str_over) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:123:1: error: 'nullptr' was not declared in this scope 123 | TEST(limit, unpack_str_over) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:123:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 123 | TEST(limit, unpack_str_over) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:123:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 123 | TEST(limit, unpack_str_over) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp: In member function 'virtual void limit_unpack_str_over_Test::TestBody()': /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:132:9: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 132 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:132:9: note: candidate expects 2 arguments, 1 provided 132 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:135:9: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 135 | EXPECT_TRUE(true); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:135:9: note: candidate expects 2 arguments, 1 provided 135 | EXPECT_TRUE(true); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:138:9: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 138 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:138:9: note: candidate expects 2 arguments, 1 provided 138 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp: At global scope: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:142:1: error: expected constructor, destructor, or type conversion before '(' token 142 | TEST(limit, unpack_bin_no_over) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:142:1: error: expected constructor, destructor, or type conversion before '(' token 142 | TEST(limit, unpack_bin_no_over) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:142:1: error: 'nullptr' was not declared in this scope 142 | TEST(limit, unpack_bin_no_over) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:142:1: error: 'nullptr' was not declared in this scope 142 | TEST(limit, unpack_bin_no_over) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:142:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 142 | TEST(limit, unpack_bin_no_over) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:142:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 142 | TEST(limit, unpack_bin_no_over) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp: In member function 'virtual void limit_unpack_bin_no_over_Test::TestBody()': /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:154:9: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 154 | EXPECT_TRUE(true); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:154:9: note: candidate expects 2 arguments, 1 provided 154 | EXPECT_TRUE(true); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:157:9: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 157 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:157:9: note: candidate expects 2 arguments, 1 provided 157 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:160:9: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 160 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:160:9: note: candidate expects 2 arguments, 1 provided 160 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp: At global scope: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:164:1: error: expected constructor, destructor, or type conversion before '(' token 164 | TEST(limit, unpack_bin_over) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:164:1: error: expected constructor, destructor, or type conversion before '(' token 164 | TEST(limit, unpack_bin_over) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:164:1: error: 'nullptr' was not declared in this scope 164 | TEST(limit, unpack_bin_over) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:164:1: error: 'nullptr' was not declared in this scope 164 | TEST(limit, unpack_bin_over) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:164:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 164 | TEST(limit, unpack_bin_over) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:164:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 164 | TEST(limit, unpack_bin_over) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp: In member function 'virtual void limit_unpack_bin_over_Test::TestBody()': /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:176:9: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 176 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:176:9: note: candidate expects 2 arguments, 1 provided 176 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:179:9: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 179 | EXPECT_TRUE(true); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:179:9: note: candidate expects 2 arguments, 1 provided 179 | EXPECT_TRUE(true); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:182:9: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 182 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:182:9: note: candidate expects 2 arguments, 1 provided 182 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp: At global scope: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:186:1: error: expected constructor, destructor, or type conversion before '(' token 186 | TEST(limit, unpack_ext_no_over) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:186:1: error: expected constructor, destructor, or type conversion before '(' token 186 | TEST(limit, unpack_ext_no_over) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:186:1: error: 'nullptr' was not declared in this scope 186 | TEST(limit, unpack_ext_no_over) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:186:1: error: 'nullptr' was not declared in this scope 186 | TEST(limit, unpack_ext_no_over) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:186:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 186 | TEST(limit, unpack_ext_no_over) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:186:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 186 | TEST(limit, unpack_ext_no_over) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp: In member function 'virtual void limit_unpack_ext_no_over_Test::TestBody()': /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:197:9: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 197 | EXPECT_TRUE(true); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:197:9: note: candidate expects 2 arguments, 1 provided 197 | EXPECT_TRUE(true); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:200:9: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 200 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:200:9: note: candidate expects 2 arguments, 1 provided 200 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:203:9: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 203 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:203:9: note: candidate expects 2 arguments, 1 provided 203 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp: At global scope: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:207:1: error: expected constructor, destructor, or type conversion before '(' token 207 | TEST(limit, unpack_ext_over) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:207:1: error: expected constructor, destructor, or type conversion before '(' token 207 | TEST(limit, unpack_ext_over) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:207:1: error: 'nullptr' was not declared in this scope 207 | TEST(limit, unpack_ext_over) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:207:1: error: 'nullptr' was not declared in this scope 207 | TEST(limit, unpack_ext_over) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:207:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 207 | TEST(limit, unpack_ext_over) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:207:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 207 | TEST(limit, unpack_ext_over) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp: In member function 'virtual void limit_unpack_ext_over_Test::TestBody()': /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:218:9: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 218 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:218:9: note: candidate expects 2 arguments, 1 provided 218 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:221:9: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 221 | EXPECT_TRUE(true); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:221:9: note: candidate expects 2 arguments, 1 provided 221 | EXPECT_TRUE(true); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:224:9: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 224 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:224:9: note: candidate expects 2 arguments, 1 provided 224 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp: At global scope: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:228:1: error: expected constructor, destructor, or type conversion before '(' token 228 | TEST(limit, unpack_ext_over_32_bit) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:228:1: error: expected constructor, destructor, or type conversion before '(' token 228 | TEST(limit, unpack_ext_over_32_bit) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:228:1: error: 'nullptr' was not declared in this scope 228 | TEST(limit, unpack_ext_over_32_bit) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:228:1: error: 'nullptr' was not declared in this scope 228 | TEST(limit, unpack_ext_over_32_bit) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:228:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 228 | TEST(limit, unpack_ext_over_32_bit) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:228:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 228 | TEST(limit, unpack_ext_over_32_bit) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp: In member function 'virtual void limit_unpack_ext_over_32_bit_Test::TestBody()': /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:243:13: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 243 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:243:13: note: candidate expects 2 arguments, 1 provided 243 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:246:13: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 246 | EXPECT_TRUE(true); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:246:13: note: candidate expects 2 arguments, 1 provided 246 | EXPECT_TRUE(true); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:249:13: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 249 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:249:13: note: candidate expects 2 arguments, 1 provided 249 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp: At global scope: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:254:1: error: expected constructor, destructor, or type conversion before '(' token 254 | TEST(limit, unpack_ext_no_over_64_bit) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:254:1: error: expected constructor, destructor, or type conversion before '(' token 254 | TEST(limit, unpack_ext_no_over_64_bit) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:254:1: error: 'nullptr' was not declared in this scope 254 | TEST(limit, unpack_ext_no_over_64_bit) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:254:1: error: 'nullptr' was not declared in this scope 254 | TEST(limit, unpack_ext_no_over_64_bit) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:254:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 254 | TEST(limit, unpack_ext_no_over_64_bit) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:254:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 254 | TEST(limit, unpack_ext_no_over_64_bit) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp: In member function 'virtual void limit_unpack_ext_no_over_64_bit_Test::TestBody()': /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:269:13: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 269 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:269:13: note: candidate expects 2 arguments, 1 provided 269 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:272:13: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 272 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:272:13: note: candidate expects 2 arguments, 1 provided 272 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:275:13: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 275 | EXPECT_TRUE(true); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:275:13: note: candidate expects 2 arguments, 1 provided 275 | EXPECT_TRUE(true); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:278:13: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 278 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:278:13: note: candidate expects 2 arguments, 1 provided 278 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp: At global scope: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:283:1: error: expected constructor, destructor, or type conversion before '(' token 283 | TEST(limit, unpack_depth_no_over) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:283:1: error: expected constructor, destructor, or type conversion before '(' token 283 | TEST(limit, unpack_depth_no_over) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:283:1: error: 'nullptr' was not declared in this scope 283 | TEST(limit, unpack_depth_no_over) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:283:1: error: 'nullptr' was not declared in this scope 283 | TEST(limit, unpack_depth_no_over) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:283:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 283 | TEST(limit, unpack_depth_no_over) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:283:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 283 | TEST(limit, unpack_depth_no_over) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp: In member function 'virtual void limit_unpack_depth_no_over_Test::TestBody()': /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:295:9: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 295 | EXPECT_TRUE(true); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:295:9: note: candidate expects 2 arguments, 1 provided 295 | EXPECT_TRUE(true); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:298:9: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 298 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:298:9: note: candidate expects 2 arguments, 1 provided 298 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:301:9: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 301 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:301:9: note: candidate expects 2 arguments, 1 provided 301 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp: At global scope: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:305:1: error: expected constructor, destructor, or type conversion before '(' token 305 | TEST(limit, unpack_depth_over) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:305:1: error: expected constructor, destructor, or type conversion before '(' token 305 | TEST(limit, unpack_depth_over) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:305:1: error: 'nullptr' was not declared in this scope 305 | TEST(limit, unpack_depth_over) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:305:1: error: 'nullptr' was not declared in this scope 305 | TEST(limit, unpack_depth_over) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:305:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 305 | TEST(limit, unpack_depth_over) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:305:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 305 | TEST(limit, unpack_depth_over) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp: In member function 'virtual void limit_unpack_depth_over_Test::TestBody()': /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:317:9: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 317 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:317:9: note: candidate expects 2 arguments, 1 provided 317 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:320:9: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 320 | EXPECT_TRUE(true); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:320:9: note: candidate expects 2 arguments, 1 provided 320 | EXPECT_TRUE(true); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:323:9: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 323 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:323:9: note: candidate expects 2 arguments, 1 provided 323 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp: At global scope: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:425:1: error: expected constructor, destructor, or type conversion before '(' token 425 | TEST(limit, unpack_array_over_no_off_no_ref) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:425:1: error: expected constructor, destructor, or type conversion before '(' token 425 | TEST(limit, unpack_array_over_no_off_no_ref) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:425:1: error: 'nullptr' was not declared in this scope 425 | TEST(limit, unpack_array_over_no_off_no_ref) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:425:1: error: 'nullptr' was not declared in this scope 425 | TEST(limit, unpack_array_over_no_off_no_ref) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:425:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 425 | TEST(limit, unpack_array_over_no_off_no_ref) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:425:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 425 | TEST(limit, unpack_array_over_no_off_no_ref) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp: In member function 'virtual void limit_unpack_array_over_no_off_no_ref_Test::TestBody()': /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:437:9: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 437 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:437:9: note: candidate expects 2 arguments, 1 provided 437 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:440:9: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 440 | EXPECT_TRUE(true); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:440:9: note: candidate expects 2 arguments, 1 provided 440 | EXPECT_TRUE(true); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:443:9: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 443 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:443:9: note: candidate expects 2 arguments, 1 provided 443 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp: At global scope: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:447:1: error: expected constructor, destructor, or type conversion before '(' token 447 | TEST(limit, unpack_array_over_no_off_ref) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:447:1: error: expected constructor, destructor, or type conversion before '(' token 447 | TEST(limit, unpack_array_over_no_off_ref) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:447:1: error: 'nullptr' was not declared in this scope 447 | TEST(limit, unpack_array_over_no_off_ref) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:447:1: error: 'nullptr' was not declared in this scope 447 | TEST(limit, unpack_array_over_no_off_ref) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:447:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 447 | TEST(limit, unpack_array_over_no_off_ref) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:447:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 447 | TEST(limit, unpack_array_over_no_off_ref) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp: In member function 'virtual void limit_unpack_array_over_no_off_ref_Test::TestBody()': /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:460:9: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 460 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:460:9: note: candidate expects 2 arguments, 1 provided 460 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:463:9: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 463 | EXPECT_TRUE(true); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:463:9: note: candidate expects 2 arguments, 1 provided 463 | EXPECT_TRUE(true); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:466:9: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 466 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:466:9: note: candidate expects 2 arguments, 1 provided 466 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp: At global scope: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:470:1: error: expected constructor, destructor, or type conversion before '(' token 470 | TEST(limit, unpack_array_over_off_no_ref) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:470:1: error: expected constructor, destructor, or type conversion before '(' token 470 | TEST(limit, unpack_array_over_off_no_ref) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:470:1: error: 'nullptr' was not declared in this scope 470 | TEST(limit, unpack_array_over_off_no_ref) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:470:1: error: 'nullptr' was not declared in this scope 470 | TEST(limit, unpack_array_over_off_no_ref) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:470:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 470 | TEST(limit, unpack_array_over_off_no_ref) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:470:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 470 | TEST(limit, unpack_array_over_off_no_ref) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp: In member function 'virtual void limit_unpack_array_over_off_no_ref_Test::TestBody()': /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:483:9: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 483 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:483:9: note: candidate expects 2 arguments, 1 provided 483 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:486:9: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 486 | EXPECT_TRUE(true); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:486:9: note: candidate expects 2 arguments, 1 provided 486 | EXPECT_TRUE(true); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:489:9: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 489 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:489:9: note: candidate expects 2 arguments, 1 provided 489 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp: At global scope: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:493:1: error: expected constructor, destructor, or type conversion before '(' token 493 | TEST(limit, unpack_array_over_off_ref) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:493:1: error: expected constructor, destructor, or type conversion before '(' token 493 | TEST(limit, unpack_array_over_off_ref) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:493:1: error: 'nullptr' was not declared in this scope 493 | TEST(limit, unpack_array_over_off_ref) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:493:1: error: 'nullptr' was not declared in this scope 493 | TEST(limit, unpack_array_over_off_ref) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:493:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 493 | TEST(limit, unpack_array_over_off_ref) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:493:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 493 | TEST(limit, unpack_array_over_off_ref) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp: In member function 'virtual void limit_unpack_array_over_off_ref_Test::TestBody()': /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:507:9: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 507 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:507:9: note: candidate expects 2 arguments, 1 provided 507 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:510:9: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 510 | EXPECT_TRUE(true); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:510:9: note: candidate expects 2 arguments, 1 provided 510 | EXPECT_TRUE(true); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:513:9: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 513 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:513:9: note: candidate expects 2 arguments, 1 provided 513 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp: At global scope: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:553:1: error: expected constructor, destructor, or type conversion before '(' token 553 | TEST(limit, unpacker_array_over) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:553:1: error: expected constructor, destructor, or type conversion before '(' token 553 | TEST(limit, unpacker_array_over) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:553:1: error: 'nullptr' was not declared in this scope 553 | TEST(limit, unpacker_array_over) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:553:1: error: 'nullptr' was not declared in this scope 553 | TEST(limit, unpacker_array_over) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:553:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 553 | TEST(limit, unpacker_array_over) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:553:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 553 | TEST(limit, unpacker_array_over) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp: In member function 'virtual void limit_unpacker_array_over_Test::TestBody()': /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:569:9: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 569 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:569:9: note: candidate expects 2 arguments, 1 provided 569 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:572:9: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 572 | EXPECT_TRUE(true); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:572:9: note: candidate expects 2 arguments, 1 provided 572 | EXPECT_TRUE(true); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:575:9: error: no matching function for call to 'testing::AssertionResult::AssertionResult(bool)' 575 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:575:9: note: candidate expects 2 arguments, 1 provided 575 | EXPECT_TRUE(false); | ^~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:8: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp: At global scope: /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:579:1: error: expected constructor, destructor, or type conversion before '(' token 579 | TEST(limit, unpacker_reserve) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:579:1: error: expected constructor, destructor, or type conversion before '(' token 579 | TEST(limit, unpacker_reserve) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:579:1: error: 'nullptr' was not declared in this scope 579 | TEST(limit, unpacker_reserve) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:579:1: error: 'nullptr' was not declared in this scope 579 | TEST(limit, unpacker_reserve) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:579:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 579 | TEST(limit, unpacker_reserve) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:579:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 579 | TEST(limit, unpacker_reserve) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:588:1: error: expected constructor, destructor, or type conversion before '(' token 588 | TEST(limit, unpacker_reserve_more_than_twice) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:588:1: error: expected constructor, destructor, or type conversion before '(' token 588 | TEST(limit, unpacker_reserve_more_than_twice) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:588:1: error: 'nullptr' was not declared in this scope 588 | TEST(limit, unpacker_reserve_more_than_twice) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:588:1: error: 'nullptr' was not declared in this scope 588 | TEST(limit, unpacker_reserve_more_than_twice) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:588:1: error: 'GetSetUpCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 588 | TEST(limit, unpacker_reserve_more_than_twice) | ^~~~ /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.cpp:588:1: error: 'GetTearDownCaseOrSuite' is not a member of 'testing::internal::SuiteApiResolver' 588 | TEST(limit, unpacker_reserve_more_than_twice) | ^~~~ /usr/include/gtest/internal/gtest-internal.h: In instantiation of 'struct testing::internal::IsRecursiveContainer': /usr/include/gtest/gtest-printers.h:506:41: 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:10: 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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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:10: required from here /usr/include/gtest/gtest-printers.h:506:41: 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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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 /home/iurt/rpmbuild/BUILD/msgpack-3.3.0/test/limit.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:34: 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; long 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:34: note: 'testing::internal::MakeIndexSequence<2>' is not derived from 'testing::internal::IndexSequence' 738 | return ValuesIn(MakeVector(MakeIndexSequence())); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gmake[2]: *** [test/CMakeFiles/limit.dir/build.make:79: test/CMakeFiles/limit.dir/limit.cpp.o] Error 1 gmake[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build' gmake[1]: *** [CMakeFiles/Makefile2:1416: test/CMakeFiles/limit.dir/all] Error 2 gmake[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/msgpack-3.3.0/build' gmake: *** [Makefile:149: all] Error 2 error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.XmqTzJ (%build) RPM build errors: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend. Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.XmqTzJ (%build) I: [iurt_root_command] ERROR: chroot