diff options
author | Simon Hausmann <simon.hausmann@nokia.com> | 2009-11-23 11:38:26 (GMT) |
---|---|---|
committer | Simon Hausmann <simon.hausmann@nokia.com> | 2009-11-23 11:38:26 (GMT) |
commit | 7faa417e1a2c0e85e5ac2c647c099c3f972141a5 (patch) | |
tree | 07e974729cb29c2a8981f9fc4c6704065d960c32 /src/gui/kernel/qapplication_mac.mm | |
parent | 366af17676a87943c8a7c2380a8819bdd3815878 (diff) | |
download | Qt-7faa417e1a2c0e85e5ac2c647c099c3f972141a5.zip Qt-7faa417e1a2c0e85e5ac2c647c099c3f972141a5.tar.gz Qt-7faa417e1a2c0e85e5ac2c647c099c3f972141a5.tar.bz2 |
Fix symbol exports in QtScript with gcc
Symbols declared as extern "C" will always be exported even when using
-fvisibility=hidden (see gcc man-page).
Instead of exporting we surround the extern declaration with a pragma
push and pop to change the default visibility.
In addition the use of HIDE_SYMBOL was missing in the "arm traditional"
branch for declaring the trampoline functions in JITStubs.cpp
Task-number: QTBUG-5513
Reviewed-by: Kent Hansen
Diffstat (limited to 'src/gui/kernel/qapplication_mac.mm')
0 files changed, 0 insertions, 0 deletions