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

Qt 62 #1284

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

Qt 62 #1284

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions config_align.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,13 @@
#define CRYPTOPP_BOOL_ALIGN16 0
#endif

// Required to remove crash when build with msvc
// Discussion: https://groups.google.com/g/cryptopp-users/c/4FhTDREatGo/m/x1wUF1V7BQAJ
#if defined(_MSC_VER)
#undef CRYPTOPP_BOOL_ALIGN16
#define CRYPTOPP_BOOL_ALIGN16 1
#endif

// How to allocate 16-byte aligned memory (for SSE2)
// posix_memalign see https://forum.kde.org/viewtopic.php?p=66274
#if defined(_MSC_VER)
Expand Down
2 changes: 1 addition & 1 deletion config_os.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
// discussed at http://github.com/weidai11/cryptopp/issues/147.
#if (defined(_MSC_VER) && defined(__clang__) && \
!(defined( __clang_analyzer__)) && !defined(__INTEL_LLVM_COMPILER))
# error: "Unsupported configuration"
//# error: "Unsupported configuration"
#endif

// Windows platform
Expand Down