diff -r e4a7b1cbe40c -r 2a0ada0a1bf8 kerneltest/e32test/cppexceptions/second_excp.h --- a/kerneltest/e32test/cppexceptions/second_excp.h Mon May 10 11:40:53 2010 +0100 +++ b/kerneltest/e32test/cppexceptions/second_excp.h Wed May 12 10:34:10 2010 +0100 @@ -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; };