From 9e6d3a8c9adc185319e791a0bffd95601f8cb051 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Sun, 1 Mar 2015 13:11:40 -0800 Subject: Fix GCC 4.9 warning about repeated attributes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit qxcbscreen.cpp:701:21: error: ‘QDebug operator<<(QDebug, const QXcbScreen*)’: visibility attribute ignored because it qxcbscreen.h:149:21: error: conflicts with previous declaration here [- Werror=attributes] Change-Id: Ia0aac2f09e9245339951ffff13c77c23cb9430c5 Reviewed-by: Uli Schlachter Reviewed-by: Shawn Rutledge --- src/plugins/platforms/xcb/qxcbscreen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/platforms/xcb') diff --git a/src/plugins/platforms/xcb/qxcbscreen.cpp b/src/plugins/platforms/xcb/qxcbscreen.cpp index c7f811491c..3dcd6a713a 100644 --- a/src/plugins/platforms/xcb/qxcbscreen.cpp +++ b/src/plugins/platforms/xcb/qxcbscreen.cpp @@ -760,7 +760,7 @@ static inline void formatSizeF(QDebug &debug, const QSizeF s) debug << s.width() << 'x' << s.height() << "mm"; } -Q_XCB_EXPORT QDebug operator<<(QDebug debug, const QXcbScreen *screen) +QDebug operator<<(QDebug debug, const QXcbScreen *screen) { const QDebugStateSaver saver(debug); debug.nospace(); -- cgit v1.2.3