Yoga: suppress warnings
Summary: There are two `yoga_defs.bzl` files... both need to be updated to suppress warnings Differential Revision: D33393056 fbshipit-source-id: 752416af5386fc0d519689b554d2d6629d186d88
This commit is contained in:
committed by
Facebook GitHub Bot
parent
acbffc8485
commit
bd95b3d243
@@ -50,6 +50,11 @@ CXX_LIBRARY_WHITELIST = [
|
||||
"//java:jni",
|
||||
]
|
||||
|
||||
SUPPRESSION_FLAGS = [
|
||||
"-Wno-error=enum-float-conversion",
|
||||
"-Wno-error=implicit-float-conversion",
|
||||
]
|
||||
|
||||
BASE_COMPILER_FLAGS = [
|
||||
"-fno-omit-frame-pointer",
|
||||
"-fexceptions",
|
||||
@@ -61,10 +66,7 @@ BASE_COMPILER_FLAGS = [
|
||||
"-O2",
|
||||
"-std=c++11",
|
||||
"-DYG_ENABLE_EVENTS",
|
||||
# Suppressions
|
||||
"-Wno-error=enum-float-conversion",
|
||||
"-Wno-error=implicit-float-conversion",
|
||||
]
|
||||
] + SUPPRESSION_FLAGS
|
||||
|
||||
LIBRARY_COMPILER_FLAGS = BASE_COMPILER_FLAGS + [
|
||||
"-fPIC",
|
||||
|
Reference in New Issue
Block a user