"warning: ISO C does not support ‘__FUNCTION__’ predefined identifier"
Among others -Wpedantic now warns about non-standard predefined identifiers.
The fix is either to use the standard predefined identifier __func__ (since C99),
or to use the __extension__ keyword.