[Libreoffice-commits] core.git: bridges/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Thu Aug 16 11:48:14 UTC 2018
bridges/source/cpp_uno/msvc_win32_intel/except.cxx | 2 +-
bridges/source/cpp_uno/msvc_win32_x86-64/except.cxx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 0a99baa1f96b4baf5be7c776c7fb2e5e7c94a351
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Thu Aug 16 10:02:44 2018 +0200
Commit: Stephan Bergmann <sbergman at redhat.com>
CommitDate: Thu Aug 16 13:47:47 2018 +0200
-Werror,-Wmultichar (clang-cl)
(<https://docs.microsoft.com/en-us/cpp/cpp/string-and-character-literals-cpp>
specifies that, for MSVC, "Multiple characters in the literal fill corresponding
bytes as needed from high-order to low-order.")
Change-Id: I192be65adf3bfff1a4d0f0f4862939be2736ffad
Reviewed-on: https://gerrit.libreoffice.org/59154
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
diff --git a/bridges/source/cpp_uno/msvc_win32_intel/except.cxx b/bridges/source/cpp_uno/msvc_win32_intel/except.cxx
index 07db561f1df7..82fcf345cd0d 100644
--- a/bridges/source/cpp_uno/msvc_win32_intel/except.cxx
+++ b/bridges/source/cpp_uno/msvc_win32_intel/except.cxx
@@ -493,7 +493,7 @@ bool DetectRethrow(void* ppExcept)
};
constexpr auto PER_IS_MSVC_EH = [](EHExceptionRecord* p) {
- constexpr DWORD EH_EXCEPTION_NUMBER = ('msc' | 0xE0000000); // The NT Exception # that msvcrt uses
+ constexpr DWORD EH_EXCEPTION_NUMBER = 0xE06D7363; // The NT Exception # that msvcrt uses ('msc' | 0xE0000000)
constexpr DWORD EH_MAGIC_NUMBER1 = 0x19930520; // latest magic # in thrown object
constexpr DWORD EH_MAGIC_NUMBER2 = 0x19930521; // latest magic # in func info for exception specs
constexpr DWORD EH_MAGIC_NUMBER3 = 0x19930522; // latest magic #
diff --git a/bridges/source/cpp_uno/msvc_win32_x86-64/except.cxx b/bridges/source/cpp_uno/msvc_win32_x86-64/except.cxx
index 374fd454ce94..f2e0cdc594a5 100644
--- a/bridges/source/cpp_uno/msvc_win32_x86-64/except.cxx
+++ b/bridges/source/cpp_uno/msvc_win32_x86-64/except.cxx
@@ -808,7 +808,7 @@ bool DetectRethrow(void* ppExcept)
};
constexpr auto PER_IS_MSVC_EH = [](EHExceptionRecord* p) {
- constexpr DWORD EH_EXCEPTION_NUMBER = ('msc' | 0xE0000000); // The NT Exception # that msvcrt uses
+ constexpr DWORD EH_EXCEPTION_NUMBER = 0xE06D7363; // The NT Exception # that msvcrt uses ('msc' | 0xE0000000)
constexpr DWORD EH_MAGIC_NUMBER1 = 0x19930520; // latest magic # in thrown object
constexpr DWORD EH_MAGIC_NUMBER2 = 0x19930521; // latest magic # in func info for exception specs
constexpr DWORD EH_MAGIC_NUMBER3 = 0x19930522; // latest magic #
More information about the Libreoffice-commits
mailing list