D20096: Fill UDSEntry::UDS_CREATION_TIME under linux when glibc >= 2.28

Pino Toscano noreply at phabricator.kde.org
Tue Apr 9 18:44:19 BST 2019


pino added inline comments.

INLINE COMMENTS

> meven wrote in file.cpp:850-870
> Unfortunately this is not possible here : statx is also a function, the compiler gets messed up when removing the struct keyword interpreting it as a function call.
> 
> > /file/file.cpp:850:34: warning: inline variables are only available with -std=c++17 or -std=gnu++17
> > 
> >   377   │  inline static uint16_t stat_mode(statx buf) { return buf.stx_mode; }

No, he means using a const& for the argument, e.g:

  inline static uint16_t stat_mode(struct statx &buf) { return buf.stx_mode; }

REPOSITORY
  R241 KIO

BRANCH
  arcpatch-D20096

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

To: meven, #frameworks, dfaure, fvogt, bruns, broulik
Cc: anthonyfieroni, pino, bcooksley, ngraham, kde-frameworks-devel, michaelh, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190409/933bd589/attachment.html>


More information about the Kde-frameworks-devel mailing list