aboutsummaryrefslogtreecommitdiff
path: root/build2/cc/compile.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-01-05 10:13:19 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-01-05 15:10:01 +0200
commit1eff61b00307b9f0081dbf062f6f55e5d4771e52 (patch)
treec8ade74e997b97dcefaafa7dd3df6b1ba23031c7 /build2/cc/compile.cxx
parentd262f63ce5a7c3810abde1f66ee3bb99d56acdd0 (diff)
Add cxx.module_name alias for cc.module_name
Diffstat (limited to 'build2/cc/compile.cxx')
-rw-r--r--build2/cc/compile.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/build2/cc/compile.cxx b/build2/cc/compile.cxx
index 47953ee..3ae1e94 100644
--- a/build2/cc/compile.cxx
+++ b/build2/cc/compile.cxx
@@ -3657,12 +3657,13 @@ namespace build2
{
if (p.is_a (*x_mod)) // Got to be there.
{
- fail (relative (src)) << "failed to correctly guess module "
- << "name from " << p <<
+ fail (relative (src))
+ << "failed to correctly guess module name from " << p <<
info << "guessed: " << in <<
info << "actual: " << mn <<
info << "consider adjusting module interface file names or" <<
- info << "consider specifying module name with cc.module_name";
+ info << "consider specifying module name with " << x
+ << ".module_name";
}
}
}