forked from openkylin/platform_build
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:
parent
011a50e4e1
commit
b992bfcf33
|
@ -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 += \
|
||||
|
|
Loading…
Reference in New Issue