This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH to libiberty: size_t portability
- To: msokolov at ivan dot Harhan dot ORG (Michael Sokolov)
- Subject: Re: PATCH to libiberty: size_t portability
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Sun, 23 Jul 2000 09:58:54 -0600
- cc: gcc-patches at gcc dot gnu dot org
- Reply-To: law at cygnus dot com
In message <0007221640.AA03839@ivan.Harhan.ORG>you write:
> "Kaveh R. Ghazi" <ghazi@caip.rutgers.edu> wrote:
>
> > We include sys/types.h unconditionally in libiberty and
> > gcc/{t}system.h so we don't need the AC check for the header.
> >
> > Similarly, we don't use AC_TYPE_SIZE_T since sys/types.h universally
> > declares size_t on all systems (at least those encountered so far.)
> >
> > I would just include sys/types.h and nothing more.
>
> So how about this new patch then?
>
> --
> Michael Sokolov Harhan Engineering Laboratory
> Public Service Agent International Free Computing Task Force
> International Engineering and Science Task Force
> 615 N GOOD LATIMER EXPY STE #4
> DALLAS TX 75204-5852 USA
>
> Phone: +1-214-824-7693 (Harhan Eng Lab office)
> E-mail: msokolov@ivan.Harhan.ORG (ARPA TCP/SMTP) (UUCP coming soon)
>
> 2000-07-22 Michael Sokolov <msokolov@ivan.Harhan.ORG>
>
> * cp-demangle.c, mkstemps.c: #include <sys/types.h>.
Thanks. Installed.
jeff