error C4996: 'strupr': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _strupr. See online help for details.
error C4996: 'strupr': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _strupr. See online help for details.
error C4996: 'sopen': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _sopen. See online help for details.error C4996: 'stricmp': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _stricmp. See online help for details.

用VS2010好好的,在VS2015上编译就报一堆错。

 

在头文件尾部添加

#pragma warning(disable:4996)

报错消除

相关文章:

  • 2022-01-17
  • 2021-03-31
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-25
  • 2021-09-13
  • 2021-06-09
猜你喜欢
  • 2021-07-01
  • 2022-12-23
  • 2021-09-24
  • 2021-08-15
  • 2022-12-23
  • 2022-12-23
  • 2021-07-25
相关资源
相似解决方案