Using 6.3 x86 self-hosted & gcc 3.3.1
If warnings are turned on and a program includes:
you get the following errors:
In file included from /usr/qnx630/target/qnx6/usr/include/arpa/inet.h:79,
size_t' not declared In file included from /usr/qnx630/target/qnx6/usr/include/strings.h:14, from ../communications_thread.cc:24: /usr/qnx630/target/qnx6/usr/include/string.h:87: error: syntax error before (’
/usr/qnx630/target/qnx6/usr/include/string.h:88: error: no type
/usr/qnx630/target/qnx6/usr/include/string.h:88: error: parse error before
)' token /usr/qnx630/target/qnx6/usr/include/string.h:89: error: no type size_t’ in
std' /usr/qnx630/target/qnx6/usr/include/string.h:89: error: parse error before)’
I believe that an include file should include anything that it is dependant on.
Can this be fixed?