Qt/E for Qtopia is compiled without exceptions.[div align=\"right\"][a href=\"index.php?act=findpost&pid=104343\"][{POST_SNAPBACK}][/a][/div]
Does it mean that I cannot use exceptions at all, or I must catch exception before the QT event handler? [div align=\"right\"][a href=\"index.php?act=findpost&pid=104347\"][{POST_SNAPBACK}][/a][/div]
As expected, the most important gain arises from the use of the -fno-rtti and -fno-exceptions options. The -fno-rtti option removes all code and data related to the use of the C++ run-time type information mechanism. The -fno-exceptions removes all code and data related to the use of the C++ exception mechanism (recall that the framework classes use a very restricted subset of the C++ language that does not use either the RTTI or the exception mechanisms). Taken together, these two options basically eliminate the overhead associated to the use of the C++ language.
I've read papers that prove that well written structured exception handling code can lead to even smaller code than the classic return code / global value style.[div align=\"right\"][a href=\"index.php?act=findpost&pid=104679\"][{POST_SNAPBACK}][/a][/div]