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

Méven Car noreply at phabricator.kde.org
Tue Apr 9 18:31:50 BST 2019


meven marked 2 inline comments as done.
meven added inline comments.

INLINE COMMENTS

> meven wrote in file.cpp:850-870
> Do you mean the struct keyword in the argument in "inline static uint16_t stat_mode(struct statx buf) { return buf.stx_mode; } " for instance ?

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; }

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/b48a4cba/attachment.html>


More information about the Kde-frameworks-devel mailing list