From 652ee84e0da836a87d320d5bd3fcda18db0d7515 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Wed, 13 May 2015 10:44:28 +0300 Subject: [PATCH] Enable -Wc++11-compat-reserved-user-defined-literal when building with clang on linux This allows catching issues that causes the build to fail on MSVC 2015 RC, without having to include such a configuration in travis. --- build/platform-linux.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build/platform-linux.mk b/build/platform-linux.mk index f64f9497..d1375bd6 100644 --- a/build/platform-linux.mk +++ b/build/platform-linux.mk @@ -15,3 +15,7 @@ ifeq ($(ASM_ARCH), arm) ASMFLAGS += -march=armv7-a -mfpu=neon endif +ifeq ($(CXX), clang++) +CXXFLAGS += -Wc++11-compat-reserved-user-defined-literal +endif +