[note that I've redirected to the coreutils mailing list]

Thank you for the report.
However, I suspect that there's a problem with gcc's
header files on your system.  stddef.h should define size_t.

Here's a little test you can run.
It creates a 2-line file and tries to compile it,
first with gcc, then with cc.  Both should work.

cat <<EOF > k.c
#include <stddef.h>
size_t n;
EOF
gcc -c k.c
cc -c k.c

Jerome Zago <[EMAIL PROTECTED]> wrote:
> -----
> [EMAIL PROTECTED]:~/src/orig/coreutils-4.5.12$ ./configure
> [see configure.trace attachment...]
>
> [EMAIL PROTECTED]:~/src/orig/coreutils-4.5.12$ make
> [see make.trace attachment...]
> if gcc -DLIBDIR=\"/usr/local/lib\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.    -g -O2 
> -MT full-read.o -MD -MP -MF ".deps/full-read.Tpo" \
> -c -o full-read.o `test -f 'full-read.c' || echo './'`full-read.c; \
> then mv ".deps/full-read.Tpo" ".deps/full-read.Po"; \
> else rm -f ".deps/full-read.Tpo"; exit 1; \
> fi
> In file included from full-write.c:29,
>                  from full-read.c:19:
> full-read.h:24: parse error before "full_read"
> full-read.h:24: parse error before "size_t"


_______________________________________________
Bug-coreutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to