[libc-commits] [PATCH] D134262: [libc] Add implementation of functions stat, fstat and lstat.

Siva Chandra via Phabricator via libc-commits libc-commits at lists.llvm.org
Tue Sep 20 15:54:31 PDT 2022


sivachandra added a comment.

In D134262#3803174 <https://reviews.llvm.org/D134262#3803174>, @lntue wrote:

> Is this error in the CI fixed with your latest revision yet?
>
>   In file included from /var/lib/buildkite-agent/builds/llvm-project/libc/src/sys/stat/linux/stat.cpp:10:
>   /var/lib/buildkite-agent/builds/llvm-project/libc/src/sys/stat/linux/kernel_statx.h:66:24: error: expected unqualified-id
>   constexpr unsigned int STATX_BASIC_STATS = 0x7FF;
>                          ^
>   /usr/include/linux/stat.h:152:27: note: expanded from macro 'STATX_BASIC_STATS'
>   #define STATX_BASIC_STATS       0x000007ffU     /* The stuff in the normal stat struct */
>                                   ^
>   In file included from /var/lib/buildkite-agent/builds/llvm-project/libc/src/sys/stat/linux/stat.cpp:10:
>   /var/lib/buildkite-agent/builds/llvm-project/libc/src/sys/stat/linux/kernel_statx.h:76:55: error: expected unqualified-id
>     long ret = syscall(SYS_statx, dirfd, path, flags, ::STATX_BASIC_STATS, &xbuf);
>                                                         ^
>   /usr/include/linux/stat.h:152:27: note: expanded from macro 'STATX_BASIC_STATS'
>   #define STATX_BASIC_STATS       0x000007ffU     /* The stuff in the normal stat struct */
>                                   ^
>   2 errors generated.

This should be fixed now.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D134262/new/

https://reviews.llvm.org/D134262



More information about the libc-commits mailing list