I think this issue is related to g++ 4.6 because it doesn't seem to repro with
g++ 4.5. I have checked a fix into the Subversion repository. In the meantime,
you can work around it by adding these lines to the header files that the
compiler complains about:
include <sys types.h=""></sys>
include<cstddef></cstddef>
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
umask 0;g++ -Wall -g -D_DEBUG -c GBayesianNetwork.cpp -o
../../obj/GClasses/dbg/GBayesianNetwork.o
In file included from GBayesianNetwork.cpp:13:0:
GRand.h:60:2: error: ‘size_t’ does not name a type
GRand.h:118:34: error: ‘size_t’ has not been declared
GRand.h:121:41: error: ‘size_t’ has not been declared
GRand.h:124:32: error: ‘size_t’ has not been declared
make: *** Error 1
make: Leaving directory `/home/will/Downloads/waffles/src/GClasses'
make: *** Error 2
any ideas?
I think this issue is related to g++ 4.6 because it doesn't seem to repro with
g++ 4.5. I have checked a fix into the Subversion repository. In the meantime,
you can work around it by adding these lines to the header files that the
compiler complains about:
include <sys types.h=""></sys>
include<cstddef></cstddef>