aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build2/cc/compile-rule.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/build2/cc/compile-rule.cxx b/build2/cc/compile-rule.cxx
index df84547..e77ef08 100644
--- a/build2/cc/compile-rule.cxx
+++ b/build2/cc/compile-rule.cxx
@@ -1369,7 +1369,8 @@ namespace build2
}
if (p == string::npos)
- fail << "unable to parse /showIncludes include note line";
+ fail << "unable to parse /showIncludes include note line '"
+ << l << "'";
return string (l, p);
}
@@ -1391,7 +1392,8 @@ namespace build2
}
}
- fail << "unable to parse /showIncludes include error line" << endf;
+ fail << "unable to parse /showIncludes include error line '"
+ << l << "'" << endf;
}
else
{