From c9afe583c8cdb1d9ee72f482649f323e7f7773d7 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sun, 28 May 2017 16:51:45 +0200 Subject: Fix bug in cc::extract_module() diagnostics --- build2/cc/compile.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'build2') diff --git a/build2/cc/compile.cxx b/build2/cc/compile.cxx index 528c188..96ab435 100644 --- a/build2/cc/compile.cxx +++ b/build2/cc/compile.cxx @@ -936,7 +936,7 @@ namespace build2 { tracer trace (x, "compile::extract_headers"); - l6 ([&]{trace << "target: " << t;}); + l5 ([&]{trace << "target: " << t;}); auto_rmfile psrc; bool puse (true); @@ -1951,7 +1951,7 @@ namespace build2 { tracer trace (x, "compile::extract_modules"); - l6 ([&]{trace << "target: " << t;}); + l5 ([&]{trace << "target: " << t;}); // If things go wrong (and they often do in this area), give the user a // bit extra context. @@ -2053,9 +2053,6 @@ namespace build2 // psrc.cancel (); - if (verb >= 3) - print_process (args); - process pr; try @@ -2067,6 +2064,9 @@ namespace build2 } else { + if (verb >= 3) + print_process (args); + // We don't want to see warnings multiple times so ignore all // diagnostics. // -- cgit v1.1