diff options
author | mread <qt-info@nokia.com> | 2009-08-28 08:42:31 (GMT) |
---|---|---|
committer | mread <qt-info@nokia.com> | 2009-08-28 08:48:02 (GMT) |
commit | 625dbf4edd3a1057e525c68c319e4525741ceaaa (patch) | |
tree | a181ea4cc785c689fc1cbb360e4d9ac9b1f1bd33 /src/plugins/s60 | |
parent | 8ff968cc37c34121dc6a458df0d4d39850a54bff (diff) | |
download | Qt-625dbf4edd3a1057e525c68c319e4525741ceaaa.zip Qt-625dbf4edd3a1057e525c68c319e4525741ceaaa.tar.gz Qt-625dbf4edd3a1057e525c68c319e4525741ceaaa.tar.bz2 |
Fix for "Undefined symbol typeinfo for std::exception" in armv5 build
It seems that the use of QT_TRYCATCH_LEAVING, which expands to
...catch(const std::exception&)... requires access to the typeinfo for
std::exception. This cannot be found in any import library (probably an
OpenC defect). But this workaround creates the necessary info for the
link. Otherwise this change has no effect.
Reviewed-by: jbarron
Diffstat (limited to 'src/plugins/s60')
-rw-r--r-- | src/plugins/s60/src/qdesktopservices_3_2.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/s60/src/qdesktopservices_3_2.cpp b/src/plugins/s60/src/qdesktopservices_3_2.cpp index fab1237..e8f4a27 100644 --- a/src/plugins/s60/src/qdesktopservices_3_2.cpp +++ b/src/plugins/s60/src/qdesktopservices_3_2.cpp @@ -50,6 +50,7 @@ EXPORT_C QString localizedDirectoryName(QString& rawPath) { QString ret; + std::exception dummy; // voodoo fix for "Undefined symbol typeinfo for std::exception" in armv5 build TRAPD(err, QT_TRYCATCH_LEAVING( |