-
Notifications
You must be signed in to change notification settings - Fork 289
Closed
Description
When building on FreeBSD 14 which uses Clang 16.0.6, I get the following error:
FAILED: tests/unit-tests/CMakeFiles/unit_tests.dir/test_runner.cc.o
/usr/bin/c++ -I/wrkdirs/usr/ports/devel/libcuckoo/work/libcuckoo-0.3.1/tests/Catch/single_include -I/wrkdirs/usr/ports/devel/libcuckoo/work/libcuckoo-0.3.1 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -pthread -MD -MT tests/unit-tests/CMakeFiles/unit_tests.dir/test_runner.cc.o -MF tests/unit-tests/CMakeFiles/unit_tests.dir/test_runner.cc.o.d -o tests/unit-tests/CMakeFiles/unit_tests.dir/test_runner.cc.o -c /wrkdirs/usr/ports/devel/libcuckoo/work/libcuckoo-0.3.1/tests/unit-tests/test_runner.cc
In file included from /wrkdirs/usr/ports/devel/libcuckoo/work/libcuckoo-0.3.1/tests/unit-tests/test_runner.cc:3:
In file included from /wrkdirs/usr/ports/devel/libcuckoo/work/libcuckoo-0.3.1/tests/Catch/single_include/catch.hpp:74:
In file included from /usr/include/c++/v1/sstream:191:
In file included from /usr/include/c++/v1/istream:165:
In file included from /usr/include/c++/v1/ostream:170:
In file included from /usr/include/c++/v1/bitset:131:
In file included from /usr/include/c++/v1/string:576:
In file included from /usr/include/c++/v1/string_view:1025:
In file included from /usr/include/c++/v1/algorithm:1848:
In file included from /usr/include/c++/v1/__algorithm/ranges_sample.h:13:
In file included from /usr/include/c++/v1/__algorithm/sample.h:18:
/usr/include/c++/v1/__random/uniform_int_distribution.h:234:5: error: static assertion failed due to requirement '__libcpp_random_is_valid_urng<Catch::RandomNumberGenerator, void>::value':
static_assert(__libcpp_random_is_valid_urng<_URNG>::value, "");
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/v1/__algorithm/shuffle.h:155:35: note: in instantiation of function template specialization 'std::uniform_int_distribution<long>::operator()<Catch::RandomNumberGenerator>' requested here
difference_type __i = __uid(__g, _Pp(0, __d));
^
/usr/include/c++/v1/__algorithm/shuffle.h:167:14: note: in instantiation of function template specialization 'std::__shuffle<std::_ClassicAlgPolicy, std::__wrap_iter<Catch::TestCase *>, std::__wrap_iter<Catch::TestCase *>, Catch::RandomNumberGenerator &>' requested here
(void)std::__shuffle<_ClassicAlgPolicy>(
^
/wrkdirs/usr/ports/devel/libcuckoo/work/libcuckoo-0.3.1/tests/Catch/single_include/catch.hpp:6481:18: note: in instantiation of function template specialization 'std::shuffle<std::__wrap_iter<Catch::TestCase *>, Catch::RandomNumberGenerator &>' requested here
std::shuffle( vector.begin(), vector.end(), rng );
^
/wrkdirs/usr/ports/devel/libcuckoo/work/libcuckoo-0.3.1/tests/Catch/single_include/catch.hpp:6499:44: note: in instantiation of function template specialization 'Catch::RandomNumberGenerator::shuffle<std::vector<Catch::TestCase>>' requested here
RandomNumberGenerator::shuffle( sorted );
^
1 error generated.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels