[Bug bootstrap/61679] New: build fails with G++ 4.5.1 - prototype for hash_table does not match any in class

gary at intrepid dot com gcc-bugzilla@gcc.gnu.org
Wed Jul 2 23:00:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61679

            Bug ID: 61679
           Summary: build fails with G++ 4.5.1 - prototype for hash_table
                    does not match any in class
           Product: gcc
           Version: 4.10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gary at intrepid dot com

This build failure shows up on a recent source version of GCC 4.10 (212138
2014-06-30).  An attempt to bootstrap the compiler on an older system with GCC
4.5.1 installed fails as follows:

/a/gcc-4.5.1/bld/rls/bin/g++ -c  -DIN_GCC_FRONTEND -DIN_GCC_FRONTEND
-DIN_GCC_FRONTEND -O0 -g3 -DIN_GCC    -fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wwrite-strings -Wcast-qual
-Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings -fno-common  -DHAVE_CONFIG_H -I.
-I. -I/eng/upc/dev/gary/gupc-gcc-trunk/src/gcc
-I/eng/upc/dev/gary/gupc-gcc-trunk/src/gcc/.
-I/eng/upc/dev/gary/gupc-gcc-trunk/src/gcc/../include
-I/eng/upc/dev/gary/gupc-gcc-trunk/src/gcc/../libcpp/include 
-I/eng/upc/dev/gary/gupc-gcc-trunk/src/gcc/../libdecnumber
-I/eng/upc/dev/gary/gupc-gcc-trunk/src/gcc/../libdecnumber/bid
-I../libdecnumber -I/eng/upc/dev/gary/gupc-gcc-trunk/src/gcc/../libbacktrace   
-o attribs.o -MT attribs.o -MMD -MP -MF ./.deps/attribs.TPo
/eng/upc/dev/gary/gupc-gcc-trunk/src/gcc/attribs.c
In file included from /eng/upc/dev/gary/gupc-gcc-trunk/src/gcc/attribs.c:35:0:
/eng/upc/dev/gary/gupc-gcc-trunk/src/gcc/hash-table.h:667:1: error: prototype
for ‘typename Descriptor::value_type** hash_table<Descriptor, Allocator,
false>::find_empty_slot_for_expand(hashval_t)’ does not match any in class
‘hash_table<Descriptor, Allocator, false>’
/eng/upc/dev/gary/gupc-gcc-trunk/src/gcc/hash-table.h:606:16: error: candidate
is: hash_table<Descriptor, Allocator, false>::value_type**
hash_table<Descriptor, Allocator, false>::find_empty_slot_for_expand(hashval_t)
/eng/upc/dev/gary/gupc-gcc-trunk/src/gcc/hash-table.h:807:1: error: prototype
for ‘typename Descriptor::value_type* hash_table<Descriptor, Allocator,
false>::find_with_hash(hash_table<Descriptor, Allocator, false>::compare_type*,
hashval_t)’ does not match any in class ‘hash_table<Descriptor, Allocator,
false>’
[...]


More information about the Gcc-bugs mailing list