aboutsummaryrefslogtreecommitdiff
path: root/src/dump_analysis.cpp
diff options
context:
space:
mode:
authorBodie Solomon <bodie@synapsegarden.net>2020-03-31 10:13:31 -0400
committerAndrew Kelley <andrew@ziglang.org>2020-03-31 14:23:34 -0400
commit9bb76f8ce0b36211e0ff1f502ec46aa5a0142cd0 (patch)
treee88f6204cda7fd9d9a9a1b0ae1a608999005f0f8 /src/dump_analysis.cpp
parentd34a3c66b36e3afc8ea7f275b449033fa7a1b4bc (diff)
downloadzig-9bb76f8ce0b36211e0ff1f502ec46aa5a0142cd0.tar.gz
zig-9bb76f8ce0b36211e0ff1f502ec46aa5a0142cd0.zip
Use correct compiler flags in MSVC bootstrap builds of Zig
https://github.com/ziglang/zig/issues/4877 The CMake build of Zig from C++ uses hand-set compiler flags which are not compatible with the Microsoft C/C++ Optimizing Compiler (cl.exe) used by Visual Studio. This commit attempts to conform them to match the Clang/GCC options under MSVC builds. Note that CL does not have a concept of C99 or "-O3", and may imply other optimizations in "/O2" than are implied by Clang/GCC "-O3". Visual Studio 2019 documentation for cl.exe's optimization options: https://docs.microsoft.com/en-us/cpp/build/reference/o-options-optimize-code?view=vs-2019 Visual Studio 2019 doc for cl.exe's C++ standard options: https://docs.microsoft.com/en-us/cpp/build/reference/std-specify-language-standard-version?view=vs-2019
Diffstat (limited to 'src/dump_analysis.cpp')
0 files changed, 0 insertions, 0 deletions