Issue description
conflicting declaration 'typedef struct ringbuf_t * ringbuf_t;
32 typedef struct ringbuf_t *ringbuf_t
^~~~~~
note: previous declaration as 'struct ringbuf_t'
32 typedef struct ringbuf_t *ringbuf_t
^~~~~~~
Steps to reproduce
Technical details
Hi, thanks for this elegant lib.
Just trying to use this in an ESP8266 arduino project. The above definition is preventing compilation.
It seems that it does like types to use the same name as the struct it is pointing to, I tried to change the type name, things seems to start to work, but it's really messy. Could you shed some light on how to fix this? Not sure if this is related, I can see -std=gnu++17 flag in detailed compile log.
Regards
Issue description
Steps to reproduce
Technical details
Hi, thanks for this elegant lib.
Just trying to use this in an ESP8266 arduino project. The above definition is preventing compilation.
It seems that it does like types to use the same name as the struct it is pointing to, I tried to change the type name, things seems to start to work, but it's really messy. Could you shed some light on how to fix this? Not sure if this is related, I can see -std=gnu++17 flag in detailed compile log.
Regards