aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-11-22 08:42:06 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-11-22 08:42:06 +0200
commit1a2ea6db0d5de8c5cabb4fedc845ce9e72cccff0 (patch)
treed9c866a5cc74977b20a39af25fc687527dc2c831
parentc9ba28c2ef9a8075c35cc3df4e176e9ec72a7a61 (diff)
Improve diagnostics
-rw-r--r--build2/cc/compile.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/build2/cc/compile.cxx b/build2/cc/compile.cxx
index 83230b2..2f8a0e1 100644
--- a/build2/cc/compile.cxx
+++ b/build2/cc/compile.cxx
@@ -2939,7 +2939,8 @@ namespace build2
if (e.normal ())
{
fail << "unable to preprocess " << src <<
- info << "re-run with -s -V to display the failing command";
+ info << "re-run with -s -V to display failing command" <<
+ info << "then run failing command to display compiler diagnostics";
}
else
fail << args[0] << " terminated abnormally: " << e.description ();