---

** [tickets:#315] compile failure under cygwin**

**Status:** new
**Milestone:** 0.11.0
**Created:** Fri Aug 20, 2021 12:04 PM UTC by benjamin
**Last Updated:** Fri Aug 20, 2021 12:04 PM UTC
**Owner:** nobody


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`
 
 
   


---

Sent from sourceforge.net because openocd-devel@lists.sourceforge.net is 
subscribed to https://sourceforge.net/p/openocd/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/openocd/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.


Reply via email to