unknown type name 'size_t'; did you mean '__gnu_cxx::size_t'? column: 70, line: 94
giuliomoro opened this issue · 4 comments
giuliomoro commented
When building a file that includes MFCC.h
.
size_t
requires an #include <stddef.h>
, or you can use std::size_t
instead.
adamstark commented
Ah, ok, thank you. Which platform is this on? I will likely add #include <stddef.h> as an include then
giuliomoro commented
I'd suggest std::size_t
(see my Pull Request).
That was on Debian Stretch, armv7, using clang++
3.9. Similar error (but less verbose) with g++
6.3.
adamstark commented
Ok, excellent - I have now updated this on the develop branch. I'm not sure when I'll next be doing a master version, but soon I hope.
rhaleblian commented
Hi, this came up in other source files when i was building them on Xenomai/Bela. I used using namespace std
to resolve it, but that is just a third way to approach it.