Skip to content

Commit

Permalink
Merge pull request ninja-build#2483 from dendy/add-dupbuild-as-deprec…
Browse files Browse the repository at this point in the history
…ated-warning

Add 'dupbuild' as deprecated warning
  • Loading branch information
jhasse authored Nov 30, 2024
2 parents 335e66d + a91a30e commit bf7cd9f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/ninja.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1422,6 +1422,10 @@ bool WarningEnable(const string& name, Options* options) {
} else if (name == "phonycycle=warn") {
options->phony_cycle_should_err = false;
return true;
} else if (name == "dupbuild=err" ||
name == "dupbuild=warn") {
Warning("deprecated warning 'dupbuild'");
return true;
} else if (name == "depfilemulti=err" ||
name == "depfilemulti=warn") {
Warning("deprecated warning 'depfilemulti'");
Expand Down

0 comments on commit bf7cd9f

Please sign in to comment.