Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
e1cf7f5a
Commit
e1cf7f5a
authored
Mar 04, 2015
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcp90: Add support for throwing bad cast exception to avoid unused variable warning.
parent
10973843
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
cxx.h
dlls/msvcp90/cxx.h
+1
-0
exception.c
dlls/msvcp90/exception.c
+5
-0
No files found.
dlls/msvcp90/cxx.h
View file @
e1cf7f5a
...
...
@@ -303,6 +303,7 @@ typedef enum __exception_type {
EXCEPTION_RERAISE
,
EXCEPTION
,
EXCEPTION_BAD_ALLOC
,
EXCEPTION_BAD_CAST
,
EXCEPTION_LOGIC_ERROR
,
EXCEPTION_LENGTH_ERROR
,
EXCEPTION_OUT_OF_RANGE
,
...
...
dlls/msvcp90/exception.c
View file @
e1cf7f5a
...
...
@@ -623,6 +623,11 @@ void throw_exception(exception_type et, const char *str)
MSVCP_bad_alloc_ctor
(
&
e
,
&
addr
);
_CxxThrowException
(
&
e
,
&
bad_alloc_cxx_type
);
}
case
EXCEPTION_BAD_CAST
:
{
bad_cast
e
;
MSVCP_bad_cast_ctor
(
&
e
,
str
);
_CxxThrowException
(
&
e
,
&
bad_cast_cxx_type
);
}
case
EXCEPTION_LOGIC_ERROR
:
{
logic_error
e
;
MSVCP_logic_error_ctor
(
&
e
,
&
addr
);
...
...
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