From 19e1b71a396e6b82c8e8a4602446ada0173579b9 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 11 Oct 2019 11:36:56 +0200 Subject: Various fixes to make clang-cl work Note that clang-cl's /showInclude output differs from cl's in the face of missing headers. In particular, it does not issue C1083 that we expect. As a result, this part of clang-cl's support is currently non-functional (the rest seems to work, however). --- libbuild2/cc/guess.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libbuild2/cc/guess.cxx') diff --git a/libbuild2/cc/guess.cxx b/libbuild2/cc/guess.cxx index cf78774..7b993f0 100644 --- a/libbuild2/cc/guess.cxx +++ b/libbuild2/cc/guess.cxx @@ -1822,7 +1822,7 @@ namespace build2 return compiler_info { move (gr.path), move (gr.id), - compiler_class::gcc, + cl ? compiler_class::msvc : compiler_class::gcc, move (ver), move (var_ver), move (gr.signature), -- cgit v1.1