diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2018-01-08 11:07:17 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2018-01-08 11:07:17 +0200 |
commit | f6c3788de3d148c90aba705d045b1d92e7fea20a (patch) | |
tree | 3e99d4a3d87ab4f6c68cbfd0060e28b465bee4de /build2/diagnostics.hxx | |
parent | f1b3c0e86daec1f5b7ed81a60edbe548fcbb5f42 (diff) |
Complete runtime/stdlib detection
Diffstat (limited to 'build2/diagnostics.hxx')
-rw-r--r-- | build2/diagnostics.hxx | 7 |
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 ();} |