diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2016-03-05 21:23:37 +0100 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2016-05-12 16:18:56 +0000 |
commit | c45c7a68ec292c628b462323c721255346f79515 (patch) | |
tree | e101d57d9135414c646b03de534ea7606835d721 /src | |
parent | a632dd38b68319d9086b7313c9beb2c1ca6d0d0b (diff) |
scxml parser: fix compilation with GCC 6
Says GCC 6:
src/scxml/qscxmlparser.cpp:394:103: error: ‘visibility’ attribute ignored [-Werror=attributes]
Q_DECL_HIDDEN static void qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
^
Just drop the attribute. The class in which this function
is defined is not exported, anyway.
(backport of 51f90f9f6ed627fe013232e20babdeee58d00267 from dev)
Change-Id: I7826306adf9e2bc5c25eeafc328a9b38e902fc61
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/scxml/qscxmlparser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scxml/qscxmlparser.cpp b/src/scxml/qscxmlparser.cpp index 0002772..04c7828 100644 --- a/src/scxml/qscxmlparser.cpp +++ b/src/scxml/qscxmlparser.cpp @@ -764,7 +764,7 @@ public: } private: - Q_DECL_HIDDEN static void qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) + static void qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) { if (_c == QMetaObject::InvokeMetaMethod) { DynamicStateMachine *_t = static_cast<DynamicStateMachine *>(_o); |