From 6fbbc4cdfa9efdbcb3171346d41b0f61a58d08b0 Mon Sep 17 00:00:00 2001 From: Pirama Arumuga Nainar Date: Tue, 28 Jun 2016 16:07:53 -0700 Subject: [PATCH] Disable warnings triggered in Clang r271374 http://b/28149048 http://b/29823425 Disable -Wvarargs that gets triggered in system/core/debuggerd/test/ptrace_fake.cpp:ptrace_fake. The second bug above tracks that this warning gets re-enabled. Test: Tested build, boot and common usage for Arm, Arm64, x86, x86_64, Mips images in AOSP and internal branch. Change-Id: Ife68675a77431bcc4717b4da297c14dc486d1413 --- debuggerd/Android.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/debuggerd/Android.mk b/debuggerd/Android.mk index 19c729824..fdedb767e 100644 --- a/debuggerd/Android.mk +++ b/debuggerd/Android.mk @@ -130,6 +130,9 @@ debuggerd_cpp_flags := \ -Wno-missing-field-initializers \ -fno-rtti \ +# Bug: http://b/29823425 Disable -Wvarargs for Clang update to r271374 +debuggerd_cpp_flags += -Wno-varargs + # Only build the host tests on linux. ifeq ($(HOST_OS),linux)