Commit 21da1f2f authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

ucrtbase: Avoid bool optimization in __std_exception_copy.

Otherwise GCC changes do_free = 1 assignment to *dst = *src which breaks ucrtbase/cpp tests. Signed-off-by: 's avatarPiotr Caban <piotr@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 7a985573
...@@ -473,7 +473,7 @@ void CDECL __CxxUnregisterExceptionObject(cxx_frame_info *frame_info, BOOL in_us ...@@ -473,7 +473,7 @@ void CDECL __CxxUnregisterExceptionObject(cxx_frame_info *frame_info, BOOL in_us
struct __std_exception_data { struct __std_exception_data {
char *what; char *what;
bool dofree; char dofree;
}; };
#if _MSVCR_VER>=140 #if _MSVCR_VER>=140
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment