aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-11-19 10:42:17 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-11-19 10:43:05 +0200
commit5136a6b723e2eeb27718747f1bfd822d0e790b86 (patch)
treeb373d0cde0b03df2274a6b683db7c244f0dc43d3
parent83005f5c8de788f3b2fec9b186a766814004895d (diff)
Minor diagnostics tweak
-rw-r--r--build2/cc/compile-rule.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/build2/cc/compile-rule.cxx b/build2/cc/compile-rule.cxx
index 0ce593e..634a586 100644
--- a/build2/cc/compile-rule.cxx
+++ b/build2/cc/compile-rule.cxx
@@ -3182,7 +3182,8 @@ namespace build2
if (!modules)
{
if (!mi.name.empty () || !mi.imports.empty ())
- fail (relative (src)) << "modules support not enabled/available";
+ fail (relative (src)) << "modules support not available or not "
+ << "enabled";
return;
}