Enable fatal warnings from g-ir-scanner
This is a follow-up issue from #3037 (closed), as fixing all these warnings will likely require new introspection annotations to be designed and implemented in gobject-introspection.
Goal: add fatal_warnings: true
to all gnome.generate_gir()
calls in glib.git (they’re all in girepository/introspection/meson.build
).
Because: that will prevent GLib regressing on introspectability of new and existing APIs.
Some work has been done on this in !3736 (merged). See also !3636 (comment 1869185).
The remaining work will be a combination of simple annotation changes, implementing new annotations in gobject-introspection to describe GLib’s behaviour, and replacing certain GLib APIs with more modern introspection-friendly ones (typically where GDestroyNotify
arguments are missing).