| commit | 7cd39fbb81b085d31550b1cefbcf2e20c34095b5 | [log] [tgz] |
|---|---|---|
| author | Ricky Liang <[email protected]> | Wed Dec 13 02:10:35 2023 |
| committer | Chromeos LUCI <[email protected]> | Wed Dec 13 05:55:49 2023 |
| tree | 489bf1abd1a3c0300f1eda404af8d19eccedd527 | |
| parent | dcc518ef32993d0171d0849bd3677c9d0948f8bb [diff] |
libcutils: fix build when building with c++20
../../../nnapi-9999/platform2/aosp/system/core/libcutils/trace-host.cpp:19:48:
error: macro 'ATOMIC_VAR_INIT' has been marked as deprecated
[-Werror,-Wdeprecated-pragma]
19 | atomic_bool atrace_is_ready = ATOMIC_VAR_INIT(true);
| ^
/usr/lib64/clang/18/include/stdatomic.h:59:41: note: macro marked 'deprecated' here
59 | #pragma clang deprecated(ATOMIC_VAR_INIT)
| ^
1 error generated.
BUG=b:315455504
TEST=`emerge-brya -jg nnapi aosp-frameworks-ml-nn`
Change-Id: Ia970aac9c850a92058fd95c64cf9c6b464081d2a
Reviewed-on: https://chromium-review.googlesource.com/c/aosp/platform/system/core/libcutils/+/5119078
Commit-Queue: Jim Pollock <[email protected]>
Tested-by: Ricky Liang <[email protected]>
Reviewed-by: Jim Pollock <[email protected]>