From a160b2628499f63f103a0deb39ee8670627bde32 Mon Sep 17 00:00:00 2001 From: Evan Martin Date: Sun, 14 Nov 2010 10:37:44 -0800 Subject: [PATCH] demote a fatal to a warning --- ninja_jumble.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ninja_jumble.cc b/ninja_jumble.cc index 36b7652..0d89ff2 100644 --- a/ninja_jumble.cc +++ b/ninja_jumble.cc @@ -337,8 +337,8 @@ void State::AddInOut(Edge* edge, Edge::InOut inout, const string& path) { } else { edge->outputs_.push_back(node); if (node->in_edge_) { - fprintf(stderr, "multiple rules generate %s\n", path.c_str()); - assert(node->in_edge_ == NULL); + fprintf(stderr, "WARNING: multiple rules generate %s\n", path.c_str()); + fprintf(stderr, "WARNING: build will not be correct; continuing anyway\n"); } node->in_edge_ = edge; } -- 2.7.4