From cee63397bf74c504afe465778d7dbb5ae172ce75 Mon Sep 17 00:00:00 2001 From: Nicola Corti Date: Mon, 3 Mar 2025 06:52:22 -0800 Subject: [PATCH] Remove unnecessary -Wno-error=cpp (#49746) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49746 This flag is no longer necessary since RN 0.73 so I'm cleaning it up. Changelog: [Internal] [Changed] - Reviewed By: rshest Differential Revision: D70386741 fbshipit-source-id: c2c8f998fa7b97985396b26345cfcf3474effc7b --- .../ReactAndroid/cmake-utils/ReactNative-application.cmake | 5 ----- 1 file changed, 5 deletions(-) diff --git a/packages/react-native/ReactAndroid/cmake-utils/ReactNative-application.cmake b/packages/react-native/ReactAndroid/cmake-utils/ReactNative-application.cmake index c29cfe392ab..270405a8579 100644 --- a/packages/react-native/ReactAndroid/cmake-utils/ReactNative-application.cmake +++ b/packages/react-native/ReactAndroid/cmake-utils/ReactNative-application.cmake @@ -64,11 +64,6 @@ target_compile_options(${CMAKE_PROJECT_NAME} PRIVATE -Wall -Werror - # We suppress cpp #error and #warning to don't fail the build - # due to use migrating away from - # #include - # This can be removed for React Native 0.73 - -Wno-error=cpp -fexceptions -frtti -std=c++20