kerneltest/e32test/cppexceptions/second_excp.h
branchGCC_SURGE
changeset 221 39b39e1a406e
parent 152 657f875b013e
child 257 3e88ff8f41d5
--- a/kerneltest/e32test/cppexceptions/second_excp.h	Wed Jul 21 14:46:58 2010 +0100
+++ b/kerneltest/e32test/cppexceptions/second_excp.h	Thu Jul 22 16:46:39 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;
 };