-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compiling with clang: error: missing field 'flags' initializer [-Werror,-Wmissing-field-initializers] #39
Comments
This might be due to a change in Erlang NIF API, @si14 can you take a look? |
I can add to the ERL_CFLAGS : and get to this new set of warnings :
|
I'm sorry for a delay, I'm looking into the issue. Looks like it's related to new rebar or GCC or both, because Travis builds repo just fine, but locally I can reproduce your warnings. |
OK, the first one set of warnings ( Regarding #38 — right now I have no idea why this happens. It looks like compiler gets called twice, second time without necessary arguments. Investigating. Regarding the last set of warnings — no idea yet, will fix. BTW, what are your versions of Erlang and rebar? |
Can you please check if the project compiles for you now? It should do so, albeit with a couple of warnings. |
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 :
The text was updated successfully, but these errors were encountered: