goto from within try block

This is a discussion on goto from within try block within the C++ Programming forums, part of the General Programming Boards category; Hi
Just to make sure, if there is goto from within try block then we will not arrive to finally, ...

There is no finally block for exception handling in standard C++. If you really are asking with respect to some C++ compiler extension, then you should provide more details on the compiler that you have in mind. Oh, and a code example can help.

I think the more relevant question is: is there anything you can do to eliminate that goto? it's true that there are situations where a goto is the only/best option, but I think you should evaluate your code and determine if there's a better way in your case.

VS.
Of course the code isn't mine, I need to maintain it while doing minimum changes.

I've made many mistakes over the years doing things the dumb way in an attempt to have "low impact" on the code I'm working on. It has lead to many very embarrassing, funny, and depressing outcomes. If you fear the code you won't have the courage to make the correct changes to it. Often there is an air of mystery or superstition surrounding such code. Look at it wrong and it might run over your mother in the parking lot.

Let me tell you, from experience, any problems you imagine you might have from changing this code, pale in comparison to the trouble you're in for if you continue to pile hack upon hack on top of it. If this code is truly a Jenga tower ready to crumble at the slightest touch, do you really think sticking a goto into it will improve matters?

Just to say, I already gave up and changed this stupid goto
Anyway currently there is no finally there.
Let's say that is __finallyDoes goto from catch make __finally irrelevant?

You are mixing C++ exceptions with Structured Exception Handling (a compiler/platform specific extension used mainly on Windows). Have a read up on SEH to find out more - Introduction to Exception Handling