Matthew Woehlke <[EMAIL PROTECTED]> wrote: > I got the following error (in gnulib) building coreutils 6.6 on HP-UX. > >> source='fts.c' object='fts.o' libtool=no \ >> DEPDIR=.deps depmode=hp /bin/sh ../build-aux/depcomp \ >> cc -I. -I/home/install/gnu/hp700_hpux/include -g -c fts.c >> cc: "fts.c", line 734: error 1654: Expression type is too large for switch >> expression. >> cc: "fts.c", line 736: error 1653: Case label too big for the type of the >> switch expression >> cc: "fts.c", line 739: error 1653: Case label too big for the type of the >> switch expression > > I'm suggesting the following patch (formed by hand, sorry if the line > numbers are off!):
Thanks for the report and patch. What version of HP-UX (and, if possible, the compiler) is that? It must be rather old. I know the existing code compiles fine with the compilers from HP-UX 11.11 and HP-UX 11.23.