Skip to content

Enable -Werror option#497

Merged
eed3si9n merged 1 commit intosbt:developfrom
xuwei-k:Werror
Mar 2, 2026
Merged

Enable -Werror option#497
eed3si9n merged 1 commit intosbt:developfrom
xuwei-k:Werror

Conversation

@xuwei-k
Copy link
Member

@xuwei-k xuwei-k commented Mar 2, 2026

No description provided.

"-Wconf:msg=Compiler synthesis of Manifest and OptManifest is deprecated:silent",
"-Wconf:msg=type Traversable in package scala:silent",
),
scalacOptions += "-Werror",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm +1 on enabling this, but also retain the ability to opt out using -Dsbt.build.fatal=false because of sbt-unidoc etc purpose to mash sbt/io with sbt/zinc and sbt/sbt.

Copy link
Member

@eed3si9n eed3si9n left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@eed3si9n eed3si9n merged commit 81248a3 into sbt:develop Mar 2, 2026
6 checks passed
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.

2 participants