[erlang-questions] cowlib compiling gives such error : cow_sse.erl:32: syntax error before: ':='

Loïc Hoguin essen@REDACTED
Fri Apr 28 12:33:18 CEST 2017


On 04/28/2017 12:11 PM, Dmitry wrote:
> Hello
>
> cowlib - the latest master branch is not compiled in erlang versions
> less then 19+.
>
> Cowlib(master branch) is pulled during get-deps by cowbow
>
> How to tell cowboy to pull, say branch 1.3 (not master)?

Cowboy master (and pre-releases) pulls Cowlib master at this time.

Your own project can depend on Cowlib (BUILD_DEPS if using Erlang.mk) to 
fetch it before Cowboy can, and override the version.

All three related projects (Cowboy, Cowlib and Gun) will have their next 
version released this summer require at least Erlang/OTP 19.0 and above.

As far as Cowboy is concerned, this decision was taken in August last 
year and is clearly written in the introduction. Expect more changes to 
both Cowlib and Cowboy that require 19+ in the next few weeks.

-- 
Loïc Hoguin
https://ninenines.eu



More information about the erlang-questions mailing list