Skip to content

Error while build in register_types.cpp + 212 #31

@golxzn

Description

@golxzn

ERR_FAIL_COND_V_MSG(res->data == NULL, RES(), bin->error);

Yes. There is some bug:

#if defined(ERR_FAIL_COND_V_MSG)
            ERR_FAIL_COND_V_MSG(res->data == NULL, RES(), bin->error);
#else
            ERR_EXPLAIN(bin->error);
            ERR_FAIL_COND_V(res->data == NULL, RES());
            ERR_FAIL_COND_V_MSG(res->data == NULL, RES(), bin->error); // AAAA WATAFK
#endif

In code, we check the ERR_FAIL_COND_V_MSG is defined, but if it isn't, we whatever use it

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions