diff options
author | Scott Graham <scottmg@chromium.org> | 2015-06-18 22:06:42 (GMT) |
---|---|---|
committer | Scott Graham <scottmg@chromium.org> | 2015-06-18 22:06:42 (GMT) |
commit | 38aba9dbe68b800038f1cefc827362c126c7b212 (patch) | |
tree | ed8aa2d9aa55865fd1dbf8a4be6ca197f30ada07 /src/msvc_helper-win32.cc | |
parent | 32774e9ba88a3d4e3decdad0fa01620cb16d6300 (diff) | |
download | Ninja-38aba9dbe68b800038f1cefc827362c126c7b212.zip Ninja-38aba9dbe68b800038f1cefc827362c126c7b212.tar.gz Ninja-38aba9dbe68b800038f1cefc827362c126c7b212.tar.bz2 |
Error+exit -> Fatal
Diffstat (limited to 'src/msvc_helper-win32.cc')
-rw-r--r-- | src/msvc_helper-win32.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/msvc_helper-win32.cc b/src/msvc_helper-win32.cc index f875633..a52dd38 100644 --- a/src/msvc_helper-win32.cc +++ b/src/msvc_helper-win32.cc @@ -98,9 +98,8 @@ string CLParser::Parse(const string& output, const string& deps_prefix) { string normalized; string err; if (!IncludesNormalize::Normalize(include, NULL, &normalized, &err)) { - Error("failed to normalize path: %s: %s\n", include.c_str(), + Fatal("failed to normalize path: %s: %s\n", include.c_str(), err.c_str()); - exit(1); } if (!IsSystemInclude(normalized)) includes_.insert(normalized); |