aboutsummaryrefslogtreecommitdiff
path: root/src/stage1/codegen.cpp
diff options
context:
space:
mode:
authorTimon Kruiper <timonkruiper@gmail.com>2021-03-01 19:52:51 +0100
committerAndrew Kelley <andrew@ziglang.org>2021-03-01 11:02:20 -0800
commit24215df8c56ba64e624487f914513212e3e747e9 (patch)
tree1c8db80cdda1e44bd89074e03d9c260ffd3e240a /src/stage1/codegen.cpp
parent85eb05e9a8ed0998501535755cdf726552998e54 (diff)
downloadzig-24215df8c56ba64e624487f914513212e3e747e9.tar.gz
zig-24215df8c56ba64e624487f914513212e3e747e9.zip
zig c++: fix compilation that includes any c++ std library file
LLVM 12 included a patch that changed the way availability annotations are specified. We now have to define the _LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS flag to make sure that we tell the c++ headers that we don't use visibility annotations. Related LLVM patch: D90843
Diffstat (limited to 'src/stage1/codegen.cpp')
0 files changed, 0 insertions, 0 deletions