zephyr/lib/libc
Kumar Gala 0e43b8861b libc: fix armclang compiler warnings with is*() functions
We get compile warnings of the form:

error: converting the result of
'<<' to a boolean; did you mean
'((__aeabi_ctype_table_ + 1)[(byte)] << 28) != 0'?
 [-Werror,-Wint-in-bool-context]
                if (!isprint(byte)) {
                     ^

Since isprint (and the other is* functions) return an int, change check
to an explicit test against the return value.

Signed-off-by: Kumar Gala <kumar.gala@intel.com>
2023-04-04 13:47:34 +02:00
..
arcmwdt
armstdc
common libc: share time() between minimal libc and armclang libc 2023-03-27 09:49:40 +02:00
minimal libc: fix armclang compiler warnings with is*() functions 2023-04-04 13:47:34 +02:00
newlib libc: minimal: include: move sys/stat.h to posix 2023-01-10 09:02:21 +09:00
picolibc libc/picolibc: Clean up Picolibc Kconfig for C++ 2023-01-20 09:03:25 +01:00
CMakeLists.txt libc: share time() between minimal libc and armclang libc 2023-03-27 09:49:40 +02:00
Kconfig libc: share time() between minimal libc and armclang libc 2023-03-27 09:49:40 +02:00