aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/c
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-02-24 14:56:33 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-02-24 14:56:33 +0200
commitf749aab34924a61710aa28a33ad223e866aa5843 (patch)
treeff86e4693725ebbe44ffe7707839763943a7cb37 /libbuild2/c
parent7f0f102d19b3ae41d5fee2306933f46d9f0ccd7b (diff)
Work around bug in Clang 10 targeting MSVC in c++2a (LLVM bug #44956)
Diffstat (limited to 'libbuild2/c')
-rw-r--r--libbuild2/c/init.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/libbuild2/c/init.cxx b/libbuild2/c/init.cxx
index d792f0d..ffea0ca 100644
--- a/libbuild2/c/init.cxx
+++ b/libbuild2/c/init.cxx
@@ -38,6 +38,7 @@ namespace build2
virtual strings
translate_std (const compiler_info&,
+ const target_triplet&,
scope&,
const string*) const override;
};
@@ -45,7 +46,10 @@ namespace build2
using cc::module;
strings config_module::
- translate_std (const compiler_info& ci, scope& rs, const string* v) const
+ translate_std (const compiler_info& ci,
+ const target_triplet&,
+ scope& rs,
+ const string* v) const
{
strings r;