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
This commit is contained in:
Stephen Hines 2015-04-10 09:06:12 -07:00
parent 011a50e4e1
commit b992bfcf33
1 changed files with 5 additions and 0 deletions

View File

@ -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 += \