Advertisement
Guest User

Untitled

a guest
Sep 22nd, 2019
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.22 KB | None | 0 0
  1. 18:55:46: Running steps for project SHA256...
  2. 18:55:46: Starting: "/usr/bin/cmake" --build . --target all
  3. [ 15%] Built target gtest
  4. [ 30%] Built target gmock
  5. [ 46%] Built target gmock_main
  6. [ 61%] Built target gtest_main
  7. Scanning dependencies of target SHA256
  8. [ 69%] Building CXX object src/CMakeFiles/SHA256.dir/SHA256.cpp.o
  9. In file included from /mnt/BC62B2B762B2762C/itsec/sha-2/src/SHA256.cpp:1:0:
  10. /mnt/BC62B2B762B2762C/itsec/sha-2/src/SHA256.h: In function ‘constexpr sha256::Word sha256::rotr(sha256::Word, size_t)’:
  11. /mnt/BC62B2B762B2762C/itsec/sha-2/src/SHA256.h:39:1: error: body of constexpr function ‘constexpr sha256::Word sha256::rotr(sha256::Word, size_t)’ not a return-statement
  12. }
  13. ^
  14. /mnt/BC62B2B762B2762C/itsec/sha-2/src/SHA256.cpp: In function ‘std::ostream& sha256::operator<<(std::ostream&, const Block&)’:
  15. /mnt/BC62B2B762B2762C/itsec/sha-2/src/SHA256.cpp:260:35: error: no matching function for call to ‘printHexArray(std::ostream&, const Block&)’
  16. return printHexArray(os, block);
  17. ^
  18. /mnt/BC62B2B762B2762C/itsec/sha-2/src/SHA256.cpp:242:43: note: candidate: template<class T, int N> std::ostream& sha256::printHexArray(std::ostream&, const std::array<T, N>&)
  19. template<typename T, int N> std::ostream& printHexArray(std::ostream& os, const std::array<T, N>& arr)
  20. ^~~~~~~~~~~~~
  21. /mnt/BC62B2B762B2762C/itsec/sha-2/src/SHA256.cpp:242:43: note: template argument deduction/substitution failed:
  22. /mnt/BC62B2B762B2762C/itsec/sha-2/src/SHA256.cpp:260:35: note: mismatched types ‘int’ and ‘long unsigned int’
  23. return printHexArray(os, block);
  24. ^
  25. /mnt/BC62B2B762B2762C/itsec/sha-2/src/SHA256.cpp: In function ‘std::ostream& sha256::operator<<(std::ostream&, const Hash&)’:
  26. /mnt/BC62B2B762B2762C/itsec/sha-2/src/SHA256.cpp:265:34: error: no matching function for call to ‘printHexArray(std::ostream&, const Hash&)’
  27. return printHexArray(os, hash);
  28. ^
  29. /mnt/BC62B2B762B2762C/itsec/sha-2/src/SHA256.cpp:242:43: note: candidate: template<class T, int N> std::ostream& sha256::printHexArray(std::ostream&, const std::array<T, N>&)
  30. template<typename T, int N> std::ostream& printHexArray(std::ostream& os, const std::array<T, N>& arr)
  31. ^~~~~~~~~~~~~
  32. /mnt/BC62B2B762B2762C/itsec/sha-2/src/SHA256.cpp:242:43: note: template argument deduction/substitution failed:
  33. /mnt/BC62B2B762B2762C/itsec/sha-2/src/SHA256.cpp:265:34: note: mismatched types ‘int’ and ‘long unsigned int’
  34. return printHexArray(os, hash);
  35. ^
  36. src/CMakeFiles/SHA256.dir/build.make:62: recipe for target 'src/CMakeFiles/SHA256.dir/SHA256.cpp.o' failed
  37. CMakeFiles/Makefile2:1208: recipe for target 'src/CMakeFiles/SHA256.dir/all' failed
  38. Makefile:140: recipe for target 'all' failed
  39. make[2]: *** [src/CMakeFiles/SHA256.dir/SHA256.cpp.o] Error 1
  40. make[1]: *** [src/CMakeFiles/SHA256.dir/all] Error 2
  41. make: *** [all] Error 2
  42. 18:55:48: The process "/usr/bin/cmake" exited with code 2.
  43. Error while building/deploying project SHA256 (kit: Desktop)
  44. When executing step "CMake Build"
  45. 18:55:48: Elapsed time: 00:02.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement