aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/cc/common.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-12-09 10:06:08 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-12-09 10:06:08 +0200
commit272437d0680dc39607140fc041bac9d3cdfbd626 (patch)
tree474ea3bec1873df694fcfedb8cb1f91e0914b7ce /libbuild2/cc/common.hxx
parentd24c10ce02654454ec1ea60bdfa32e34e2091bf0 (diff)
Enable diagnostics color in GCC and Clang
Diffstat (limited to 'libbuild2/cc/common.hxx')
-rw-r--r--libbuild2/cc/common.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/libbuild2/cc/common.hxx b/libbuild2/cc/common.hxx
index 2a78fe0..c17db08 100644
--- a/libbuild2/cc/common.hxx
+++ b/libbuild2/cc/common.hxx
@@ -486,6 +486,11 @@ namespace build2
const dir_paths&,
const dir_paths&,
pair<bool, bool>) const;
+
+ // Append compiler-specific diagnostics color options as necessary.
+ //
+ void
+ append_diag_color_options (cstrings&) const;
};
}
}