Hello Simon,
thank you for your answer. Unfortunately my robotics specialist who developped a 3-axis robotic conversion matrix calculation for me where "divide by zero, ..." errors in the matrix calculation should be catched, checked the mbed infos before starting the software development and found support of exception handling for mbed:
He found there: http://mbed.org/handbook/mbed-Compiler the link to the "ARM RVDS (v4.0)" :
http://www.arm.com/products/tools/software-tools/rvds/arm-compiler.php
where under "Accurate Code Generation" he found:
"[...] The default library selected by the ARM Compiler offers a full complement of C/C++ functionality, including C++ exception handling and IEEE 754 floating point support. [...]"
Whith this info he relied on "exception support" for mbed and developped the libraries and program accordingly.
It seems that our robtics programming expert relied on the info on mbed homepage and we wasted a lot of money if exceptions are not supported. To remove the exceptions will cost us additiononal money and we will have worse functionality.
Do you have a solution for me with exception-support to compile the code perhaps locally or so?
Please take into account that I'm not a software speciallist, more a beginner.
If mbed does not plan to support exceptions please update the homepage and clearly point out this to avoid other users to waste time and money.
Thank you very much for your help in adance and best regards
Juergen
Hi all
I'm trying to port some code with a try ... catch block for exception handling, and get the message "Support for exception handling is disabled; use --exceptions to enable (E540)".
Would it be normal to have exception handling available for use with a device like the mbed, or does this add some kind of unacceptable overhead?
If it would be ok, how do we access the switch - I'm guessing that a lot of options are locked down because of the web interface to the compiler.
Thanks
Daniel
PS I never did like "on error goto" so please don't tell me that's a workaround ;-)