运行项目报下面的错:

错误    16    error C4996: 'fileno': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _fileno. See online help for details.    E:\c\bsdiff\bsdiff\dlltest.c    133    1    bsdiff

 

错误    19    error C4996: 'fileno': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _fileno. See online help for details.    E:\c\bsdiff\bsdiff\bzip2.c    369    1    bsdiff
 

 

解绝办法:

添加全局宏定义  _CRT_NONSTDC_NO_DEPRECATE 

The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name

相关文章:

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