Hi,
this is unlikely a problem of RTT, but some of you might have an idea whats wrong here?
../../libs/middleware/segger_rtt/Syscalls/SEGGER_RTT_Syscalls_GCC.c:104:5: error: conflicting types for '_write_r'
int _write_r(struct _reent *r, int file, const void *ptr, int len) {
^
In file included from ../../libs/middleware/segger_rtt/Syscalls/SEGGER_RTT_Syscalls_GCC.c:46:0:
/usr/local/arm-none-eabi/include/reent.h:159:17: note: previous declaration of '_write_r' was here
extern _ssize_t _write_r _PARAMS ((struct _reent *, int, const void *, size_t));
it seems for me that my size_t != int. is this correct ?
any idea on how to fix this problem?
this is unlikely a problem of RTT, but some of you might have an idea whats wrong here?
../../libs/middleware/segger_rtt/Syscalls/SEGGER_RTT_Syscalls_GCC.c:104:5: error: conflicting types for '_write_r'
int _write_r(struct _reent *r, int file, const void *ptr, int len) {
^
In file included from ../../libs/middleware/segger_rtt/Syscalls/SEGGER_RTT_Syscalls_GCC.c:46:0:
/usr/local/arm-none-eabi/include/reent.h:159:17: note: previous declaration of '_write_r' was here
extern _ssize_t _write_r _PARAMS ((struct _reent *, int, const void *, size_t));
it seems for me that my size_t != int. is this correct ?
any idea on how to fix this problem?
The post was edited 2 times, last by pruesch ().