From cde3ea58802c700ed8fd3b11e46eb973a7018a12 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 19 Jun 2019 08:38:56 +0200 Subject: Improve diagnostics --- build2/cxx/init.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'build2/cxx') diff --git a/build2/cxx/init.cxx b/build2/cxx/init.cxx index 92d5da8..25b6c0d 100644 --- a/build2/cxx/init.cxx +++ b/build2/cxx/init.cxx @@ -129,7 +129,7 @@ namespace build2 if (!sup) fail << "C++" << *v << " is not supported by " << ci.signature << - info << "required by " << project (rs) << '@' << rs.out_path (); + info << "required by " << project (rs) << '@' << rs; if (mj > 19 || (mj == 19 && mi >= 11)) // 15.3 { @@ -357,7 +357,7 @@ namespace build2 const variable_map& hints) { tracer trace ("cxx::guess_init"); - l5 ([&]{trace << "for " << bs.out_path ();}); + l5 ([&]{trace << "for " << bs;}); // We only support root loading (which means there can only be one). // @@ -506,7 +506,7 @@ namespace build2 const variable_map& hints) { tracer trace ("cxx::config_init"); - l5 ([&]{trace << "for " << bs.out_path ();}); + l5 ([&]{trace << "for " << bs;}); // We only support root loading (which means there can only be one). // @@ -554,7 +554,7 @@ namespace build2 const variable_map& hints) { tracer trace ("cxx::init"); - l5 ([&]{trace << "for " << bs.out_path ();}); + l5 ([&]{trace << "for " << bs;}); // We only support root loading (which means there can only be one). // -- cgit v1.1