Skip to content

Conversation

djustinek
Copy link

Fixed build scripts and code so it works with latest Erlang/OPT releases.

Denis Justinek added 4 commits July 29, 2015 10:22
- Added Erlang version check and correct type selection
- Added erlang:timestamp() check script and correct compilation path for rebar and Makefile
- Added macro for TIMESTAMP and replaced direct calls with macros
@howleysv
Copy link

Good job!

I propose a change to move the conditional compilation into the .erl files to avoid issues in projects that include the emysql header.

See my patch: howleysv/Emysql@dda35e1

Denis Justinek added 2 commits August 26, 2015 21:53
Moved conditional compilation into .erl files to avoid issues in projects that include emysql header.
Builds failed on Erlang prior to 17
@djustinek
Copy link
Author

@howleysv : Proposed patch breaks compilation on pre-17 Erlang versions.
(https://travis-ci.org/Eonblast/Emysql/builds/77387690)

@howleysv
Copy link

Sorry, I should have tested this myself!

I forgot that the built-in types could not be redefined in <17. Renaming to t_type as before seems to work (tested in 18.0 and R16B03-1):

howleysv/Emysql@00d2f86

@djustinek
Copy link
Author

@howleysv, it's patched. Everything seems fine now.

daha added a commit to daha/Emysql that referenced this pull request Oct 23, 2015
Merging pull request 172 "Fixed build to work with R14,R15,R16,17 and 18":
Eonblast#172
@nazar256
Copy link

nazar256 commented Jan 7, 2016

Why wouldn't you accept and apply this pull-request? Is something wrong with it or this repository is abandoned?

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

Successfully merging this pull request may close these issues.

3 participants