public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/23639] New: [3.4/4.0/4.1 regression] Bad error message: not a member of '<declaration error>'
@ 2005-08-30 16:48 reichelt at gcc dot gnu dot org
2005-08-30 16:55 ` [Bug c++/23639] " reichelt at gcc dot gnu dot org
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-08-30 16:48 UTC (permalink / raw)
To: gcc-bugs
For a testcase like
template<int> struct A
{
enum { e = 0 };
};
int i = A<void>::e;
we get the following error:
error.cc:6: error: type/value mismatch at argument 1 in template parameter
list for 'template<int <anonymous> > struct A'
error.cc:6: error: expected a constant of type 'int', got 'void'
error.cc:6: error: 'e' is not a member of '<declaration error>'
The last line is not really helpful.
Patch will follow soon.
--
Summary: [3.4/4.0/4.1 regression] Bad error message: not a member
of '<declaration error>'
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Keywords: diagnostic
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: reichelt at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23639
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/23639] [3.4/4.0/4.1 regression] Bad error message: not a member of '<declaration error>'
2005-08-30 16:48 [Bug c++/23639] New: [3.4/4.0/4.1 regression] Bad error message: not a member of '<declaration error>' reichelt at gcc dot gnu dot org
@ 2005-08-30 16:55 ` reichelt at gcc dot gnu dot org
2005-08-30 21:19 ` pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-08-30 16:55 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |reichelt at gcc dot gnu dot
|dot org |org
URL| |http://gcc.gnu.org/ml/gcc-
| |patches/2005-
| |08/msg01765.html
Severity|normal |minor
Status|UNCONFIRMED |ASSIGNED
Keywords| |patch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23639
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/23639] [3.4/4.0/4.1 regression] Bad error message: not a member of '<declaration error>'
2005-08-30 16:48 [Bug c++/23639] New: [3.4/4.0/4.1 regression] Bad error message: not a member of '<declaration error>' reichelt at gcc dot gnu dot org
2005-08-30 16:55 ` [Bug c++/23639] " reichelt at gcc dot gnu dot org
@ 2005-08-30 21:19 ` pinskia at gcc dot gnu dot org
2005-08-31 8:48 ` cvs-commit at gcc dot gnu dot org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-30 21:19 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.0.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23639
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/23639] [3.4/4.0/4.1 regression] Bad error message: not a member of '<declaration error>'
2005-08-30 16:48 [Bug c++/23639] New: [3.4/4.0/4.1 regression] Bad error message: not a member of '<declaration error>' reichelt at gcc dot gnu dot org
2005-08-30 16:55 ` [Bug c++/23639] " reichelt at gcc dot gnu dot org
2005-08-30 21:19 ` pinskia at gcc dot gnu dot org
@ 2005-08-31 8:48 ` cvs-commit at gcc dot gnu dot org
2005-08-31 8:55 ` cvs-commit at gcc dot gnu dot org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-08-31 8:48 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-08-31 08:47 -------
Subject: Bug 23639
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: reichelt@gcc.gnu.org 2005-08-31 08:46:47
Modified files:
gcc/cp : ChangeLog semantics.c
gcc/testsuite : ChangeLog
gcc/testsuite/g++.dg/template: ttp5.C
Log message:
PR c++/23639
* semantics.c (qualified_name_lookup_error): Do not complain again
on invalid scope.
* g++.dg/template/ttp5.C: Adjust error markers.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.4863&r2=1.4864
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/semantics.c.diff?cvsroot=gcc&r1=1.482&r2=1.483
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.5984&r2=1.5985
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/template/ttp5.C.diff?cvsroot=gcc&r1=1.1&r2=1.2
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23639
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/23639] [3.4/4.0/4.1 regression] Bad error message: not a member of '<declaration error>'
2005-08-30 16:48 [Bug c++/23639] New: [3.4/4.0/4.1 regression] Bad error message: not a member of '<declaration error>' reichelt at gcc dot gnu dot org
` (2 preceding siblings ...)
2005-08-31 8:48 ` cvs-commit at gcc dot gnu dot org
@ 2005-08-31 8:55 ` cvs-commit at gcc dot gnu dot org
2005-08-31 8:58 ` cvs-commit at gcc dot gnu dot org
2005-08-31 9:01 ` reichelt at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-08-31 8:55 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-08-31 08:51 -------
Subject: Bug 23639
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-4_0-branch
Changes by: reichelt@gcc.gnu.org 2005-08-31 08:51:31
Modified files:
gcc/cp : ChangeLog semantics.c
gcc/testsuite : ChangeLog
gcc/testsuite/g++.dg/template: ttp5.C
Log message:
PR c++/23639
* semantics.c (qualified_name_lookup_error): Do not complain again
on invalid scope.
* g++.dg/template/ttp5.C: Adjust error markers.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.4648.2.86&r2=1.4648.2.87
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/semantics.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.463.2.5&r2=1.463.2.6
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.5084.2.362&r2=1.5084.2.363
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/template/ttp5.C.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.1&r2=1.1.82.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23639
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/23639] [3.4/4.0/4.1 regression] Bad error message: not a member of '<declaration error>'
2005-08-30 16:48 [Bug c++/23639] New: [3.4/4.0/4.1 regression] Bad error message: not a member of '<declaration error>' reichelt at gcc dot gnu dot org
` (3 preceding siblings ...)
2005-08-31 8:55 ` cvs-commit at gcc dot gnu dot org
@ 2005-08-31 8:58 ` cvs-commit at gcc dot gnu dot org
2005-08-31 9:01 ` reichelt at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-08-31 8:58 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-08-31 08:56 -------
Subject: Bug 23639
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_4-branch
Changes by: reichelt@gcc.gnu.org 2005-08-31 08:56:11
Modified files:
gcc/cp : ChangeLog semantics.c
gcc/testsuite : ChangeLog
gcc/testsuite/g++.dg/template: ttp5.C
Log message:
PR c++/23639
* semantics.c (qualified_name_lookup_error): Do not complain again
on invalid scope.
* g++.dg/template/ttp5.C: Adjust error markers.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.3892.2.229&r2=1.3892.2.230
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/semantics.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.381.4.18&r2=1.381.4.19
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.3389.2.421&r2=1.3389.2.422
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/template/ttp5.C.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.1&r2=1.1.22.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23639
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/23639] [3.4/4.0/4.1 regression] Bad error message: not a member of '<declaration error>'
2005-08-30 16:48 [Bug c++/23639] New: [3.4/4.0/4.1 regression] Bad error message: not a member of '<declaration error>' reichelt at gcc dot gnu dot org
` (4 preceding siblings ...)
2005-08-31 8:58 ` cvs-commit at gcc dot gnu dot org
@ 2005-08-31 9:01 ` reichelt at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-08-31 9:01 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From reichelt at gcc dot gnu dot org 2005-08-31 08:58 -------
Fixed on mainline, 4.0 branch, and 3.4 branch.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Target Milestone|4.0.2 |3.4.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23639
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2005-08-31 8:58 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-30 16:48 [Bug c++/23639] New: [3.4/4.0/4.1 regression] Bad error message: not a member of '<declaration error>' reichelt at gcc dot gnu dot org
2005-08-30 16:55 ` [Bug c++/23639] " reichelt at gcc dot gnu dot org
2005-08-30 21:19 ` pinskia at gcc dot gnu dot org
2005-08-31 8:48 ` cvs-commit at gcc dot gnu dot org
2005-08-31 8:55 ` cvs-commit at gcc dot gnu dot org
2005-08-31 8:58 ` cvs-commit at gcc dot gnu dot org
2005-08-31 9:01 ` reichelt at gcc dot gnu dot 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).