Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow compilation with g++17 by replacing "byte" with "uint8_t" to remove confusion with std::byte (c++17 feature) #1292

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

segfaultDelirium
Copy link

C++17 features std::byte which breaks "byte" definitions in Crypto++ library. This pull requests fixes this.

…::byte which caused compilation errors since it was being confused by custom defined byte by Crypto++ library).
@idrassi
Copy link
Member

idrassi commented Apr 10, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants