aboutsummaryrefslogtreecommitdiff
path: root/build2/file.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-06-19 08:38:56 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-06-19 08:38:56 +0200
commitcde3ea58802c700ed8fd3b11e46eb973a7018a12 (patch)
tree03038c64f62b30b56334e7988e6add370520c895 /build2/file.cxx
parenta5b95ad0d6ee18f2deb9e98e3058efd12bf0f492 (diff)
Improve diagnostics
Diffstat (limited to 'build2/file.cxx')
-rw-r--r--build2/file.cxx4
1 files changed, 2 insertions, 2 deletions
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.
//