summaryrefslogtreecommitdiffstats
path: root/core/clang
diff options
context:
space:
mode:
authorStephen Hines <srhines@google.com>2015-04-10 09:06:12 -0700
committerStephen Hines <srhines@google.com>2015-04-10 09:12:38 -0700
commitb992bfcf337a1b5d807be27dcd1612efa86c9534 (patch)
treebdcaae490967cb214c6cd18f0e717d5769795457 /core/clang
parent011a50e4e1cc7371d8fbd0ea08002241fe54a675 (diff)
downloadbuild-b992bfcf337a1b5d807be27dcd1612efa86c9534.zip
build-b992bfcf337a1b5d807be27dcd1612efa86c9534.tar.gz
build-b992bfcf337a1b5d807be27dcd1612efa86c9534.tar.bz2
Use -Wno-format-pedantic to disable overly aggressive format string warning.
Bug: 20148343 The latest clang warns on "%p" being used with non-void pointer types, which would require a great deal of cleanup in several sub-projects. Change-Id: I4175d5cf8709504455067c906a2eb8ccc8e25432
Diffstat (limited to 'core/clang')
-rw-r--r--core/clang/config.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/clang/config.mk b/core/clang/config.mk
index 13a5ba1..3bc7b56 100644
--- a/core/clang/config.mk
+++ b/core/clang/config.mk
@@ -49,6 +49,11 @@ CLANG_CONFIG_EXTRA_CFLAGS += \
CLANG_CONFIG_EXTRA_CFLAGS += \
-Wno-reserved-id-macro
+# Disable overly aggressive warning for format strings.
+# Bug: 20148343
+CLANG_CONFIG_EXTRA_CFLAGS += \
+ -Wno-format-pedantic
+
# Workaround for ccache with clang.
# See http://petereisentraut.blogspot.com/2011/05/ccache-and-clang.html.
CLANG_CONFIG_EXTRA_CFLAGS += \