D25401: Fix deprecation syntax in ktcpsocket.h

David Faure noreply at phabricator.kde.org
Tue Nov 19 13:17:34 GMT 2019


dfaure created this revision.
dfaure added reviewers: vkrause, kossebau.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
dfaure requested review of this revision.

REVISION SUMMARY
  gcc (7.4.1 here) says:
  ktcpsocket.h:171:22: warning: attribute ignored in declaration of ‘class KTcpSocket’ [-Wattributes]
   class KIOCORE_EXPORT KTcpSocket: public QIODevice
  
    ^~~~~~~~~~
  
  ktcpsocket.h:171:22: note: attribute for ‘class KTcpSocket’ must follow the ‘class’ keyword

TEST PLAN
  builds without that warning

REPOSITORY
  R241 KIO

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D25401

AFFECTED FILES
  src/core/ktcpsocket.h

To: dfaure, vkrause, kossebau
Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20191119/cfacbdcc/attachment.html>


More information about the Kde-frameworks-devel mailing list