From 1a2ea6db0d5de8c5cabb4fedc845ce9e72cccff0 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 22 Nov 2017 08:42:06 +0200 Subject: Improve diagnostics --- build2/cc/compile.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'build2/cc/compile.cxx') 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 (); -- cgit v1.1