-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
7zip: try to fix the clangarm64 build
There is some __try/__except in there that's not guarded.
- Loading branch information
Showing
2 changed files
with
33 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
--- a/C/Sha512.c 2024-11-09 11:00:00.000000000 +0100 | ||
+++ b/C/Sha512.c 2024-12-01 00:36:20.615532600 +0100 | ||
@@ -514,7 +514,9 @@ | ||
#ifdef __clang_major__ | ||
#pragma GCC diagnostic ignored "-Wlanguage-extension-token" | ||
#endif | ||
+#ifdef _MSC_VER | ||
__try | ||
+#endif | ||
{ | ||
#if 0 // 1 : for debug (reduced version to detect sha512) | ||
const uint64x2_t a = vdupq_n_u64(1); | ||
@@ -540,10 +542,12 @@ | ||
#endif | ||
#endif | ||
} | ||
+#ifdef _MSC_VER | ||
__except (EXCEPTION_EXECUTE_HANDLER) | ||
{ | ||
// printf("\n==== CPU_IsSupported_SHA512 EXCEPTION_EXECUTE_HANDLER\n"); | ||
} | ||
+#endif | ||
} | ||
return False; | ||
#else |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters