Menu

#315 compile failure under cygwin

0.11.0
new
nobody
None
2021-08-20
2021-08-20
benjamin
No

When compiling under cygwin
(i'm using cygwin-devel v3.2.0-1)
macros in ctype.h intentionally cause warnings when passing a char instead of unsigned char

this causes compilation to fail in src/server/telnetserver.c and src/helper/log.c when using isspace and isprint.

solution:
cast arguments to isspace and isprint to int

Discussion


Log in to post a comment.