Closed nbeams closed 5 years ago
@nbeams , thank you for the bug report. Could you please attach your CMakeCache.txt
file so that we can try and reproduce the problem ?
Sure, here is CMakeCache.txt from using clang as the compiler, all default options. cmake version is 3.15.1.
Sorry, I forgot to ask. What is the actual error you get ?
Short version: a lot of errors that look like
In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/__string:56: /Library/Developer/CommandLineTools/usr/include/c++/v1/algorithm:721:71: error: invalid operands to binary expression ('const gko::detail::IteratorFactory<int, float>::element' and 'const gko::detail::IteratorFactory<int, float>::element') bool operator()(const _T1& __x, const _T1& __y) const {return __x < __y;}
and
In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/__string:56: /Library/Developer/CommandLineTools/usr/include/c++/v1/algorithm:3718:20: error: no matching function for call to '__sort3' unsigned __r = __sort3<_Compare>(__x1, __x2, __x3, __c);
Build fails with latest clang (Apple LLVM version 10.0.1 (clang-1001.0.46.4)) and g++ from Apple. With MacOS Mojave 10.14.6. Build with g++ 9.1.0 (built on system through Homebrew) succeeds.