'identifier' : illegal local static variable in exported inline function
An external inline function attempts to declare a local static variable. This is not allowed.