aboutsummaryrefslogtreecommitdiff
path: root/src/error.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2019-03-07 16:55:31 -0500
committerAndrew Kelley <andrew@ziglang.org>2019-03-07 16:55:31 -0500
commit1e634a384ccc0ae57e0343369f7adb0b1b4b9875 (patch)
treee7f4d834e39028b141f6c02e16f6eafb20d8320d /src/error.cpp
parent5469e3e3c1ae060ee04f554499c852603eef3a5f (diff)
parent2bb6825baa906936ff28b82029a4644ef0f73755 (diff)
downloadzig-1e634a384ccc0ae57e0343369f7adb0b1b4b9875.tar.gz
zig-1e634a384ccc0ae57e0343369f7adb0b1b4b9875.zip
Merge branch 'glibc'
See #514
Diffstat (limited to 'src/error.cpp')
-rw-r--r--src/error.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/error.cpp b/src/error.cpp
index 17d44bffed..86f807de2b 100644
--- a/src/error.cpp
+++ b/src/error.cpp
@@ -29,6 +29,7 @@ const char *err_str(Error err) {
case ErrorCCompileErrors: return "C compile errors";
case ErrorEndOfFile: return "end of file";
case ErrorIsDir: return "is directory";
+ case ErrorNotDir: return "not a directory";
case ErrorUnsupportedOperatingSystem: return "unsupported operating system";
case ErrorSharingViolation: return "sharing violation";
case ErrorPipeBusy: return "pipe busy";
@@ -37,6 +38,7 @@ const char *err_str(Error err) {
case ErrorPathTooLong: return "path too long";
case ErrorCCompilerCannotFindFile: return "C compiler cannot find file";
case ErrorReadingDepFile: return "failed to read .d file";
+ case ErrorInvalidDepFile: return "invalid .d file";
case ErrorMissingArchitecture: return "missing architecture";
case ErrorMissingOperatingSystem: return "missing operating system";
case ErrorUnknownArchitecture: return "unrecognized architecture";