From d3c6644e104ae8c6d4a490c7a98d66af0ed72593 Mon Sep 17 00:00:00 2001 From: Carlos Garces Date: Sun, 26 Apr 2020 13:11:30 +0200 Subject: [PATCH] Fix compilation warnings instead of ignore it. --- Makefile | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/Makefile b/Makefile index da2b50f..abf66d2 100644 --- a/Makefile +++ b/Makefile @@ -1,23 +1,15 @@ EXTRA_CFLAGS += $(USER_EXTRA_CFLAGS) ##################### Optimization Flags ########################## -#EXTRA_CFLAGS += -O1 EXTRA_CFLAGS += -O2 -#EXTRA_CFLAGS += -O3 ##################### Compile-time Warnings ####################### -#EXTRA_CFLAGS += -Wall -#EXTRA_CFLAGS += -Wextra -#EXTRA_CFLAGS += -Werror -#EXTRA_CFLAGS += -pedantic -#EXTRA_CFLAGS += -Wshadow -Wpointer-arith -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -#EXTRA_CFLAGS += -Wno-uninitialized EXTRA_CFLAGS += -Wno-unused-variable EXTRA_CFLAGS += -Wno-unused-value EXTRA_CFLAGS += -Wno-unused-label EXTRA_CFLAGS += -Wno-unused-parameter EXTRA_CFLAGS += -Wno-unused-function EXTRA_CFLAGS += -Wno-unused -EXTRA_CFLAGS += -Wno-incompatible-pointer-types +#EXTRA_CFLAGS += -Wno-incompatible-pointer-types EXTRA_CFLAGS += -Wno-date-time GCC_VER_49 := $(shell echo `$(CC) -dumpversion | cut -f1-2 -d.` \>= 4.9 | bc )