Piotr Caban : msvcp60: Forward bad_cast functions to msvcrt.

Alexandre Julliard julliard at winehq.org
Wed Nov 28 14:14:05 CST 2012


Module: wine
Branch: master
Commit: e6e0da609da495e739f5123d5bb3bb8327c13b43
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=e6e0da609da495e739f5123d5bb3bb8327c13b43

Author: Piotr Caban <piotr at codeweavers.com>
Date:   Tue Nov 27 21:11:22 2012 +0000

msvcp60: Forward bad_cast functions to msvcrt.

---

 dlls/msvcp60/exception.c  |    2 ++
 dlls/msvcp60/msvcp60.spec |   26 +++++++++++++-------------
 2 files changed, 15 insertions(+), 13 deletions(-)

diff --git a/dlls/msvcp60/exception.c b/dlls/msvcp60/exception.c
index b8c6921..1dcce4e 100644
--- a/dlls/msvcp60/exception.c
+++ b/dlls/msvcp60/exception.c
@@ -149,6 +149,8 @@ DEFINE_CXX_DATA0(exception, MSVCP_exception_dtor)
 /* ?_Doraise at out_of_range@std@@MEBAXXZ */
 /* ?_Doraise at runtime_error@std@@MBEXXZ */
 /* ?_Doraise at runtime_error@std@@MEBAXXZ */
