diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2020-04-04 12:26:57 -0400 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2020-04-04 15:03:22 -0400 |
| commit | e5d479b06e74e04b3ef3108e6098424b2130cbe5 (patch) | |
| tree | 6e13e6db93f55d9cac22734b98ab6d71d742db7b /src/error.cpp | |
| parent | 52db13738b3fca0ad5d83476e584be1d61a1428f (diff) | |
| download | zig-e5d479b06e74e04b3ef3108e6098424b2130cbe5.tar.gz zig-e5d479b06e74e04b3ef3108e6098424b2130cbe5.zip | |
detect an endless loop when trying to detect native libc installation
closes #4810
Diffstat (limited to 'src/error.cpp')
| -rw-r--r-- | src/error.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/error.cpp b/src/error.cpp index 76b510ecf3..0ca7d25b79 100644 --- a/src/error.cpp +++ b/src/error.cpp @@ -85,6 +85,7 @@ const char *err_str(Error err) { case ErrorInvalidOperatingSystemVersion: return "invalid operating system version"; case ErrorUnknownClangOption: return "unknown Clang option"; case ErrorNestedResponseFile: return "nested response file"; + case ErrorZigIsTheCCompiler: return "Zig was not provided with libc installation information, and so it does not know where the libc paths are on the system. Zig attempted to use the system C compiler to find out where the libc paths are, but discovered that Zig is being used as the system C compiler."; } return "(invalid error)"; } |
