Skip to content

compilation fails: too many arguments to function ‘yoml_parse_document’ #7

@yannick

Description

@yannick
cc -Wall -g -I deps/picotest deps/picotest/picotest.c test-yoml.c -lyaml -o test-yoml
test-yoml.c: In function ‘parse’:
test-yoml.c:35:11: error: t
     doc = yoml_parse_document(&parser, NULL, NULL, fn);
           ^~~~~~~~~~~~~~~~~~~
In file included from test-yoml.c:24:
yoml-parser.h:361:23: note: declared here
 static inline yoml_t *yoml_parse_document(yaml_parser_t *parser, yaml_event_type_t *unhandled, yoml_parse_args_t *parse_args)
                       ^~~~~~~~~~~~~~~~~~~
make: *** [Makefile:2: test] Error 1

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