SPRING :: NOTE

[C]C4996 에러코드 'fopen': This function or variable may be unsafe. ... 본문

ERROR

[C]C4996 에러코드 'fopen': This function or variable may be unsafe. ...

RAYZIE 2016. 6. 8. 18:09
반응형

error C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.


해결 : 


It is a stressfull job moving from one version of VC++ to another without microsoft making is worse by adding:

C4996: 'itoa': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _itoa. See online help for details.

I have tried 

#pragma warning(disable : 4996)
#define _CRT_SECURE_NO_DEPRECATE
반응형
Comments