[Bug c++/26785] extra qualification error gives line number of end of declaration

2008-08-06 Thread manu at gcc dot gnu dot org


--- Comment #4 from manu at gcc dot gnu dot org  2008-08-06 16:38 ---
Subject: Bug 26785

Author: manu
Date: Wed Aug  6 16:37:06 2008
New Revision: 138816

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=138816
Log:
2008-08-06  Manuel Lopez-Ibanez  [EMAIL PROTECTED]

PR 26785
* diagnostic.c (permerror_at): New.
* toplev.h (permerror_at): Declare.
cp/
* decl.c (grokdeclarator): Use explicit location with
permerror_at.
testsuite/
* g++.dg/warn/pr26785.C: New.

Added:
trunk/gcc/testsuite/g++.dg/warn/pr26785.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/decl.c
trunk/gcc/diagnostic.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/toplev.h


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26785



[Bug c++/26785] extra qualification error gives line number of end of declaration

2008-08-06 Thread manu at gcc dot gnu dot org


--- Comment #5 from manu at gcc dot gnu dot org  2008-08-06 16:42 ---
Fixed in GCC 4.4.


-- 

manu at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED
   Target Milestone|--- |4.4.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26785



[Bug c++/26785] extra qualification error gives line number of end of declaration

2006-10-16 Thread mueller at gcc dot gnu dot org


--- Comment #2 from mueller at gcc dot gnu dot org  2006-10-16 15:22 ---
ehm, this is the same with any warning/error message? why would this case be
special?


-- 

mueller at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||mueller at gcc dot gnu dot
   ||org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26785



[Bug c++/26785] extra qualification error gives line number of end of declaration

2006-10-16 Thread tbm at cyrius dot com


--- Comment #3 from tbm at cyrius dot com  2006-10-16 15:38 ---
(In reply to comment #2)
 ehm, this is the same with any warning/error message? why would this case be
 special?

I never noticed before, but it would still be nice to get this changed.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26785



[Bug c++/26785] extra qualification error gives line number of end of declaration

2006-03-21 Thread pinskia at gcc dot gnu dot org


--- Comment #1 from pinskia at gcc dot gnu dot org  2006-03-21 17:05 ---
This is the crazy parser getting the line number wrong.


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

   Keywords||diagnostic


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26785



[Bug c++/26785] extra qualification error gives line number of end of declaration

2006-03-21 Thread pinskia at gcc dot gnu dot org


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2006-03-21 17:06:09
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26785