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: fixincl.x: Undeclared identifier SIZE_TYPE.


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
>

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