Skip to content

If apply() function is not declared cdt-cpp returns a wrong error message #12

@jolly-fellow

Description

@jolly-fellow

eos-vm is described in its documentation as a general purpose WASM VM, the source code has a no contract declaration, IMHO it is wrong to return this error messages because in this case it doesn't describe the problem.
test_wasm.cpp.gz

cdt-cpp test_wasm.cpp
Warning, empty ricardian clause file
Warning, empty ricardian clause file
wasm-ld: error: fatal failure: contract with no actions and trying to create dispatcher
Exit due to wasm-ld failure

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