The Arduino IDE probably provides a size_t but plain C++ does not. I think cppQueue.h should include stddef.h to be more self-contained.
I've noticed this problem when including cppQueue.h from a C++ source file instead of an .ino sketch. Compiling with the Arduino IDE gives the following error:
[library path omitted]src/cppQueue.h:37:2: error: 'size_t' does not name a type
size_t queue_sz; //!< Size of the full queue
^~~~~~
The Arduino IDE probably provides a size_t but plain C++ does not. I think cppQueue.h should include stddef.h to be more self-contained.
I've noticed this problem when including cppQueue.h from a C++ source file instead of an .ino sketch. Compiling with the Arduino IDE gives the following error: