Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix compilation with last xcode version #782

Merged
merged 3 commits into from
Apr 28, 2023
Merged

Fix compilation with last xcode version #782

merged 3 commits into from
Apr 28, 2023

Conversation

mgautierfr
Copy link
Collaborator

@mgautierfr mgautierfr commented Apr 12, 2023

Fixes #778 (hopefully this PR will be enough)

This PR fails on macOS because its compiler is recenter and stricter than others. The code needs to be slightly fixed to avoid the compiler complaining. Something necessary anyway if we want to move to C++14/17 like requested in #757.

@mgautierfr mgautierfr changed the title Remove unused variable Fix compilation with last xcode version Apr 12, 2023
@codecov
Copy link

codecov bot commented Apr 12, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: -0.07 ⚠️

Comparison is base (34b084f) 56.07% compared to head (39e9245) 56.00%.

❗ Current head 39e9245 differs from pull request most recent head 1b24d94. Consider uploading reports for the commit 1b24d94 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #782      +/-   ##
==========================================
- Coverage   56.07%   56.00%   -0.07%     
==========================================
  Files          98       98              
  Lines        4394     4369      -25     
  Branches     1910     1901       -9     
==========================================
- Hits         2464     2447      -17     
  Misses        672      672              
+ Partials     1258     1250       -8     
Impacted Files Coverage Δ
src/file_compound.h 71.42% <ø> (ø)
src/zim_types.h 100.00% <100.00%> (ø)

... and 6 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@rgaudin
Copy link
Member

rgaudin commented Apr 12, 2023

libzim compile still fails

[1/133] /Users/runner/SOURCE/libzim/scripts/libzim-compile-resources --cxxfile static/libzim-resources.cpp --hfile static/libzim-resources.h --source_dir static ../../SOURCE/libzim/static/resources_list.txt
stopwords/af ['stopwords', 'af']
stopwords/ar ['stopwords', 'ar']
stopwords/bg ['stopwords', 'bg']
stopwords/bn ['stopwords', 'bn']
stopwords/br ['stopwords', 'br']
stopwords/ca ['stopwords', 'ca']
stopwords/cs ['stopwords', 'cs']
stopwords/da ['stopwords', 'da']
stopwords/de ['stopwords', 'de']
stopwords/el ['stopwords', 'el']
stopwords/en ['stopwords', 'en']
stopwords/eo ['stopwords', 'eo']
stopwords/es ['stopwords', 'es']
stopwords/et ['stopwords', 'et']
stopwords/eu ['stopwords', 'eu']
stopwords/fa ['stopwords', 'fa']
stopwords/fi ['stopwords', 'fi']
stopwords/fr ['stopwords', 'fr']
stopwords/ga ['stopwords', 'ga']
stopwords/gl ['stopwords', 'gl']
stopwords/gu ['stopwords', 'gu']
stopwords/ha ['stopwords', 'ha']
stopwords/he ['stopwords', 'he']
stopwords/hi ['stopwords', 'hi']
stopwords/hr ['stopwords', 'hr']
stopwords/hu ['stopwords', 'hu']
stopwords/hy ['stopwords', 'hy']
stopwords/id ['stopwords', 'id']
stopwords/it ['stopwords', 'it']
stopwords/ja ['stopwords', 'ja']
stopwords/ko ['stopwords', 'ko']
stopwords/ku ['stopwords', 'ku']
stopwords/la ['stopwords', 'la']
stopwords/lt ['stopwords', 'lt']
stopwords/lv ['stopwords', 'lv']
stopwords/mr ['stopwords', 'mr']
stopwords/ms ['stopwords', 'ms']
stopwords/nl ['stopwords', 'nl']
stopwords/no ['stopwords', 'no']
stopwords/pl ['stopwords', 'pl']
stopwords/pt ['stopwords', 'pt']
stopwords/ro ['stopwords', 'ro']
stopwords/ru ['stopwords', 'ru']
stopwords/sk ['stopwords', 'sk']
stopwords/sl ['stopwords', 'sl']
stopwords/so ['stopwords', 'so']
stopwords/st ['stopwords', 'st']
stopwords/sv ['stopwords', 'sv']
stopwords/sw ['stopwords', 'sw']
stopwords/th ['stopwords', 'th']
stopwords/tl ['stopwords', 'tl']
stopwords/tr ['stopwords', 'tr']
stopwords/uk ['stopwords', 'uk']
stopwords/ur ['stopwords', 'ur']
stopwords/vi ['stopwords', 'vi']
stopwords/yo ['stopwords', 'yo']
stopwords/zh ['stopwords', 'zh']
stopwords/zu ['stopwords', 'zu']
[2/133] c++ -Iexamples/createZimExample.p -Iexamples -I../../SOURCE/libzim/examples -Iinclude -I../../SOURCE/libzim/include -I/Users/runner/./BUILD_native_dyn/INSTALL/include -I/Users/runner/BUILD_native_dyn/INSTALL/include -fcolor-diagnostics -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++11 -O0 -g -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -MD -MQ examples/createZimExample.p/createZimExample.cpp.o -MF examples/createZimExample.p/createZimExample.cpp.o.d -o examples/createZimExample.p/createZimExample.cpp.o -c ../../SOURCE/libzim/examples/createZimExample.cpp
[3/133] c++ -Itest/template.p -Iinclude -I../../SOURCE/libzim/include -Isrc -I../../SOURCE/libzim/src -I/Users/runner/./BUILD_native_dyn/INSTALL/include -I/Users/runner/BUILD_native_dyn/INSTALL/include -I/usr/local/Cellar/googletest/1.13.0/include -fcolor-diagnostics -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++11 -O0 -g -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DGTEST_HAS_PTHREAD=1 -DWITH_TEST_DATA=1 -MD -MQ test/template.p/template.cpp.o -MF test/template.p/template.cpp.o.d -o test/template.p/template.cpp.o -c ../../SOURCE/libzim/test/template.cpp
FAILED: test/template.p/template.cpp.o
c++ -Itest/template.p -Iinclude -I../../SOURCE/libzim/include -Isrc -I../../SOURCE/libzim/src -I/Users/runner/./BUILD_native_dyn/INSTALL/include -I/Users/runner/BUILD_native_dyn/INSTALL/include -I/usr/local/Cellar/googletest/1.13.0/include -fcolor-diagnostics -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++11 -O0 -g -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DGTEST_HAS_PTHREAD=1 -DWITH_TEST_DATA=1 -MD -MQ test/template.p/template.cpp.o -MF test/template.p/template.cpp.o.d -o test/template.p/template.cpp.o -c ../../SOURCE/libzim/test/template.cpp
In file included from ../../SOURCE/libzim/test/template.cpp:22:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest.h:64:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-assertion-result.h:46:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-message.h:57:
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-port.h:270:2: error: C++ versions less than C++14 are not supported.
#error C++ versions less than C++14 are not supported.
 ^
In file included from ../../SOURCE/libzim/test/template.cpp:22:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest.h:65:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-death-test.h:43:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-death-test-internal.h:47:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-matchers.h:48:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-printers.h:115:
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:636:54: error: too few template arguments for class template 'less'
  typedef ::std::map<std::string, CodeLocation, std::less<>> RegisteredTestsMap;
                                                     ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/operations.h:366:29: note: template is declared here
struct _LIBCPP_TEMPLATE_VIS less
                            ^
In file included from ../../SOURCE/libzim/test/template.cpp:22:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest.h:65:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-death-test.h:43:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-death-test-internal.h:47:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-matchers.h:48:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-printers.h:115:
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:613:22: error: member reference base type 'testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'int') is not a structure or union
    registered_tests_.insert(
    ~~~~~~~~~~~~~~~~~^~~~~~~
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:619:29: error: member reference base type 'const testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'const int') is not a structure or union
    return registered_tests_.count(test_name) > 0;
           ~~~~~~~~~~~~~~~~~^~~~~~
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:623:5: error: 'testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'int') is not a class, namespace, or enumeration
    RegisteredTestsMap::const_iterator it = registered_tests_.find(test_name);
    ^
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:623:62: error: member reference base type 'const testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'const int') is not a structure or union
    RegisteredTestsMap::const_iterator it = registered_tests_.find(test_name);
                                            ~~~~~~~~~~~~~~~~~^~~~~
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:624:41: error: member reference base type 'const testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'const int') is not a structure or union
    GTEST_CHECK_(it != registered_tests_.end());
                       ~~~~~~~~~~~~~~~~~^~~~
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-port.h:1027:35: note: expanded from macro 'GTEST_CHECK_'
  if (::testing::internal::IsTrue(condition)) \
                                  ^~~~~~~~~
7 errors generated.
[4/133] c++ -Itest/uuid.p -Iinclude -I../../SOURCE/libzim/include -Isrc -I../../SOURCE/libzim/src -I/Users/runner/./BUILD_native_dyn/INSTALL/include -I/Users/runner/BUILD_native_dyn/INSTALL/include -I/usr/local/Cellar/googletest/1.13.0/include -fcolor-diagnostics -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++11 -O0 -g -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DGTEST_HAS_PTHREAD=1 -DWITH_TEST_DATA=1 -MD -MQ test/uuid.p/uuid.cpp.o -MF test/uuid.p/uuid.cpp.o.d -o test/uuid.p/uuid.cpp.o -c ../../SOURCE/libzim/test/uuid.cpp
FAILED: test/uuid.p/uuid.cpp.o
c++ -Itest/uuid.p -Iinclude -I../../SOURCE/libzim/include -Isrc -I../../SOURCE/libzim/src -I/Users/runner/./BUILD_native_dyn/INSTALL/include -I/Users/runner/BUILD_native_dyn/INSTALL/include -I/usr/local/Cellar/googletest/1.13.0/include -fcolor-diagnostics -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++11 -O0 -g -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DGTEST_HAS_PTHREAD=1 -DWITH_TEST_DATA=1 -MD -MQ test/uuid.p/uuid.cpp.o -MF test/uuid.p/uuid.cpp.o.d -o test/uuid.p/uuid.cpp.o -c ../../SOURCE/libzim/test/uuid.cpp
In file included from ../../SOURCE/libzim/test/uuid.cpp:24:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest.h:64:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-assertion-result.h:46:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-message.h:57:
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-port.h:270:2: error: C++ versions less than C++14 are not supported.
#error C++ versions less than C++14 are not supported.
 ^
In file included from ../../SOURCE/libzim/test/uuid.cpp:24:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest.h:65:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-death-test.h:43:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-death-test-internal.h:47:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-matchers.h:48:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-printers.h:115:
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:636:54: error: too few template arguments for class template 'less'
  typedef ::std::map<std::string, CodeLocation, std::less<>> RegisteredTestsMap;
                                                     ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/operations.h:366:29: note: template is declared here
struct _LIBCPP_TEMPLATE_VIS less
                            ^
In file included from ../../SOURCE/libzim/test/uuid.cpp:24:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest.h:65:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-death-test.h:43:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-death-test-internal.h:47:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-matchers.h:48:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-printers.h:115:
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:613:22: error: member reference base type 'testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'int') is not a structure or union
    registered_tests_.insert(
    ~~~~~~~~~~~~~~~~~^~~~~~~
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:619:29: error: member reference base type 'const testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'const int') is not a structure or union
    return registered_tests_.count(test_name) > 0;
           ~~~~~~~~~~~~~~~~~^~~~~~
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:623:5: error: 'testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'int') is not a class, namespace, or enumeration
    RegisteredTestsMap::const_iterator it = registered_tests_.find(test_name);
    ^
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:623:62: error: member reference base type 'const testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'const int') is not a structure or union
    RegisteredTestsMap::const_iterator it = registered_tests_.find(test_name);
                                            ~~~~~~~~~~~~~~~~~^~~~~
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:624:41: error: member reference base type 'const testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'const int') is not a structure or union
    GTEST_CHECK_(it != registered_tests_.end());
                       ~~~~~~~~~~~~~~~~~^~~~
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-port.h:1027:35: note: expanded from macro 'GTEST_CHECK_'
  if (::testing::internal::IsTrue(condition)) \
                                  ^~~~~~~~~
7 errors generated.
[5/133] c++ -Itest/header.p -Iinclude -I../../SOURCE/libzim/include -Isrc -I../../SOURCE/libzim/src -I/Users/runner/./BUILD_native_dyn/INSTALL/include -I/Users/runner/BUILD_native_dyn/INSTALL/include -I/usr/local/Cellar/googletest/1.13.0/include -fcolor-diagnostics -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++11 -O0 -g -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DGTEST_HAS_PTHREAD=1 -DWITH_TEST_DATA=1 -MD -MQ test/header.p/header.cpp.o -MF test/header.p/header.cpp.o.d -o test/header.p/header.cpp.o -c ../../SOURCE/libzim/test/header.cpp
FAILED: test/header.p/header.cpp.o
c++ -Itest/header.p -Iinclude -I../../SOURCE/libzim/include -Isrc -I../../SOURCE/libzim/src -I/Users/runner/./BUILD_native_dyn/INSTALL/include -I/Users/runner/BUILD_native_dyn/INSTALL/include -I/usr/local/Cellar/googletest/1.13.0/include -fcolor-diagnostics -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++11 -O0 -g -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DGTEST_HAS_PTHREAD=1 -DWITH_TEST_DATA=1 -MD -MQ test/header.p/header.cpp.o -MF test/header.p/header.cpp.o.d -o test/header.p/header.cpp.o -c ../../SOURCE/libzim/test/header.cpp
In file included from ../../SOURCE/libzim/test/header.cpp:33:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest.h:64:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-assertion-result.h:46:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-message.h:57:
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-port.h:270:2: error: C++ versions less than C++14 are not supported.
#error C++ versions less than C++14 are not supported.
 ^
In file included from ../../SOURCE/libzim/test/header.cpp:33:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest.h:65:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-death-test.h:43:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-death-test-internal.h:47:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-matchers.h:48:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-printers.h:115:
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:636:54: error: too few template arguments for class template 'less'
  typedef ::std::map<std::string, CodeLocation, std::less<>> RegisteredTestsMap;
                                                     ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/operations.h:366:29: note: template is declared here
struct _LIBCPP_TEMPLATE_VIS less
                            ^
In file included from ../../SOURCE/libzim/test/header.cpp:33:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest.h:65:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-death-test.h:43:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-death-test-internal.h:47:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-matchers.h:48:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-printers.h:115:
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:613:22: error: member reference base type 'testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'int') is not a structure or union
    registered_tests_.insert(
    ~~~~~~~~~~~~~~~~~^~~~~~~
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:619:29: error: member reference base type 'const testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'const int') is not a structure or union
    return registered_tests_.count(test_name) > 0;
           ~~~~~~~~~~~~~~~~~^~~~~~
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:623:5: error: 'testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'int') is not a class, namespace, or enumeration
    RegisteredTestsMap::const_iterator it = registered_tests_.find(test_name);
    ^
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:623:62: error: member reference base type 'const testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'const int') is not a structure or union
    RegisteredTestsMap::const_iterator it = registered_tests_.find(test_name);
                                            ~~~~~~~~~~~~~~~~~^~~~~
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:624:41: error: member reference base type 'const testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'const int') is not a structure or union
    GTEST_CHECK_(it != registered_tests_.end());
                       ~~~~~~~~~~~~~~~~~^~~~
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-port.h:1027:35: note: expanded from macro 'GTEST_CHECK_'
  if (::testing::internal::IsTrue(condition)) \
                                  ^~~~~~~~~
7 errors generated.
[6/133] c++ -Itest/dirent.p -Iinclude -I../../SOURCE/libzim/include -Isrc -I../../SOURCE/libzim/src -I/Users/runner/./BUILD_native_dyn/INSTALL/include -I/Users/runner/BUILD_native_dyn/INSTALL/include -I/usr/local/Cellar/googletest/1.13.0/include -fcolor-diagnostics -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++11 -O0 -g -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DGTEST_HAS_PTHREAD=1 -DWITH_TEST_DATA=1 -MD -MQ test/dirent.p/tools.cpp.o -MF test/dirent.p/tools.cpp.o.d -o test/dirent.p/tools.cpp.o -c ../../SOURCE/libzim/test/tools.cpp
FAILED: test/dirent.p/tools.cpp.o
c++ -Itest/dirent.p -Iinclude -I../../SOURCE/libzim/include -Isrc -I../../SOURCE/libzim/src -I/Users/runner/./BUILD_native_dyn/INSTALL/include -I/Users/runner/BUILD_native_dyn/INSTALL/include -I/usr/local/Cellar/googletest/1.13.0/include -fcolor-diagnostics -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++11 -O0 -g -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DGTEST_HAS_PTHREAD=1 -DWITH_TEST_DATA=1 -MD -MQ test/dirent.p/tools.cpp.o -MF test/dirent.p/tools.cpp.o.d -o test/dirent.p/tools.cpp.o -c ../../SOURCE/libzim/test/tools.cpp
In file included from ../../SOURCE/libzim/test/tools.cpp:36:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest.h:64:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-assertion-result.h:46:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-message.h:57:
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-port.h:270:2: error: C++ versions less than C++14 are not supported.
#error C++ versions less than C++14 are not supported.
 ^
In file included from ../../SOURCE/libzim/test/tools.cpp:36:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest.h:65:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-death-test.h:43:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-death-test-internal.h:47:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-matchers.h:48:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-printers.h:115:
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:636:54: error: too few template arguments for class template 'less'
  typedef ::std::map<std::string, CodeLocation, std::less<>> RegisteredTestsMap;
                                                     ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/operations.h:366:29: note: template is declared here
struct _LIBCPP_TEMPLATE_VIS less
                            ^
In file included from ../../SOURCE/libzim/test/tools.cpp:36:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest.h:65:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-death-test.h:43:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-death-test-internal.h:47:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-matchers.h:48:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-printers.h:115:
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:613:22: error: member reference base type 'testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'int') is not a structure or union
    registered_tests_.insert(
    ~~~~~~~~~~~~~~~~~^~~~~~~
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:619:29: error: member reference base type 'const testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'const int') is not a structure or union
    return registered_tests_.count(test_name) > 0;
           ~~~~~~~~~~~~~~~~~^~~~~~
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:623:5: error: 'testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'int') is not a class, namespace, or enumeration
    RegisteredTestsMap::const_iterator it = registered_tests_.find(test_name);
    ^
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:623:62: error: member reference base type 'const testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'const int') is not a structure or union
    RegisteredTestsMap::const_iterator it = registered_tests_.find(test_name);
                                            ~~~~~~~~~~~~~~~~~^~~~~
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:624:41: error: member reference base type 'const testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'const int') is not a structure or union
    GTEST_CHECK_(it != registered_tests_.end());
                       ~~~~~~~~~~~~~~~~~^~~~
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-port.h:1027:35: note: expanded from macro 'GTEST_CHECK_'
  if (::testing::internal::IsTrue(condition)) \
                                  ^~~~~~~~~
7 errors generated.
[7/133] c++ -Itest/header.p -Iinclude -I../../SOURCE/libzim/include -Isrc -I../../SOURCE/libzim/src -I/Users/runner/./BUILD_native_dyn/INSTALL/include -I/Users/runner/BUILD_native_dyn/INSTALL/include -I/usr/local/Cellar/googletest/1.13.0/include -fcolor-diagnostics -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++11 -O0 -g -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DGTEST_HAS_PTHREAD=1 -DWITH_TEST_DATA=1 -MD -MQ test/header.p/tools.cpp.o -MF test/header.p/tools.cpp.o.d -o test/header.p/tools.cpp.o -c ../../SOURCE/libzim/test/tools.cpp
FAILED: test/header.p/tools.cpp.o
c++ -Itest/header.p -Iinclude -I../../SOURCE/libzim/include -Isrc -I../../SOURCE/libzim/src -I/Users/runner/./BUILD_native_dyn/INSTALL/include -I/Users/runner/BUILD_native_dyn/INSTALL/include -I/usr/local/Cellar/googletest/1.13.0/include -fcolor-diagnostics -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++11 -O0 -g -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DGTEST_HAS_PTHREAD=1 -DWITH_TEST_DATA=1 -MD -MQ test/header.p/tools.cpp.o -MF test/header.p/tools.cpp.o.d -o test/header.p/tools.cpp.o -c ../../SOURCE/libzim/test/tools.cpp
In file included from ../../SOURCE/libzim/test/tools.cpp:36:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest.h:64:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-assertion-result.h:46:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-message.h:57:
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-port.h:270:2: error: C++ versions less than C++14 are not supported.
#error C++ versions less than C++14 are not supported.
 ^
In file included from ../../SOURCE/libzim/test/tools.cpp:36:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest.h:65:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-death-test.h:43:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-death-test-internal.h:47:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-matchers.h:48:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-printers.h:115:
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:636:54: error: too few template arguments for class template 'less'
  typedef ::std::map<std::string, CodeLocation, std::less<>> RegisteredTestsMap;
                                                     ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/operations.h:366:29: note: template is declared here
struct _LIBCPP_TEMPLATE_VIS less
                            ^
In file included from ../../SOURCE/libzim/test/tools.cpp:36:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest.h:65:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-death-test.h:43:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-death-test-internal.h:47:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-matchers.h:48:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-printers.h:115:
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:613:22: error: member reference base type 'testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'int') is not a structure or union
    registered_tests_.insert(
    ~~~~~~~~~~~~~~~~~^~~~~~~
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:619:29: error: member reference base type 'const testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'const int') is not a structure or union
    return registered_tests_.count(test_name) > 0;
           ~~~~~~~~~~~~~~~~~^~~~~~
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:623:5: error: 'testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'int') is not a class, namespace, or enumeration
    RegisteredTestsMap::const_iterator it = registered_tests_.find(test_name);
    ^
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:623:62: error: member reference base type 'const testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'const int') is not a structure or union
    RegisteredTestsMap::const_iterator it = registered_tests_.find(test_name);
                                            ~~~~~~~~~~~~~~~~~^~~~~
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:624:41: error: member reference base type 'const testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'const int') is not a structure or union
    GTEST_CHECK_(it != registered_tests_.end());
                       ~~~~~~~~~~~~~~~~~^~~~
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-port.h:1027:35: note: expanded from macro 'GTEST_CHECK_'
  if (::testing::internal::IsTrue(condition)) \
                                  ^~~~~~~~~
7 errors generated.
[8/133] c++ -Itest/creator.p -Iinclude -I../../SOURCE/libzim/include -Isrc -I../../SOURCE/libzim/src -I/Users/runner/./BUILD_native_dyn/INSTALL/include -I/Users/runner/BUILD_native_dyn/INSTALL/include -I/usr/local/Cellar/googletest/1.13.0/include -fcolor-diagnostics -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++11 -O0 -g -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DGTEST_HAS_PTHREAD=1 -DWITH_TEST_DATA=1 -MD -MQ test/creator.p/tools.cpp.o -MF test/creator.p/tools.cpp.o.d -o test/creator.p/tools.cpp.o -c ../../SOURCE/libzim/test/tools.cpp
FAILED: test/creator.p/tools.cpp.o
c++ -Itest/creator.p -Iinclude -I../../SOURCE/libzim/include -Isrc -I../../SOURCE/libzim/src -I/Users/runner/./BUILD_native_dyn/INSTALL/include -I/Users/runner/BUILD_native_dyn/INSTALL/include -I/usr/local/Cellar/googletest/1.13.0/include -fcolor-diagnostics -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++11 -O0 -g -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DGTEST_HAS_PTHREAD=1 -DWITH_TEST_DATA=1 -MD -MQ test/creator.p/tools.cpp.o -MF test/creator.p/tools.cpp.o.d -o test/creator.p/tools.cpp.o -c ../../SOURCE/libzim/test/tools.cpp
In file included from ../../SOURCE/libzim/test/tools.cpp:36:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest.h:64:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-assertion-result.h:46:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-message.h:57:
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-port.h:270:2: error: C++ versions less than C++14 are not supported.
#error C++ versions less than C++14 are not supported.
 ^
In file included from ../../SOURCE/libzim/test/tools.cpp:36:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest.h:65:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-death-test.h:43:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-death-test-internal.h:47:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-matchers.h:48:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-printers.h:115:
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:636:54: error: too few template arguments for class template 'less'
  typedef ::std::map<std::string, CodeLocation, std::less<>> RegisteredTestsMap;
                                                     ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/operations.h:366:29: note: template is declared here
struct _LIBCPP_TEMPLATE_VIS less
                            ^
In file included from ../../SOURCE/libzim/test/tools.cpp:36:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest.h:65:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-death-test.h:43:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-death-test-internal.h:47:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-matchers.h:48:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-printers.h:115:
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:613:22: error: member reference base type 'testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'int') is not a structure or union
    registered_tests_.insert(
    ~~~~~~~~~~~~~~~~~^~~~~~~
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:619:29: error: member reference base type 'const testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'const int') is not a structure or union
    return registered_tests_.count(test_name) > 0;
           ~~~~~~~~~~~~~~~~~^~~~~~
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:623:5: error: 'testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'int') is not a class, namespace, or enumeration
    RegisteredTestsMap::const_iterator it = registered_tests_.find(test_name);
    ^
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:623:62: error: member reference base type 'const testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'const int') is not a structure or union
    RegisteredTestsMap::const_iterator it = registered_tests_.find(test_name);
                                            ~~~~~~~~~~~~~~~~~^~~~~
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:624:41: error: member reference base type 'const testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'const int') is not a structure or union
    GTEST_CHECK_(it != registered_tests_.end());
                       ~~~~~~~~~~~~~~~~~^~~~
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-port.h:1027:35: note: expanded from macro 'GTEST_CHECK_'
  if (::testing::internal::IsTrue(condition)) \
                                  ^~~~~~~~~
7 errors generated.
[9/133] c++ -Itest/cluster.p -Iinclude -I../../SOURCE/libzim/include -Isrc -I../../SOURCE/libzim/src -I/Users/runner/./BUILD_native_dyn/INSTALL/include -I/Users/runner/BUILD_native_dyn/INSTALL/include -I/usr/local/Cellar/googletest/1.13.0/include -fcolor-diagnostics -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++11 -O0 -g -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DGTEST_HAS_PTHREAD=1 -DWITH_TEST_DATA=1 -MD -MQ test/cluster.p/tools.cpp.o -MF test/cluster.p/tools.cpp.o.d -o test/cluster.p/tools.cpp.o -c ../../SOURCE/libzim/test/tools.cpp
FAILED: test/cluster.p/tools.cpp.o
c++ -Itest/cluster.p -Iinclude -I../../SOURCE/libzim/include -Isrc -I../../SOURCE/libzim/src -I/Users/runner/./BUILD_native_dyn/INSTALL/include -I/Users/runner/BUILD_native_dyn/INSTALL/include -I/usr/local/Cellar/googletest/1.13.0/include -fcolor-diagnostics -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++11 -O0 -g -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DGTEST_HAS_PTHREAD=1 -DWITH_TEST_DATA=1 -MD -MQ test/cluster.p/tools.cpp.o -MF test/cluster.p/tools.cpp.o.d -o test/cluster.p/tools.cpp.o -c ../../SOURCE/libzim/test/tools.cpp
In file included from ../../SOURCE/libzim/test/tools.cpp:36:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest.h:64:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-assertion-result.h:46:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-message.h:57:
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-port.h:270:2: error: C++ versions less than C++14 are not supported.
#error C++ versions less than C++14 are not supported.
 ^
In file included from ../../SOURCE/libzim/test/tools.cpp:36:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest.h:65:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-death-test.h:43:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-death-test-internal.h:47:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-matchers.h:48:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-printers.h:115:
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:636:54: error: too few template arguments for class template 'less'
  typedef ::std::map<std::string, CodeLocation, std::less<>> RegisteredTestsMap;
                                                     ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/operations.h:366:29: note: template is declared here
struct _LIBCPP_TEMPLATE_VIS less
                            ^
In file included from ../../SOURCE/libzim/test/tools.cpp:36:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest.h:65:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-death-test.h:43:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-death-test-internal.h:47:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-matchers.h:48:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-printers.h:115:
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:613:22: error: member reference base type 'testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'int') is not a structure or union
    registered_tests_.insert(
    ~~~~~~~~~~~~~~~~~^~~~~~~
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:619:29: error: member reference base type 'const testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'const int') is not a structure or union
    return registered_tests_.count(test_name) > 0;
           ~~~~~~~~~~~~~~~~~^~~~~~
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:623:5: error: 'testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'int') is not a class, namespace, or enumeration
    RegisteredTestsMap::const_iterator it = registered_tests_.find(test_name);
    ^
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:623:62: error: member reference base type 'const testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'const int') is not a structure or union
    RegisteredTestsMap::const_iterator it = registered_tests_.find(test_name);
                                            ~~~~~~~~~~~~~~~~~^~~~~
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:624:41: error: member reference base type 'const testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'const int') is not a structure or union
    GTEST_CHECK_(it != registered_tests_.end());
                       ~~~~~~~~~~~~~~~~~^~~~
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-port.h:1027:35: note: expanded from macro 'GTEST_CHECK_'
  if (::testing::internal::IsTrue(condition)) \
                                  ^~~~~~~~~
7 errors generated.
[10/133] c++ -Itest/lrucache.p -Iinclude -I../../SOURCE/libzim/include -Isrc -I../../SOURCE/libzim/src -I/Users/runner/./BUILD_native_dyn/INSTALL/include -I/Users/runner/BUILD_native_dyn/INSTALL/include -I/usr/local/Cellar/googletest/1.13.0/include -fcolor-diagnostics -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++11 -O0 -g -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DGTEST_HAS_PTHREAD=1 -DWITH_TEST_DATA=1 -MD -MQ test/lrucache.p/tools.cpp.o -MF test/lrucache.p/tools.cpp.o.d -o test/lrucache.p/tools.cpp.o -c ../../SOURCE/libzim/test/tools.cpp
FAILED: test/lrucache.p/tools.cpp.o
c++ -Itest/lrucache.p -Iinclude -I../../SOURCE/libzim/include -Isrc -I../../SOURCE/libzim/src -I/Users/runner/./BUILD_native_dyn/INSTALL/include -I/Users/runner/BUILD_native_dyn/INSTALL/include -I/usr/local/Cellar/googletest/1.13.0/include -fcolor-diagnostics -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++11 -O0 -g -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DGTEST_HAS_PTHREAD=1 -DWITH_TEST_DATA=1 -MD -MQ test/lrucache.p/tools.cpp.o -MF test/lrucache.p/tools.cpp.o.d -o test/lrucache.p/tools.cpp.o -c ../../SOURCE/libzim/test/tools.cpp
In file included from ../../SOURCE/libzim/test/tools.cpp:36:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest.h:64:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-assertion-result.h:46:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-message.h:57:
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-port.h:270:2: error: C++ versions less than C++14 are not supported.
#error C++ versions less than C++14 are not supported.
 ^
In file included from ../../SOURCE/libzim/test/tools.cpp:36:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest.h:65:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-death-test.h:43:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-death-test-internal.h:47:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-matchers.h:48:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-printers.h:115:
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:636:54: error: too few template arguments for class template 'less'
  typedef ::std::map<std::string, CodeLocation, std::less<>> RegisteredTestsMap;
                                                     ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/operations.h:366:29: note: template is declared here
struct _LIBCPP_TEMPLATE_VIS less
                            ^
In file included from ../../SOURCE/libzim/test/tools.cpp:36:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest.h:65:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-death-test.h:43:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-death-test-internal.h:47:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-matchers.h:48:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-printers.h:115:
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:613:22: error: member reference base type 'testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'int') is not a structure or union
    registered_tests_.insert(
    ~~~~~~~~~~~~~~~~~^~~~~~~
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:619:29: error: member reference base type 'const testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'const int') is not a structure or union
    return registered_tests_.count(test_name) > 0;
           ~~~~~~~~~~~~~~~~~^~~~~~
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:623:5: error: 'testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'int') is not a class, namespace, or enumeration
    RegisteredTestsMap::const_iterator it = registered_tests_.find(test_name);
    ^
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:623:62: error: member reference base type 'const testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'const int') is not a structure or union
    RegisteredTestsMap::const_iterator it = registered_tests_.find(test_name);
                                            ~~~~~~~~~~~~~~~~~^~~~~
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:624:41: error: member reference base type 'const testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'const int') is not a structure or union
    GTEST_CHECK_(it != registered_tests_.end());
                       ~~~~~~~~~~~~~~~~~^~~~
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-port.h:1027:35: note: expanded from macro 'GTEST_CHECK_'
  if (::testing::internal::IsTrue(condition)) \
                                  ^~~~~~~~~
7 errors generated.
[11/133] c++ -Itest/error_in_creator.p -Iinclude -I../../SOURCE/libzim/include -Isrc -I../../SOURCE/libzim/src -I/Users/runner/./BUILD_native_dyn/INSTALL/include -I/Users/runner/BUILD_native_dyn/INSTALL/include -I/usr/local/Cellar/googletest/1.13.0/include -fcolor-diagnostics -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++11 -O0 -g -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DGTEST_HAS_PTHREAD=1 -DWITH_TEST_DATA=1 -MD -MQ test/error_in_creator.p/tools.cpp.o -MF test/error_in_creator.p/tools.cpp.o.d -o test/error_in_creator.p/tools.cpp.o -c ../../SOURCE/libzim/test/tools.cpp
FAILED: test/error_in_creator.p/tools.cpp.o
c++ -Itest/error_in_creator.p -Iinclude -I../../SOURCE/libzim/include -Isrc -I../../SOURCE/libzim/src -I/Users/runner/./BUILD_native_dyn/INSTALL/include -I/Users/runner/BUILD_native_dyn/INSTALL/include -I/usr/local/Cellar/googletest/1.13.0/include -fcolor-diagnostics -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++11 -O0 -g -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DGTEST_HAS_PTHREAD=1 -DWITH_TEST_DATA=1 -MD -MQ test/error_in_creator.p/tools.cpp.o -MF test/error_in_creator.p/tools.cpp.o.d -o test/error_in_creator.p/tools.cpp.o -c ../../SOURCE/libzim/test/tools.cpp
In file included from ../../SOURCE/libzim/test/tools.cpp:36:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest.h:64:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-assertion-result.h:46:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-message.h:57:
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-port.h:270:2: error: C++ versions less than C++14 are not supported.
#error C++ versions less than C++14 are not supported.
 ^
In file included from ../../SOURCE/libzim/test/tools.cpp:36:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest.h:65:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-death-test.h:43:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-death-test-internal.h:47:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-matchers.h:48:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-printers.h:115:
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:636:54: error: too few template arguments for class template 'less'
  typedef ::std::map<std::string, CodeLocation, std::less<>> RegisteredTestsMap;
                                                     ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/operations.h:366:29: note: template is declared here
struct _LIBCPP_TEMPLATE_VIS less
                            ^
In file included from ../../SOURCE/libzim/test/tools.cpp:36:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest.h:65:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-death-test.h:43:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-death-test-internal.h:47:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-matchers.h:48:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-printers.h:115:
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:613:22: error: member reference base type 'testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'int') is not a structure or union
    registered_tests_.insert(
    ~~~~~~~~~~~~~~~~~^~~~~~~
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:619:29: error: member reference base type 'const testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'const int') is not a structure or union
    return registered_tests_.count(test_name) > 0;
           ~~~~~~~~~~~~~~~~~^~~~~~
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:623:5: error: 'testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'int') is not a class, namespace, or enumeration
    RegisteredTestsMap::const_iterator it = registered_tests_.find(test_name);
    ^
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:623:62: error: member reference base type 'const testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'const int') is not a structure or union
    RegisteredTestsMap::const_iterator it = registered_tests_.find(test_name);
                                            ~~~~~~~~~~~~~~~~~^~~~~
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:624:41: error: member reference base type 'const testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'const int') is not a structure or union
    GTEST_CHECK_(it != registered_tests_.end());
                       ~~~~~~~~~~~~~~~~~^~~~
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-port.h:1027:35: note: expanded from macro 'GTEST_CHECK_'
  if (::testing::internal::IsTrue(condition)) \
                                  ^~~~~~~~~
7 errors generated.
[12/133] c++ -Itest/uuid.p -Iinclude -I../../SOURCE/libzim/include -Isrc -I../../SOURCE/libzim/src -I/Users/runner/./BUILD_native_dyn/INSTALL/include -I/Users/runner/BUILD_native_dyn/INSTALL/include -I/usr/local/Cellar/googletest/1.13.0/include -fcolor-diagnostics -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++11 -O0 -g -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DGTEST_HAS_PTHREAD=1 -DWITH_TEST_DATA=1 -MD -MQ test/uuid.p/tools.cpp.o -MF test/uuid.p/tools.cpp.o.d -o test/uuid.p/tools.cpp.o -c ../../SOURCE/libzim/test/tools.cpp
FAILED: test/uuid.p/tools.cpp.o
c++ -Itest/uuid.p -Iinclude -I../../SOURCE/libzim/include -Isrc -I../../SOURCE/libzim/src -I/Users/runner/./BUILD_native_dyn/INSTALL/include -I/Users/runner/BUILD_native_dyn/INSTALL/include -I/usr/local/Cellar/googletest/1.13.0/include -fcolor-diagnostics -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++11 -O0 -g -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DGTEST_HAS_PTHREAD=1 -DWITH_TEST_DATA=1 -MD -MQ test/uuid.p/tools.cpp.o -MF test/uuid.p/tools.cpp.o.d -o test/uuid.p/tools.cpp.o -c ../../SOURCE/libzim/test/tools.cpp
In file included from ../../SOURCE/libzim/test/tools.cpp:36:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest.h:64:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-assertion-result.h:46:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-message.h:57:
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-port.h:270:2: error: C++ versions less than C++14 are not supported.
#error C++ versions less than C++14 are not supported.
 ^
In file included from ../../SOURCE/libzim/test/tools.cpp:36:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest.h:65:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-death-test.h:43:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-death-test-internal.h:47:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-matchers.h:48:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-printers.h:115:
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:636:54: error: too few template arguments for class template 'less'
  typedef ::std::map<std::string, CodeLocation, std::less<>> RegisteredTestsMap;
                                                     ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/operations.h:366:29: note: template is declared here
struct _LIBCPP_TEMPLATE_VIS less
                            ^
In file included from ../../SOURCE/libzim/test/tools.cpp:36:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest.h:65:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-death-test.h:43:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-death-test-internal.h:47:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-matchers.h:48:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-printers.h:115:
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:613:22: error: member reference base type 'testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'int') is not a structure or union
    registered_tests_.insert(
    ~~~~~~~~~~~~~~~~~^~~~~~~
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:619:29: error: member reference base type 'const testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'const int') is not a structure or union
    return registered_tests_.count(test_name) > 0;
           ~~~~~~~~~~~~~~~~~^~~~~~
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:623:5: error: 'testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'int') is not a class, namespace, or enumeration
    RegisteredTestsMap::const_iterator it = registered_tests_.find(test_name);
    ^
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:623:62: error: member reference base type 'const testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'const int') is not a structure or union
    RegisteredTestsMap::const_iterator it = registered_tests_.find(test_name);
                                            ~~~~~~~~~~~~~~~~~^~~~~
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:624:41: error: member reference base type 'const testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'const int') is not a structure or union
    GTEST_CHECK_(it != registered_tests_.end());
                       ~~~~~~~~~~~~~~~~~^~~~
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-port.h:1027:35: note: expanded from macro 'GTEST_CHECK_'
  if (::testing::internal::IsTrue(condition)) \
                                  ^~~~~~~~~
7 errors generated.
[13/133] c++ -Itest/template.p -Iinclude -I../../SOURCE/libzim/include -Isrc -I../../SOURCE/libzim/src -I/Users/runner/./BUILD_native_dyn/INSTALL/include -I/Users/runner/BUILD_native_dyn/INSTALL/include -I/usr/local/Cellar/googletest/1.13.0/include -fcolor-diagnostics -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++11 -O0 -g -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DGTEST_HAS_PTHREAD=1 -DWITH_TEST_DATA=1 -MD -MQ test/template.p/tools.cpp.o -MF test/template.p/tools.cpp.o.d -o test/template.p/tools.cpp.o -c ../../SOURCE/libzim/test/tools.cpp
FAILED: test/template.p/tools.cpp.o
c++ -Itest/template.p -Iinclude -I../../SOURCE/libzim/include -Isrc -I../../SOURCE/libzim/src -I/Users/runner/./BUILD_native_dyn/INSTALL/include -I/Users/runner/BUILD_native_dyn/INSTALL/include -I/usr/local/Cellar/googletest/1.13.0/include -fcolor-diagnostics -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++11 -O0 -g -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DGTEST_HAS_PTHREAD=1 -DWITH_TEST_DATA=1 -MD -MQ test/template.p/tools.cpp.o -MF test/template.p/tools.cpp.o.d -o test/template.p/tools.cpp.o -c ../../SOURCE/libzim/test/tools.cpp
In file included from ../../SOURCE/libzim/test/tools.cpp:36:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest.h:64:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-assertion-result.h:46:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-message.h:57:
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-port.h:270:2: error: C++ versions less than C++14 are not supported.
#error C++ versions less than C++14 are not supported.
 ^
In file included from ../../SOURCE/libzim/test/tools.cpp:36:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest.h:65:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-death-test.h:43:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-death-test-internal.h:47:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-matchers.h:48:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-printers.h:115:
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:636:54: error: too few template arguments for class template 'less'
  typedef ::std::map<std::string, CodeLocation, std::less<>> RegisteredTestsMap;
                                                     ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/operations.h:366:29: note: template is declared here
struct _LIBCPP_TEMPLATE_VIS less
                            ^
In file included from ../../SOURCE/libzim/test/tools.cpp:36:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest.h:65:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-death-test.h:43:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-death-test-internal.h:47:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-matchers.h:48:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-printers.h:115:
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:613:22: error: member reference base type 'testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'int') is not a structure or union
    registered_tests_.insert(
    ~~~~~~~~~~~~~~~~~^~~~~~~
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:619:29: error: member reference base type 'const testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'const int') is not a structure or union
    return registered_tests_.count(test_name) > 0;
           ~~~~~~~~~~~~~~~~~^~~~~~
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:623:5: error: 'testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'int') is not a class, namespace, or enumeration
    RegisteredTestsMap::const_iterator it = registered_tests_.find(test_name);
    ^
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:623:62: error: member reference base type 'const testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'const int') is not a structure or union
    RegisteredTestsMap::const_iterator it = registered_tests_.find(test_name);
                                            ~~~~~~~~~~~~~~~~~^~~~~
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:624:41: error: member reference base type 'const testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'const int') is not a structure or union
    GTEST_CHECK_(it != registered_tests_.end());
                       ~~~~~~~~~~~~~~~~~^~~~
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-port.h:1027:35: note: expanded from macro 'GTEST_CHECK_'
  if (::testing::internal::IsTrue(condition)) \
                                  ^~~~~~~~~
7 errors generated.
[14/133] c++ -Itest/lrucache.p -Iinclude -I../../SOURCE/libzim/include -Isrc -I../../SOURCE/libzim/src -I/Users/runner/./BUILD_native_dyn/INSTALL/include -I/Users/runner/BUILD_native_dyn/INSTALL/include -I/usr/local/Cellar/googletest/1.13.0/include -fcolor-diagnostics -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++11 -O0 -g -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DGTEST_HAS_PTHREAD=1 -DWITH_TEST_DATA=1 -MD -MQ test/lrucache.p/lrucache.cpp.o -MF test/lrucache.p/lrucache.cpp.o.d -o test/lrucache.p/lrucache.cpp.o -c ../../SOURCE/libzim/test/lrucache.cpp
FAILED: test/lrucache.p/lrucache.cpp.o
c++ -Itest/lrucache.p -Iinclude -I../../SOURCE/libzim/include -Isrc -I../../SOURCE/libzim/src -I/Users/runner/./BUILD_native_dyn/INSTALL/include -I/Users/runner/BUILD_native_dyn/INSTALL/include -I/usr/local/Cellar/googletest/1.13.0/include -fcolor-diagnostics -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++11 -O0 -g -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DGTEST_HAS_PTHREAD=1 -DWITH_TEST_DATA=1 -MD -MQ test/lrucache.p/lrucache.cpp.o -MF test/lrucache.p/lrucache.cpp.o.d -o test/lrucache.p/lrucache.cpp.o -c ../../SOURCE/libzim/test/lrucache.cpp
In file included from ../../SOURCE/libzim/test/lrucache.cpp:34:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest.h:64:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-assertion-result.h:46:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-message.h:57:
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-port.h:270:2: error: C++ versions less than C++14 are not supported.
#error C++ versions less than C++14 are not supported.
 ^
In file included from ../../SOURCE/libzim/test/lrucache.cpp:34:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest.h:65:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-death-test.h:43:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-death-test-internal.h:47:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-matchers.h:48:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-printers.h:115:
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:636:54: error: too few template arguments for class template 'less'
  typedef ::std::map<std::string, CodeLocation, std::less<>> RegisteredTestsMap;
                                                     ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/operations.h:366:29: note: template is declared here
struct _LIBCPP_TEMPLATE_VIS less
                            ^
In file included from ../../SOURCE/libzim/test/lrucache.cpp:34:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest.h:65:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-death-test.h:43:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-death-test-internal.h:47:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-matchers.h:48:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-printers.h:115:
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:613:22: error: member reference base type 'testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'int') is not a structure or union
    registered_tests_.insert(
    ~~~~~~~~~~~~~~~~~^~~~~~~
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:619:29: error: member reference base type 'const testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'const int') is not a structure or union
    return registered_tests_.count(test_name) > 0;
           ~~~~~~~~~~~~~~~~~^~~~~~
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:623:5: error: 'testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'int') is not a class, namespace, or enumeration
    RegisteredTestsMap::const_iterator it = registered_tests_.find(test_name);
    ^
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:623:62: error: member reference base type 'const testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'const int') is not a structure or union
    RegisteredTestsMap::const_iterator it = registered_tests_.find(test_name);
                                            ~~~~~~~~~~~~~~~~~^~~~~
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:624:41: error: member reference base type 'const testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'const int') is not a structure or union
    GTEST_CHECK_(it != registered_tests_.end());
                       ~~~~~~~~~~~~~~~~~^~~~
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-port.h:1027:35: note: expanded from macro 'GTEST_CHECK_'
  if (::testing::internal::IsTrue(condition)) \
                                  ^~~~~~~~~
7 errors generated.
[15/133] c++ -Itest/dirent.p -Iinclude -I../../SOURCE/libzim/include -Isrc -I../../SOURCE/libzim/src -I/Users/runner/./BUILD_native_dyn/INSTALL/include -I/Users/runner/BUILD_native_dyn/INSTALL/include -I/usr/local/Cellar/googletest/1.13.0/include -fcolor-diagnostics -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++11 -O0 -g -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DGTEST_HAS_PTHREAD=1 -DWITH_TEST_DATA=1 -MD -MQ test/dirent.p/dirent.cpp.o -MF test/dirent.p/dirent.cpp.o.d -o test/dirent.p/dirent.cpp.o -c ../../SOURCE/libzim/test/dirent.cpp
FAILED: test/dirent.p/dirent.cpp.o
c++ -Itest/dirent.p -Iinclude -I../../SOURCE/libzim/include -Isrc -I../../SOURCE/libzim/src -I/Users/runner/./BUILD_native_dyn/INSTALL/include -I/Users/runner/BUILD_native_dyn/INSTALL/include -I/usr/local/Cellar/googletest/1.13.0/include -fcolor-diagnostics -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++11 -O0 -g -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DGTEST_HAS_PTHREAD=1 -DWITH_TEST_DATA=1 -MD -MQ test/dirent.p/dirent.cpp.o -MF test/dirent.p/dirent.cpp.o.d -o test/dirent.p/dirent.cpp.o -c ../../SOURCE/libzim/test/dirent.cpp
In file included from ../../SOURCE/libzim/test/dirent.cpp:35:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest.h:64:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-assertion-result.h:46:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-message.h:57:
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-port.h:270:2: error: C++ versions less than C++14 are not supported.
#error C++ versions less than C++14 are not supported.
 ^
In file included from ../../SOURCE/libzim/test/dirent.cpp:35:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest.h:65:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-death-test.h:43:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-death-test-internal.h:47:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-matchers.h:48:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-printers.h:115:
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:636:54: error: too few template arguments for class template 'less'
  typedef ::std::map<std::string, CodeLocation, std::less<>> RegisteredTestsMap;
                                                     ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/operations.h:366:29: note: template is declared here
struct _LIBCPP_TEMPLATE_VIS less
                            ^
In file included from ../../SOURCE/libzim/test/dirent.cpp:35:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest.h:65:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-death-test.h:43:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-death-test-internal.h:47:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-matchers.h:48:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-printers.h:115:
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:613:22: error: member reference base type 'testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'int') is not a structure or union
    registered_tests_.insert(
    ~~~~~~~~~~~~~~~~~^~~~~~~
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:619:29: error: member reference base type 'const testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'const int') is not a structure or union
    return registered_tests_.count(test_name) > 0;
           ~~~~~~~~~~~~~~~~~^~~~~~
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:623:5: error: 'testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'int') is not a class, namespace, or enumeration
    RegisteredTestsMap::const_iterator it = registered_tests_.find(test_name);
    ^
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:623:62: error: member reference base type 'const testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'const int') is not a structure or union
    RegisteredTestsMap::const_iterator it = registered_tests_.find(test_name);
                                            ~~~~~~~~~~~~~~~~~^~~~~
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:624:41: error: member reference base type 'const testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'const int') is not a structure or union
    GTEST_CHECK_(it != registered_tests_.end());
                       ~~~~~~~~~~~~~~~~~^~~~
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-port.h:1027:35: note: expanded from macro 'GTEST_CHECK_'
  if (::testing::internal::IsTrue(condition)) \
                                  ^~~~~~~~~
7 errors generated.
[16/133] c++ -Itest/creator.p -Iinclude -I../../SOURCE/libzim/include -Isrc -I../../SOURCE/libzim/src -I/Users/runner/./BUILD_native_dyn/INSTALL/include -I/Users/runner/BUILD_native_dyn/INSTALL/include -I/usr/local/Cellar/googletest/1.13.0/include -fcolor-diagnostics -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++11 -O0 -g -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DGTEST_HAS_PTHREAD=1 -DWITH_TEST_DATA=1 -MD -MQ test/creator.p/creator.cpp.o -MF test/creator.p/creator.cpp.o.d -o test/creator.p/creator.cpp.o -c ../../SOURCE/libzim/test/creator.cpp
FAILED: test/creator.p/creator.cpp.o
c++ -Itest/creator.p -Iinclude -I../../SOURCE/libzim/include -Isrc -I../../SOURCE/libzim/src -I/Users/runner/./BUILD_native_dyn/INSTALL/include -I/Users/runner/BUILD_native_dyn/INSTALL/include -I/usr/local/Cellar/googletest/1.13.0/include -fcolor-diagnostics -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++11 -O0 -g -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DGTEST_HAS_PTHREAD=1 -DWITH_TEST_DATA=1 -MD -MQ test/creator.p/creator.cpp.o -MF test/creator.p/creator.cpp.o.d -o test/creator.p/creator.cpp.o -c ../../SOURCE/libzim/test/creator.cpp
In file included from ../../SOURCE/libzim/test/creator.cpp:36:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest.h:64:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-assertion-result.h:46:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-message.h:57:
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-port.h:270:2: error: C++ versions less than C++14 are not supported.
#error C++ versions less than C++14 are not supported.
 ^
In file included from ../../SOURCE/libzim/test/creator.cpp:36:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest.h:65:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-death-test.h:43:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-death-test-internal.h:47:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-matchers.h:48:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-printers.h:115:
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:636:54: error: too few template arguments for class template 'less'
  typedef ::std::map<std::string, CodeLocation, std::less<>> RegisteredTestsMap;
                                                     ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/operations.h:366:29: note: template is declared here
struct _LIBCPP_TEMPLATE_VIS less
                            ^
In file included from ../../SOURCE/libzim/test/creator.cpp:36:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest.h:65:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-death-test.h:43:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-death-test-internal.h:47:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-matchers.h:48:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-printers.h:115:
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:613:22: error: member reference base type 'testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'int') is not a structure or union
    registered_tests_.insert(
    ~~~~~~~~~~~~~~~~~^~~~~~~
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:619:29: error: member reference base type 'const testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'const int') is not a structure or union
    return registered_tests_.count(test_name) > 0;
           ~~~~~~~~~~~~~~~~~^~~~~~
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:623:5: error: 'testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'int') is not a class, namespace, or enumeration
    RegisteredTestsMap::const_iterator it = registered_tests_.find(test_name);
    ^
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:623:62: error: member reference base type 'const testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'const int') is not a structure or union
    RegisteredTestsMap::const_iterator it = registered_tests_.find(test_name);
                                            ~~~~~~~~~~~~~~~~~^~~~~
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:624:41: error: member reference base type 'const testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'const int') is not a structure or union
    GTEST_CHECK_(it != registered_tests_.end());
                       ~~~~~~~~~~~~~~~~~^~~~
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-port.h:1027:35: note: expanded from macro 'GTEST_CHECK_'
  if (::testing::internal::IsTrue(condition)) \
                                  ^~~~~~~~~
7 errors generated.
[17/133] c++ -Isrc/libzim.8.dylib.p -Isrc -I../../SOURCE/libzim/src -Iinclude -I../../SOURCE/libzim/include -Istatic -I/Users/runner/./BUILD_native_dyn/INSTALL/include -I/Users/runner/BUILD_native_dyn/INSTALL/include -fcolor-diagnostics -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++11 -O0 -g -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -MD -MQ src/libzim.8.dylib.p/meson-generated_.._.._static_libzim-resources.cpp.o -MF src/libzim.8.dylib.p/meson-generated_.._.._static_libzim-resources.cpp.o.d -o src/libzim.8.dylib.p/meson-generated_.._.._static_libzim-resources.cpp.o -c static/libzim-resources.cpp
[18/133] c++ -Itest/cluster.p -Iinclude -I../../SOURCE/libzim/include -Isrc -I../../SOURCE/libzim/src -I/Users/runner/./BUILD_native_dyn/INSTALL/include -I/Users/runner/BUILD_native_dyn/INSTALL/include -I/usr/local/Cellar/googletest/1.13.0/include -fcolor-diagnostics -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++11 -O0 -g -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DGTEST_HAS_PTHREAD=1 -DWITH_TEST_DATA=1 -MD -MQ test/cluster.p/cluster.cpp.o -MF test/cluster.p/cluster.cpp.o.d -o test/cluster.p/cluster.cpp.o -c ../../SOURCE/libzim/test/cluster.cpp
FAILED: test/cluster.p/cluster.cpp.o
c++ -Itest/cluster.p -Iinclude -I../../SOURCE/libzim/include -Isrc -I../../SOURCE/libzim/src -I/Users/runner/./BUILD_native_dyn/INSTALL/include -I/Users/runner/BUILD_native_dyn/INSTALL/include -I/usr/local/Cellar/googletest/1.13.0/include -fcolor-diagnostics -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++11 -O0 -g -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DGTEST_HAS_PTHREAD=1 -DWITH_TEST_DATA=1 -MD -MQ test/cluster.p/cluster.cpp.o -MF test/cluster.p/cluster.cpp.o.d -o test/cluster.p/cluster.cpp.o -c ../../SOURCE/libzim/test/cluster.cpp
In file included from ../../SOURCE/libzim/test/cluster.cpp:45:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest.h:64:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-assertion-result.h:46:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-message.h:57:
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-port.h:270:2: error: C++ versions less than C++14 are not supported.
#error C++ versions less than C++14 are not supported.
 ^
In file included from ../../SOURCE/libzim/test/cluster.cpp:45:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest.h:65:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-death-test.h:43:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-death-test-internal.h:47:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-matchers.h:48:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-printers.h:115:
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:636:54: error: too few template arguments for class template 'less'
  typedef ::std::map<std::string, CodeLocation, std::less<>> RegisteredTestsMap;
                                                     ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/operations.h:366:29: note: template is declared here
struct _LIBCPP_TEMPLATE_VIS less
                            ^
In file included from ../../SOURCE/libzim/test/cluster.cpp:45:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest.h:65:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-death-test.h:43:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-death-test-internal.h:47:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-matchers.h:48:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-printers.h:115:
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:613:22: error: member reference base type 'testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'int') is not a structure or union
    registered_tests_.insert(
    ~~~~~~~~~~~~~~~~~^~~~~~~
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:619:29: error: member reference base type 'const testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'const int') is not a structure or union
    return registered_tests_.count(test_name) > 0;
           ~~~~~~~~~~~~~~~~~^~~~~~
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:623:5: error: 'testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'int') is not a class, namespace, or enumeration
    RegisteredTestsMap::const_iterator it = registered_tests_.find(test_name);
    ^
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:623:62: error: member reference base type 'const testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'const int') is not a structure or union
    RegisteredTestsMap::const_iterator it = registered_tests_.find(test_name);
                                            ~~~~~~~~~~~~~~~~~^~~~~
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:624:41: error: member reference base type 'const testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'const int') is not a structure or union
    GTEST_CHECK_(it != registered_tests_.end());
                       ~~~~~~~~~~~~~~~~~^~~~
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-port.h:1027:35: note: expanded from macro 'GTEST_CHECK_'
  if (::testing::internal::IsTrue(condition)) \
                                  ^~~~~~~~~
7 errors generated.
[19/133] c++ -Itest/error_in_creator.p -Iinclude -I../../SOURCE/libzim/include -Isrc -I../../SOURCE/libzim/src -I/Users/runner/./BUILD_native_dyn/INSTALL/include -I/Users/runner/BUILD_native_dyn/INSTALL/include -I/usr/local/Cellar/googletest/1.13.0/include -fcolor-diagnostics -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++11 -O0 -g -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DGTEST_HAS_PTHREAD=1 -DWITH_TEST_DATA=1 -MD -MQ test/error_in_creator.p/error_in_creator.cpp.o -MF test/error_in_creator.p/error_in_creator.cpp.o.d -o test/error_in_creator.p/error_in_creator.cpp.o -c ../../SOURCE/libzim/test/error_in_creator.cpp
FAILED: test/error_in_creator.p/error_in_creator.cpp.o
c++ -Itest/error_in_creator.p -Iinclude -I../../SOURCE/libzim/include -Isrc -I../../SOURCE/libzim/src -I/Users/runner/./BUILD_native_dyn/INSTALL/include -I/Users/runner/BUILD_native_dyn/INSTALL/include -I/usr/local/Cellar/googletest/1.13.0/include -fcolor-diagnostics -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++11 -O0 -g -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DGTEST_HAS_PTHREAD=1 -DWITH_TEST_DATA=1 -MD -MQ test/error_in_creator.p/error_in_creator.cpp.o -MF test/error_in_creator.p/error_in_creator.cpp.o.d -o test/error_in_creator.p/error_in_creator.cpp.o -c ../../SOURCE/libzim/test/error_in_creator.cpp
In file included from ../../SOURCE/libzim/test/error_in_creator.cpp:28:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest.h:64:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-assertion-result.h:46:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-message.h:57:
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-port.h:270:2: error: C++ versions less than C++14 are not supported.
#error C++ versions less than C++14 are not supported.
 ^
In file included from ../../SOURCE/libzim/test/error_in_creator.cpp:28:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest.h:65:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-death-test.h:43:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-death-test-internal.h:47:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-matchers.h:48:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-printers.h:115:
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:636:54: error: too few template arguments for class template 'less'
  typedef ::std::map<std::string, CodeLocation, std::less<>> RegisteredTestsMap;
                                                     ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/operations.h:366:29: note: template is declared here
struct _LIBCPP_TEMPLATE_VIS less
                            ^
In file included from ../../SOURCE/libzim/test/error_in_creator.cpp:28:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest.h:65:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-death-test.h:43:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-death-test-internal.h:47:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-matchers.h:48:
In file included from /usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-printers.h:115:
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:613:22: error: member reference base type 'testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'int') is not a structure or union
    registered_tests_.insert(
    ~~~~~~~~~~~~~~~~~^~~~~~~
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:619:29: error: member reference base type 'const testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'const int') is not a structure or union
    return registered_tests_.count(test_name) > 0;
           ~~~~~~~~~~~~~~~~~^~~~~~
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:623:5: error: 'testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'int') is not a class, namespace, or enumeration
    RegisteredTestsMap::const_iterator it = registered_tests_.find(test_name);
    ^
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:623:62: error: member reference base type 'const testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'const int') is not a structure or union
    RegisteredTestsMap::const_iterator it = registered_tests_.find(test_name);
                                            ~~~~~~~~~~~~~~~~~^~~~~
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:624:41: error: member reference base type 'const testing::internal::TypedTestSuitePState::RegisteredTestsMap' (aka 'const int') is not a structure or union
    GTEST_CHECK_(it != registered_tests_.end());
                       ~~~~~~~~~~~~~~~~~^~~~
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-port.h:1027:35: note: expanded from macro 'GTEST_CHECK_'
  if (::testing::internal::IsTrue(condition)) \
                                  ^~~~~~~~~
../../SOURCE/libzim/test/error_in_creator.cpp:190:1: warning: 'InstantiateTestCase_P_IsDeprecated' is deprecated: INSTANTIATE_TEST_CASE_P is deprecated, please use INSTANTIATE_TEST_SUITE_P [-Wdeprecated-declarations]
INSTANTIATE_TEST_CASE_P(
^
/usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-param-test.h:538:38: note: expanded from macro 'INSTANTIATE_TEST_CASE_P'
  static_assert(::testing::internal::InstantiateTestCase_P_IsDeprecated(), \
                                     ^
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:1296:1: note: 'InstantiateTestCase_P_IsDeprecated' has been explicitly marked deprecated here
GTEST_INTERNAL_DEPRECATED(
^
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-port.h:2336:59: note: expanded from macro 'GTEST_INTERNAL_DEPRECATED'
#define GTEST_INTERNAL_DEPRECATED(message) __attribute__((deprecated(message)))
                                                          ^
../../SOURCE/libzim/test/error_in_creator.cpp:360:1: warning: 'InstantiateTestCase_P_IsDeprecated' is deprecated: INSTANTIATE_TEST_CASE_P is deprecated, please use INSTANTIATE_TEST_SUITE_P [-Wdeprecated-declarations]
INSTANTIATE_TEST_CASE_P(
^
/usr/local/Cellar/googletest/1.13.0/include/gtest/gtest-param-test.h:538:38: note: expanded from macro 'INSTANTIATE_TEST_CASE_P'
  static_assert(::testing::internal::InstantiateTestCase_P_IsDeprecated(), \
                                     ^
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-internal.h:1296:1: note: 'InstantiateTestCase_P_IsDeprecated' has been explicitly marked deprecated here
GTEST_INTERNAL_DEPRECATED(
^
/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-port.h:2336:59: note: expanded from macro 'GTEST_INTERNAL_DEPRECATED'
#define GTEST_INTERNAL_DEPRECATED(message) __attribute__((deprecated(message)))
                                                          ^
2 warnings and 7 errors generated.
[20/133] c++ -Isrc/libzim.8.dylib.p -Isrc -I../../SOURCE/libzim/src -Iinclude -I../../SOURCE/libzim/include -Istatic -I/Users/runner/./BUILD_native_dyn/INSTALL/include -I/Users/runner/BUILD_native_dyn/INSTALL/include -fcolor-diagnostics -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++11 -O0 -g -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -MD -MQ src/libzim.8.dylib.p/archive.cpp.o -MF src/libzim.8.dylib.p/archive.cpp.o.d -o src/libzim.8.dylib.p/archive.cpp.o -c ../../SOURCE/libzim/src/archive.cpp
ninja: build stopped: subcommand failed.


Stopping build due to errors
Traceback (most recent call last):
  File "./kiwix-build/.github/scripts/build_release_nightly.py", line 56, in <module>
    run_kiwix_build(target, platform=PLATFORM_TARGET, make_release=MAKE_RELEASE)
  File "/Users/runner/kiwix-build/.github/scripts/common.py", line 188, in run_kiwix_build
    subprocess.check_call(command, cwd=str(HOME), env=env)
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/subprocess.py", line 364, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['kiwix-build', 'zim-tools', '--hide-progress', '--fast-clone', '--assume-packages-installed', '--target-platform', 'native_dyn']' returned non-zero exit status 1.

@mgautierfr
Copy link
Collaborator Author

/usr/local/Cellar/googletest/1.13.0/include/gtest/internal/gtest-port.h:270:2: error: C++ versions less than C++14 are not supported. #error C++ versions less than C++14 are not supported.

@rgaudin We are compiling in C+11 for now (see #757). So I suspect other compilation errors being because you use a "too recent" version of gtest.

@mgautierfr mgautierfr force-pushed the fix_last_xcode branch 3 times, most recently from 1142c81 to 5ba4a02 Compare April 18, 2023 09:49
@kelson42
Copy link
Contributor

@mgautierfr Not a good idea to go straight to c++17 compat?

@mgautierfr
Copy link
Collaborator Author

As the commit message says, I'm not sure we should even move to c++14. Maybe or not but it should be made in #757.
(For example, this PR at least remove an obsolete c++ feature removed in c++17. We could have other things breaking)

The last commit is just here to check if it compile with last xcode version or if there is other errors.

@kelson42
Copy link
Contributor

@mgautierfr yes, please remove last commit and merge

`std::binary_function` is deprecated in C++11.

There is no need to replace it with something else. Just using a
type with a `operator()` in the map is enough.
Constraints for REAL_TYPE<B> are :
- Child of this class can be compared/incremented/...
- Return type of the operator must be the child and not `REAL_TYPE<B>`

The first point make us overloaded classic operators.

This second point was making us templating the operator by `T` and not
`REAL_TYPE<B>`.

But it is to generic as we end define `operator-` for any type with
`operator-=`.

So we need to overload the operators for `NAME` (in the macro) and not use
generics.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Compiling with latest Xcode
4 participants