aboutsummaryrefslogtreecommitdiff
path: root/build2/diagnostics.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/diagnostics.hxx')
-rw-r--r--build2/diagnostics.hxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/build2/diagnostics.hxx b/build2/diagnostics.hxx
index 9a020d3..653d9a6 100644
--- a/build2/diagnostics.hxx
+++ b/build2/diagnostics.hxx
@@ -59,8 +59,11 @@ namespace build2
//
// While uint8 is more than enough, use uint16 for the ease of printing.
//
- extern uint16_t verb;
- const uint16_t verb_never = 7;
+
+ // Forward-declarated in utility.hxx.
+ //
+ // extern uint16_t verb;
+ // const uint16_t verb_never = 7;
template <typename F> inline void l1 (const F& f) {if (verb >= 1) f ();}
template <typename F> inline void l2 (const F& f) {if (verb >= 2) f ();}