[aspectc-user] Re: Improved support for C++ exceptions?
aspectc at stefan-marr.de
Mon Nov 21 19:09:17 CET 2011
On 21 Nov 2011, at 18:36, Markus Elfring wrote:
>> The default compiler settings for Puma/AspectC++ contain
>> "-fno-rtti -fno-exceptions".
> I am surprised that such C++ features are switched off for the build of your current software. Would you like to depend on the error handling strategy "crash-only software" forever?
Why so aggressive?
Some people around here use it to build embedded software or virtual machines.
While HotSpot is not a good example, it does not use C++ exceptions either.
Not that our stuff is high performant, but we just don't need exceptions.
The VM code is 'stable', exceptions are handled on that language level.
And if I look at LuaJIT2, I would say, it is also not worth the headaches to support C++ exceptions in a VM.
So, I would prefer if -fno-exceptions and -fno-rtti remain at least an option.
> aspectc-user mailing list
> aspectc-user at aspectc.org
Software Languages Lab
Vrije Universiteit Brussel
Pleinlaan 2 / B-1050 Brussels / Belgium
Phone: +32 2 629 2974
Fax: +32 2 629 3525
More information about the aspectc-user