Skip to content

Nnmake fails to build #1685

@LeonarddeR

Description

@LeonarddeR

@bertfrees / @egli this might be a last minute showstopper for the release.
When trying to build liblouis using clang in msvc, I"m getting the following error:

include\liblouis\liblouis\metadata.c(242,9): error: call to undeclared library function 'strncasecmp' with type 'int
      (const char *, const char *, unsigned int)'; ISO C99 and later do not support implicit function declarations
      [-Wimplicit-function-declaration]
  242 |         return strncasecmp("language", key, len) == 0 ||
      |                ^
include\liblouis\liblouis\metadata.c(242,9): note: include the header <strings.h> or explicitly provide a declaration
      for 'strncasecmp'

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugBug in the code (not in a table)windowsRelated to Microsoft Windows

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions