From 3a465a99b2d0e382171e31a35814a74b421a6d24 Mon Sep 17 00:00:00 2001 From: Christoffer Lerno Date: Thu, 29 Apr 2021 18:17:55 +0200 Subject: [PATCH] Removing warning due to issue with LLVM headers. --- CMakeLists.txt | 2 +- src/compiler/types.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b28f7e898..8db2a707d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -150,7 +150,7 @@ target_compile_options(c3c PRIVATE -Wno-unknown-warning-option -Wold-style-declaration -Woverride-init -Wtype-limits -Wshift-negative-value -Wnested-externs -Wvla - -Wpointer-arith -Wpacked -Wredundant-decls + -Wpointer-arith -Wpacked -Walloc-zero -Wduplicated-cond -Wshadow -Wmissing-field-initializers -Wmissing-parameter-type -Wno-unused-result -Wno-maybe-uninitialized diff --git a/src/compiler/types.c b/src/compiler/types.c index b1a05ff59..a7e3393d3 100644 --- a/src/compiler/types.c +++ b/src/compiler/types.c @@ -4,7 +4,7 @@ #include "compiler_internal.h" -static Type t_u0, t_str, t_u1, t_i8, t_i16, t_i32, t_i64, t_i128, t_ixx; +static Type t_u0, t_u1, t_i8, t_i16, t_i32, t_i64, t_i128, t_ixx; static Type t_u8, t_u16, t_u32, t_u64, t_u128; static Type t_f16, t_f32, t_f64, t_f128, t_fxx; static Type t_usz, t_isz, t_uptr, t_iptr, t_uptrdiff, t_iptrdiff;