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

yaws dependency on crypto:sha/1 deprecated #5

Open
rsharvey opened this issue Mar 27, 2015 · 0 comments
Open

yaws dependency on crypto:sha/1 deprecated #5

rsharvey opened this issue Mar 27, 2015 · 0 comments

Comments

@rsharvey
Copy link

ERL: OTP 17.4
eoxdm: master

This is artifact of using 17.4, ignore if you want.

When compiling yaws, the dependency on crypto:sha/1 causes the build to fail. It is deprecated. Changed the rebar.config, removed "warnings_as_errors" and added "nowarn_deprecated_type".

{erl_opts, [%% OTP R11 - R15B -> yaws_sendfile_drv or compat_send
            {platform_define,
             "R1([1-4]|5[AB]-).*(linux|freebsd|darwin)", 'HAVE_YAWS_SENDFILE'},
            {platform_define, "R1([1-4]|5[AB]-)", 'NO_FILE_SENDFILE'},
            no_debug_info,
            {src_dirs, ["src", "examples/src"]},
           nowarn_deprecated_type]}.
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

1 participant