From 589592cb7c03d02ee5191b7ca6c8b7b0ccc246c9 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Thu, 15 Mar 2018 13:52:22 -0700 Subject: [PATCH] Remove -Wno-uninitialized from libm Android.bp. We can turn on -Wall too, if we turn off const-unused-variable and unused-variable. Bug: N/A Test: builds Change-Id: I8d889ea0acd334fbacbf7e707bcc2d0be633e4d5 --- libm/Android.bp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libm/Android.bp b/libm/Android.bp index 76a469921..9d318faec 100644 --- a/libm/Android.bp +++ b/libm/Android.bp @@ -515,12 +515,14 @@ cc_library { "-D_BSD_SOURCE", "-DFLT_EVAL_METHOD=0", "-include freebsd-compat.h", + "-Wall", "-Werror", "-Wno-missing-braces", "-Wno-parentheses", "-Wno-sign-compare", - "-Wno-uninitialized", "-Wno-unknown-pragmas", + "-Wno-unused-const-variable", + "-Wno-unused-variable", ], include_dirs: ["bionic/libc"],