mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Prevent OSS build breakage due to unused-local-typedef (#43449)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/43449 Error: ``` react-native/packages/react-native/ReactCommon/react/renderer/uimanager/UIManagerBinding.cpp:162:5: error: unused typedef 'INVALID_REQUESTED_LOG_SEVERITY' [-Werror,-Wunused-local-typedef] LOG_EVERY_N(INFO, 10) << "instanceHandle is null, event of type " << type ^ react-native/packages/react-native/ReactAndroid/build/third-party-ndk/glog/exported/glog/logging.h:943:30: note: expanded from macro 'LOG_EVERY_N' INVALID_REQUESTED_LOG_SEVERITY); \ ^ 1 error generated. ninja: build stopped: subcommand failed. ``` This has been fixed upstream (https://github.com/google/glog/commit/8b3023f7e4ca46e0ecf5f660dd7340c79139bc34) but we're on an older glog version, so ignore the error. Changelog: [Internal] Reviewed By: fabriziocucci Differential Revision: D54811655 fbshipit-source-id: a00c23528d457ae365b0a27e680bb46afabb152f
This commit is contained in:
committed by
Facebook GitHub Bot
parent
3341ab7cc0
commit
9af98ccd71
@@ -12,6 +12,7 @@ add_compile_options(
|
||||
-std=c++20
|
||||
-Wall
|
||||
-Wpedantic
|
||||
-Wno-unused-local-typedef
|
||||
-DLOG_TAG=\"Fabric\")
|
||||
|
||||
file(GLOB react_render_uimanager_SRC CONFIGURE_DEPENDS *.cpp)
|
||||
|
||||
Reference in New Issue
Block a user