-
Notifications
You must be signed in to change notification settings - Fork 939
Open
Milestone
Description
Discussed in #1699
Originally posted by ozu95supein April 20, 2025
I was following the book of Raytracing in one Week. Whenever I am at the point of trying to implement stb image to read in the earth texture, I keep getting the error C4996 on Visual Studio 2022 Windows. It says getenv is deprecated:
'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
I've tried to use the define _CRT_SECURE_NO_WARNINGS. to see if I could ignore it, but it still gives me the same error. How do I solve this?
Metadata
Metadata
Assignees
Labels
No labels