-
Notifications
You must be signed in to change notification settings - Fork 111
Closed
Description
/usr/local/bin/gmake check-am
gmake[1]: Entering directory '/usr/ports/biology/mummer/work/mummer-4.0.0'
/usr/local/bin/gmake unittests/test_all tests/generate_sequences tests/ufasta tests/check_cigar tests/check_LCP unittests/libgtest.la unittests/libgtest_main.la \
tests/testsh
gmake[2]: Entering directory '/usr/ports/biology/mummer/work/mummer-4.0.0'
c++ -DHAVE_CONFIG_H -I. -Itests -std=c++17 -fopenmp -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT tests/generate_sequences-generate_sequences.o -MD -MP -MF tests/.deps/generate_sequences-generate_sequences.Tpo -c -o tests/generate_sequences-generate_sequences.o `test -f 'tests/generate_sequences.cc' || echo './'`tests/generate_sequences.cc
In file included from tests/generate_sequences.cc:6:
tests/gcc10_uniform_dist.hpp:68:5: error: use of undeclared identifier '__glibcxx_assert'
68 | __glibcxx_assert(_M_a <= _M_b);
| ^
tests/gcc10_uniform_dist.hpp:104:5: note: in instantiation of member function 'uniform_int_distribution<unsigned int>::param_type::param_type' requested here
104 | : _M_param(__a, __b)
| ^
tests/generate_sequences.cc:69:42: note: in instantiation of member function 'uniform_int_distribution<unsigned int>::uniform_int_distribution' requested here
69 | uniform_int_distribution<unsigned int> has_error(0, 99);
| ^
In file included from tests/generate_sequences.cc:6:
tests/gcc10_uniform_dist.hpp:68:5: error: use of undeclared identifier '__glibcxx_assert'
68 | __glibcxx_assert(_M_a <= _M_b);
| ^
tests/gcc10_uniform_dist.hpp:104:5: note: in instantiation of member function 'uniform_int_distribution<unsigned long>::param_type::param_type' requested here
104 | : _M_param(__a, __b)
| ^
tests/generate_sequences.cc:71:42: note: in instantiation of member function 'uniform_int_distribution<unsigned long>::uniform_int_distribution' requested here
71 | uniform_int_distribution<size_t> position(0, genome.size() - length);
| ^
In file included from tests/generate_sequences.cc:6:
tests/gcc10_uniform_dist.hpp:68:5: error: use of undeclared identifier '__glibcxx_assert'
68 | __glibcxx_assert(_M_a <= _M_b);
| ^
tests/gcc10_uniform_dist.hpp:104:5: note: in instantiation of member function 'uniform_int_distribution<char>::param_type::param_type' requested here
104 | : _M_param(__a, __b)
| ^
tests/generate_sequences.cc:75:42: note: in instantiation of member function 'uniform_int_distribution<char>::uniform_int_distribution' requested here
75 | uniform_int_distribution<char> qual('!' + 2, '!' + 41);
| ^
In file included from tests/generate_sequences.cc:6:
tests/gcc10_uniform_dist.hpp:206:18: error: no matching constructor for initialization of 'param_type'
206 | (__urng, param_type(0, __urange / __uerngrange)));
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
tests/gcc10_uniform_dist.hpp:132:18: note: in instantiation of function template specialization 'uniform_int_distribution<unsigned long>::operator()<std::mersenne_twister_engine<unsigned int, 32, 624, 397, 31, 2567483615, 11, 4294967295, 7, 2636928640, 15, 4022730752, 18, 1812433253>>' requested here
132 | { return this->operator()(__urng, _M_param); }
| ^
tests/generate_sequences.cc:79:38: note: in instantiation of function template specialization 'uniform_int_distribution<unsigned long>::operator()<std::mersenne_twister_engine<unsigned int, 32, 624, 397, 31, 2567483615, 11, 4294967295, 7, 2636928640, 15, 4022730752, 18, 1812433253>>' requested here
79 | const auto extract_pos = position(rand_gen);
| ^
tests/gcc10_uniform_dist.hpp:57:9: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided
57 | struct param_type
| ^~~~~~~~~~
tests/gcc10_uniform_dist.hpp:57:9: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 2 were provided
57 | struct param_type
| ^~~~~~~~~~
tests/gcc10_uniform_dist.hpp:61:3: note: candidate constructor not viable: requires 0 arguments, but 2 were provided
61 | param_type() : param_type(0) { }
| ^
tests/gcc10_uniform_dist.hpp:206:18: error: no matching constructor for initialization of 'param_type'
206 | (__urng, param_type(0, __urange / __uerngrange)));
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
tests/gcc10_uniform_dist.hpp:132:18: note: in instantiation of function template specialization 'uniform_int_distribution<unsigned int>::operator()<std::mersenne_twister_engine<unsigned int, 32, 624, 397, 31, 2567483615, 11, 4294967295, 7, 2636928640, 15, 4022730752, 18, 1812433253>>' requested here
132 | { return this->operator()(__urng, _M_param); }
| ^
tests/generate_sequences.cc:80:37: note: in instantiation of function template specialization 'uniform_int_distribution<unsigned int>::operator()<std::mersenne_twister_engine<unsigned int, 32, 624, 397, 31, 2567483615, 11, 4294967295, 7, 2636928640, 15, 4022730752, 18, 1812433253>>' requested here
80 | const bool is_reversed = reverse(rand_gen) != 0;
| ^
tests/gcc10_uniform_dist.hpp:57:9: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided
57 | struct param_type
| ^~~~~~~~~~
tests/gcc10_uniform_dist.hpp:57:9: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 2 were provided
57 | struct param_type
| ^~~~~~~~~~
tests/gcc10_uniform_dist.hpp:61:3: note: candidate constructor not viable: requires 0 arguments, but 2 were provided
61 | param_type() : param_type(0) { }
| ^
tests/gcc10_uniform_dist.hpp:206:18: error: no matching constructor for initialization of 'param_type'
206 | (__urng, param_type(0, __urange / __uerngrange)));
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
tests/gcc10_uniform_dist.hpp:132:18: note: in instantiation of function template specialization 'uniform_int_distribution<char>::operator()<std::mersenne_twister_engine<unsigned int, 32, 624, 397, 31, 2567483615, 11, 4294967295, 7, 2636928640, 15, 4022730752, 18, 1812433253>>' requested here
132 | { return this->operator()(__urng, _M_param); }
| ^
tests/generate_sequences.cc:107:19: note: in instantiation of function template specialization 'uniform_int_distribution<char>::operator()<std::mersenne_twister_engine<unsigned int, 32, 624, 397, 31, 2567483615, 11, 4294967295, 7, 2636928640, 15, 4022730752, 18, 1812433253>>' requested here
107 | os << qual(rand_gen);
| ^
tests/gcc10_uniform_dist.hpp:57:9: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided
57 | struct param_type
| ^~~~~~~~~~
tests/gcc10_uniform_dist.hpp:57:9: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 2 were provided
57 | struct param_type
| ^~~~~~~~~~
tests/gcc10_uniform_dist.hpp:61:3: note: candidate constructor not viable: requires 0 arguments, but 2 were provided
61 | param_type() : param_type(0) { }
| ^
6 errors generated.
Version: 4.0.0
clang-19
FreeBSD 14.2
Metadata
Metadata
Assignees
Labels
No labels