From d34ad7449a99c5abb64d90b215c8a7ad72cbcf89 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 1 Mar 2019 12:50:08 +0200 Subject: Add another note on inconsistent compiler behavior diagnostics --- build2/cc/compile-rule.cxx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/build2/cc/compile-rule.cxx b/build2/cc/compile-rule.cxx index 6a8e2851..eacce7b5 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); -- cgit