authorgravatar for michael.dusan@gmail.comMichael Dusan <michael.dusan@gmail.com> 2019-10-25 17:45:28-04:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2019-10-25 17:49:01-04:00
log3aeb1b115d5de3ebae6fdbbb8d2f87c875413f87
tree915981514ad971c4702e2e049f0d1946d818a889
parente219f0c786e8982c81d089b2945891632028b6ef

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[] = {

1 files changed, 0 insertions(+), 7 deletions(-)

src/codegen.cpp-7
......@@ -7710,13 +7710,6 @@ struct GlobalLinkageValue {
77107710 const char *name;
77117711};
77127712
7713static const GlobalLinkageValue global_linkage_values[] = {
7714 {GlobalLinkageIdInternal, "Internal"},
7715 {GlobalLinkageIdStrong, "Strong"},
7716 {GlobalLinkageIdWeak, "Weak"},
7717 {GlobalLinkageIdLinkOnce, "LinkOnce"},
7718};
7719
77207713static void add_fp_entry(CodeGen *g, const char *name, uint32_t bit_count, LLVMTypeRef type_ref,
77217714 ZigType **field)
77227715{