Skip to content

gthread: Fully initialize GThreadFunctions structure in test

Simon McVittie requested to merge wip/smcv/full-initializer into main

The macOS CI builds with -Werror=missing-field-initializers by default, making incomplete initializers a compile-time error (even though their meaning is well-defined: missing fields are initialized as if with .field = 0).

Resolves: #2812 (closed)


Alternative to !3071 (closed) if maintainers prefer this route. I personally prefer !3071 (closed).

Edited by Simon McVittie

Merge request reports