diff options
author | Fedja Beader <fedja@protonmail.ch> | 2023-12-09 20:00:13 +0100 |
---|---|---|
committer | Fedja Beader <fedja@protonmail.ch> | 2023-12-09 20:00:13 +0100 |
commit | 4a741687b758c032149bffe661304240cec73b19 (patch) | |
tree | 62b2dbf6fe3a8fcffe752413ec9405b8b27030d4 /configure | |
parent | 70c2692d38e6fac1c230a51c283438de11a61ce1 (diff) | |
download | tmwa-4a741687b758c032149bffe661304240cec73b19.tar.gz tmwa-4a741687b758c032149bffe661304240cec73b19.tar.bz2 tmwa-4a741687b758c032149bffe661304240cec73b19.tar.xz tmwa-4a741687b758c032149bffe661304240cec73b19.zip |
Correct issue with GTEST_DIR not being passed properly.
Note how gcc uses /usr/include/gtest (default search path) as the -I for GTEST_DIR is not on the gcc command line:
System-wide gtest is 1.14 and requires C++14 while provided one is 1.8.1.
GTEST_DIR="$PWD/deps/googletest/googletest" ./configure --user
make[1]: Leaving directory '/data/users/tmwa/proj/tmw/classic/tmwa'
find: ‘doc-gen/’: No such file or directory
g++ -std=c++0x -I . -I ./include -DGENERATING_DEPENDENCIES -O2 -g
-fstack-protector -fno-strict-aliasing -fvisibility=hidden
-fvisibility=hidden -MG -MM \
-MT 'ast/item_test := ' \
-MF obj/ast/item_test.d src/ast/item_test.cpp
In file included from /usr/include/gtest/gtest-message.h:57,
from /usr/include/gtest/gtest-assertion-result.h:46,
from /usr/include/gtest/gtest.h:64,
from src/ast/item_test.cpp:21:
/usr/include/gtest/internal/gtest-port.h:270:2: error: #error C++
versions less than C++14 are not supported.
270 | #error C++ versions less than C++14 are not supported.
| ^~~~~
Makefile:331: obj/ast/item_test.d: No such file or directory
Diffstat (limited to 'configure')
0 files changed, 0 insertions, 0 deletions