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
224d284f
Commit
224d284f
authored
Dec 13, 2017
by
Alex Henrie
Committed by
Alexandre Julliard
Dec 14, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Discourage use of 'break' or 'continue' inside __TRY/__EXCEPT.
Signed-off-by:
Alex Henrie
<
alexhenrie24@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
5e93a744
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
exception.h
include/wine/exception.h
+6
-4
No files found.
include/wine/exception.h
View file @
224d284f
...
...
@@ -61,10 +61,12 @@ extern "C" {
* use GetExceptionInformation() and GetExceptionCode() to retrieve the
* exception info.
*
* Warning: inside a __TRY or __EXCEPT block, 'break' or 'continue' statements
* break out of the current block. You cannot use 'return', 'goto'
* or 'longjmp' to leave a __TRY block, as this will surely crash.
* You can use them to leave a __EXCEPT block though.
* Warning: Inside a __TRY or __EXCEPT block, 'break' or 'continue' statements
* break out of the current block, but avoid using them because they
* won't work when compiling with native exceptions. You cannot use
* 'return', 'goto', or 'longjmp' to leave a __TRY block either, as
* this will surely crash. You can use 'return', 'goto', or 'longjmp'
* to leave an __EXCEPT block though.
*
* -- AJ
*/
...
...
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