[parisc-linux] PATCH: build gcc/gcc/depedence.c w/HPUX ANSI C

John David Anglin dave@hiauly1.hia.nrc.ca
Thu, 31 Aug 2000 22:48:58 -0400 (EDT)


> Hi folks,
> I work on the parisc-linux port and was trying to build binutils/gcc
> on an HP-UX 11 system. HP-UX ansic didn't like enum direction_type[][]
> or int[][] constructs.  It complained with:
> cc: "/linux/pa32/gcc/gcc/dependence.c", line 199: error 1501: Only the first
> 	dimension of an array may be omitted.

I believe this was recently fixed in the mainline source:

2000-08-23  Alexandre Oliva  <aoliva@redhat.com>

        * dependence.c: Replace `[][]' with `[][MAX_SUBSCRIPTS]'.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)