Skip to content

ci: Specify -Wno-overlength-strings on macOS

Philip Withnall requested to merge pwithnall/glib:wpointer-sign into main

This disables the following warning, which was causing CI failures on macOS when building the libpcre2 subproject:

../subprojects/pcre2-10.40/src/pcre2_error.c:66:3: error: string literal of length 4380 exceeds maximum length 4095 that ISO C99 compilers are required to support [-Werror,-Woverlength-strings]

We don’t want to explicitly rely on using overlength strings in GLib, which is why this change is a CFLAGS in the CI configuration, rather than setting a project-level argument in meson.build.

Signed-off-by: Philip Withnall pwithnall@endlessos.org

Merge request reports