From def502b1c9dba8d5e883e4a22c31a495b631e8a4 Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Mon, 20 Apr 2015 10:34:06 +0200 Subject: Use C++11 feature to implement lengthof Also disable warning about auto_ptr until it is changed. --- build/top.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build') diff --git a/build/top.mk b/build/top.mk index 4de2438..385df77 100644 --- a/build/top.mk +++ b/build/top.mk @@ -18,7 +18,7 @@ CPPFLAGS := $(DEFS) $(INCLUDES) -MP -MMD OPTIMIZE ?= -Os CFLAGS := -g -Wall -W -Wundef -Wno-unused-parameter \ -fno-exceptions $(OPTIMIZE) -CXXFLAGS := $(CFLAGS) -fno-rtti -fno-threadsafe-statics +CXXFLAGS := $(CFLAGS) -fno-rtti -fno-threadsafe-statics -std=gnu++11 -Wno-deprecated-declarations LDFLAGS := LDLIBS := $(LIBS) -- cgit v1.2.3