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.
This commit is contained in:
Martin Storsjö 2015-05-13 10:44:28 +03:00
parent cf33d7031e
commit 652ee84e0d

View File

@ -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