Skip to content

glib: Work around AppleClang + -Werror test build failure

amyspark requested to merge amyspark/cerbero:work-around-glib-macos into main

Hi,

This MR is to work around an error I found with Xcode 13.2.1 when building glib. The error comes from using function prototypes that are conditionally defined, and this one in particular isn't included in the test preamble. That is not allowed, and is enforced by the combination of -std=gnu99 and -Werror.

See: https://gitlab.gnome.org/GNOME/glib/-/issues/2902

Merge request reports

Loading