Skip to content
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

compile error, erl_lint,old_abstract_code, Erlang 19.0 #649

Open
brigadier opened this issue Aug 2, 2016 · 3 comments
Open

compile error, erl_lint,old_abstract_code, Erlang 19.0 #649

brigadier opened this issue Aug 2, 2016 · 3 comments

Comments

@brigadier
Copy link
Contributor

brigadier commented Aug 2, 2016

Can't compile with 19.0 and 19.0.2 anything with included files with typed records.

01:21:26.343 [error] Compile Error, "src/mail/my_project_name_incoming_mail_controller.erl" -> [{"/home/erlang/19.0.2/lib/kernel-5.0/include/file.hrl",[{26,erl_lint,old_abstract_code},{63,erl_lint,old_abstract_code}]}]
Steps to reproduce:

  • create an CB app
  • add in any .erl file of the app -include_lib("kernel/include/file.hrl").
  • rebar compile all

Same problem with other hrl files, not just that file.hrl from the example

likely related to this Feuerlabs/exometer_core#80 and this erlang/otp@de90126

@brigadier
Copy link
Contributor Author

Likely the whole branch https://github.com/ErlyORM/boss_db/blob/master/src/boss_compiler.erl#L219 should be removed.

@brigadier brigadier changed the title compile error, erl_lint,old_abstract_code compile error, erl_lint,old_abstract_code, Erlang 19.0 Aug 4, 2016
@brigadier
Copy link
Contributor Author

ErlyORM/boss_db#255

@danikp
Copy link
Contributor

danikp commented Aug 6, 2016

I need to make few additional fixes and boss_db dep will be updated in CB

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants