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

(C++) cp/class.c:2665: too few arguments to function `build_vtable_entry


Mark,

is it possible that the bootstrap error I am seeing on FreeBSD 3.3 is
caused by the the following patch?

  2000-01-27  Mark Mitchell  <mark@codesourcery.com>

        * cp-tree.def (THUNK_DECL): Discuss vcall indices.
        * cp-tree.h (BINFO_VIRTUALS): Update documentation.
        (BF_DELTA): New macro.
        (BF_VCALL_INDEX): Likewise.
        (BF_FN): Likewise.
        (THUNK_VCALL_OFFSET): Likewise.
        (make_thunk): Change prototype.
        * class.c (build_vtable_entry): Integrate
        build_vtable_entry_for_fn.  Handle vcall indices.
        :

I have been using
  gmake bootstrap CFLAGS='-O' LIBCFLAGS='-g -O2' LIBCXXFLAGS='-g -O2'
as usual.

(The re-asserted stuff is also new, perhaps a side-effect of the cccp 
switch-over?)

Gerald

stage1/xgcc -Bstage1/ -B/sw/test/gcc/FreeBSD/i386-unknown-freebsdelf3.3/bin/ -c  -DIN_GCC    -W -Wall -Wtraditional -O2 -O  -W -Wall    -I. -I.. -I/sw/test/gcc/gcc/gcc/cp -I/sw/test/gcc/gcc/gcc/cp/.. -I/sw/test/gcc/gcc/gcc/cp/../config -I/sw/test/gcc/gcc/gcc/cp/../../include /sw/test/gcc/gcc/gcc/cp/class.c
/sw/test/gcc/gcc/gcc/cp/class.c:0: warning: `#cpu(i386)' re-asserted
/sw/test/gcc/gcc/gcc/cp/class.c:0: warning: `#machine(i386)' re-asserted
/sw/test/gcc/gcc/gcc/cp/class.c: In function `build_vtbl_initializer':
/sw/test/gcc/gcc/gcc/cp/class.c:2665: too few arguments to function `build_vtable_entry'
gmake[3]: *** [class.o] Error 1
gmake[3]: Leaving directory `/files1/pfeifer/OBJ-2901-13:57/gcc/cp'


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