GCC version 6 is not enough to build Atomspace, at least 7 or later is required
vsbogd opened this issue · comments
Cogutil macro checks that GCC is 6 or later:
cogutil/cmake/OpenCogGccOptions.cmake
Lines 5 to 9 in d1f3df0
but
std::set::merge
method which is used in atomspace
code:https://github.com/opencog/atomspace/blob/a633fe2b66cbd9c83cb2d71517a19cc924758703/opencog/atoms/container/JoinLink.cc#L139
was introduced in GCC starting from version 7.
I have personally no problem incrementing the required version of gcc. Note that Debian 9 still uses gcc 6.
This implies that Debian 9 won't compile opencog ...
Pull req #245 bumps version to 7.0
Closing; fixed in #245 I set it to 7.0 but I think its safe to go to 7.5 even, as ubuntu 18.04 LTS has 7.5 in it. Open a new bug if you want something else.