From 892fbea6cd0f438dcbadb3aa2962ef3ee2769bb7 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Wed, 30 Mar 2016 01:28:12 -0400 Subject: [PATCH] Turned off some compiler warnings for now. Just need to see through the mess until this compiles again. --- Sources/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Sources/Makefile b/Sources/Makefile index a65f8cb..a65d0d4 100644 --- a/Sources/Makefile +++ b/Sources/Makefile @@ -600,6 +600,9 @@ else #CXXFLAGS += -Wno-non-template-friend -fexceptions -frtti CXXFLAGS += -fexceptions -frtti CFLAGS += -D_MT -fno-omit-frame-pointer + + # !!! FIXME: remove this. + CXXFLAGS += -Wno-c++11-compat-deprecated-writable-strings endif ifeq ($(strip $(soft_float)),true) @@ -708,8 +711,9 @@ CXXFLAGS += $(CFLAGS) #$(BINDIR)/Entities/%.o: $(SRCDIR)/Entities/%.cpp # $(CXX) -c -o $@ $< -I$(dir $<)StdH $(CXXFLAGS) +# !!! FIXME: remove -Wno-unused-value -Wno-switch $(BINDIR)/EntitiesMP/%.o: $(SRCDIR)/EntitiesMP/%.cpp - $(CXX) -c -o $@ $< -I$(dir $<)StdH $(CXXFLAGS) + $(CXX) -c -o $@ $< -I$(dir $<)StdH $(CXXFLAGS) -Wno-unused-value -Wno-switch $(BINDIR)/Engine/Classes/%.o: $(SRCDIR)/Engine/Classes/%.cpp $(CXX) -c -o $@ $< -I$(dir $<)StdH $(CXXFLAGS)