error C4996: 'ctime': This function or variable may be unsafe

后端 未结 5 1093
灰色年华
灰色年华 2020-12-09 21:45

I have a large project about static source code analysis, and everything compiles successfully, except for one thing. I have provided the error message in the title. The poi

5条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-09 22:19

    Yes, it should be just warning, not an error. To get a simple warning instead of an error, disable SDL check in VS project (in Configuration Properties -> C/C++ -> General tab).

提交回复
热议问题