diff options
| author | Timon Kruiper <timonkruiper@gmail.com> | 2021-03-01 19:52:51 +0100 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2021-03-01 11:02:20 -0800 |
| commit | 24215df8c56ba64e624487f914513212e3e747e9 (patch) | |
| tree | 1c8db80cdda1e44bd89074e03d9c260ffd3e240a /src/stage1/codegen.cpp | |
| parent | 85eb05e9a8ed0998501535755cdf726552998e54 (diff) | |
| download | zig-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
