Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
b7f6362d
Commit
b7f6362d
authored
Mar 04, 2015
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Use the correct object type for __non_rtti_object exceptions.
parent
cdef3287
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
cpp.c
dlls/msvcrt/cpp.c
+5
-5
No files found.
dlls/msvcrt/cpp.c
View file @
b7f6362d
...
...
@@ -904,7 +904,7 @@ const type_info* CDECL MSVCRT___RTtypeid(void *cppobj)
{
__non_rtti_object
e
;
MSVCRT___non_rtti_object_ctor
(
&
e
,
"Bad read pointer - no RTTI data!"
);
_CxxThrowException
(
&
e
,
&
bad_typeid
_exception_type
);
_CxxThrowException
(
&
e
,
&
__non_rtti_object
_exception_type
);
return
NULL
;
}
__ENDTRY
...
...
@@ -941,7 +941,7 @@ const type_info* CDECL MSVCRT___RTtypeid(void *cppobj)
{
__non_rtti_object
e
;
MSVCRT___non_rtti_object_ctor
(
&
e
,
"Bad read pointer - no RTTI data!"
);
_CxxThrowException
(
&
e
,
&
bad_typeid
_exception_type
);
_CxxThrowException
(
&
e
,
&
__non_rtti_object
_exception_type
);
return
NULL
;
}
__ENDTRY
...
...
@@ -1028,7 +1028,7 @@ void* CDECL MSVCRT___RTDynamicCast(void *cppobj, int unknown,
{
__non_rtti_object
e
;
MSVCRT___non_rtti_object_ctor
(
&
e
,
"Access violation - no RTTI data!"
);
_CxxThrowException
(
&
e
,
&
bad_typeid
_exception_type
);
_CxxThrowException
(
&
e
,
&
__non_rtti_object
_exception_type
);
return
NULL
;
}
__ENDTRY
...
...
@@ -1091,7 +1091,7 @@ void* CDECL MSVCRT___RTDynamicCast(void *cppobj, int unknown,
{
__non_rtti_object
e
;
MSVCRT___non_rtti_object_ctor
(
&
e
,
"Access violation - no RTTI data!"
);
_CxxThrowException
(
&
e
,
&
bad_typeid
_exception_type
);
_CxxThrowException
(
&
e
,
&
__non_rtti_object
_exception_type
);
return
NULL
;
}
__ENDTRY
...
...
@@ -1131,7 +1131,7 @@ void* CDECL MSVCRT___RTCastToVoid(void *cppobj)
{
__non_rtti_object
e
;
MSVCRT___non_rtti_object_ctor
(
&
e
,
"Access violation - no RTTI data!"
);
_CxxThrowException
(
&
e
,
&
bad_typeid
_exception_type
);
_CxxThrowException
(
&
e
,
&
__non_rtti_object
_exception_type
);
return
NULL
;
}
__ENDTRY
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment