Skip to content

Add G_SOURCE_FUNC cast macro which suppresses -Wcast-function-type

Will Thompson requested to merge G_SOURCE_FUNC-macro into master

This is the workaround suggested by https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wcast-function-type

This warning is not enabled by default during the GLib build, but applications may want to opt into it.

Merge request reports