Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [sys9mm@Sulfide:~/sources/ECDLP-Diem]$ make
- g++ -Wall -Wextra -fsanitize=undefined -std=c++1z -O3 -Iinclude -march=native -g -Os -o test/ff-basic.out test/ff-basic.cpp
- In file included from test/ff-basic.cpp:5:0:
- include/finitefield.hpp: In member function ‘constexpr std::bitset<(N * 2)> GF2n<N, IRR>::inv(const std::bitset<(2 * N)>&) const’:
- include/finitefield.hpp:111:20: error: expected unqualified-id before ‘[’ token
- const auto [q,r] = bsdivqr(irr,k);
- ^
- include/finitefield.hpp:112:26: error: ‘r’ was not declared in this scope
- return bsmul(inv(r),q);
- ^
- include/finitefield.hpp:112:29: error: ‘q’ was not declared in this scope
- return bsmul(inv(r),q);
- ^
- make: *** [Makefile:20: test/ff-basic.out] Error 1
- [sys9mm@Sulfide:~/sources/ECDLP-Diem]$ g++ --version
- g++ (GCC) 6.4.0
- Copyright (C) 2017 Free Software Foundation, Inc.
- This is free software; see the source for copying conditions. There is NO
- warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement