Remove DisableSpecificWarnings suppressing C4996 for legacy APIs
Maintainer thường phản hồi trong vòng 2 ngày
@iamAbhi-916 đang làm issue này rồi.
Từ ngày 12/1/2026.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Ref : https://github.com/microsoft/react-native-windows/pull/15517
We're silencing the C4996 deprecation warnings because the deprecated headers are being pulled in transitively from upstream React Native's New Architecture code (react/runtime/ReactInstance.h → jsireact/JSIExecutor.h → legacy cxxreact headers.
it's upstream React Native that still includes these legacy headers. Until React Native completes their legacy removal, we can't fix these at the source.
RN use of legacy apis in 0.82, verify at ref : https://github.com/facebook/react-native/tree/9731e8ebc5ea87526a91b9903172639e062cd920/packages/react-native/ReactCommon/cxxreact
ReactCommon.vcxproj (Upstream RN cxxreact files)
- cxxreact/ReactMarker.cpp
- cxxreact/JSExecutor.cpp
- cxxreact/Instance.cpp
- cxxreact/NativeToJsBridge.cpp
- cxxreact/JSIndexedRAMBundle.cpp
- cxxreact/MethodCall.cpp
- cxxreact/RAMBundleRegistry.cpp
- cxxreact/ModuleRegistry.cpp
- jsiexecutor/jsireact/JSIExecutor.cpp
- jsiexecutor/jsireact/JSINativeModules.cpp
##Shared.vcxitems (RNW code with transitive dependencies)
- Microsoft.ReactNative/ReactCoreInjection.cpp
- Microsoft.ReactNative/ReactHost/CrashManager.cpp
- Microsoft.ReactNative/ReactHost/MsoReactContext.cpp
- Microsoft.ReactNative/ReactHost/ReactInstanceWin.cpp
- react/renderer/core/EventQueueProcessor.cpp (upstream)
- react/renderer/uimanager/UIManager.cpp (upstream)
- react/runtime/ReactInstance.cpp (upstream)
Test Projects
- Desktop.UnitTests/InstanceMocks.cpp
- IntegrationTests/TestModule.cpp
- Desktop.IntegrationTests/Modules/TestDevSettingsModule.cpp
- Desktop.IntegrationTests/Modules/TestImageLoaderModule.cp
- Ngôn ngữ chính
- C++
- Star
- 17.4k
- Fork
- 1.2k
- Merge trung bình
- 3 ngày 10 phút
- Pull request đã merge (30 ngày)
- 14
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của microsoft/react-native-windows
-
Fabric text is drawn with ClearType onto transparent composition surfaces, fringing thin glyphsĐang mởNeeds: Triage :mag:
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
microsoft/react-native-windows#16340 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
bug Needs: Triage :mag:
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
microsoft/react-native-windows#16321 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Single-line TextInput text is drawn below center and clipped on ARM64 (New Architecture)Có thể đã có người làm @ryfow đã nhận 1 ngày trước. Đang mởbug Needs: Triage :mag:
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 35/100
microsoft/react-native-windows#16481 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
bug Needs: Triage :mag:
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 48/100
microsoft/react-native-windows#16479 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Needs: Triage :mag:
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 30/100
microsoft/react-native-windows#16442 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
Tất cả issue của microsoft/react-native-windows
Issue tương tự
-
1 type: problem 2 scope: firmware 3 good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
SpaceTeam/STS1_COBC_SW#511 ·
-
documentation good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
imaaiagent/fumi#3 ·
-
A bare port in --modelserver does not reach the model serverCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
rocketride-org/rocketride-server#2618 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug format I/O medium priority rt_lib
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
refactor
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày