Skip to content

Redefined 'break' with stats and 'goto' #737

Open
@kyleheadley

Description

@kyleheadley

Lua type conflict that's quite unique:

lvm.c:1155:5: error: passing '_Ptr<const void> const' to parameter of incompatible type 'const void *'
    vmdispatch (GET_OPCODE(i)) {
    ^~~~~~~~~~~~~~~~~~~~~~~~~~
./ljumptab.h:12:32: note: expanded from macro 'vmdispatch'
#define vmdispatch(x)     goto *disptab[x];
                               ^~~~~~~~~~~

This is all expanded from a #define break to do some custom code control. The error may just fit into our other benchmark conflict issues, but I'm posting here until we figure out which one.

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