This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: PATCH to libiberty: size_t portability



  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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]