The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name
运行项目报下面的错:
错误 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