diff options
author | Jonathan Nieder <jrnieder@gmail.com> | 2010-05-07 18:37:16 (GMT) |
---|---|---|
committer | Thierry Bastian <thierry.bastian@nokia.com> | 2010-05-20 13:44:28 (GMT) |
commit | e5d3dcc188439321e129406cb14a51e60a19b727 (patch) | |
tree | 1566e28a285d62f1b1aa4ce9881d711538886f07 /doc/src/snippets/code/src_script_qscriptengine.cpp | |
parent | f274db8040546e54b1ef0e674d9733714c68d4d5 (diff) | |
download | Qt-e5d3dcc188439321e129406cb14a51e60a19b727.zip Qt-e5d3dcc188439321e129406cb14a51e60a19b727.tar.gz Qt-e5d3dcc188439321e129406cb14a51e60a19b727.tar.bz2 |
Qt3 Support headers: Avoid warnings from mingw g++
q3textstream.h and q3cstring.h include some functions declared
Q_COMPAT_EXPORT inline, which doesn’t make much sense. It probably
makes sense to keep exporting them for backward compatibility, but there
is no reason to import them, as gcc notices:
q3cstring.h:164: warning: inline function 'bool operator==(const
Q3CString&, const Q3CString&)' declared as dllimport: attribute
ignored
This is analogous to the case of Q_GUI_EXPORT_INLINE, which is already
handled in qglobal.h.
Reviewed-By: Thierry
Diffstat (limited to 'doc/src/snippets/code/src_script_qscriptengine.cpp')
0 files changed, 0 insertions, 0 deletions