Jens Olav Nygaard wrote:

...

../../gcc-4.0.1/gcc/config/host-linux.c: In function `linux_gt_pch_use_address': ../../gcc-4.0.1/gcc/config/host-linux.c:202: `SSIZE_MAX' undeclared (first use in this function) ../../gcc-4.0.1/gcc/config/host-linux.c:202: (Each undeclared identifier is reported only once ../../gcc-4.0.1/gcc/config/host-linux.c:202: for each function it appears in.)
...

Just for the record, replacing the line

     nbytes = read (fd, base, MIN (size, SSIZE_MAX));

with

     nbytes = read (fd, base, MIN (size, INTTYPE_MAXIMUM(ssize_t)));

seems to do the trick. If anybody thinks this looks fishy, speak up,
please... :-)

J.O.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to