+/* ?_Doraise at bad_cast@std@@MBEXXZ */
+/* ?_Doraise at bad_cast@std@@MEBAXXZ */
 DEFINE_THISCALL_WRAPPER(MSVCP_exception__Doraise, 4)
 void __thiscall MSVCP_exception__Doraise(exception *this)
 {
diff --git a/dlls/msvcp60/msvcp60.spec b/dlls/msvcp60/msvcp60.spec
index 137f09c..27cae4b 100644
--- a/dlls/msvcp60/msvcp60.spec
+++ b/dlls/msvcp60/msvcp60.spec
@@ -845,10 +845,10 @@
 @ cdecl -arch=win64 ??0bad_alloc at std@@QEAA at PEBD@Z(ptr str) MSVCP_bad_alloc_ctor
 @ thiscall -arch=win32 ??0bad_alloc at std@@QAE at XZ(ptr) MSVCP_bad_alloc_default_ctor
 @ cdecl -arch=win64 ??0bad_alloc at std@@QEAA at XZ(ptr) MSVCP_bad_alloc_default_ctor
-@ stub -arch=win32 ??0bad_cast at std@@QAE at ABV01@@Z
-@ stub -arch=win64 ??0bad_cast at std@@QEAA at AEBV01@@Z
-@ stub -arch=win32 ??0bad_cast at std@@QAE at PBD@Z
-@ stub -arch=win64 ??0bad_cast at std@@QEAA at PEBD@Z
+@ thiscall -arch=win32 ??0bad_cast at std@@QAE at ABV01@@Z(ptr ptr) msvcrt.??0bad_cast@@QAE at ABV0@@Z
+@ cdecl -arch=win64 ??0bad_cast at std@@QEAA at AEBV01@@Z(ptr ptr) msvcrt.??0bad_cast@@QEAA at AEBV0@@Z
+@ thiscall -arch=win32 ??0bad_cast at std@@QAE at PBD@Z(ptr str) msvcrt.??0bad_cast@@QAE at PBD@Z
+@ cdecl -arch=win64 ??0bad_cast at std@@QEAA at PEBD@Z(ptr str) msvcrt.??0bad_cast@@QEAA at PEBD@Z
 @ stub -arch=win32 ??0bad_exception at std@@QAE at ABV01@@Z
 @ stub -arch=win64 ??0bad_exception at std@@QEAA at AEBV01@@Z
 @ stub -arch=win32 ??0bad_exception at std@@QAE at PBD@Z
@@ -1049,8 +1049,8 @@
 @ stub -arch=win64 ??1__non_rtti_object at std@@UEAA at XZ
 @ thiscall -arch=win32 ??1bad_alloc at std@@UAE at XZ(ptr) MSVCP_bad_alloc_dtor
 @ cdecl -arch=win64 ??1bad_alloc at std@@UEAA at XZ(ptr) MSVCP_bad_alloc_dtor
-@ stub -arch=win32 ??1bad_cast at std@@UAE at XZ
-@ stub -arch=win64 ??1bad_cast at std@@UEAA at XZ
+@ thiscall -arch=win32 ??1bad_cast at std@@UAE at XZ(ptr) msvcrt.??1bad_cast@@UAE at XZ
+@ cdecl -arch=win64 ??1bad_cast at std@@UEAA at XZ(ptr) msvcrt.??1bad_cast@@UEAA at XZ
 @ stub -arch=win32 ??1bad_exception at std@@UAE at XZ
 @ stub -arch=win64 ??1bad_exception at std@@UEAA at XZ
 @ stub -arch=win32 ??1bad_typeid at std@@UAE at XZ
@@ -1235,8 +1235,8 @@
 @ stub -arch=win64 ??4__non_rtti_object at std@@QEAAAEAV01 at AEBV01@@Z
 @ thiscall -arch=win32 ??4bad_alloc at std@@QAEAAV01 at ABV01@@Z(ptr ptr) MSVCP_bad_alloc_assign
 @ cdecl -arch=win64 ??4bad_alloc at std@@QEAAAEAV01 at AEBV01@@Z(ptr ptr) MSVCP_bad_alloc_assign
-@ stub -arch=win32 ??4bad_cast at std@@QAEAAV01 at ABV01@@Z
-@ stub -arch=win64 ??4bad_cast at std@@QEAAAEAV01 at AEBV01@@Z
+@ thiscall -arch=win32 ??4bad_cast at std@@QAEAAV01 at ABV01@@Z(ptr ptr) msvcrt.??4bad_cast@@QAEAAV0 at ABV0@@Z
+@ cdecl -arch=win64 ??4bad_cast at std@@QEAAAEAV01 at AEBV01@@Z(ptr ptr) msvcrt.??4bad_cast@@QEAAAEAV0 at AEBV0@@Z
 @ stub -arch=win32 ??4bad_exception at std@@QAEAAV01 at ABV01@@Z
 @ stub -arch=win64 ??4bad_exception at std@@QEAAAEAV01 at AEBV01@@Z
 @ stub -arch=win32 ??4bad_typeid at std@@QAEAAV01 at ABV01@@Z
@@ -1815,7 +1815,7 @@
 # extern ??_7?$time_put at GV?$ostreambuf_iterator at GU?$char_traits at G@std@@@std@@@std@@6B@
 # extern ??_7__non_rtti_object at std@@6B@
 @ extern ??_7bad_alloc at std@@6B@ MSVCP_bad_alloc_vtable
-# extern ??_7bad_cast at std@@6B@
+@ extern ??_7bad_cast at std@@6B@ msvcrt.??_7bad_cast@@6B@
 # extern ??_7bad_exception at std@@6B@
 # extern ??_7bad_typeid at std@@6B@
 @ extern ??_7codecvt_base at std@@6B@ MSVCP_codecvt_base_vtable
@@ -1979,8 +1979,8 @@
 @ cdecl -arch=win64 ??_F_Locinfo at std@@QEAAXXZ(ptr) _Locinfo_ctor
 @ thiscall -arch=win32 ??_F_Timevec at std@@QAEXXZ(ptr) _Timevec_ctor
 @ cdecl -arch=win64 ??_F_Timevec at std@@QEAAXXZ(ptr) _Timevec_ctor
-@ stub -arch=win32 ??_Fbad_cast at std@@QAEXXZ
-@ stub -arch=win64 ??_Fbad_cast at std@@QEAAXXZ
+@ thiscall -arch=win32 ??_Fbad_cast at std@@QAEXXZ(ptr) msvcrt.??_Fbad_cast@@QAEXXZ
+@ cdecl -arch=win64 ??_Fbad_cast at std@@QEAAXXZ(ptr) msvcrt.??_Fbad_cast@@QEAAXXZ
 @ stub -arch=win32 ??_Fbad_exception at std@@QAEXXZ
 @ stub -arch=win64 ??_Fbad_exception at std@@QEAAXXZ
 @ stub -arch=win32 ??_Fbad_typeid at std@@QAEXXZ
@@ -2029,8 +2029,8 @@
 @ cdecl -arch=win64 ?_Decref at facet@locale at std@@QEAAPEAV123 at XZ(ptr) locale_facet__Decref
 @ thiscall -arch=win32 ?_Doraise at bad_alloc@std@@MBEXXZ(ptr) MSVCP_exception__Doraise
 @ cdecl -arch=win64 ?_Doraise at bad_alloc@std@@MEBAXXZ(ptr) MSVCP_exception__Doraise
-@ stub -arch=win32 ?_Doraise at bad_cast@std@@MBEXXZ
-@ stub -arch=win64 ?_Doraise at bad_cast@std@@MEBAXXZ
+@ thiscall -arch=win32 ?_Doraise at bad_cast@std@@MBEXXZ(ptr) MSVCP_exception__Doraise
+@ cdecl -arch=win64 ?_Doraise at bad_cast@std@@MEBAXXZ(ptr) MSVCP_exception__Doraise
 @ stub -arch=win32 ?_Doraise at bad_exception@std@@MBEXXZ
 @ stub -arch=win64 ?_Doraise at bad_exception@std@@MEBAXXZ
 @ stub -arch=win32 ?_Doraise at bad_typeid@std@@MBEXXZ




More information about the wine-cvs mailing list