Advertisement
Guest User

Untitled

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