OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

> C++ Exception Handling, does it work with arm-linux-g++?
rafm
post Nov 20 2005, 05:16 AM
Post #1





Group: Members
Posts: 145
Joined: 13-November 04
Member No.: 5,449



Is it possible to handle C++ exception in Qtopia applications?

I compile my application without the "-fno-exceptions" flag, but nevertheless the execeptions do not seem to work. The application aborts instead of catching the exception.
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
Dobby
post Aug 19 2006, 12:44 PM
Post #2





Group: Members
Posts: 84
Joined: 20-July 06
Member No.: 10,467



Probably digging up this topic a bit as it hasn't seen activity since the end of last year but I'd like to say that while it may add some overhead in terms of memory exceptions only slow performance when invoked. In other words when an exception is actually thrown.

And yes it is considered better design to use exceptions. Countless times I've seen code greatly simplified by the use of them. Whether this out weighs the overhead I can't vouch for the Zaurus but I've been using exceptions for the last ten years and as this was around the time of the 486 I don't think it's really that big a problem for the xscale.

So now I've got that off my chest has anyone managed to get exceptions working? smile.gif Not that I've tried yet I'm just researching at the moment.
Go to the top of the page
 
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 31st October 2014 - 05:19 PM