diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-05-28 16:51:45 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-05-28 16:51:45 +0200 |
commit | c9afe583c8cdb1d9ee72f482649f323e7f7773d7 (patch) | |
tree | fcd0b01596db6b7ef3ed6e98039b80c987cf3dcb | |
parent | b30107085c003b364fc11ba84b5e7130d0926940 (diff) |
Fix bug in cc::extract_module() diagnostics
-rw-r--r-- | build2/cc/compile.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
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. // |