From c57fd1a903cb342dc414307088352cdb550d3641 Mon Sep 17 00:00:00 2001 From: Evan Martin Date: Fri, 19 Apr 2013 14:38:23 -0700 Subject: [PATCH] adjust the wording in "multiple rules generate X" warning Ideally we'd detect this at build time and only warn if your build was affected, but that's hard to do. (Really we should just abort when this scenario is detected rather than continuing, but now users are relying on it.) Hopefully improves issue #543. --- src/state.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/state.cc b/src/state.cc index d2d5ebe..9b6160b 100644 --- a/src/state.cc +++ b/src/state.cc @@ -154,7 +154,8 @@ void State::AddOut(Edge* edge, StringPiece path) { edge->outputs_.push_back(node); if (node->in_edge()) { Warning("multiple rules generate %s. " - "build will not be correct; continuing anyway", + "builds involving this target will not be correct; " + "continuing anyway", path.AsString().c_str()); } node->set_in_edge(edge); -- 2.7.4