'identifier' : illegal local static variable in exported inline function
There was an attempt to declare a local static variable inside an external inline function. External inline functions cannot declare local static variables.