79368447

Date: 2025-01-19 05:07:10
Score: 2
Natty:
Report link

I just followed the suggestions provided by the compiler and changed the names in the files: e.g. isatty to _isatty. I was working with the zlib project (1.3.1) and using VS2022. The compiler reported it as an error 4996. After adding the underscores to the names, the code compiled without errors. It wasn't that much work--about 3 minutes to change about 7 or so files. And now, regards to the suggestion of the compiler, I should have better code. Was using MBCS, since that's been the default for the zlib project for quite some time.

Seems like linux open source projects tend to ignore code beneficial to Microsoft OS and focus more on just getting their code to compile and run rather than updating their code to make it more secure and compatible with current coding practices.

Reasons:
  • Blacklisted phrase (1): regards
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Henry Garcia