summaryrefslogtreecommitdiffstats
path: root/src/plugins/platformthemes/gtk2/qgtk2dialoghelpers.h
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@me.com>2013-02-06 11:58:20 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-02-19 10:35:06 +0100
commit436c65ba2129f9e4aad2b4258351a0381a7b0bac (patch)
treeb45a78b61082acfe63e099c1506f1f36fbc6f34c /src/plugins/platformthemes/gtk2/qgtk2dialoghelpers.h
parent1a0924dfc008b60b98bc921a3e64c3a920158b60 (diff)
Fix compilation with Clang on MacOS.
Apparently Clang does not like methods to be declared static inline, and then have their definition somewhere else. Error messages: ../../../include/QtCore/../../src/corelib/tools/qpoint.h:156:37: error: conflicting types for 'dotProduct' Q_DECL_CONSTEXPR inline int QPoint::dotProduct(const QPoint &p1, const QPoint &p2) ^ ../../../include/QtCore/../../src/corelib/tools/qpoint.h:77:40: note: previous declaration is here Q_DECL_CONSTEXPR static inline int dotProduct(const QPoint &p1, const QPoint &p2); ^ ../../../include/QtCore/../../src/corelib/tools/qpoint.h:338:40: error: conflicting types for 'dotProduct' Q_DECL_CONSTEXPR inline qreal QPointF::dotProduct(const QPointF &p1, const QPointF &p2) ^ ../../../include/QtCore/../../src/corelib/tools/qpoint.h:239:42: note: previous declaration is here Q_DECL_CONSTEXPR static inline qreal dotProduct(const QPointF &p1, const QPointF &p2); ^ Change-Id: I041b96d79506d2898daf40d70b37f02459de35bd Reviewed-by: Lars Knoll <lars.knoll@digia.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/plugins/platformthemes/gtk2/qgtk2dialoghelpers.h')
0 files changed, 0 insertions, 0 deletions