diff -r 95f71bcdcdb7 -r 657f875b013e kerneltest/e32test/cppexceptions/second_excp.h --- a/kerneltest/e32test/cppexceptions/second_excp.h Thu May 27 14:17:14 2010 +0300 +++ b/kerneltest/e32test/cppexceptions/second_excp.h Fri Jun 11 15:02:23 2010 +0300 @@ -41,7 +41,11 @@ class MyFourthException : public VB1 , public VB2 { public: +#if defined(__ARMCC__) && __ARMCC_VERSION >= 400000 + EXPORT_C MyFourthException(int x) { iVal = x; iVal2=x+2;}; +#else MyFourthException(int x) { iVal = x; iVal2=x+2;}; +#endif int iVal2; };