[Qt-qml] QT_TRAP_THROWING warning

shane.kearns at accenture.com shane.kearns at accenture.com
Tue May 3 18:11:36 CEST 2011


Hi Pekka,

It's caused by Symbian being compiled with different compiler/linker options to Qt for Symbian, and is safe to ignore.
You can load features/symbian/armcc_warnings.prf to hide this warning (but note it also hides some warnings that are useful in general but have too many false positives in the Qt code base)

Specifically:
Qt declares DLL exports per class, but Symbian declares DLL exports on individual class member functions.
Symbian uses a compiler option to force vtable and typeinfo to be exported for all classes, while with Qt, only classes which are exported will  have their vtable and typeinfo exported too.
This causes a conflict when Qt code is using symbian headers - the Qt code thinks the class typeinfo isn't visible (STV_HIDDEN), while the import library being linked against says that it is.

--
Communications with Accenture or any of its group companies ("Accenture Group") including telephone calls and emails (including content), may be monitored by our systems for the purposes of security and the assessment of internal compliance with company policy. Accenture Group does not accept service by e-mail of court proceedings, other processes or formal notices of any kind.

Accenture means Accenture (UK) Limited (registered number 4757301), Accenture Technology Solutions Limited (registered number 4442596), or Accenture HR Services Limited (registered number 3957974), all registered in England and Wales with registered addresses at 30 Fenchurch Street, London EC3M 3BD, as the case may be.

From: qt-qml-bounces+shane.kearns=accenture.com at qt.nokia.com [mailto:qt-qml-bounces+shane.kearns=accenture.com at qt.nokia.com] On Behalf Of Pekka.E.Jokela at nokia.com
Sent: Tuesday, May 03, 2011 06:46
To: qt-qml at qt.nokia.com
Subject: [Qt-qml] QT_TRAP_THROWING warning

Hi,
I'm trying to use the macro, but I get a warning:
Warning: L6780W: STV_HIDDEN visibility removed from symbol 'typeinfo for XLeaveException' through IMPORT.

Any ideas what causes this?

Thanks,
-Pekka



________________________________
This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-qml/attachments/20110503/d43f19dc/attachment.html 


More information about the Qt-qml mailing list