Avoid hide compilation warnings

Must be fixed instead of ignored
This commit is contained in:
Carlos Garcés 2021-10-12 13:56:20 +02:00 committed by Carlos Garces
parent d4dcb38048
commit 098afbae96

View File

@ -4,12 +4,8 @@ EXTRA_CFLAGS += $(USER_EXTRA_CFLAGS)
EXTRA_CFLAGS += -O2 EXTRA_CFLAGS += -O2
##################### Compile-time Warnings ####################### ##################### Compile-time Warnings #######################
EXTRA_CFLAGS += -Wno-unused-variable EXTRA_CFLAGS += -Wno-unused-variable
EXTRA_CFLAGS += -Wno-unused-value
EXTRA_CFLAGS += -Wno-unused-label EXTRA_CFLAGS += -Wno-unused-label
EXTRA_CFLAGS += -Wno-unused-parameter
EXTRA_CFLAGS += -Wno-unused-function EXTRA_CFLAGS += -Wno-unused-function
#EXTRA_CFLAGS += -Wno-vla
EXTRA_CFLAGS += -Wno-date-time
GCC_VER_49 := $(shell echo `$(CC) -dumpversion | cut -f1-2 -d.` \>= 4.9 | bc ) GCC_VER_49 := $(shell echo `$(CC) -dumpversion | cut -f1-2 -d.` \>= 4.9 | bc )
ifeq ($(GCC_VER_49),1) ifeq ($(GCC_VER_49),1)