[Android-tools-devel] Bug#1037574: android-platform-system-tools-hidl: ftbfs with GCC-13

Adrian Bunk bunk at debian.org
Fri Aug 4 22:26:49 BST 2023


Control: tags -1 patch

On Wed, Jun 14, 2023 at 09:21:27AM +0000, Matthias Klose wrote:
>...
> 4 errors generated.
> In file included from generateVts.cpp:17:
> In file included from ./AST.h:22:
> hashing/include/hidl-hash/Hash.h:25:30: error: use of undeclared identifier 'uint8_t'
>     static const std::vector<uint8_t> kEmptyHash;
>                              ^
> hashing/include/hidl-hash/Hash.h:38:52: error: use of undeclared identifier 'uint8_t'
>     static std::string hexString(const std::vector<uint8_t>& hash);
>                                                    ^
> hashing/include/hidl-hash/Hash.h:41:23: error: use of undeclared identifier 'uint8_t'
>     const std::vector<uint8_t>& raw() const;
>                       ^
> hashing/include/hidl-hash/Hash.h:50:17: error: use of undeclared identifier 'uint8_t'
>     std::vector<uint8_t> mHash;
>                 ^
> 4 errors generated.
>...

A fix is attached.

cu
Adrian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcc-13.patch
Type: text/x-diff
Size: 389 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/android-tools-devel/attachments/20230805/4264ad30/attachment.patch>


More information about the Android-tools-devel mailing list