Skip to content

Compiling with clang: error: missing field 'flags' initializer [-Werror,-Wmissing-field-initializers] #39

@mtourne

Description

@mtourne

I can get passed this previous compilation issue, mentioned here : #38

by running :
ERL_CFLAGS=-I/usr/local/Cellar/erlang/17.3.4/lib/erlang/erts-6.2.1/include rebar -v compile

Now I'm getting a bunch of errors along those lines :

INFO:  sh info:
    cwd: "/Users/mtourne/dev/yawndb/deps/ecirca"
    cmd: clang -c  -std=c99 -Wall -Wextra -Werror -pedantic -g -Wall -fPIC -I/usr/local/Cellar/erlang/17.3.4/lib/erlang/erts-6.2.1/include  c_src/ecirca_small.c -o c_src/ecirca_small.o
Compiling /Users/mtourne/dev/yawndb/deps/ecirca/c_src/ecirca_small.c
/Users/mtourne/dev/yawndb/deps/ecirca/c_src/ecirca_small.c:2756:19: error: missing field 'flags' initializer [-Werror,-Wmissing-field-initializers]
    {"new", 3, new},
                  ^
/Users/mtourne/dev/yawndb/deps/ecirca/c_src/ecirca_small.c:2757:21: error: missing field 'flags' initializer [-Werror,-Wmissing-field-initializers]
    {"push", 2, push},
[...]

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