* Package: dev-libs/leatherman-0.10.0 * Repository: gentoo * Maintainer: prometheanfire@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking leatherman-0.10.0.tar.gz to /var/tmp/portage/dev-libs/leatherman-0.10.0/work >>> Source unpacked in /var/tmp/portage/dev-libs/leatherman-0.10.0/work >>> Preparing source in /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0 ... >>> Working in BUILD_DIR: "/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build" cmake --no-warn-unused-cli -C /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/gentoo_common_config.cmake -G Unix Makefiles -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_INSTALL_DO_STRIP=OFF -DCMAKE_USER_MAKE_RULES_OVERRIDE=/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/gentoo_rules.cmake -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/gentoo_toolchain.cmake /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0 Not searching for unused variables given on the command line. loading initial cache file /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/gentoo_common_config.cmake -- The C compiler identification is GNU 6.2.0 -- The CXX compiler identification is GNU 6.2.0 -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Unpacking /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/vendor/catch-1.4.0.zip into /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/src/catch -- Boost version: 1.62.0 -- Boost version: 1.62.0 -- Found the following Boost libraries: -- locale -- system -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Boost version: 1.62.0 -- Found the following Boost libraries: -- log -- log_setup -- thread -- date_time -- filesystem -- system -- chrono -- regex -- atomic -- Unpacking /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/vendor/rapidjson-1.0.2.zip into /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/src/rapidjson -- Boost version: 1.62.0 -- Found the following Boost libraries: -- regex -- Boost version: 1.62.0 -- Found the following Boost libraries: -- date_time -- chrono -- system -- Boost version: 1.62.0 -- Found the following Boost libraries: -- regex -- filesystem -- system -- Boost version: 1.62.0 -- Found the following Boost libraries: -- regex -- Found CURL: /usr/lib64/libcurl.so (found version "7.51.0") -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success -- Performing Test COMPILER_HAS_DEPRECATED_ATTR -- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success -- Boost version: 1.62.0 -- Found the following Boost libraries: -- regex -- Boost version: 1.62.0 -- Found the following Boost libraries: -- regex -- filesystem -- system -- Boost version: 1.62.0 -- Found the following Boost libraries: -- regex -- filesystem -- system -- Found PythonInterp: /usr/bin/python (found version "3.4.5") -- <<< Gentoo configuration >>> Build type Gentoo Install path /usr Compiler flags: C -march=native -O2 -pipe C++ -Werror=terminate -march=native -O2 -pipe -Wno-maybe-uninitialized Linker flags: Executable -Wl,-O1 -Wl,--as-needed Module -Wl,-O1 -Wl,--as-needed Shared -Wl,-O1 -Wl,--as-needed -- Configuring done -- Generating done -- Build files have been written to: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0 ... >>> Working in BUILD_DIR: "/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build" make -j1 VERBOSE=1 /usr/bin/cmake -H/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0 -B/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/CMakeFiles /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/CMakeFiles/progress.marks make -f CMakeFiles/Makefile2 all make[1]: Entering directory '/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build' make -f logging/locales/CMakeFiles/fr-leatherman_logging.dir/build.make logging/locales/CMakeFiles/fr-leatherman_logging.dir/depend make[2]: Entering directory '/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build' cd /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0 /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/logging/locales /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/logging/locales /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/logging/locales/CMakeFiles/fr-leatherman_logging.dir/DependInfo.cmake Dependee "/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/logging/locales/CMakeFiles/fr-leatherman_logging.dir/DependInfo.cmake" is newer than depender "/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/logging/locales/CMakeFiles/fr-leatherman_logging.dir/depend.internal". Dependee "/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/logging/locales/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/logging/locales/CMakeFiles/fr-leatherman_logging.dir/depend.internal". Scanning dependencies of target fr-leatherman_logging make[2]: Leaving directory '/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build' make -f logging/locales/CMakeFiles/fr-leatherman_logging.dir/build.make logging/locales/CMakeFiles/fr-leatherman_logging.dir/build make[2]: Entering directory '/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build' [ 1%] Generating ../../fr/LC_MESSAGES/leatherman_logging.mo cd /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/logging/locales && /usr/bin/cmake -E make_directory /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/fr/LC_MESSAGES cd /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/logging/locales && /usr/bin/msgfmt -c -v -o /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/fr/LC_MESSAGES/leatherman_logging.mo /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/logging/locales/fr.po 2>&1 11 translated messages. make[2]: Leaving directory '/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build' [ 1%] Built target fr-leatherman_logging make -f locale/locales/CMakeFiles/fr-leatherman_locale.dir/build.make locale/locales/CMakeFiles/fr-leatherman_locale.dir/depend make[2]: Entering directory '/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build' cd /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0 /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/locale/locales /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/locale/locales /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/locale/locales/CMakeFiles/fr-leatherman_locale.dir/DependInfo.cmake Dependee "/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/locale/locales/CMakeFiles/fr-leatherman_locale.dir/DependInfo.cmake" is newer than depender "/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/locale/locales/CMakeFiles/fr-leatherman_locale.dir/depend.internal". Dependee "/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/locale/locales/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/locale/locales/CMakeFiles/fr-leatherman_locale.dir/depend.internal". Scanning dependencies of target fr-leatherman_locale make[2]: Leaving directory '/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build' make -f locale/locales/CMakeFiles/fr-leatherman_locale.dir/build.make locale/locales/CMakeFiles/fr-leatherman_locale.dir/build make[2]: Entering directory '/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build' [ 2%] Generating ../../fr/LC_MESSAGES/leatherman_locale.mo cd /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/locale/locales && /usr/bin/cmake -E make_directory /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/fr/LC_MESSAGES cd /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/locale/locales && /usr/bin/msgfmt -c -v -o /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/fr/LC_MESSAGES/leatherman_locale.mo /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/locale/locales/fr.po 2>&1 4 translated messages. make[2]: Leaving directory '/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build' [ 2%] Built target fr-leatherman_locale make -f locales/CMakeFiles/translations.dir/build.make locales/CMakeFiles/translations.dir/depend make[2]: Entering directory '/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build' cd /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0 /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/locales /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/locales /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/locales/CMakeFiles/translations.dir/DependInfo.cmake Dependee "/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/locales/CMakeFiles/translations.dir/DependInfo.cmake" is newer than depender "/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/locales/CMakeFiles/translations.dir/depend.internal". Dependee "/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/locales/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/locales/CMakeFiles/translations.dir/depend.internal". Scanning dependencies of target translations make[2]: Leaving directory '/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build' make -f locales/CMakeFiles/translations.dir/build.make locales/CMakeFiles/translations.dir/build make[2]: Entering directory '/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build' make[2]: Nothing to be done for 'locales/CMakeFiles/translations.dir/build'. make[2]: Leaving directory '/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build' [ 2%] Built target translations make -f locales/CMakeFiles/leatherman.pot.dir/build.make locales/CMakeFiles/leatherman.pot.dir/depend make[2]: Entering directory '/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build' cd /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0 /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/locales /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/locales /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/locales/CMakeFiles/leatherman.pot.dir/DependInfo.cmake Dependee "/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/locales/CMakeFiles/leatherman.pot.dir/DependInfo.cmake" is newer than depender "/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/locales/CMakeFiles/leatherman.pot.dir/depend.internal". Dependee "/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/locales/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/locales/CMakeFiles/leatherman.pot.dir/depend.internal". Scanning dependencies of target leatherman.pot make[2]: Leaving directory '/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build' make -f locales/CMakeFiles/leatherman.pot.dir/build.make locales/CMakeFiles/leatherman.pot.dir/build make[2]: Entering directory '/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build' make[2]: Nothing to be done for 'locales/CMakeFiles/leatherman.pot.dir/build'. make[2]: Leaving directory '/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build' [ 4%] Built target leatherman.pot make -f locale/CMakeFiles/leatherman_locale.dir/build.make locale/CMakeFiles/leatherman_locale.dir/depend make[2]: Entering directory '/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build' cd /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0 /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/locale /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/locale /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/locale/CMakeFiles/leatherman_locale.dir/DependInfo.cmake Dependee "/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/locale/CMakeFiles/leatherman_locale.dir/DependInfo.cmake" is newer than depender "/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/locale/CMakeFiles/leatherman_locale.dir/depend.internal". Dependee "/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/locale/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/locale/CMakeFiles/leatherman_locale.dir/depend.internal". Scanning dependencies of target leatherman_locale make[2]: Leaving directory '/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build' make -f locale/CMakeFiles/leatherman_locale.dir/build.make locale/CMakeFiles/leatherman_locale.dir/build make[2]: Entering directory '/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build' [ 5%] Building CXX object locale/CMakeFiles/leatherman_locale.dir/src/locale.cc.o cd /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/locale && /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_ALL_DYN_LINK -DBOOST_LOG_WITHOUT_WCHAR_T -DBOOST_SYSTEM_NO_DEPRECATED -DLEATHERMAN_LOCALE_INSTALL=\"/usr/share/locale\" -DLEATHERMAN_USE_LOCALES -DPROJECT_DIR=\"/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build\" -DPROJECT_NAME=\"leatherman\" -I/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/locale/inc -DNDEBUG -Werror=terminate -march=native -O2 -pipe -Wno-maybe-uninitialized -Werror=terminate -march=native -O2 -pipe -Wno-maybe-uninitialized -std=c++11 -Wall -Wno-unused-parameter -Wno-unused-local-typedefs -Wno-unknown-pragmas -Wno-missing-field-initializers -Wextra -fPIC -nostdlib -nodefaultlibs -o CMakeFiles/leatherman_locale.dir/src/locale.cc.o -c /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/locale/src/locale.cc [ 6%] Linking CXX static library leatherman_locale.a cd /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/locale && /usr/bin/cmake -P CMakeFiles/leatherman_locale.dir/cmake_clean_target.cmake cd /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/locale && /usr/bin/cmake -E cmake_link_script CMakeFiles/leatherman_locale.dir/link.txt --verbose=1 /usr/bin/x86_64-pc-linux-gnu-ar qc leatherman_locale.a CMakeFiles/leatherman_locale.dir/src/locale.cc.o /usr/bin/x86_64-pc-linux-gnu-ranlib leatherman_locale.a make[2]: Leaving directory '/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build' [ 6%] Built target leatherman_locale make -f locale/locales/CMakeFiles/leatherman_locale.pot.dir/build.make locale/locales/CMakeFiles/leatherman_locale.pot.dir/depend make[2]: Entering directory '/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build' cd /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0 /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/locale/locales /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/locale/locales /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/locale/locales/CMakeFiles/leatherman_locale.pot.dir/DependInfo.cmake Dependee "/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/locale/locales/CMakeFiles/leatherman_locale.pot.dir/DependInfo.cmake" is newer than depender "/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/locale/locales/CMakeFiles/leatherman_locale.pot.dir/depend.internal". Dependee "/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/locale/locales/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/locale/locales/CMakeFiles/leatherman_locale.pot.dir/depend.internal". Scanning dependencies of target leatherman_locale.pot make[2]: Leaving directory '/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build' make -f locale/locales/CMakeFiles/leatherman_locale.pot.dir/build.make locale/locales/CMakeFiles/leatherman_locale.pot.dir/build make[2]: Entering directory '/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build' make[2]: Nothing to be done for 'locale/locales/CMakeFiles/leatherman_locale.pot.dir/build'. make[2]: Leaving directory '/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build' [ 8%] Built target leatherman_locale.pot make -f logging/CMakeFiles/leatherman_logging.dir/build.make logging/CMakeFiles/leatherman_logging.dir/depend make[2]: Entering directory '/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build' cd /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0 /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/logging /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/logging /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/logging/CMakeFiles/leatherman_logging.dir/DependInfo.cmake Dependee "/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/logging/CMakeFiles/leatherman_logging.dir/DependInfo.cmake" is newer than depender "/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/logging/CMakeFiles/leatherman_logging.dir/depend.internal". Dependee "/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/logging/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/logging/CMakeFiles/leatherman_logging.dir/depend.internal". Scanning dependencies of target leatherman_logging make[2]: Leaving directory '/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build' make -f logging/CMakeFiles/leatherman_logging.dir/build.make logging/CMakeFiles/leatherman_logging.dir/build make[2]: Entering directory '/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build' [ 9%] Building CXX object logging/CMakeFiles/leatherman_logging.dir/src/logging.cc.o cd /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/logging && /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_ALL_DYN_LINK -DBOOST_LOG_WITHOUT_WCHAR_T -DBOOST_SYSTEM_NO_DEPRECATED -DLEATHERMAN_LOCALE_INSTALL=\"/usr/share/locale\" -DLEATHERMAN_LOGGING_LINE_NUMBERS -DLEATHERMAN_LOGGING_NAMESPACE=\"leatherman.logging\" -DLEATHERMAN_USE_LOCALES -DPROJECT_DIR=\"/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build\" -DPROJECT_NAME=\"leatherman\" -I/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/locale/inc -I/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/nowide/../vendor/nowide/include -I/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/nowide/inc -I/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/logging/inc -DNDEBUG -Werror=terminate -march=native -O2 -pipe -Wno-maybe-uninitialized -Werror=terminate -march=native -O2 -pipe -Wno-maybe-uninitialized -std=c++11 -Wall -Wno-unused-parameter -Wno-unused-local-typedefs -Wno-unknown-pragmas -Wno-missing-field-initializers -Wextra -fPIC -nostdlib -nodefaultlibs -o CMakeFiles/leatherman_logging.dir/src/logging.cc.o -c /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/logging/src/logging.cc [ 10%] Building CXX object logging/CMakeFiles/leatherman_logging.dir/src/posix/logging.cc.o cd /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/logging && /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_ALL_DYN_LINK -DBOOST_LOG_WITHOUT_WCHAR_T -DBOOST_SYSTEM_NO_DEPRECATED -DLEATHERMAN_LOCALE_INSTALL=\"/usr/share/locale\" -DLEATHERMAN_LOGGING_LINE_NUMBERS -DLEATHERMAN_LOGGING_NAMESPACE=\"leatherman.logging\" -DLEATHERMAN_USE_LOCALES -DPROJECT_DIR=\"/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build\" -DPROJECT_NAME=\"leatherman\" -I/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/locale/inc -I/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/nowide/../vendor/nowide/include -I/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/nowide/inc -I/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/logging/inc -DNDEBUG -Werror=terminate -march=native -O2 -pipe -Wno-maybe-uninitialized -Werror=terminate -march=native -O2 -pipe -Wno-maybe-uninitialized -std=c++11 -Wall -Wno-unused-parameter -Wno-unused-local-typedefs -Wno-unknown-pragmas -Wno-missing-field-initializers -Wextra -fPIC -nostdlib -nodefaultlibs -o CMakeFiles/leatherman_logging.dir/src/posix/logging.cc.o -c /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/logging/src/posix/logging.cc [ 12%] Linking CXX static library leatherman_logging.a cd /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/logging && /usr/bin/cmake -P CMakeFiles/leatherman_logging.dir/cmake_clean_target.cmake cd /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/logging && /usr/bin/cmake -E cmake_link_script CMakeFiles/leatherman_logging.dir/link.txt --verbose=1 /usr/bin/x86_64-pc-linux-gnu-ar qc leatherman_logging.a CMakeFiles/leatherman_logging.dir/src/logging.cc.o CMakeFiles/leatherman_logging.dir/src/posix/logging.cc.o /usr/bin/x86_64-pc-linux-gnu-ranlib leatherman_logging.a make[2]: Leaving directory '/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build' [ 12%] Built target leatherman_logging make -f logging/locales/CMakeFiles/leatherman_logging.pot.dir/build.make logging/locales/CMakeFiles/leatherman_logging.pot.dir/depend make[2]: Entering directory '/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build' cd /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0 /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/logging/locales /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/logging/locales /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/logging/locales/CMakeFiles/leatherman_logging.pot.dir/DependInfo.cmake Dependee "/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/logging/locales/CMakeFiles/leatherman_logging.pot.dir/DependInfo.cmake" is newer than depender "/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/logging/locales/CMakeFiles/leatherman_logging.pot.dir/depend.internal". Dependee "/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/logging/locales/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/logging/locales/CMakeFiles/leatherman_logging.pot.dir/depend.internal". Scanning dependencies of target leatherman_logging.pot make[2]: Leaving directory '/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build' make -f logging/locales/CMakeFiles/leatherman_logging.pot.dir/build.make logging/locales/CMakeFiles/leatherman_logging.pot.dir/build make[2]: Entering directory '/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build' make[2]: Nothing to be done for 'logging/locales/CMakeFiles/leatherman_logging.pot.dir/build'. make[2]: Leaving directory '/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build' [ 13%] Built target leatherman_logging.pot make -f json_container/CMakeFiles/leatherman_json_container.dir/build.make json_container/CMakeFiles/leatherman_json_container.dir/depend make[2]: Entering directory '/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build' cd /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0 /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/json_container /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/json_container/CMakeFiles/leatherman_json_container.dir/DependInfo.cmake Dependee "/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/json_container/CMakeFiles/leatherman_json_container.dir/DependInfo.cmake" is newer than depender "/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/json_container/CMakeFiles/leatherman_json_container.dir/depend.internal". Dependee "/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/json_container/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/json_container/CMakeFiles/leatherman_json_container.dir/depend.internal". Scanning dependencies of target leatherman_json_container make[2]: Leaving directory '/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build' make -f json_container/CMakeFiles/leatherman_json_container.dir/build.make json_container/CMakeFiles/leatherman_json_container.dir/build make[2]: Entering directory '/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build' [ 14%] Building CXX object json_container/CMakeFiles/leatherman_json_container.dir/src/json_container.cc.o cd /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/json_container && /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_ALL_DYN_LINK -DBOOST_LOG_WITHOUT_WCHAR_T -DBOOST_SYSTEM_NO_DEPRECATED -DLEATHERMAN_LOCALE_INSTALL=\"/usr/share/locale\" -DLEATHERMAN_USE_LOCALES -DPROJECT_DIR=\"/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build\" -DPROJECT_NAME=\"leatherman\" -I/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/locale/inc -I/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/src/rapidjson/include -I/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/rapidjson/inc -I/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc -DNDEBUG -Werror=terminate -march=native -O2 -pipe -Wno-maybe-uninitialized -Werror=terminate -march=native -O2 -pipe -Wno-maybe-uninitialized -std=c++11 -Wall -Wno-unused-parameter -Wno-unused-local-typedefs -Wno-unknown-pragmas -Wno-missing-field-initializers -Wextra -fPIC -nostdlib -nodefaultlibs -o CMakeFiles/leatherman_json_container.dir/src/json_container.cc.o -c /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:4:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/src/rapidjson/include/rapidjson/document.h:1:1: warning: null character(s) ignored ^ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:5:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/src/rapidjson/include/rapidjson/stringbuffer.h:1:1: warning: null character(s) ignored ^ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:6:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/src/rapidjson/include/rapidjson/writer.h:1:1: warning: null character(s) ignored ^ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:7:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/src/rapidjson/include/rapidjson/allocators.h:1:1: warning: null character(s) ignored ^ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:8:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build/src/rapidjson/include/rapidjson/rapidjson.h:1:1: warning: null character(s) ignored ^ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc: In function ‘std::__cxx11::string leatherman::json_container::valueToString(const json_value&)’: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:23:9: error: ‘StringBuffer’ is not a member of ‘rapidjson’ rapidjson::StringBuffer buffer; ^~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:24:9: error: ‘Writer’ is not a member of ‘rapidjson’ rapidjson::Writer writer { buffer }; ^~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:24:27: error: ‘StringBuffer’ is not a member of ‘rapidjson’ rapidjson::Writer writer { buffer }; ^~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:24:52: error: ‘writer’ was not declared in this scope rapidjson::Writer writer { buffer }; ^~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:25:13: error: invalid use of incomplete type ‘const json_value {aka const class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ jval.Accept(writer); ^ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:17:60: note: declaration of ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ template class GenericValue; ^~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:26:16: error: ‘buffer’ was not declared in this scope return buffer.GetString(); ^~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc: In constructor ‘leatherman::json_container::JsonContainer::JsonContainer()’: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:33:73: error: invalid use of incomplete type ‘using json_document = class rapidjson::GenericDocument, rapidjson::CrtAllocator, rapidjson::CrtAllocator> {aka class rapidjson::GenericDocument, rapidjson::CrtAllocator, rapidjson::CrtAllocator>}’ JsonContainer::JsonContainer() : document_root_ { new json_document() } { ^ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:19:85: note: declaration of ‘using json_document = class rapidjson::GenericDocument, rapidjson::CrtAllocator, rapidjson::CrtAllocator> {aka class rapidjson::GenericDocument, rapidjson::CrtAllocator, rapidjson::CrtAllocator>}’ pename Encoding, typename Allocator, typename StackAllocator> class GenericDocument; ^~~~~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:33:75: error: no matching function for call to ‘std::unique_ptr, rapidjson::CrtAllocator, rapidjson::CrtAllocator> >::unique_ptr()’ JsonContainer::JsonContainer() : document_root_ { new json_document() } { ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/memory:81:0, from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:8, from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1: /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/unique_ptr.h:228:2: note: candidate: template std::unique_ptr<_Tp, _Dp>::unique_ptr(std::auto_ptr<_Up>&&) unique_ptr(auto_ptr<_Up>&& __u) noexcept; ^~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/unique_ptr.h:228:2: note: template argument deduction/substitution failed: /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/unique_ptr.h:220:2: note: candidate: template std::unique_ptr<_Tp, _Dp>::unique_ptr(std::unique_ptr<_Up, _Ep>&&) unique_ptr(unique_ptr<_Up, _Ep>&& __u) noexcept ^~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/unique_ptr.h:220:2: note: template argument deduction/substitution failed: /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/unique_ptr.h:206:7: note: candidate: std::unique_ptr<_Tp, _Dp>::unique_ptr(std::unique_ptr<_Tp, _Dp>&&) [with _Tp = rapidjson::GenericDocument, rapidjson::CrtAllocator, rapidjson::CrtAllocator>; _Dp = std::default_delete, rapidjson::CrtAllocator, rapidjson::CrtAllocator> >] unique_ptr(unique_ptr&& __u) noexcept ^~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/unique_ptr.h:206:7: note: conversion of argument 1 would be ill-formed: /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/unique_ptr.h:201:17: note: candidate: constexpr std::unique_ptr<_Tp, _Dp>::unique_ptr(std::nullptr_t) [with _Tp = rapidjson::GenericDocument, rapidjson::CrtAllocator, rapidjson::CrtAllocator>; _Dp = std::default_delete, rapidjson::CrtAllocator, rapidjson::CrtAllocator> >; std::nullptr_t = std::nullptr_t] constexpr unique_ptr(nullptr_t) noexcept : unique_ptr() { } ^~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/unique_ptr.h:201:17: note: conversion of argument 1 would be ill-formed: /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/unique_ptr.h:194:7: note: candidate: std::unique_ptr<_Tp, _Dp>::unique_ptr(std::unique_ptr<_Tp, _Dp>::pointer, typename std::remove_reference<_To>::type&&) [with _Tp = rapidjson::GenericDocument, rapidjson::CrtAllocator, rapidjson::CrtAllocator>; _Dp = std::default_delete, rapidjson::CrtAllocator, rapidjson::CrtAllocator> >; std::unique_ptr<_Tp, _Dp>::pointer = rapidjson::GenericDocument, rapidjson::CrtAllocator, rapidjson::CrtAllocator>*; typename std::remove_reference<_To>::type = std::default_delete, rapidjson::CrtAllocator, rapidjson::CrtAllocator> >] unique_ptr(pointer __p, ^~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/unique_ptr.h:194:7: note: candidate expects 2 arguments, 1 provided /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/unique_ptr.h:182:7: note: candidate: std::unique_ptr<_Tp, _Dp>::unique_ptr(std::unique_ptr<_Tp, _Dp>::pointer, typename std::conditional::value, _Dp, const _Dp&>::type) [with _Tp = rapidjson::GenericDocument, rapidjson::CrtAllocator, rapidjson::CrtAllocator>; _Dp = std::default_delete, rapidjson::CrtAllocator, rapidjson::CrtAllocator> >; std::unique_ptr<_Tp, _Dp>::pointer = rapidjson::GenericDocument, rapidjson::CrtAllocator, rapidjson::CrtAllocator>*; typename std::conditional::value, _Dp, const _Dp&>::type = const std::default_delete, rapidjson::CrtAllocator, rapidjson::CrtAllocator> >&] unique_ptr(pointer __p, ^~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/unique_ptr.h:182:7: note: candidate expects 2 arguments, 1 provided /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/unique_ptr.h:170:7: note: candidate: std::unique_ptr<_Tp, _Dp>::unique_ptr(std::unique_ptr<_Tp, _Dp>::pointer) [with _Tp = rapidjson::GenericDocument, rapidjson::CrtAllocator, rapidjson::CrtAllocator>; _Dp = std::default_delete, rapidjson::CrtAllocator, rapidjson::CrtAllocator> >; std::unique_ptr<_Tp, _Dp>::pointer = rapidjson::GenericDocument, rapidjson::CrtAllocator, rapidjson::CrtAllocator>*] unique_ptr(pointer __p) noexcept ^~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/unique_ptr.h:170:7: note: conversion of argument 1 would be ill-formed: /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/unique_ptr.h:158:17: note: candidate: constexpr std::unique_ptr<_Tp, _Dp>::unique_ptr() [with _Tp = rapidjson::GenericDocument, rapidjson::CrtAllocator, rapidjson::CrtAllocator>; _Dp = std::default_delete, rapidjson::CrtAllocator, rapidjson::CrtAllocator> >] constexpr unique_ptr() noexcept ^~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/unique_ptr.h:158:17: note: candidate expects 0 arguments, 1 provided /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:34:23: error: invalid use of incomplete type ‘class rapidjson::GenericDocument, rapidjson::CrtAllocator, rapidjson::CrtAllocator>’ document_root_->SetObject(); ^~ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:19:85: note: declaration of ‘class rapidjson::GenericDocument, rapidjson::CrtAllocator, rapidjson::CrtAllocator>’ pename Encoding, typename Allocator, typename StackAllocator> class GenericDocument; ^~~~~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc: In constructor ‘leatherman::json_container::JsonContainer::JsonContainer(const string&)’: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:38:23: error: invalid use of incomplete type ‘class rapidjson::GenericDocument, rapidjson::CrtAllocator, rapidjson::CrtAllocator>’ document_root_->Parse(json_text.data()); ^~ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:19:85: note: declaration of ‘class rapidjson::GenericDocument, rapidjson::CrtAllocator, rapidjson::CrtAllocator>’ pename Encoding, typename Allocator, typename StackAllocator> class GenericDocument; ^~~~~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:40:27: error: invalid use of incomplete type ‘class rapidjson::GenericDocument, rapidjson::CrtAllocator, rapidjson::CrtAllocator>’ if (document_root_->HasParseError()) { ^~ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:19:85: note: declaration of ‘class rapidjson::GenericDocument, rapidjson::CrtAllocator, rapidjson::CrtAllocator>’ pename Encoding, typename Allocator, typename StackAllocator> class GenericDocument; ^~~~~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc: In constructor ‘leatherman::json_container::JsonContainer::JsonContainer(const json_value&)’: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:48:23: error: invalid use of incomplete type ‘class rapidjson::GenericDocument, rapidjson::CrtAllocator, rapidjson::CrtAllocator>’ document_root_->CopyFrom(value, document_root_->GetAllocator()); ^~ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:19:85: note: declaration of ‘class rapidjson::GenericDocument, rapidjson::CrtAllocator, rapidjson::CrtAllocator>’ pename Encoding, typename Allocator, typename StackAllocator> class GenericDocument; ^~~~~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:48:55: error: invalid use of incomplete type ‘class rapidjson::GenericDocument, rapidjson::CrtAllocator, rapidjson::CrtAllocator>’ document_root_->CopyFrom(value, document_root_->GetAllocator()); ^~ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:19:85: note: declaration of ‘class rapidjson::GenericDocument, rapidjson::CrtAllocator, rapidjson::CrtAllocator>’ pename Encoding, typename Allocator, typename StackAllocator> class GenericDocument; ^~~~~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc: In copy constructor ‘leatherman::json_container::JsonContainer::JsonContainer(const leatherman::json_container::JsonContainer&)’: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:52:23: error: invalid use of incomplete type ‘class rapidjson::GenericDocument, rapidjson::CrtAllocator, rapidjson::CrtAllocator>’ document_root_->CopyFrom(*data.document_root_, document_root_->GetAllocator()); ^~ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:19:85: note: declaration of ‘class rapidjson::GenericDocument, rapidjson::CrtAllocator, rapidjson::CrtAllocator>’ pename Encoding, typename Allocator, typename StackAllocator> class GenericDocument; ^~~~~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:52:70: error: invalid use of incomplete type ‘class rapidjson::GenericDocument, rapidjson::CrtAllocator, rapidjson::CrtAllocator>’ document_root_->CopyFrom(*data.document_root_, document_root_->GetAllocator()); ^~ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:19:85: note: declaration of ‘class rapidjson::GenericDocument, rapidjson::CrtAllocator, rapidjson::CrtAllocator>’ pename Encoding, typename Allocator, typename StackAllocator> class GenericDocument; ^~~~~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc: In constructor ‘leatherman::json_container::JsonContainer::JsonContainer(const leatherman::json_container::JsonContainer&&)’: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:56:23: error: invalid use of incomplete type ‘class rapidjson::GenericDocument, rapidjson::CrtAllocator, rapidjson::CrtAllocator>’ document_root_->CopyFrom(*data.document_root_, document_root_->GetAllocator()); ^~ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:19:85: note: declaration of ‘class rapidjson::GenericDocument, rapidjson::CrtAllocator, rapidjson::CrtAllocator>’ pename Encoding, typename Allocator, typename StackAllocator> class GenericDocument; ^~~~~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:56:70: error: invalid use of incomplete type ‘class rapidjson::GenericDocument, rapidjson::CrtAllocator, rapidjson::CrtAllocator>’ document_root_->CopyFrom(*data.document_root_, document_root_->GetAllocator()); ^~ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:19:85: note: declaration of ‘class rapidjson::GenericDocument, rapidjson::CrtAllocator, rapidjson::CrtAllocator>’ pename Encoding, typename Allocator, typename StackAllocator> class GenericDocument; ^~~~~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc: In member function ‘std::__cxx11::string leatherman::json_container::JsonContainer::toString() const’: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:75:30: error: invalid initialization of reference of type ‘const json_value& {aka const rapidjson::GenericValue, rapidjson::CrtAllocator>&}’ from expression of type ‘rapidjson::GenericDocument, rapidjson::CrtAllocator, rapidjson::CrtAllocator>’ return valueToString(*document_root_); ^~~~~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:22:17: note: in passing argument 1 of ‘std::__cxx11::string leatherman::json_container::valueToString(const json_value&)’ std::string valueToString(const json_value& jval) { ^~~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc: In member function ‘bool leatherman::json_container::JsonContainer::empty() const’: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:156:24: error: invalid use of incomplete type ‘class rapidjson::GenericValue, rapidjson::CrtAllocator>’ return jval->ObjectEmpty(); ^~ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:17:60: note: declaration of ‘class rapidjson::GenericValue, rapidjson::CrtAllocator>’ template class GenericValue; ^~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:158:24: error: invalid use of incomplete type ‘class rapidjson::GenericValue, rapidjson::CrtAllocator>’ return jval->Empty(); ^~ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:17:60: note: declaration of ‘class rapidjson::GenericValue, rapidjson::CrtAllocator>’ template class GenericValue; ^~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc: In member function ‘std::vector > leatherman::json_container::JsonContainer::keys() const’: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:185:17: error: invalid use of incomplete type ‘class rapidjson::GenericValue, rapidjson::CrtAllocator>’ if (jval->IsObject()) { ^~ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:17:60: note: declaration of ‘class rapidjson::GenericValue, rapidjson::CrtAllocator>’ template class GenericValue; ^~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:186:18: error: incomplete type ‘leatherman::json_container::json_value {aka rapidjson::GenericValue, rapidjson::CrtAllocator>}’ used in nested name specifier for (json_value::ConstMemberIterator itr = jval->MemberBegin(); ^~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:187:18: error: ‘itr’ was not declared in this scope itr != jval->MemberEnd(); ++itr) { ^~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:187:29: error: invalid use of incomplete type ‘class rapidjson::GenericValue, rapidjson::CrtAllocator>’ itr != jval->MemberEnd(); ++itr) { ^~ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:17:60: note: declaration of ‘class rapidjson::GenericValue, rapidjson::CrtAllocator>’ template class GenericValue; ^~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc: In member function ‘size_t leatherman::json_container::JsonContainer::getSize(const json_value&) const’: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:261:28: error: invalid use of incomplete type ‘const json_value {aka const class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ return jval.Size(); ^ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:17:60: note: declaration of ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ template class GenericValue; ^~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:263:28: error: invalid use of incomplete type ‘const json_value {aka const class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ return jval.MemberCount(); ^ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:17:60: note: declaration of ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ template class GenericValue; ^~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc: In member function ‘leatherman::json_container::DataType leatherman::json_container::JsonContainer::getValueType(const json_value&) const’: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:270:21: error: invalid use of incomplete type ‘const json_value {aka const class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ switch (jval.GetType()) { ^ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:17:60: note: declaration of ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ template class GenericValue; ^~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:271:29: error: ‘rapidjson::Type’ has not been declared case rapidjson::Type::kNullType: ^~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:273:29: error: ‘rapidjson::Type’ has not been declared case rapidjson::Type::kFalseType: ^~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:275:29: error: ‘rapidjson::Type’ has not been declared case rapidjson::Type::kTrueType: ^~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:277:29: error: ‘rapidjson::Type’ has not been declared case rapidjson::Type::kObjectType: ^~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:279:29: error: ‘rapidjson::Type’ has not been declared case rapidjson::Type::kArrayType: ^~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:281:29: error: ‘rapidjson::Type’ has not been declared case rapidjson::Type::kStringType: ^~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:283:29: error: ‘rapidjson::Type’ has not been declared case rapidjson::Type::kNumberType: ^~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:284:25: error: invalid use of incomplete type ‘const json_value {aka const class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ if (jval.IsDouble()) { ^ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:17:60: note: declaration of ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ template class GenericValue; ^~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc: In member function ‘bool leatherman::json_container::JsonContainer::hasKey(const json_value&, const char*) const’: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:298:21: error: invalid use of incomplete type ‘const json_value {aka const class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ return (jval.IsObject() && jval.HasMember(key)); ^ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:17:60: note: declaration of ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ template class GenericValue; ^~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:298:40: error: invalid use of incomplete type ‘const json_value {aka const class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ return (jval.IsObject() && jval.HasMember(key)); ^ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:17:60: note: declaration of ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ template class GenericValue; ^~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc: In member function ‘bool leatherman::json_container::JsonContainer::isObject(const json_value&) const’: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:302:20: error: invalid use of incomplete type ‘const json_value {aka const class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ return jval.IsObject(); ^ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:17:60: note: declaration of ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ template class GenericValue; ^~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc: In member function ‘leatherman::json_container::json_value* leatherman::json_container::JsonContainer::getValueInJson(const json_value&, const char*) const’: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:307:18: error: invalid use of incomplete type ‘const json_value {aka const class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ if (!jval.IsObject()) { ^ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:17:60: note: declaration of ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ template class GenericValue; ^~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:311:18: error: invalid use of incomplete type ‘const json_value {aka const class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ if (!jval.HasMember(key)) { ^ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:17:60: note: declaration of ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ template class GenericValue; ^~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:315:45: error: no match for ‘operator[]’ (operand types are ‘const json_value {aka const rapidjson::GenericValue, rapidjson::CrtAllocator>}’ and ‘const char*’) return const_cast(&jval[key]); ^ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc: In member function ‘leatherman::json_container::json_value* leatherman::json_container::JsonContainer::getValueInJson(const json_value&, const size_t&) const’: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:324:24: error: invalid use of incomplete type ‘const json_value {aka const class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ if (idx >= jval.Size()) { ^ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:17:60: note: declaration of ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ template class GenericValue; ^~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:328:45: error: no match for ‘operator[]’ (operand types are ‘const json_value {aka const rapidjson::GenericValue, rapidjson::CrtAllocator>}’ and ‘const size_t {aka const long unsigned int}’) return const_cast(&jval[idx]); ^ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc: In member function ‘leatherman::json_container::json_value* leatherman::json_container::JsonContainer::getValueInJson(std::vector::const_iterator, std::vector::const_iterator, bool, size_t) const’: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:335:67: error: cannot dynamic_cast ‘((const leatherman::json_container::JsonContainer*)this)->leatherman::json_container::JsonContainer::document_root_.std::unique_ptr<_Tp, _Dp>::get, rapidjson::CrtAllocator, rapidjson::CrtAllocator>, std::default_delete, rapidjson::CrtAllocator, rapidjson::CrtAllocator> > >()’ (of type ‘std::unique_ptr, rapidjson::CrtAllocator, rapidjson::CrtAllocator> >::pointer {aka class rapidjson::GenericDocument, rapidjson::CrtAllocator, rapidjson::CrtAllocator>*}’) to type ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator>* {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>*}’ (target is not pointer or reference to complete type) auto jval = dynamic_cast(document_root_.get()); ^ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc: In member function ‘void leatherman::json_container::JsonContainer::createKeyInJson(const char*, leatherman::json_container::json_value&)’: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:350:13: error: invalid use of incomplete type ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ jval.AddMember(json_value(key, document_root_->GetAllocator()).Move(), ^ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:17:60: note: declaration of ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ template class GenericValue; ^~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:350:54: error: invalid use of incomplete type ‘class rapidjson::GenericDocument, rapidjson::CrtAllocator, rapidjson::CrtAllocator>’ jval.AddMember(json_value(key, document_root_->GetAllocator()).Move(), ^~ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:19:85: note: declaration of ‘class rapidjson::GenericDocument, rapidjson::CrtAllocator, rapidjson::CrtAllocator>’ pename Encoding, typename Allocator, typename StackAllocator> class GenericDocument; ^~~~~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:350:70: error: invalid use of incomplete type ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ jval.AddMember(json_value(key, document_root_->GetAllocator()).Move(), ^ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:17:60: note: declaration of ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ template class GenericValue; ^~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:351:35: error: ‘kObjectType’ is not a member of ‘rapidjson’ json_value(rapidjson::kObjectType).Move(), ^~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:351:57: error: invalid use of incomplete type ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ json_value(rapidjson::kObjectType).Move(), ^ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:17:60: note: declaration of ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ template class GenericValue; ^~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:352:38: error: invalid use of incomplete type ‘class rapidjson::GenericDocument, rapidjson::CrtAllocator, rapidjson::CrtAllocator>’ document_root_->GetAllocator()); ^~ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:19:85: note: declaration of ‘class rapidjson::GenericDocument, rapidjson::CrtAllocator, rapidjson::CrtAllocator>’ pename Encoding, typename Allocator, typename StackAllocator> class GenericDocument; ^~~~~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc: In member function ‘T leatherman::json_container::JsonContainer::getValue(const json_value&) const [with T = int; leatherman::json_container::json_value = rapidjson::GenericValue, rapidjson::CrtAllocator>]’: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:359:18: error: invalid use of incomplete type ‘const json_value {aka const class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ if (value.IsNull()) { ^ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:17:60: note: declaration of ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ template class GenericValue; ^~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:363:19: error: invalid use of incomplete type ‘const json_value {aka const class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ if (!value.IsInt()) { ^ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:17:60: note: declaration of ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ template class GenericValue; ^~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:367:21: error: invalid use of incomplete type ‘const json_value {aka const class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ return value.GetInt(); ^ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:17:60: note: declaration of ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ template class GenericValue; ^~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc: In member function ‘T leatherman::json_container::JsonContainer::getValue(const json_value&) const [with T = bool; leatherman::json_container::json_value = rapidjson::GenericValue, rapidjson::CrtAllocator>]’: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:372:18: error: invalid use of incomplete type ‘const json_value {aka const class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ if (value.IsNull()) { ^ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:17:60: note: declaration of ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ template class GenericValue; ^~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:376:19: error: invalid use of incomplete type ‘const json_value {aka const class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ if (!value.IsBool()) { ^ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:17:60: note: declaration of ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ template class GenericValue; ^~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:380:21: error: invalid use of incomplete type ‘const json_value {aka const class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ return value.GetBool(); ^ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:17:60: note: declaration of ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ template class GenericValue; ^~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc: In member function ‘T leatherman::json_container::JsonContainer::getValue(const json_value&) const [with T = std::__cxx11::basic_string; leatherman::json_container::json_value = rapidjson::GenericValue, rapidjson::CrtAllocator>]’: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:385:18: error: invalid use of incomplete type ‘const json_value {aka const class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ if (value.IsNull()) { ^ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:17:60: note: declaration of ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ template class GenericValue; ^~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:389:19: error: invalid use of incomplete type ‘const json_value {aka const class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ if (!value.IsString()) { ^ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:17:60: note: declaration of ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ template class GenericValue; ^~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:393:33: error: invalid use of incomplete type ‘const json_value {aka const class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ return std::string(value.GetString(), value.GetStringLength()); ^ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:17:60: note: declaration of ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ template class GenericValue; ^~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:393:52: error: invalid use of incomplete type ‘const json_value {aka const class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ return std::string(value.GetString(), value.GetStringLength()); ^ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:17:60: note: declaration of ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ template class GenericValue; ^~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc: In member function ‘T leatherman::json_container::JsonContainer::getValue(const json_value&) const [with T = double; leatherman::json_container::json_value = rapidjson::GenericValue, rapidjson::CrtAllocator>]’: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:398:18: error: invalid use of incomplete type ‘const json_value {aka const class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ if (value.IsNull()) { ^ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:17:60: note: declaration of ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ template class GenericValue; ^~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:402:19: error: invalid use of incomplete type ‘const json_value {aka const class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ if (!value.IsDouble()) { ^ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:17:60: note: declaration of ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ template class GenericValue; ^~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:406:21: error: invalid use of incomplete type ‘const json_value {aka const class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ return value.GetDouble(); ^ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:17:60: note: declaration of ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ template class GenericValue; ^~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc: In member function ‘T leatherman::json_container::JsonContainer::getValue(const json_value&) const [with T = leatherman::json_container::JsonContainer; leatherman::json_container::json_value = rapidjson::GenericValue, rapidjson::CrtAllocator>]’: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:411:18: error: invalid use of incomplete type ‘const json_value {aka const class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ if (value.IsNull()) { ^ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:17:60: note: declaration of ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ template class GenericValue; ^~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc: In member function ‘T leatherman::json_container::JsonContainer::getValue(const json_value&) const [with T = rapidjson::GenericValue, rapidjson::CrtAllocator>; leatherman::json_container::json_value = rapidjson::GenericValue, rapidjson::CrtAllocator>]’: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:424:67: error: return type ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ is incomplete json_value JsonContainer::getValue<>(const json_value& value) const { ^~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:426:20: error: variable ‘leatherman::json_container::json_value v’ has initializer but incomplete type json_value v { value, tmp_this->document_root_->GetAllocator() }; ^ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:426:55: error: invalid use of incomplete type ‘class rapidjson::GenericDocument, rapidjson::CrtAllocator, rapidjson::CrtAllocator>’ json_value v { value, tmp_this->document_root_->GetAllocator() }; ^~ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:19:85: note: declaration of ‘class rapidjson::GenericDocument, rapidjson::CrtAllocator, rapidjson::CrtAllocator>’ pename Encoding, typename Allocator, typename StackAllocator> class GenericDocument; ^~~~~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc: In member function ‘T leatherman::json_container::JsonContainer::getValue(const json_value&) const [with T = std::vector >; leatherman::json_container::json_value = rapidjson::GenericValue, rapidjson::CrtAllocator>]’: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:434:18: error: invalid use of incomplete type ‘const json_value {aka const class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ if (value.IsNull()) { ^ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:17:60: note: declaration of ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ template class GenericValue; ^~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:438:19: error: invalid use of incomplete type ‘const json_value {aka const class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ if (!value.IsArray()) { ^ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:17:60: note: declaration of ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ template class GenericValue; ^~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:442:14: error: incomplete type ‘leatherman::json_container::json_value {aka rapidjson::GenericValue, rapidjson::CrtAllocator>}’ used in nested name specifier for (json_value::ConstValueIterator itr = value.Begin(); ^~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:443:14: error: ‘itr’ was not declared in this scope itr != value.End(); ^~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:443:26: error: invalid use of incomplete type ‘const json_value {aka const class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ itr != value.End(); ^ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:17:60: note: declaration of ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ template class GenericValue; ^~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc: In member function ‘T leatherman::json_container::JsonContainer::getValue(const json_value&) const [with T = std::vector; leatherman::json_container::json_value = rapidjson::GenericValue, rapidjson::CrtAllocator>]’: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:459:18: error: invalid use of incomplete type ‘const json_value {aka const class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ if (value.IsNull()) { ^ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:17:60: note: declaration of ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ template class GenericValue; ^~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:463:19: error: invalid use of incomplete type ‘const json_value {aka const class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ if (!value.IsArray()) { ^ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:17:60: note: declaration of ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ template class GenericValue; ^~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:467:14: error: incomplete type ‘leatherman::json_container::json_value {aka rapidjson::GenericValue, rapidjson::CrtAllocator>}’ used in nested name specifier for (json_value::ConstValueIterator itr = value.Begin(); ^~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:468:14: error: ‘itr’ was not declared in this scope itr != value.End(); ^~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:468:26: error: invalid use of incomplete type ‘const json_value {aka const class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ itr != value.End(); ^ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:17:60: note: declaration of ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ template class GenericValue; ^~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc: In member function ‘T leatherman::json_container::JsonContainer::getValue(const json_value&) const [with T = std::vector; leatherman::json_container::json_value = rapidjson::GenericValue, rapidjson::CrtAllocator>]’: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:484:18: error: invalid use of incomplete type ‘const json_value {aka const class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ if (value.IsNull()) { ^ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:17:60: note: declaration of ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ template class GenericValue; ^~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:488:19: error: invalid use of incomplete type ‘const json_value {aka const class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ if (!value.IsArray()) { ^ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:17:60: note: declaration of ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ template class GenericValue; ^~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:492:14: error: incomplete type ‘leatherman::json_container::json_value {aka rapidjson::GenericValue, rapidjson::CrtAllocator>}’ used in nested name specifier for (json_value::ConstValueIterator itr = value.Begin(); ^~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:493:14: error: ‘itr’ was not declared in this scope itr != value.End(); ^~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:493:26: error: invalid use of incomplete type ‘const json_value {aka const class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ itr != value.End(); ^ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:17:60: note: declaration of ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ template class GenericValue; ^~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc: In member function ‘T leatherman::json_container::JsonContainer::getValue(const json_value&) const [with T = std::vector; leatherman::json_container::json_value = rapidjson::GenericValue, rapidjson::CrtAllocator>]’: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:509:18: error: invalid use of incomplete type ‘const json_value {aka const class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ if (value.IsNull()) { ^ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:17:60: note: declaration of ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ template class GenericValue; ^~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:513:19: error: invalid use of incomplete type ‘const json_value {aka const class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ if (!value.IsArray()) { ^ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:17:60: note: declaration of ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ template class GenericValue; ^~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:517:14: error: incomplete type ‘leatherman::json_container::json_value {aka rapidjson::GenericValue, rapidjson::CrtAllocator>}’ used in nested name specifier for (json_value::ConstValueIterator itr = value.Begin(); ^~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:518:14: error: ‘itr’ was not declared in this scope itr != value.End(); ^~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:518:26: error: invalid use of incomplete type ‘const json_value {aka const class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ itr != value.End(); ^ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:17:60: note: declaration of ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ template class GenericValue; ^~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc: In member function ‘T leatherman::json_container::JsonContainer::getValue(const json_value&) const [with T = std::vector; leatherman::json_container::json_value = rapidjson::GenericValue, rapidjson::CrtAllocator>]’: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:534:18: error: invalid use of incomplete type ‘const json_value {aka const class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ if (value.IsNull()) { ^ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:17:60: note: declaration of ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ template class GenericValue; ^~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:538:19: error: invalid use of incomplete type ‘const json_value {aka const class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ if (!value.IsArray()) { ^ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:17:60: note: declaration of ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ template class GenericValue; ^~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:542:14: error: incomplete type ‘leatherman::json_container::json_value {aka rapidjson::GenericValue, rapidjson::CrtAllocator>}’ used in nested name specifier for (json_value::ConstValueIterator itr = value.Begin(); ^~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:543:14: error: ‘itr’ was not declared in this scope itr != value.End(); ^~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:543:26: error: invalid use of incomplete type ‘const json_value {aka const class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ itr != value.End(); ^ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:17:60: note: declaration of ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ template class GenericValue; ^~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:550:38: error: variable ‘const json_value tmpvalue’ has initializer but incomplete type const json_value tmpvalue(*itr, tmp_this->document_root_->GetAllocator()); ^ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:550:69: error: invalid use of incomplete type ‘class rapidjson::GenericDocument, rapidjson::CrtAllocator, rapidjson::CrtAllocator>’ const json_value tmpvalue(*itr, tmp_this->document_root_->GetAllocator()); ^~ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:19:85: note: declaration of ‘class rapidjson::GenericDocument, rapidjson::CrtAllocator, rapidjson::CrtAllocator>’ pename Encoding, typename Allocator, typename StackAllocator> class GenericDocument; ^~~~~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:551:47: error: no matching function for call to ‘leatherman::json_container::JsonContainer::JsonContainer()’ JsonContainer tmp_data { tmpvalue }; ^ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:55:5: note: candidate: leatherman::json_container::JsonContainer::JsonContainer(const leatherman::json_container::JsonContainer&&) JsonContainer::JsonContainer(const JsonContainer&& data) : JsonContainer() { ^~~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:55:5: note: conversion of argument 1 would be ill-formed: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:51:5: note: candidate: leatherman::json_container::JsonContainer::JsonContainer(const leatherman::json_container::JsonContainer&) JsonContainer::JsonContainer(const JsonContainer& data) : JsonContainer(){ ^~~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:51:5: note: conversion of argument 1 would be ill-formed: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:45:5: note: candidate: leatherman::json_container::JsonContainer::JsonContainer(const json_value&) JsonContainer::JsonContainer(const json_value& value) : JsonContainer() { ^~~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:45:5: note: conversion of argument 1 would be ill-formed: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:37:5: note: candidate: leatherman::json_container::JsonContainer::JsonContainer(const string&) JsonContainer::JsonContainer(const std::string& json_text) : JsonContainer() { ^~~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:37:5: note: conversion of argument 1 would be ill-formed: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:33:5: note: candidate: leatherman::json_container::JsonContainer::JsonContainer() JsonContainer::JsonContainer() : document_root_ { new json_document() } { ^~~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:33:5: note: candidate expects 0 arguments, 1 provided /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc: In member function ‘void leatherman::json_container::JsonContainer::setValue(leatherman::json_container::json_value&, T) [with T = bool; leatherman::json_container::json_value = rapidjson::GenericValue, rapidjson::CrtAllocator>]’: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:562:13: error: invalid use of incomplete type ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ jval.SetBool(new_value); ^ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:17:60: note: declaration of ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ template class GenericValue; ^~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc: In member function ‘void leatherman::json_container::JsonContainer::setValue(leatherman::json_container::json_value&, T) [with T = int; leatherman::json_container::json_value = rapidjson::GenericValue, rapidjson::CrtAllocator>]’: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:567:13: error: invalid use of incomplete type ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ jval.SetInt(new_value); ^ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:17:60: note: declaration of ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ template class GenericValue; ^~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc: In member function ‘void leatherman::json_container::JsonContainer::setValue(leatherman::json_container::json_value&, T) [with T = std::__cxx11::basic_string; leatherman::json_container::json_value = rapidjson::GenericValue, rapidjson::CrtAllocator>]’: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:572:13: error: invalid use of incomplete type ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ jval.SetString(new_value.data(), new_value.size(), document_root_->GetAllocator()); ^ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:17:60: note: declaration of ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ template class GenericValue; ^~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:572:74: error: invalid use of incomplete type ‘class rapidjson::GenericDocument, rapidjson::CrtAllocator, rapidjson::CrtAllocator>’ jval.SetString(new_value.data(), new_value.size(), document_root_->GetAllocator()); ^~ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:19:85: note: declaration of ‘class rapidjson::GenericDocument, rapidjson::CrtAllocator, rapidjson::CrtAllocator>’ pename Encoding, typename Allocator, typename StackAllocator> class GenericDocument; ^~~~~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc: In member function ‘void leatherman::json_container::JsonContainer::setValue(leatherman::json_container::json_value&, T) [with T = const char*; leatherman::json_container::json_value = rapidjson::GenericValue, rapidjson::CrtAllocator>]’: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:577:13: error: invalid use of incomplete type ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ jval.SetString(new_value, std::string(new_value).size(), document_root_->GetAllocator()); ^ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:17:60: note: declaration of ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ template class GenericValue; ^~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:577:80: error: invalid use of incomplete type ‘class rapidjson::GenericDocument, rapidjson::CrtAllocator, rapidjson::CrtAllocator>’ l.SetString(new_value, std::string(new_value).size(), document_root_->GetAllocator()); ^~ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:19:85: note: declaration of ‘class rapidjson::GenericDocument, rapidjson::CrtAllocator, rapidjson::CrtAllocator>’ pename Encoding, typename Allocator, typename StackAllocator> class GenericDocument; ^~~~~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc: In member function ‘void leatherman::json_container::JsonContainer::setValue(leatherman::json_container::json_value&, T) [with T = double; leatherman::json_container::json_value = rapidjson::GenericValue, rapidjson::CrtAllocator>]’: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:582:13: error: invalid use of incomplete type ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ jval.SetDouble(new_value); ^ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:17:60: note: declaration of ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ template class GenericValue; ^~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc: In member function ‘void leatherman::json_container::JsonContainer::setValue(leatherman::json_container::json_value&, T) [with T = std::vector >; leatherman::json_container::json_value = rapidjson::GenericValue, rapidjson::CrtAllocator>]’: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:587:13: error: invalid use of incomplete type ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ jval.SetArray(); ^ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:17:60: note: declaration of ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ template class GenericValue; ^~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:591:24: error: aggregate ‘leatherman::json_container::json_value s’ has incomplete type and cannot be defined json_value s; ^ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:592:67: error: invalid use of incomplete type ‘class rapidjson::GenericDocument, rapidjson::CrtAllocator, rapidjson::CrtAllocator>’ s.SetString(value.data(), value.size(), document_root_->GetAllocator()); ^~ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:19:85: note: declaration of ‘class rapidjson::GenericDocument, rapidjson::CrtAllocator, rapidjson::CrtAllocator>’ pename Encoding, typename Allocator, typename StackAllocator> class GenericDocument; ^~~~~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:593:17: error: invalid use of incomplete type ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ jval.PushBack(s, document_root_->GetAllocator()); ^ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:17:60: note: declaration of ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ template class GenericValue; ^~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:593:44: error: invalid use of incomplete type ‘class rapidjson::GenericDocument, rapidjson::CrtAllocator, rapidjson::CrtAllocator>’ jval.PushBack(s, document_root_->GetAllocator()); ^~ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:19:85: note: declaration of ‘class rapidjson::GenericDocument, rapidjson::CrtAllocator, rapidjson::CrtAllocator>’ pename Encoding, typename Allocator, typename StackAllocator> class GenericDocument; ^~~~~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc: In member function ‘void leatherman::json_container::JsonContainer::setValue(leatherman::json_container::json_value&, T) [with T = std::vector; leatherman::json_container::json_value = rapidjson::GenericValue, rapidjson::CrtAllocator>]’: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:599:13: error: invalid use of incomplete type ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ jval.SetArray(); ^ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:17:60: note: declaration of ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ template class GenericValue; ^~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:602:24: error: aggregate ‘leatherman::json_container::json_value tmp_val’ has incomplete type and cannot be defined json_value tmp_val; ^~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:604:17: error: invalid use of incomplete type ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ jval.PushBack(tmp_val, document_root_->GetAllocator()); ^ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:17:60: note: declaration of ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ template class GenericValue; ^~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:604:50: error: invalid use of incomplete type ‘class rapidjson::GenericDocument, rapidjson::CrtAllocator, rapidjson::CrtAllocator>’ jval.PushBack(tmp_val, document_root_->GetAllocator()); ^~ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:19:85: note: declaration of ‘class rapidjson::GenericDocument, rapidjson::CrtAllocator, rapidjson::CrtAllocator>’ pename Encoding, typename Allocator, typename StackAllocator> class GenericDocument; ^~~~~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc: In member function ‘void leatherman::json_container::JsonContainer::setValue(leatherman::json_container::json_value&, T) [with T = std::vector; leatherman::json_container::json_value = rapidjson::GenericValue, rapidjson::CrtAllocator>]’: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:610:13: error: invalid use of incomplete type ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ jval.SetArray(); ^ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:17:60: note: declaration of ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ template class GenericValue; ^~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:613:24: error: aggregate ‘leatherman::json_container::json_value tmp_val’ has incomplete type and cannot be defined json_value tmp_val; ^~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:615:17: error: invalid use of incomplete type ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ jval.PushBack(tmp_val, document_root_->GetAllocator()); ^ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:17:60: note: declaration of ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ template class GenericValue; ^~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:615:50: error: invalid use of incomplete type ‘class rapidjson::GenericDocument, rapidjson::CrtAllocator, rapidjson::CrtAllocator>’ jval.PushBack(tmp_val, document_root_->GetAllocator()); ^~ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:19:85: note: declaration of ‘class rapidjson::GenericDocument, rapidjson::CrtAllocator, rapidjson::CrtAllocator>’ pename Encoding, typename Allocator, typename StackAllocator> class GenericDocument; ^~~~~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc: In member function ‘void leatherman::json_container::JsonContainer::setValue(leatherman::json_container::json_value&, T) [with T = std::vector; leatherman::json_container::json_value = rapidjson::GenericValue, rapidjson::CrtAllocator>]’: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:621:13: error: invalid use of incomplete type ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ jval.SetArray(); ^ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:17:60: note: declaration of ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ template class GenericValue; ^~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:624:24: error: aggregate ‘leatherman::json_container::json_value tmp_val’ has incomplete type and cannot be defined json_value tmp_val; ^~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:626:17: error: invalid use of incomplete type ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ jval.PushBack(tmp_val, document_root_->GetAllocator()); ^ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:17:60: note: declaration of ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ template class GenericValue; ^~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:626:50: error: invalid use of incomplete type ‘class rapidjson::GenericDocument, rapidjson::CrtAllocator, rapidjson::CrtAllocator>’ jval.PushBack(tmp_val, document_root_->GetAllocator()); ^~ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:19:85: note: declaration of ‘class rapidjson::GenericDocument, rapidjson::CrtAllocator, rapidjson::CrtAllocator>’ pename Encoding, typename Allocator, typename StackAllocator> class GenericDocument; ^~~~~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc: In member function ‘void leatherman::json_container::JsonContainer::setValue(leatherman::json_container::json_value&, T) [with T = std::vector; leatherman::json_container::json_value = rapidjson::GenericValue, rapidjson::CrtAllocator>]’: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:632:13: error: invalid use of incomplete type ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ jval.SetArray(); ^ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:17:60: note: declaration of ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ template class GenericValue; ^~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:635:27: error: aggregate ‘leatherman::json_container::json_document tmp_value’ has incomplete type and cannot be defined json_document tmp_value; ^~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:636:69: error: invalid use of incomplete type ‘class rapidjson::GenericDocument, rapidjson::CrtAllocator, rapidjson::CrtAllocator>’ tmp_value.CopyFrom(*value.document_root_, document_root_->GetAllocator()); ^~ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:19:85: note: declaration of ‘class rapidjson::GenericDocument, rapidjson::CrtAllocator, rapidjson::CrtAllocator>’ pename Encoding, typename Allocator, typename StackAllocator> class GenericDocument; ^~~~~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:637:17: error: invalid use of incomplete type ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ jval.PushBack(tmp_value, document_root_->GetAllocator()); ^ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:17:60: note: declaration of ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ template class GenericValue; ^~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:637:52: error: invalid use of incomplete type ‘class rapidjson::GenericDocument, rapidjson::CrtAllocator, rapidjson::CrtAllocator>’ jval.PushBack(tmp_value, document_root_->GetAllocator()); ^~ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:19:85: note: declaration of ‘class rapidjson::GenericDocument, rapidjson::CrtAllocator, rapidjson::CrtAllocator>’ pename Encoding, typename Allocator, typename StackAllocator> class GenericDocument; ^~~~~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc: In member function ‘void leatherman::json_container::JsonContainer::setValue(leatherman::json_container::json_value&, T) [with T = leatherman::json_container::JsonContainer; leatherman::json_container::json_value = rapidjson::GenericValue, rapidjson::CrtAllocator>]’: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:643:13: error: invalid use of incomplete type ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ jval.CopyFrom(new_value.getRaw(), document_root_->GetAllocator()); ^ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:17:60: note: declaration of ‘using json_value = class rapidjson::GenericValue, rapidjson::CrtAllocator> {aka class rapidjson::GenericValue, rapidjson::CrtAllocator>}’ template class GenericValue; ^~~~~~~~~~~~ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:643:57: error: invalid use of incomplete type ‘class rapidjson::GenericDocument, rapidjson::CrtAllocator, rapidjson::CrtAllocator>’ jval.CopyFrom(new_value.getRaw(), document_root_->GetAllocator()); ^~ In file included from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1:0: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:19:85: note: declaration of ‘class rapidjson::GenericDocument, rapidjson::CrtAllocator, rapidjson::CrtAllocator>’ pename Encoding, typename Allocator, typename StackAllocator> class GenericDocument; ^~~~~~~~~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/memory:81:0, from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/inc/leatherman/json_container/json_container.hpp:8, from /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:1: /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/unique_ptr.h: In instantiation of ‘void std::default_delete<_Tp>::operator()(_Tp*) const [with _Tp = rapidjson::GenericDocument, rapidjson::CrtAllocator, rapidjson::CrtAllocator>]’: /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/unique_ptr.h:236:17: required from ‘std::unique_ptr<_Tp, _Dp>::~unique_ptr() [with _Tp = rapidjson::GenericDocument, rapidjson::CrtAllocator, rapidjson::CrtAllocator>; _Dp = std::default_delete, rapidjson::CrtAllocator, rapidjson::CrtAllocator> >]’ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:33:75: required from here /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/unique_ptr.h:74:22: error: invalid application of ‘sizeof’ to incomplete type ‘rapidjson::GenericDocument, rapidjson::CrtAllocator, rapidjson::CrtAllocator>’ static_assert(sizeof(_Tp)>0, ^ /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc: In member function ‘leatherman::json_container::DataType leatherman::json_container::JsonContainer::getValueType(const json_value&) const’: /var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0/json_container/src/json_container.cc:293:5: warning: control reaches end of non-void function [-Wreturn-type] } ^ make[2]: *** [json_container/CMakeFiles/leatherman_json_container.dir/build.make:66: json_container/CMakeFiles/leatherman_json_container.dir/src/json_container.cc.o] Error 1 make[2]: Leaving directory '/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build' make[1]: *** [CMakeFiles/Makefile2:656: json_container/CMakeFiles/leatherman_json_container.dir/all] Error 2 make[1]: Leaving directory '/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build' make: *** [Makefile:142: all] Error 2 * ERROR: dev-libs/leatherman-0.10.0::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-libs/leatherman-0.10.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-libs/leatherman-0.10.0::gentoo'`. * The complete build log is located at '/var/log/portage/dev-libs:leatherman-0.10.0:20161206-052405.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-libs/leatherman-0.10.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-libs/leatherman-0.10.0/temp/environment'. * Working directory: '/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0_build' * S: '/var/tmp/portage/dev-libs/leatherman-0.10.0/work/leatherman-0.10.0'