aboutsummaryrefslogtreecommitdiff
path: root/build/cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-04-17 15:34:59 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-04-17 15:34:59 +0200
commitc775a7f28a56ef96f097e677434eceec9d8f2cdf (patch)
treec28a45a80395c532ec25f83fd5f59f294dd8eeb6 /build/cxx
parent42aa67fccf593eb8352733aed1bd3ac1f26110dc (diff)
Improve diagnostics
Diffstat (limited to 'build/cxx')
-rw-r--r--build/cxx/rule.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/build/cxx/rule.cxx b/build/cxx/rule.cxx
index 6f5606c..a8a869f 100644
--- a/build/cxx/rule.cxx
+++ b/build/cxx/rule.cxx
@@ -74,7 +74,8 @@ namespace build
//
if (t.is_a<obj> ())
- fail << diag_doing (a, t) << " directly not supported";
+ fail << diag_doing (a, t) << " target group" <<
+ info << "explicitly select either obja{} or objso{} member";
// See if we have a C++ source file.
//