-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Build Error C4996 #12592
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I did not managed to install older VS 2022 17.7 Community version. Installing older versions seems to be supported only Pro and Enterprise. I remembered that i have somehow previously installed older VS versions but not managed now...so i have to continue with latest VS 2022 17.8.4 |
Hi @tero-paananen, I don't work on this project anymore but you are in good hands with @chrisglein's team :) |
Belief is that this was an issue that was fixed (warning looks familiar: #12411), but might not have been backported to 0.71 (it only made it to 0.72). Is it a requirement that you're on 0.71? Can you move to latest and get that fix? |
Latest (RNW 0.73.4) HelloWorld seems indeed not has this issue. I tested with this app:
I try to patch our current 0.71.x and continue with that still a while. I hope that patching only fmt (version & hash) would be enought. |
Finally fixed this with #13178 |
Problem Description
I installed RNW via install script https://microsoft.github.io/react-native-windows/docs/rnw-dependencies on my new Windows 11 device. Script installed latest VS 2022 17.8.x with MSVC latest (14.38.x) and that MSVC is the problem with error
I did not managed to get event simple hello world to build.
Now i try to install older VS 2022 17.7.x with older MSVC 14.37.x to get project build. Let see how it goes.
Any help from @asklar ? I found this issue #6918
Steps To Reproduce
Expected Results
No response
CLI version
npx react-native -v
Environment
( I had VS 2022 uninstalled when i ran info command )
Target Platform Version
None
Target Device(s)
Desktop
Visual Studio Version
Visual Studio 2022
Build Configuration
Debug
Snack, code example, screenshot, or link to a repository
No response
The text was updated successfully, but these errors were encountered: