Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.11
-
None
Description
class Q_MULTIMEDIA_EXPORT QT_DEPRECATED_VERSION_X_6_11("yada.") Foo {};
this does not compile with older gcc versions, since it mixes attribute styles. using old-style attribute syntax for deprecations would work though:
class [[deprecated("yada")]] // QT_DEPRECATED_ currently expands to [[deprecated]] // __attribute__((deprecated("yada"))) // old gcc does accept the __attribute__ here __attribute__((visibility("default"))) Bar {};