aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-03-01 12:50:08 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-03-01 12:50:08 +0200
commitd34ad7449a99c5abb64d90b215c8a7ad72cbcf89 (patch)
tree74e488f3258b678436846e2bd431f2da20b84ea0
parent0c113410fd98d326502e5caf2b14b5d53e15f83c (diff)
Add another note on inconsistent compiler behavior diagnostics
-rw-r--r--build2/cc/compile-rule.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/build2/cc/compile-rule.cxx b/build2/cc/compile-rule.cxx
index 6a8e285..eacce7b 100644
--- a/build2/cc/compile-rule.cxx
+++ b/build2/cc/compile-rule.cxx
@@ -2842,6 +2842,12 @@ namespace build2
// So let's show the yo-yo'ing command lines and ask the user
// to investigate.
//
+ // Note: we could restart one more time but this time without
+ // suppressing diagnostics. This could be useful since, say,
+ // running out of disk space may not reproduce on its own (for
+ // example, because we have removed all the partially
+ // preprocessed source files).
+ //
if (force_gen_skip && *force_gen_skip == skip_count)
{
diag_record dr (fail);