Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 23c85b9a authored by Michael Sun's avatar Michael Sun
Browse files

floss: fix build error for clang++14

clang++14 no longer allow 'typedef struct {...} foo_t;' But require:
`struct foo_t {...};` instead.

The build error with clang++14 is:

../../../staging/bt/system/include/hardware/bt_av.h:124:9: error: C++
requires a type specifier for all declarations
typedef btav_a2dp_codec_config_t {
~~~~~~~ ^

Bug: 242950190
Test: ./build.py

Change-Id: Ic237ccc03ae36b282354abbfbcbb3e2f08e84744
parent 45661c40
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment