error C4996: 'strerror' when reading file #422
Labels
platform: visual studio
related to MSVC
solution: duplicate
the issue is a duplicate; refer to the linked issue instead
Hello (sorry for my english...),
I have an error when reading file,with this code :
std::ifstream i(fileName); nlohmann::json j; i >> j; std::cout << j;
here is the error message:
warning C4996: 'strerror': This function or variable may be unsafe. Consider using strerror_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
I'm on Visual Studio 2017, and to avoid this message i have to disable SDL Check, so compiler consider it as simple warning, but i think this issue should be revised
Many thanks in advance
The text was updated successfully, but these errors were encountered: