On Jul 17, 2008, at 3:14 AM, Peter W. Draper wrote:
>
> One thought occurred to me about GCC crashing, it does have a flag -
> pthread(s) that is used on some platforms for compiling, so I've had
> a quick look at that area again. Anyway I now think we should be
> defining -D_REENTRANT when compiling. This supposedly makes any
> references to errno protected and I can see some naked references to
> that in AST (object.c, axis.c, channel.c, mathmap.c). Worth a try.
>
AST also uses strerror instead of strerror_r and strtok instead of
strtok_r.
--
Tim Jenness
Joint Astronomy Centre
|