From d88568c68db147e172e3d7fb5e3654f5c3760c61 Mon Sep 17 00:00:00 2001 From: Igor Canadi Date: Mon, 10 Nov 2014 17:41:51 -0500 Subject: [PATCH] Move -Wnon-virtual-dtor to c++ flags --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index ff8dcd3c3..55053be13 100644 --- a/Makefile +++ b/Makefile @@ -69,9 +69,9 @@ install: @[ ! -e $(SHARED) ] || install -C -m 644 $(SHARED) $(INSTALL_PATH)/lib #------------------------------------------------- -WARNING_FLAGS = -Wall -Werror -Wsign-compare -Wshadow -Wnon-virtual-dtor +WARNING_FLAGS = -Wall -Werror -Wsign-compare -Wshadow CFLAGS += $(WARNING_FLAGS) -I. -I./include $(PLATFORM_CCFLAGS) $(OPT) -CXXFLAGS += $(WARNING_FLAGS) -I. -I./include $(PLATFORM_CXXFLAGS) $(OPT) -Woverloaded-virtual +CXXFLAGS += $(WARNING_FLAGS) -I. -I./include $(PLATFORM_CXXFLAGS) $(OPT) -Woverloaded-virtual -Wnon-virtual-dtor LDFLAGS += $(PLATFORM_LDFLAGS)