Tim,
Should there not be a "#include <stddef.h>" line within hds.h?
When I create a file fred.c containing just the single line:
#include "star/hds.h"
and compile it using
gcc -c -I/star/include fred.c
I get
/star/include/star/hds.h:68: error: syntax error before "size_t"
/star/include/star/hds.h:126: error: syntax error before "size_t"
/star/include/star/hds.h:160: error: syntax error before "size_t"
/star/include/star/hds.h:212: error: syntax error before "size_t"
/star/include/star/hds.h:258: error: syntax error before "size_t"
/star/include/star/hds.h:405: error: syntax error before "size_t"
/star/include/star/hds.h:447: error: syntax error before "size_t"
/star/include/star/hds.h:821: error: syntax error before "size_t"
If I add
#include <stddef.h>
to the file the errors go away.
David
|