Mercurial > hg > CbC > old > device
changeset 934:b7f4ff38a3bf
add -Wno-nullability-completeness
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 24 Dec 2016 11:00:47 +0900 |
parents | 4a7eb50b4f17 |
children | 7672a37e7545 |
files | Makefile Makefile.i64 |
diffstat | 2 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile Sun Apr 13 18:16:18 2014 +0900 +++ b/Makefile Sat Dec 24 11:00:47 2016 +0900 @@ -2,7 +2,7 @@ CC = $(GCC) -std=c99 $(CCEXT) $(M) -fgnu89-inline # -O3 # MCFLAG = -DUSE_CODE_KEYWORD -CFLAGS = -g -Wall -I. $(MCFLAG) # -O +CFLAGS = -g -Wall -Wno-nullability-completeness -I. $(MCFLAG) # -O # CFLAGS = -g -Wall -I. -pg -fprofile-arcs -ftest-coverage # LDFLAGS = -pg # for Linux Zaurus @@ -165,7 +165,7 @@ ifeq ($(GCC),clang) NOWARN = -Wno-literal-conversion -Wno-implicit-function-declaration -Wno-implicit-int \ -Wno-incompatible-pointer-types -Wno-int-conversion -Wno-return-type -Wno-bitfield-constant-conversion -Wno-tautological-compare -Wno-shift-overflow \ - -Wno-unused-value + -Wno-unused-value -Wno-nullability-completeness endif check: mc $(MC) $(TARGET).c
--- a/Makefile.i64 Sun Apr 13 18:16:18 2014 +0900 +++ b/Makefile.i64 Sat Dec 24 11:00:47 2016 +0900 @@ -1,8 +1,8 @@ -GCC = gcc -CC = $(GCC) -std=c99 $(CCEXT) $(M) -fgnu89-inline +GCC = clang +CC = $(GCC) -std=c99 $(CCEXT) $(M) -fgnu89-inline # -O3 # MCFLAG = -DUSE_CODE_KEYWORD -CFLAGS = -g -Wall -I. $(MCFLAG) # -O +CFLAGS = -g -Wall -Wno-nullability-completeness -I. $(MCFLAG) # -O # CFLAGS = -g -Wall -I. -pg -fprofile-arcs -ftest-coverage # LDFLAGS = -pg # for Linux Zaurus