You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When compiling using make I keep getting the error: ./src/common.h:56:147: error: ‘size_t’ has not been declared
But adding #include <stddef.h> or using std::size_t; to src/common.h fixes it, I think it's because stddef.h guarantees to define size_t in the global namespace, I am not sure why this error seems to trigger only in systems running Manjaro Linux though. In my case I'm running the Kernel 6.3.5.
The text was updated successfully, but these errors were encountered:
When compiling using
make
I keep getting the error:./src/common.h:56:147: error: ‘size_t’ has not been declared
But adding
#include <stddef.h>
orusing std::size_t;
tosrc/common.h
fixes it, I think it's becausestddef.h
guarantees to definesize_t
in the global namespace, I am not sure why this error seems to trigger only in systems running Manjaro Linux though. In my case I'm running the Kernel 6.3.5.The text was updated successfully, but these errors were encountered: