From 65dca85d0acc1ae69518e85b52a2877e38dc8c6d Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 2 Apr 2015 15:06:55 +0200 Subject: Implement translation of meta/operations to natural language --- build/rule.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'build/rule.cxx') diff --git a/build/rule.cxx b/build/rule.cxx index fb5af3f..413676b 100644 --- a/build/rule.cxx +++ b/build/rule.cxx @@ -125,7 +125,7 @@ namespace build timestamp mp (mpt->mtime ()); if (mt < mp) - fail << "no recipe to update target " << t << + fail << "no recipe to " << diag_do (a, t) << info << "prerequisite " << pt << " is ahead of " << t << " by " << (mp - mt); } @@ -134,7 +134,7 @@ namespace build // Otherwise we assume the prerequisite is newer if it was changed. // if (ts == target_state::changed) - fail << "no recipe to update target " << t << + fail << "no recipe to " << diag_do (a, t) << info << "prerequisite " << pt << " is ahead of " << t << " because it was updated"; } -- cgit v1.1