From 9e2b4fd3bbc0c61bf6c84540c52869ec7d830718 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 6 Jan 2017 03:24:33 +0300 Subject: Make use of operator<<(ostream, exception) --- build2/cc/module.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build2/cc/module.cxx') diff --git a/build2/cc/module.cxx b/build2/cc/module.cxx index 067aea3..40bd454 100644 --- a/build2/cc/module.cxx +++ b/build2/cc/module.cxx @@ -115,7 +115,7 @@ namespace build2 // help us out. // fail << "unable to parse " << x_lang << " compiler target '" - << ci.target << "': " << e.what () << + << ci.target << "': " << e << info << "consider using the --config-sub option"; } } -- cgit v1.1