aboutsummaryrefslogtreecommitdiff
path: root/build2/cc/compile.cxx
diff options
context:
space:
mode:
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";
}
}
}