Skip to content

Conversation

@richcarl
Copy link
Contributor

I think the warnings for deprecated catches should be turned on by default in OTP 29.

@github-actions
Copy link
Contributor

github-actions bot commented Nov 30, 2025

CT Test Results

    27 files     853 suites   6h 5m 47s ⏱️
 8 193 tests  7 915 ✅   278 💤 0 ❌
20 248 runs  18 731 ✅ 1 517 💤 0 ❌

Results for commit 078955c.

♻️ This comment has been updated with latest results.

To speed up review, make sure that you have read Contributing to Erlang/OTP and that all checks pass.

See the TESTING and DEVELOPMENT HowTo guides for details about how to run test locally.

Artifacts

// Erlang/OTP Github Action Bot

@richcarl richcarl force-pushed the enable-catch-warning branch from e2b3ab7 to 4bf7c1c Compare November 30, 2025 21:01
@rickard-green rickard-green added the team:VM Assigned to OTP team VM label Dec 1, 2025
@richcarl richcarl force-pushed the enable-catch-warning branch from 4bf7c1c to d682a55 Compare December 1, 2025 22:18
@bjorng bjorng added testing currently being tested, tag is used by OTP internal CI and removed testing currently being tested, tag is used by OTP internal CI labels Dec 3, 2025
@richcarl richcarl force-pushed the enable-catch-warning branch from 03773a9 to 58a6972 Compare December 10, 2025 06:59
@richcarl
Copy link
Contributor Author

Finally a green buld on this too after rebasing.

bjorng
bjorng previously approved these changes Dec 19, 2025
@bjorng bjorng added testing currently being tested, tag is used by OTP internal CI and removed testing currently being tested, tag is used by OTP internal CI labels Dec 19, 2025
@bjorng
Copy link
Contributor

bjorng commented Dec 19, 2025

OTB approved this pull request yesterday.

Unfortunately, I can't add the PR to our daily builds yet, because out internal CI tries to build rebar3 and https://github.com/erlware/erlware_commons, and both fail to build because they use the old-style catch. I will need to update the CI to disable the warning; I might not be able to do that until next year.

Might I suggest that you submit pull requests to both of those projects to disable the warning?

@richcarl
Copy link
Contributor Author

Might I suggest that you submit pull requests to both of those projects to disable the warning?

Tried to make a patch, but their build scripts are doing my head in. A quick fix that works for me is to define export ERL_COMPILER_OPTIONS='[nowarn_deprecated_catch]' in your CI when it builds rebar3.

@richcarl
Copy link
Contributor Author

@bjorng Tristan helped me out: erlang/rebar3#2983

@bjorng
Copy link
Contributor

bjorng commented Jan 7, 2026

Can you rebase the branch to remove the merge conflict?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

team:VM Assigned to OTP team VM

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants