diff Makefile @ 868:c55337499f96

remove warnings and error from test
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Tue, 01 Apr 2014 02:42:22 +0900
parents 68cbc637f486
children 3976dc54ec3d
line wrap: on
line diff
--- a/Makefile	Tue Apr 01 01:57:36 2014 +0900
+++ b/Makefile	Tue Apr 01 02:42:22 2014 +0900
@@ -163,7 +163,8 @@
 #	-./$(MC) -Itest/ $(TARGET).c
 
 check: mc $(MC) $(TARGET).c
-	-$(CC) $(CFLAGS1) $(STDFLAG) $(TARGET).c -o b.out $(MLIB)
+	-$(CC) $(CFLAGS1) $(STDFLAG) $(TARGET).c -o b.out $(MLIB) -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
 	-./b.out > $(TARGET).gcc.out
 	-./$(MC) $(MCFLAG)  $(TARGET).c
 	-$(CC) $(TARGET).s $(MLIB)
@@ -171,7 +172,8 @@
 	-diff $(TARGET).gcc.out $(TARGET).$(MC).out
 
 check-inline: mc $(MC) $(TARGET).c
-	-$(CC) $(CFLAGS1) $(STDFLAG) $(TARGET).c -o b.out $(MLIB)
+	-$(CC) $(CFLAGS1) $(STDFLAG) $(TARGET).c -o b.out $(MLIB) -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
 	-./b.out > $(TARGET).gcc.out
 	-./$(MC) $(MCFLAG)  -DINLINE=inline $(TARGET).c
 	-$(CC) $(TARGET).s $(MLIB)