public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug regression/58603] New: [4.9 Regression] hash-table.h:962: error: anachronistic old-style base class initia
@ 2013-10-03 15:19 danglin at gcc dot gnu.org
2013-10-03 15:37 ` [Bug regression/58603] " redi at gcc dot gnu.org
` (8 more replies)
0 siblings, 9 replies; 10+ messages in thread
From: danglin at gcc dot gnu.org @ 2013-10-03 15:19 UTC (permalink / raw)
To: gcc-bugs
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
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug regression/58603] [4.9 Regression] hash-table.h:962: error: anachronistic old-style base class initia
2013-10-03 15:19 [Bug regression/58603] New: [4.9 Regression] hash-table.h:962: error: anachronistic old-style base class initia danglin at gcc dot gnu.org
@ 2013-10-03 15:37 ` redi at gcc dot gnu.org
2013-10-03 16:46 ` dave.anglin at bell dot net
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: redi at gcc dot gnu.org @ 2013-10-03 15:37 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58603
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
That error suggests that either slot_ or limit_ is defined as a macro somewhere
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug regression/58603] [4.9 Regression] hash-table.h:962: error: anachronistic old-style base class initia
2013-10-03 15:19 [Bug regression/58603] New: [4.9 Regression] hash-table.h:962: error: anachronistic old-style base class initia danglin at gcc dot gnu.org
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
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: dave.anglin at bell dot net @ 2013-10-03 16:46 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58603
--- Comment #2 from dave.anglin at bell dot net ---
On 10/3/2013 12:39 PM, John David Anglin wrote:
> Attached trans.ii.gz file.
Sorry, .ii is too big to upload.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug regression/58603] [4.9 Regression] hash-table.h:962: error: anachronistic old-style base class initia
2013-10-03 15:19 [Bug regression/58603] New: [4.9 Regression] hash-table.h:962: error: anachronistic old-style base class initia danglin at gcc dot gnu.org
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
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: danglin at gcc dot gnu.org @ 2013-10-03 16:47 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58603
--- Comment #3 from John David Anglin <danglin at gcc dot gnu.org> ---
Created attachment 30952
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30952&action=edit
Preprocessed source
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug regression/58603] [4.9 Regression] hash-table.h:962: error: anachronistic old-style base class initia
2013-10-03 15:19 [Bug regression/58603] New: [4.9 Regression] hash-table.h:962: error: anachronistic old-style base class initia danglin at gcc dot gnu.org
` (2 preceding siblings ...)
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
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: danglin at gcc dot gnu.org @ 2013-10-03 17:08 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58603
--- Comment #4 from John David Anglin <danglin at gcc dot gnu.org> ---
/usr/include/sys/sysmacros.h:#define m_slot(x) (int)((unsigned)(x)>>16&0xf)
Header is included.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug regression/58603] [4.9 Regression] hash-table.h:962: error: anachronistic old-style base class initia
2013-10-03 15:19 [Bug regression/58603] New: [4.9 Regression] hash-table.h:962: error: anachronistic old-style base class initia danglin at gcc dot gnu.org
` (3 preceding siblings ...)
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
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: dave.anglin at bell dot net @ 2013-10-04 21:05 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58603
--- Comment #5 from dave.anglin at bell dot net ---
KDE added a trailing underscore to work around this issue.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug regression/58603] [4.9 Regression] hash-table.h:962: error: anachronistic old-style base class initia
2013-10-03 15:19 [Bug regression/58603] New: [4.9 Regression] hash-table.h:962: error: anachronistic old-style base class initia danglin at gcc dot gnu.org
` (4 preceding siblings ...)
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
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: rsandifo at gcc dot gnu.org @ 2013-10-05 8:38 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58603
--- Comment #6 from rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> ---
(In reply to dave.anglin from comment #5)
> KDE added a trailing underscore to work around this issue.
Seems easier just to #undef m_slot for hpux in system.h.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/58603] [4.9 Regression] hash-table.h:962: error: anachronistic old-style base class initia
2013-10-03 15:19 [Bug regression/58603] New: [4.9 Regression] hash-table.h:962: error: anachronistic old-style base class initia danglin at gcc dot gnu.org
` (5 preceding siblings ...)
2013-10-05 8:38 ` rsandifo at gcc dot gnu.org
@ 2013-10-10 11:41 ` 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
8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-10-10 11:41 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58603
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|regression |target
Target Milestone|--- |4.9.0
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/58603] [4.9 Regression] hash-table.h:962: error: anachronistic old-style base class initia
2013-10-03 15:19 [Bug regression/58603] New: [4.9 Regression] hash-table.h:962: error: anachronistic old-style base class initia danglin at gcc dot gnu.org
` (6 preceding siblings ...)
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
8 siblings, 0 replies; 10+ messages in thread
From: danglin at gcc dot gnu.org @ 2013-10-19 22:05 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58603
--- Comment #7 from John David Anglin <danglin at gcc dot gnu.org> ---
Author: danglin
Date: Sat Oct 19 22:05:06 2013
New Revision: 203864
URL: http://gcc.gnu.org/viewcvs?rev=203864&root=gcc&view=rev
Log:
PR target/58603
* system.h: Undef m_slot.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/system.h
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/58603] [4.9 Regression] hash-table.h:962: error: anachronistic old-style base class initia
2013-10-03 15:19 [Bug regression/58603] New: [4.9 Regression] hash-table.h:962: error: anachronistic old-style base class initia danglin at gcc dot gnu.org
` (7 preceding siblings ...)
2013-10-19 22:05 ` danglin at gcc dot gnu.org
@ 2013-10-19 22:11 ` danglin at gcc dot gnu.org
8 siblings, 0 replies; 10+ messages in thread
From: danglin at gcc dot gnu.org @ 2013-10-19 22:11 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58603
John David Anglin <danglin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |FIXED
--- Comment #8 from John David Anglin <danglin at gcc dot gnu.org> ---
Fixed.
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2013-10-19 22:11 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-03 15:19 [Bug regression/58603] New: [4.9 Regression] hash-table.h:962: error: anachronistic old-style base class initia danglin at gcc dot gnu.org
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
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).