diff options
-rw-r--r-- | build2/in/rule.cxx | 5 | ||||
-rw-r--r-- | build2/version/rule.cxx | 7 |
2 files changed, 9 insertions, 3 deletions
diff --git a/build2/in/rule.cxx b/build2/in/rule.cxx index 5ec95f3..450f398 100644 --- a/build2/in/rule.cxx +++ b/build2/in/rule.cxx @@ -42,8 +42,11 @@ namespace build2 fi = fi || p.is_a<in> (); } + // Note that while normally we print these at verbosity level 4, this + // one gets quite noisy since we try this rule for any file target. + // if (!fi) - l4 ([&]{trace << "no in file prerequisite for target " << t;}); + l5 ([&]{trace << "no in file prerequisite for target " << t;}); return fi; } diff --git a/build2/version/rule.cxx b/build2/version/rule.cxx index 262d623..5bb02ba 100644 --- a/build2/version/rule.cxx +++ b/build2/version/rule.cxx @@ -66,11 +66,14 @@ namespace build2 fi = fi || p.is_a<in> (); } + // Note that while normally we print these at verbosity level 4, these + // ones get quite noisy since we try this rule any file target. + // if (!fm) - l4 ([&]{trace << "no manifest prerequisite for target " << t;}); + l5 ([&]{trace << "no manifest prerequisite for target " << t;}); if (!fi) - l4 ([&]{trace << "no in file prerequisite for target " << t;}); + l5 ([&]{trace << "no in file prerequisite for target " << t;}); bool r (fm && fi); |