aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/rule.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/rule.cxx')
-rw-r--r--libbuild2/rule.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/libbuild2/rule.cxx b/libbuild2/rule.cxx
index f257b62..0df6517 100644
--- a/libbuild2/rule.cxx
+++ b/libbuild2/rule.cxx
@@ -894,7 +894,10 @@ namespace build2
//
adhoc_cxx_rule::
adhoc_cxx_rule (const location& l, size_t b, uint64_t v, optional<string> s)
- : adhoc_rule (l, b), version (v), separator (move (s)), impl (nullptr)
+ : adhoc_rule ("<ad hoc c++ recipe>", l, b),
+ version (v),
+ separator (move (s)),
+ impl (nullptr)
{
if (v != 1)
fail (l) << "unsupported c++ recipe version " << v;