Skip to content

Fix warning ISO C does not support __FUNCTION__

username-removed-178643 requested to merge fafryd1125/tint2:warning into master

"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.

Merge request reports