This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: fixincl.x: Undeclared identifier SIZE_TYPE.
- To: Geoff Keating <geoffk at cygnus dot com>
- Subject: Re: fixincl.x: Undeclared identifier SIZE_TYPE.
- From: Bruce Korb <bkorb at sco dot COM>
- Date: Fri, 21 Jul 2000 14:09:48 -0700
- CC: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>, gcc-patches at gcc dot gnu dot org
- Organization: Santa Cruz Operations
- References: <200007211556.LAA29942@caip.rutgers.edu> <39788322.2137DAA9@sco.com> <jm7lafbaz8.fsf@envy.cygnus.com>
- Reply-To: Bruce Korb <bkorb at gnu dot org>
Geoff Keating wrote:
> SIZE_TYPE defaults to 'unsigned long' if it is not defined. The
> rs6000 port finds this definition acceptable. The fixincludes files
> don't seem to do the defaulting, so SIZE_TYPE is still not defined.
>
> --
> - Geoffrey Keating <geoffk@cygnus.com>
Add this to fixlib.h?
$ cvs diff fixlib.h
Index: fixlib.h
===================================================================
RCS file: /cvs/gcc/egcs/gcc/fixinc/fixlib.h,v
retrieving revision 1.15
diff -r1.15 fixlib.h
37a38,49
> #ifndef SIZE_TYPE
> #define SIZE_TYPE "unsigned long"
> #endif
>
> #ifndef PTRDIFF_TYPE
> #define PTRDIFF_TYPE "long"
> #endif
>
> #ifndef WCHAR_TYPE
> #define WCHAR_TYPE "int"
> #endif
>