shithub: openh264

Download patch

ref: 652ee84e0da836a87d320d5bd3fcda18db0d7515
parent: cf33d7031e3c823791ccd1dbf4eef20ada1039a6
author: Martin Storsjö <martin@martin.st>
date: Wed May 13 06:44:28 EDT 2015

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.

--- a/build/platform-linux.mk
+++ b/build/platform-linux.mk
@@ -15,3 +15,7 @@
 ASMFLAGS += -march=armv7-a -mfpu=neon
 endif
 
+ifeq ($(CXX), clang++)
+CXXFLAGS += -Wc++11-compat-reserved-user-defined-literal
+endif
+