From ad89f756290c08342574b9eb4b7037fd2cda3eb9 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 6 Jan 2025 07:41:53 +0200 Subject: Minor diagnostics improvement --- libbuild2/cc/install-rule.cxx | 2 +- libbuild2/cc/link-rule.cxx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'libbuild2/cc') diff --git a/libbuild2/cc/install-rule.cxx b/libbuild2/cc/install-rule.cxx index 46764a6..c4f924a 100644 --- a/libbuild2/cc/install-rule.cxx +++ b/libbuild2/cc/install-rule.cxx @@ -281,7 +281,7 @@ namespace build2 // if (!*md.for_install) fail << "incompatible " << t << " build" << - info << "target already built not for install"; + info << "target already updated but not for install"; } else md.for_install = true; diff --git a/libbuild2/cc/link-rule.cxx b/libbuild2/cc/link-rule.cxx index a669f37..2037a5a 100644 --- a/libbuild2/cc/link-rule.cxx +++ b/libbuild2/cc/link-rule.cxx @@ -2598,8 +2598,8 @@ namespace build2 // if (*md->for_install != *d.for_install) fail << "incompatible " << *l << " build" << - info << "library is built " << (*md->for_install ? "" : "not ") - << "for install"; + info << "library is already updated but " + << (*md->for_install ? "" : "not ") << "for install"; } auto newer = [&d, l] () -- cgit v1.1