Skip to content

Revert "macros: Try to use the standard __func__ first in G_STRFUNC"

Philip Withnall requested to merge pwithnall/glib:1755-revert-gstrfunc into master

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)

Merge request reports