From f1761632dae8951d21e62cb13e14bd4b4b0ed8a8 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Wed, 14 Sep 2016 02:44:31 -0400 Subject: darwin compat fixups - delete commented out code - delete redundant check for missing mmacosx-version-min/maxdir - add TODO comment in std library - rename 'os' to 'self' in io.zig - `openSelfExe` aborts on darwin instead of compile error - only allow warnings on the one parseh test that has `#include `. --- src/main.cpp | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 23fcaafa99..e55350a274 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -389,16 +389,6 @@ int main(int argc, char **argv) { return EXIT_FAILURE; } - if((g->zig_target.os == ZigLLVM_Darwin || - g->zig_target.os == ZigLLVM_MacOSX || - g->zig_target.os == ZigLLVM_IOS) && - (!mmacosx_version_min && - !mios_version_min && - !g->mmacosx_version_min && - !g->mios_version_min) && target) { - zig_panic("unable to determine -mmacosx-version-min or -mios-version-min"); - } - if (mmacosx_version_min) { codegen_set_mmacosx_version_min(g, buf_create_from_str(mmacosx_version_min)); } -- cgit v1.2.3