This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug regression/58603] New: [4.9 Regression] hash-table.h:962: error: anachronistic old-style base class initia
- From: "danglin at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 03 Oct 2013 15:19:25 +0000
- Subject: [Bug regression/58603] New: [4.9 Regression] hash-table.h:962: error: anachronistic old-style base class initia
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58603
Bug ID: 58603
Summary: [4.9 Regression] hash-table.h:962: error:
anachronistic old-style base class initia
Product: gcc
Version: 4.9.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: regression
Assignee: unassigned at gcc dot gnu.org
Reporter: danglin at gcc dot gnu.org
Host: hppa2.0w-hp-hpux11.11
Target: hppa2.0w-hp-hpux11.11
Build: hppa2.0w-hp-hpux11.11
In stage1 with gcc 4.4.7, build fails:
g++ -c -g -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables
-W -Wall -Wwrite-strings -Wcast-qual -mdisable-indexing
-Wmissing-format-attribute -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings -DHAVE_CONFIG_H -I.. -I. -Iada -I../../gcc/gcc
-I../../gcc/gcc/ada -I../../gcc/gcc/../include
-I../../gcc/gcc/../libcpp/include -I/opt/gnu/gcc/gmp/include
-I../../gcc/gcc/../libdecnumber -I../../gcc/gcc/../libdecnumber/dpd
-I../libdecnumber -I../../gcc/gcc/../libbacktrace
../../gcc/gcc/ada/gcc-interface/trans.c -o ada/trans.o
In file included from ../../gcc/gcc/gimple.h:26,
from ../../gcc/gcc/ada/gcc-interface/trans.c:36:
../../gcc/gcc/hash-table.h: In constructor 'hash_table<Descriptor,
Allocator>::iterator::iterator()':
../../gcc/gcc/hash-table.h:962: error: anachronistic old-style base class
initializer
../../gcc/gcc/hash-table.h:962: error: unnamed initializer for
'hash_table<Descriptor, Allocator>::iterator', which has no base classes
../../gcc/gcc/hash-table.h:962: error: expected primary-expression before 'int'
../../gcc/gcc/hash-table.h:962: error: expected '{' before '(' token
../../gcc/gcc/hash-table.h: At global scope:
../../gcc/gcc/hash-table.h:962: error: expected unqualified-id before
'unsigned'
../../gcc/gcc/hash-table.h:962: error: expected ')' before 'unsigned'
../../gcc/gcc/hash-table.h:962: error: expected ')' before 'unsigned'
../../gcc/gcc/hash-table.h: In constructor 'hash_table<Descriptor,
Allocator>::iterator::iterator(typename Descriptor::value_type**, typename
Descriptor::value_type**)':
../../gcc/gcc/hash-table.h:973: error: anachronistic old-style base class
initializer
../../gcc/gcc/hash-table.h:973: error: unnamed initializer for
'hash_table<Descriptor, Allocator>::iterator', which has no base classes
../../gcc/gcc/hash-table.h:973: error: expected primary-expression before 'int'
../../gcc/gcc/hash-table.h:973: error: expected '{' before '(' token
../../gcc/gcc/hash-table.h: At global scope:
../../gcc/gcc/hash-table.h:973: error: expected unqualified-id before
'unsigned'
../../gcc/gcc/hash-table.h:973: error: expected ')' before 'unsigned'
../../gcc/gcc/hash-table.h:973: error: expected ')' before 'unsigned'
make[3]: *** [ada/trans.o] Error 1