summaryrefslogtreecommitdiffstats
path: root/src/s60main/qts60main.cpp
diff options
context:
space:
mode:
authorIain <qt-info@nokia.com>2009-09-11 11:19:23 +0200
committerIain <qt-info@nokia.com>2009-09-11 11:19:23 +0200
commit3d4a2cd013f9e62788adf902a57ae8e2f31fccc7 (patch)
tree7fb5b2428730de6473e9dcaf02b31ac5178e7e76 /src/s60main/qts60main.cpp
parent486ff054b8b65c191df39748dfe59f9440a60578 (diff)
Fix compile errors (missing uncaught_exception definition) on Symbian^3
When using STDCPP in Symbian^3, the definition for uncaught_exception *must* be provided before any attempt to include e32base.h is made. This is because STDCPP support disables the standard Symbian definition of uncaught_exception, so the version from <exception> needs to be used instead. Reviewed-by: Jason Barron
Diffstat (limited to 'src/s60main/qts60main.cpp')
-rw-r--r--src/s60main/qts60main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/s60main/qts60main.cpp b/src/s60main/qts60main.cpp
index a9195932d3..725b17c799 100644
--- a/src/s60main/qts60main.cpp
+++ b/src/s60main/qts60main.cpp
@@ -40,6 +40,7 @@
****************************************************************************/
// INCLUDE FILES
+#include <exception> // must be before e32base.h so uncaught_exception gets defined
#include <e32base.h>
#include <qglobal.h>