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

Compilation warning with otp26.1.1 #132

Open
enirood-p opened this issue Oct 11, 2023 · 4 comments · May be fixed by #133
Open

Compilation warning with otp26.1.1 #132

enirood-p opened this issue Oct 11, 2023 · 4 comments · May be fixed by #133

Comments

@enirood-p
Copy link

For otp 26.1.1, compiler complains with the usage of 0.0 as otp 27 will evaluate +0.0 =:= -0.0 as false. However, +0.0 == -0.0 will continue to evaluate to true.
Refer https://www.erlang.org/doc/general_info/upcoming_incompatibilities#0.0-and--0.0-will-no-longer-be-exactly-equal

enirood-p added a commit to enirood-p/jesse that referenced this issue Oct 11, 2023
@enirood-p
Copy link
Author

PR for fixing above: #133

@enirood-p enirood-p linked a pull request Oct 11, 2023 that will close this issue
@eproxus
Copy link

eproxus commented Nov 1, 2023

For anyone in a Rebar project having this issue with Jesse as a dependency, a workaround is to add this to rebar.config:

{overrides, [
    {add, jesse, [{erl_opts, [nowarn_match_float_zero]}]}
]}.

@srijan
Copy link

srijan commented Nov 17, 2023

I thought this was already fixed in #129 ?

@zmstone
Copy link

zmstone commented Feb 14, 2024

Why not cut a new release ?
#128 (comment)

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 a pull request may close this issue.

4 participants