[ibsim patch 02/23] Make gcc don't warn about deprecated declarations

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Honggang Li <honli@xxxxxxxxxx>
---
 defs.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/defs.mk b/defs.mk
index 11256c0f0078..4a34f8543861 100644
--- a/defs.mk
+++ b/defs.mk
@@ -24,7 +24,7 @@ else
  LIBS:= -L$(libpath) -libmad -libumad
 endif
 
-CFLAGS += -Wall -g -fpic -I. -I../include $(INCS)
+CFLAGS += -Wall -g -Werror -Wno-deprecated-declarations -fpic -I. -I../include $(INCS)
 LDFLAGS+= -fpic
 
 srcs?=$(wildcard *.c)
-- 
2.15.0-rc1




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux