Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

Remove DisableSpecificWarnings suppressing C4996 for legacy APIs

Offen
#15,535 0 Kommentare 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

Maintainer antworten meist innerhalb von 2 Tagen

@iamAbhi-916 arbeitet bereits daran.

Seit 12.1.2026.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Beschreibung

enhancement

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
Vorherrschende Sprache
C++
Sterne
17.4k
Forks
1.2k
Ø Merge
2 T. 17 Std.
Gemergte PRs (30 T.)
13

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus microsoft/react-native-windows

Alle Issues in microsoft/react-native-windows

Ähnliche Issues

Weitere Issues zu C++

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.