From 5b40c0c074f16dae6e1d60a3c5d7aa3e7d63fdc7 Mon Sep 17 00:00:00 2001 From: sdong Date: Tue, 5 Nov 2019 10:57:56 -0800 Subject: [PATCH] Disable error as warning --- Makefile | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Makefile b/Makefile index 111892e0b..5a02ab057 100644 --- a/Makefile +++ b/Makefile @@ -187,10 +187,6 @@ default: all WARNING_FLAGS = -W -Wextra -Wall -Wsign-compare -Wshadow \ -Wno-unused-parameter -ifndef DISABLE_WARNING_AS_ERROR - WARNING_FLAGS += -Werror -endif - CFLAGS += $(WARNING_FLAGS) -I. -I./include $(PLATFORM_CCFLAGS) $(OPT) CXXFLAGS += $(WARNING_FLAGS) -I. -I./include $(PLATFORM_CXXFLAGS) $(OPT) -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers