Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 18:55:46: Running steps for project SHA256...
- 18:55:46: Starting: "/usr/bin/cmake" --build . --target all
- [ 15%] Built target gtest
- [ 30%] Built target gmock
- [ 46%] Built target gmock_main
- [ 61%] Built target gtest_main
- Scanning dependencies of target SHA256
- [ 69%] Building CXX object src/CMakeFiles/SHA256.dir/SHA256.cpp.o
- In file included from /mnt/BC62B2B762B2762C/itsec/sha-2/src/SHA256.cpp:1:0:
- /mnt/BC62B2B762B2762C/itsec/sha-2/src/SHA256.h: In function ‘constexpr sha256::Word sha256::rotr(sha256::Word, size_t)’:
- /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
- }
- ^
- /mnt/BC62B2B762B2762C/itsec/sha-2/src/SHA256.cpp: In function ‘std::ostream& sha256::operator<<(std::ostream&, const Block&)’:
- /mnt/BC62B2B762B2762C/itsec/sha-2/src/SHA256.cpp:260:35: error: no matching function for call to ‘printHexArray(std::ostream&, const Block&)’
- return printHexArray(os, block);
- ^
- /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>&)
- template<typename T, int N> std::ostream& printHexArray(std::ostream& os, const std::array<T, N>& arr)
- ^~~~~~~~~~~~~
- /mnt/BC62B2B762B2762C/itsec/sha-2/src/SHA256.cpp:242:43: note: template argument deduction/substitution failed:
- /mnt/BC62B2B762B2762C/itsec/sha-2/src/SHA256.cpp:260:35: note: mismatched types ‘int’ and ‘long unsigned int’
- return printHexArray(os, block);
- ^
- /mnt/BC62B2B762B2762C/itsec/sha-2/src/SHA256.cpp: In function ‘std::ostream& sha256::operator<<(std::ostream&, const Hash&)’:
- /mnt/BC62B2B762B2762C/itsec/sha-2/src/SHA256.cpp:265:34: error: no matching function for call to ‘printHexArray(std::ostream&, const Hash&)’
- return printHexArray(os, hash);
- ^
- /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>&)
- template<typename T, int N> std::ostream& printHexArray(std::ostream& os, const std::array<T, N>& arr)
- ^~~~~~~~~~~~~
- /mnt/BC62B2B762B2762C/itsec/sha-2/src/SHA256.cpp:242:43: note: template argument deduction/substitution failed:
- /mnt/BC62B2B762B2762C/itsec/sha-2/src/SHA256.cpp:265:34: note: mismatched types ‘int’ and ‘long unsigned int’
- return printHexArray(os, hash);
- ^
- src/CMakeFiles/SHA256.dir/build.make:62: recipe for target 'src/CMakeFiles/SHA256.dir/SHA256.cpp.o' failed
- CMakeFiles/Makefile2:1208: recipe for target 'src/CMakeFiles/SHA256.dir/all' failed
- Makefile:140: recipe for target 'all' failed
- make[2]: *** [src/CMakeFiles/SHA256.dir/SHA256.cpp.o] Error 1
- make[1]: *** [src/CMakeFiles/SHA256.dir/all] Error 2
- make: *** [all] Error 2
- 18:55:48: The process "/usr/bin/cmake" exited with code 2.
- Error while building/deploying project SHA256 (kit: Desktop)
- When executing step "CMake Build"
- 18:55:48: Elapsed time: 00:02.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement