From 8d0167bb5aaf1f4d3038c4f5d59ca9fd08edaee2 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Thu, 27 Feb 2014 19:35:13 +0100 Subject: fixed compilation issues on gcc 4.8 --- makefiles/gmake/compiler.mk | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'makefiles') diff --git a/makefiles/gmake/compiler.mk b/makefiles/gmake/compiler.mk index f43b45e..abd7d36 100644 --- a/makefiles/gmake/compiler.mk +++ b/makefiles/gmake/compiler.mk @@ -125,6 +125,12 @@ CXX_COMPILE_FLAGS = \ ifeq "$(GCC_MAJOR_VERSION)" "4" CXX_COMPILE_FLAGS += \ -Wno-invalid-offsetof -funit-at-a-time + +# from gcc 4.8 upwards, breaks scoped_ptr.h +ifeq "$(GCC_MINOR_VERSION)" "8" +CXX_COMPILE_FLAGS += \ + -Wno-unused-local-typedefs +endif endif ifeq "$(GCC_MAJOR_VERSION)" "3" -- cgit v1.2.3-54-g00ecf