Re: [Powertop] [PATCH 1/2] Updates to support Android platform

Arjan van de Ven <arjan at linux.intel.com> Mon, 17 Sep 2012 08:59:44 -0700
Newsgroups dev.linux.lists.powertop
Message-ID <[email protected]>
> Hi,
> I don't have exp with android development.
> this is not the first time we have exception related patches in order to support android.
> I just wonder -- what's wrong with C++ in general (and exception handling in particular) 
> in android?

yeah this looks extremely fragile

+/* define stubs for C++ exception handling */
+#define try     	if (true)
+#define catch(x) 	if (false)
+

I mean.. this really is wrong.
Is C++ on Android really so broken that try/catch do not work ???

what else is terminal in the C++ implementation on android then?