Skip to content

Backport !799 “Revert "macros: Try to use the standard __func__ first in G_STRFUNC"” to glib-2-60

This reverts commit 9f75cc9e.

It breaks usage of G_STRFUNC when compiling applications with -Wpedantic__func__ is not #defined, so G_STRFUNC was falling through to using __FUNCTION__, which raises a warning with -Wpedantic.

Fun times.

Fixes: #1755 (closed)


Trivial backport of !799 (merged).

Merge request reports