MICO's exceptions handling capabilities suffer a lot from the limited exceptions handling support in the GNU C++ compiler, namely:
X
and catching a base class of X
does
only work if you turn on Runtime Type Information (RTTI) support
by using the -frtti
option. But if you compile one file using
-frtti
you have to compile all files using this option, including
the iostream- and all other C++ libraries. Besides this g++'s RTTI support
ist still very buggy.
These limitations are the reason for the somewhat strange exception handling design in the current version of MICO.