[Android-tools-devel] Bug#1072129: android-platform-art: FTBFS: libartbase/base/strlcpy.h:31:22: error: static declaration of 'strlcpy' follows non-static declaration
Roger Shimizu
rosh at debian.org
Mon Sep 9 08:30:07 BST 2024
> libartbase/base/strlcpy.h:31:22: error: static declaration of 'strlcpy' follows non-static declaration
I just checked the build on arm64 porterbox: amdahl
Now the error string changed from above to the following below.
Seems like it's not so easy to fix this.
====
In file included from libartbase/base/metrics/metrics_common.cc:23:
libartbase/base/metrics/metrics.h:497:17: error: no member named
'all_of' in namespace 'std'
return std::all_of(buckets.cbegin(), buckets.cend(), [](value_t i)
{ return i == 0; });
~~~~~^
libdexfile/dex/compact_dex_file.cc:28:8: error: no member named
'copy_n' in namespace 'std'
std::copy_n(kDexMagic, kDexMagicSize, magic);
~~~~~^
libdexfile/dex/compact_dex_file.cc:32:8: error: no member named
'copy_n' in namespace 'std'
std::copy_n(kDexMagicVersion, kDexVersionLen, magic + kDexMagicSize);
~~~~~^
====
- Roger
More information about the Android-tools-devel
mailing list