-
Notifications
You must be signed in to change notification settings - Fork 653
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ERROR: ./../folly/portability/Malloc.h:27:12: error: unknown type name 'size_t' #39
Comments
It seems to be the related to #8 As described I added the #include <malloc.h>
#include <stddef.h> then make clean
autoreconf -ivf && ./configure && make && make install But I've got loc.cpp -fno-common -DPIC -o portability/.libs/Malloc.o
In file included from portability/Malloc.cpp:17:
portability/malloc.h:23:10: error: 'malloc.h' file not found with <angled> include; use "quotes" instead
#include <malloc.h>
^~~~~~~~~~
"malloc.h"
portability/malloc.h:28:12: error: unknown type name 'size_t'
extern "C" size_t malloc_usable_size(void* ptr);
^
2 errors generated.
make[4]: *** [portability/Malloc.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error |
So, #include "stddef.h"
#include "malloc.h" and this time it compiled! |
This appears to be a duplicate of #8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I came out with this error:
Reg:
MacOS X 10.10.5
Python 3.5.1
The text was updated successfully, but these errors were encountered: