Skip to content

OTP 29 Support - #190

Open
nickva wants to merge 2 commits into
cmullaparthi:masterfrom
nickva:otp-29-1
Open

nickva wants to merge 2 commits into
cmullaparthi:masterfrom
nickva:otp-29-1

Conversation

@nickva

@nickva nickva commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

In OTP 29 catch statements started to throw deprecation warnings, and since we're using warnings_as_errors our compilation fails. The catch construct hasn't been scheduled for removal yet [1] so for now just to compile ibrowse add a per-module compiler directive. This allows catch rewrites to be done incrementally module-by-module eventually.

This is an intermediate alternative for #187 for now.

[1] https://www.erlang.org/doc/scheduled_for_removal.html

@nickva

nickva commented Jun 8, 2026

Copy link
Copy Markdown
Contributor Author

Sorry to bother @cmullaparthi, would you get a chance to take a look and make a new release, if it looks good. Thought this might be easier to review and we can solve warnings module by module as we go in the future.

In OTP 29 catch statements started to throw deprecation warnings, and since
we're using `warnings_as_errors` our compilation fails. The catch construct
hasn't been scheduled for removal yet [1] so for now just to compile ibrowse
add a per-module compiler directive. This allows catch rewrites to be done
incrementally module-by-module eventually.

This is an intermediate alternative for
cmullaparthi#187 for now.

[1] https://www.erlang.org/doc/scheduled_for_removal.html
When vendoring this dependency it may not be called `ibrowse` when checked
out (as is in the case of CouchDB, where it's called couchdb-ibrowse). Then the
CI would break because `../../ibrowse/ebin` wouldn't exist. To make it work as
any directory name just use a single `../` path and when including in test use
`../`.
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.

1 participant