VeraCrypt
VeraCrypt copied to clipboard
Allow compilation with g++17 by replacing "byte" with "uint8_t" to remove confusion with std::byte (c++17 feature)
C++17 features std::byte which breaks "byte" definitions in Crypto++ library. This pull requests fixes this.
This change breaks Windows build. A better approach is to replace byte by uint8 that is specifically defined in Tcdefs.h in order to be available in all platforms.
Can you change your PR to se this approach.
I have implemented a similar change using the uint8 type as I mentioned earlier: https://github.com/veracrypt/VeraCrypt/commit/455a4f2176a5cfbe325e1e40cea20dd3e466b64c So closing this PR.