aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/cc/gcc.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-10-05 07:51:03 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-10-05 07:51:03 +0200
commitc90438f5a7e33714f4d5987854f0757e17f13bf3 (patch)
tree477fa9aba8663f0595eb4b28c1b671c6fde0186a /libbuild2/cc/gcc.cxx
parente4eede85146540ff2f5a1007a69066db2bc30d29 (diff)
Implement more accurate MSVC information extraction from Clang on Windows
Diffstat (limited to 'libbuild2/cc/gcc.cxx')
-rw-r--r--libbuild2/cc/gcc.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/libbuild2/cc/gcc.cxx b/libbuild2/cc/gcc.cxx
index 632805c..05d8664 100644
--- a/libbuild2/cc/gcc.cxx
+++ b/libbuild2/cc/gcc.cxx
@@ -112,7 +112,10 @@ namespace build2
find (r.begin (), r.end (), d.normalize ()) == r.end ())
r.emplace_back (move (d));
}
- catch (const invalid_path&) {}
+ catch (const invalid_path&)
+ {
+ // Skip this path.
+ }
}
}