From 1eff61b00307b9f0081dbf062f6f55e5d4771e52 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 5 Jan 2018 10:13:19 +0200 Subject: Add cxx.module_name alias for cc.module_name --- build2/cc/compile.cxx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'build2/cc/compile.cxx') 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"; } } } -- cgit v1.1