From 1858ff2a308b08923e20fd58addb91fd673b5105 Mon Sep 17 00:00:00 2001 From: sdong Date: Thu, 31 Oct 2019 14:42:34 -0700 Subject: [PATCH] Disable warning as error --- Makefile | 4 ---- build_tools/fbcode_config.sh | 1 - 2 files changed, 5 deletions(-) diff --git a/Makefile b/Makefile index c3faac920..b16010a8f 100644 --- a/Makefile +++ b/Makefile @@ -175,10 +175,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 diff --git a/build_tools/fbcode_config.sh b/build_tools/fbcode_config.sh index 86fbfae0b..1e8d811c7 100644 --- a/build_tools/fbcode_config.sh +++ b/build_tools/fbcode_config.sh @@ -44,7 +44,6 @@ if test -z $PIC_BUILD; then LZ4_LIBS=" $LZ4_BASE/lib/liblz4.a" CFLAGS+=" -DLZ4" fi -CFLAGS+=" -DZSTD" # location of gflags headers and libraries GFLAGS_INCLUDE=" -I $GFLAGS_BASE/include/"