mirror of
https://github.com/ziglang/zig.git
synced 2026-01-21 06:45:24 +00:00
stage1: fix compile error on macOS Xcode 11.2
src/codegen.cpp:7713:33: error: unused variable 'global_linkage_values' [-Werror,-Wunused-const-variable]
static const GlobalLinkageValue global_linkage_values[] = {
This commit is contained in:
parent
e219f0c786
commit
3aeb1b115d
@ -7710,13 +7710,6 @@ struct GlobalLinkageValue {
|
||||
const char *name;
|
||||
};
|
||||
|
||||
static const GlobalLinkageValue global_linkage_values[] = {
|
||||
{GlobalLinkageIdInternal, "Internal"},
|
||||
{GlobalLinkageIdStrong, "Strong"},
|
||||
{GlobalLinkageIdWeak, "Weak"},
|
||||
{GlobalLinkageIdLinkOnce, "LinkOnce"},
|
||||
};
|
||||
|
||||
static void add_fp_entry(CodeGen *g, const char *name, uint32_t bit_count, LLVMTypeRef type_ref,
|
||||
ZigType **field)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user