public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "danglin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug regression/58603] New: [4.9 Regression] hash-table.h:962: error: anachronistic old-style base class initia Date: Thu, 03 Oct 2013 15:19:00 -0000 [thread overview] Message-ID: <bug-58603-4@http.gcc.gnu.org/bugzilla/> (raw) 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
next reply other threads:[~2013-10-03 15:19 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2013-10-03 15:19 danglin at gcc dot gnu.org [this message] 2013-10-03 15:37 ` [Bug regression/58603] " redi at gcc dot gnu.org 2013-10-03 16:46 ` dave.anglin at bell dot net 2013-10-03 16:47 ` danglin at gcc dot gnu.org 2013-10-03 17:08 ` danglin at gcc dot gnu.org 2013-10-04 21:05 ` dave.anglin at bell dot net 2013-10-05 8:38 ` rsandifo at gcc dot gnu.org 2013-10-10 11:41 ` [Bug target/58603] " rguenth at gcc dot gnu.org 2013-10-19 22:05 ` danglin at gcc dot gnu.org 2013-10-19 22:11 ` danglin at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-58603-4@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).