ref: 8c5f36ba2316e9e8d60b1ec8d9fe84c1ff65b221
parent: 0185a07e7a7acd5a7425d56917871f4a6fee9a7f
parent: 652ee84e0da836a87d320d5bd3fcda18db0d7515
author: sijchen <sijchen@cisco.com>
date: Thu May 14 05:57:23 EDT 2015
Merge pull request #1941 from mstorsjo/c++-warnings Enable -Wc++11-compat-reserved-user-defined-literal when building with clang on linux
--- 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
+