Compiling wolfssl_chibios.c In file included from ../../../ext/wolfssl/wolfssl/wolfcrypt/types.h:28:0, from ../../../os/various/wolfssl_bindings/wolfssl_chibios.h:42, from ../../../os/various/wolfssl_bindings/wolfssl_chibios.c:41: ../../../ext/wolfssl/wolfssl/wolfcrypt/wc_port.h:442:18: error: conflicting types for 'time_t' typedef long time_t; ^~~~~~ In file included from /Users/ych/projects/dev/gcc-arm-none-eabi-7-2017-q4-major/arm-none-eabi/include/sys/select.h:26:0, from /Users/ych/projects/dev/gcc-arm-none-eabi-7-2017-q4-major/arm-none-eabi/include/sys/types.h:68, from /Users/ych/projects/dev/gcc-arm-none-eabi-7-2017-q4-major/arm-none-eabi/include/time.h:28, from ../../../ext/wolfssl/wolfssl/wolfcrypt/wc_port.h:399, from ../../../ext/wolfssl/wolfssl/wolfcrypt/types.h:28, from ../../../os/various/wolfssl_bindings/wolfssl_chibios.h:42, from ../../../os/various/wolfssl_bindings/wolfssl_chibios.c:41: /Users/ych/projects/dev/gcc-arm-none-eabi-7-2017-q4-major/arm-none-eabi/include/sys/_timeval.h:40:18: note: previous declaration of 'time_t' was here typedef _TIME_T_ time_t; ^~~~~~ make[1]: *** [build-stm32f746_discovery/obj/wolfssl_chibios.o] Error 1 make: *** [all] Error 2
$ arm-none-eabi-gcc --version arm-none-eabi-gcc (GNU Tools for Arm Embedded Processors 7-2017-q4-major) 7.2.1 20170904 (release) [ARM/embedded-7-branch revision 255204] Copyright (C) 2017 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Is it bad? It seems everything except this compiles and works without any problem.