This is the mail archive of the 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]

Your latest change to gcc/cp/parse.y

Mark, I'm afraid your following patch broke egcs (resp. the repository).

  1998-08-26  Mark Mitchell  <>

        * cp-tree.h (finish_enum): Change prototype.
        * decl.c (finish_enum): Use TYPE_VALUES, rather than taking a
        VALUES parameter.  Don't try to compute mins/maxs if
        * parse.y (structsp): Use new calling sequence for finish_enum.

Bootstrapping egcs-CVS-maintrunk on i386-unknown-freebsd2.2.6, I get

  stage1/xgcc -Bstage1/ -c  -DIN_GCC    -W -Wall -O2 -O     -I. -I..
  -I/sw/swtest/egcs/SOURCETREE/egcs.main/gcc/cp/../config  \
    `echo /sw/swtest/egcs/SOURCETREE/egcs.main/gcc/cp/parse.c | sed
  parse.y: In function `yyparse':
  parse.y:2063: too many arguments to function `finish_enum'
  parse.y:2068: too many arguments to function `finish_enum'
  parse.y:2075: too many arguments to function `finish_enum'
  parse.y:2080: too many arguments to function `finish_enum'
  gmake[3]: *** [parse.o] Error 1
  gmake[3]: Leaving directory `/files/pfeifer/OBJ-2708-10:30/gcc/cp'

even after having removed gcc/cp/* and refetched it via CVS.

If believe (and have actually tested that locally) that the solution is
 touch gcc/cp/parse.y
  make something
and then installing the updated parse.c and parse.h files in the CVS

Gerald Pfeifer (Jerry)      Vienna University of Technology

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