Skip to content

Conversation

earlephilhower
Copy link
Contributor

When compiling in C++, the definition of auto_init_recursive_mutex fails due to the way nested structures are initialized.

Explicitly initialize the nested structures (and add default values to other fields to avoid uninitialized element warnings).

This change builds fine on both C and C++ and fixes #874 .

@kilograham kilograham added this to the 1.3.2 milestone Jun 20, 2022
@kilograham kilograham merged commit 4c49427 into raspberrypi:develop Jun 20, 2022
@earlephilhower earlephilhower deleted the fixauto branch June 20, 2022 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants