Skip to content

Rewriting error for array of function pointer with typedef type #736

Open
@kyleheadley

Description

@kyleheadley

Another miscellaneous error from Lua:

loadlib.c:704:26: error (func_array): 'searchers' declared as array of functions of type 'int (lua_State *)' (aka 'int (struct lua_State *)')
  static int ( searchers _Checked[])(lua_State *) =
                         ^

The code in question doesn't appear (in this form at least) in the source mentioned, so something is up with the rewriter. Or heavy macro use.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions