[aspectc-user] Catch exceptions in main()?
os at aspectc.org
Mon Nov 21 17:28:23 CET 2011
The default compiler settings for Puma/AspectC++ contain "-fno-rtti
-fno-exceptions". Therefore, we can't do what you propose at the moment
-- we would have to change the setting first. If somebody has the time
for evaluating the code size / performance implications of removing
these options, go ahead. I'd happily remove the options if the impact
On 10/29/2011 06:55 PM, Markus Elfring wrote:
> I expect that exception handling is usually supported by a C++ program. I wonder why your main() functions (in the source files "ac++.cc" and "ag++.cc") do not contain corresponding try and catch instructions so far.
> How do you think about the recommendations by Matthew Wilson in the article "Quality Matters #6: Exceptions for Practically-Unrecoverable Conditions"?
> Would you like to adjust the implementation of your main() functions if you consider effects for uncaught/unhandled exceptions like they are described by Bruce Eckel?
> aspectc-user mailing list
> aspectc-user at aspectc.org
More information about the aspectc-user