-
Emanuele Aina authored
Cross building `helloworld-simple-agent` with GCC 8 from v2019dev0 against GLib 2.50.2 as shipped in 18.06 leads to failure due to `-Wextra` turning on the new `-Wcast-function-type` warning and `AX_COMPILER_FLAGS` making it fatal by turning `-Werror` on. The fix for GLib landed in 2.56.0: https://gitlab.gnome.org/GNOME/glib/commit/c1f5e52844c In order to still build against the old 18.x sysroots, pass `--disable-Werror` to the configure command. See https://gitlab.gnome.org/GNOME/gnome-terminal/issues/96#note_480034 instead for the best way to silence the warning using a cast to `GCallback` should the issue be in your own code. Signed-off-by: Emanuele Aina <emanuele.aina@collabora.com>
07390241