Skip to content

Commit

Permalink
Remove warnings_as_errors from rebar.config
Browse files Browse the repository at this point in the history
When new major versions of Erlang/OTP are released, they invariably
cause deprecation warnings, and despite keeping up with fixing these
against release candidates, something always breaks at the final
release. Remove warnings_as_errors to avoid problems for applications
using Yaws as a dependency.

Note that in the rebar3-support branch, warnings_as_errors is used
only in the dev profile.
  • Loading branch information
vinoski committed May 14, 2020
1 parent c0fd79f commit 48686bb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@

{sub_dirs, ["rel"]}.

{erl_opts, [{src_dirs, ["src", "examples/src"]},
warnings_as_errors]}.
{erl_opts, [{src_dirs, ["src", "examples/src"]}]}.

{port_env, [{"CFLAGS", "$CFLAGS -g -O3 -Wall"},
{"x86_64", "CFLAGS", "$CFLAGS -m$ERLANG_ARCH"},
Expand Down

0 comments on commit 48686bb

Please # to comment.