freediag icon indicating copy to clipboard operation
freediag copied to clipboard

assert strcasecmp is present on win32 environments

Open gutenfries opened this issue 2 years ago • 1 comments

I recently went to compile and had to modify the source code (for private use, as permitted under the licensing) to compile.

My issue was that strcasecmp was not present on my system.

similar to #70, a simple assert in the win32.cppcheck file would help resolve this, as was done in the linux.cppcheck file.

gutenfries avatar Jul 07 '23 19:07 gutenfries

Can you elaborate ?

  • what is your system
  • what exactly failed

the CMakeLists has a check for strcasecmp , and diag.h has some fallback code that should work on all win32; assuming osx isn't broken enough to not have a viable alternative

fenugrec avatar Jul 08 '23 03:07 fenugrec