From 2e1fa58ea58494b8504a1e132a7a53c459ea9fd4 Mon Sep 17 00:00:00 2001 From: Adam Ernst Date: Wed, 13 Apr 2022 10:04:19 -0700 Subject: [PATCH] Fix up more uses of Wno-error= Summary: This results in compiler warnings. At the scale of our builds, warnings are useless; no one feels empowered to fix thousands of noisy warnings, so they are just noise. Turn them off. Reviewed By: Daij-Djan, nlutsenko Differential Revision: D35579825 fbshipit-source-id: cffb7b4ae94299b78aec057e43e87e756efd2d63 --- tools/build_defs/oss/yoga_defs.bzl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/build_defs/oss/yoga_defs.bzl b/tools/build_defs/oss/yoga_defs.bzl index ab1fdd0e..2bf256eb 100644 --- a/tools/build_defs/oss/yoga_defs.bzl +++ b/tools/build_defs/oss/yoga_defs.bzl @@ -51,8 +51,8 @@ CXX_LIBRARY_WHITELIST = [ ] SUPPRESSION_FLAGS = [ - "-Wno-error=enum-float-conversion", - "-Wno-error=implicit-float-conversion", + "-Wno-enum-float-conversion", + "-Wno-implicit-float-conversion", ] BASE_COMPILER_FLAGS = [