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/file.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'build2/file.cxx') diff --git a/build2/file.cxx b/build2/file.cxx index f75dd3f..8c7c74c 100644 --- a/build2/file.cxx +++ b/build2/file.cxx @@ -1247,7 +1247,7 @@ namespace build2 { tracer trace ("import"); - l5 ([&]{trace << target << " from " << ibase.out_path ();}); + l5 ([&]{trace << target << " from " << ibase;}); // If there is no project specified for this target, then our run will be // short and sweet: we simply return it as empty-project-qualified and @@ -1368,7 +1368,7 @@ namespace build2 // for (scope* r (&iroot);; r = r->parent_scope ()->root_scope ()) { - l5 ([&]{trace << "looking in " << r->out_path ();}); + l5 ([&]{trace << "looking in " << *r;}); // First check the amalgamation itself. // -- cgit v1.1