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. |
|
|
|
![]() |
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? |
|
|
|
rafm C++ Exception Handling Nov 20 2005, 05:16 AM
lpotter Qt/E for Qtopia is compiled without exceptions. Nov 20 2005, 09:42 AM
rafm QUOTE(lpotter @ Nov 20 2005, 06:42 PM)Qt/E fo... Nov 20 2005, 10:52 AM
rafm QUOTE(rafm @ Nov 20 2005, 07:52 PM)Does it me... Nov 21 2005, 11:32 AM
lpotter Exceptions have a large overhead, and create large... Nov 22 2005, 10:29 AM
Mickeyl For the records... a lot of computer scientists ag... Nov 23 2005, 05:43 AM
lpotter QUOTE(Mickeyl @ Nov 23 2005, 11:43 PM)I'v... Dec 1 2005, 11:36 AM![]() ![]() |
|
Lo-Fi Version | Time is now: 21st May 2013 - 06:26 PM |