public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/100] confusing name lookup diagnostic
       [not found] <bug-100-797@http.gcc.gnu.org/bugzilla/>
@ 2005-10-25 15:01 ` pinskia at gcc dot gnu dot org
  0 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-25 15:01 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.1.0


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


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug c++/100] confusing name lookup diagnostic
       [not found] <20000312005600.100.martin@loewis.home.cs.tu-berlin.de>
                   ` (9 preceding siblings ...)
  2005-09-11  1:50 ` bangerth at dealii dot org
@ 2005-09-30  5:18 ` pinskia at gcc dot gnu dot org
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-30  5:18 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-09-30 05:18 -------
*** Bug 21731 has been marked as a duplicate of this bug. ***

-- 


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


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug c++/100] confusing name lookup diagnostic
       [not found] <20000312005600.100.martin@loewis.home.cs.tu-berlin.de>
                   ` (8 preceding siblings ...)
  2005-09-10 19:26 ` pinskia at gcc dot gnu dot org
@ 2005-09-11  1:50 ` bangerth at dealii dot org
  2005-09-30  5:18 ` pinskia at gcc dot gnu dot org
  10 siblings, 0 replies; 12+ messages in thread
From: bangerth at dealii dot org @ 2005-09-11  1:50 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bangerth at dealii dot org  2005-09-11 01:50 -------
This is good enough. The fact that the compiler says that a name is 
not declared when it is in fact ambiguous is treated in a number of 
other PRs. 
 
W. 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


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


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug c++/100] confusing name lookup diagnostic
       [not found] <20000312005600.100.martin@loewis.home.cs.tu-berlin.de>
                   ` (7 preceding siblings ...)
  2005-09-10  2:44 ` pinskia at gcc dot gnu dot org
@ 2005-09-10 19:26 ` pinskia at gcc dot gnu dot org
  2005-09-11  1:50 ` bangerth at dealii dot org
  2005-09-30  5:18 ` pinskia at gcc dot gnu dot org
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-10 19:26 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-09-10 19:26 -------
*** Bug 12582 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mckelvey at maskull dot com


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


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug c++/100] confusing name lookup diagnostic
       [not found] <20000312005600.100.martin@loewis.home.cs.tu-berlin.de>
                   ` (6 preceding siblings ...)
  2005-03-10 19:57 ` pinskia at gcc dot gnu dot org
@ 2005-09-10  2:44 ` pinskia at gcc dot gnu dot org
  2005-09-10 19:26 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-10  2:44 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 538 bytes --]


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-09-10 02:44 -------
Almost fixed in 4.1.0:
t.cc: In function ‘int main()’:
t.cc:15: error: use of ‘A’ is ambiguous
t.cc:2: error:   first declared as ‘class X::A’ here
t.cc:6: error:   also declared as ‘class Y::A’ here
t.cc:15: error: ‘A’ was not declared in this scope
t.cc:15: error: expected `;' before ‘a’


We should just chose one of the A's and then not say A was not declared in the scope.

-- 


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


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug c++/100] confusing name lookup diagnostic
       [not found] <20000312005600.100.martin@loewis.home.cs.tu-berlin.de>
                   ` (5 preceding siblings ...)
  2004-09-23 11:59 ` pinskia at gcc dot gnu dot org
@ 2005-03-10 19:57 ` pinskia at gcc dot gnu dot org
  2005-09-10  2:44 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-03-10 19:57 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-03-10 19:56 -------
*** Bug 20401 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |papadopo at shfj dot cea dot
                   |                            |fr


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


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug c++/100] confusing name lookup diagnostic
       [not found] <20000312005600.100.martin@loewis.home.cs.tu-berlin.de>
                   ` (4 preceding siblings ...)
  2004-06-01 15:13 ` bangerth at dealii dot org
@ 2004-09-23 11:59 ` pinskia at gcc dot gnu dot org
  2005-03-10 19:57 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-23 11:59 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-09-23 11:59 -------
*** Bug 17628 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |igodard at pacbell dot net


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


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug c++/100] confusing name lookup diagnostic
       [not found] <20000312005600.100.martin@loewis.home.cs.tu-berlin.de>
                   ` (3 preceding siblings ...)
  2004-04-28 12:38 ` giovannibajo at libero dot it
@ 2004-06-01 15:13 ` bangerth at dealii dot org
  2004-09-23 11:59 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bangerth at dealii dot org @ 2004-06-01 15:13 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bangerth at dealii dot org  2004-06-01 15:13 -------
*** Bug 15706 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |2boxers at comcast dot net


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


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug c++/100] confusing name lookup diagnostic
       [not found] <20000312005600.100.martin@loewis.home.cs.tu-berlin.de>
                   ` (2 preceding siblings ...)
  2004-04-28 12:04 ` pinskia at gcc dot gnu dot org
@ 2004-04-28 12:38 ` giovannibajo at libero dot it
  2004-06-01 15:13 ` bangerth at dealii dot org
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: giovannibajo at libero dot it @ 2004-04-28 12:38 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From giovannibajo at libero dot it  2004-04-28 11:41 -------
Another example which is surely more interesting (from PR 15188):

--------------------------
namespace X { 
    class A {}; 
} 
 
namespace Y { 
    class A {}; 
} 
 
using X::A; 
using namespace Y; 
 
 
int main() 
{ 
    A a; 
    return 0; 
} 
--------------------------


-- 


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


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug c++/100] confusing name lookup diagnostic
       [not found] <20000312005600.100.martin@loewis.home.cs.tu-berlin.de>
  2003-08-02 17:21 ` pinskia at physics dot uc dot edu
  2004-04-26 23:09 ` pinskia at gcc dot gnu dot org
@ 2004-04-28 12:04 ` pinskia at gcc dot gnu dot org
  2004-04-28 12:38 ` giovannibajo at libero dot it
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-04-28 12:04 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-04-28 11:30 -------
*** Bug 15188 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ghost at cs dot msu dot su


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


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug c++/100] confusing name lookup diagnostic
       [not found] <20000312005600.100.martin@loewis.home.cs.tu-berlin.de>
  2003-08-02 17:21 ` pinskia at physics dot uc dot edu
@ 2004-04-26 23:09 ` pinskia at gcc dot gnu dot org
  2004-04-28 12:04 ` pinskia at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-04-26 23:09 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-04-26 22:26 -------
Well too another error message now on the mainline:
pr100.cc: In function `void foo()':
pr100.cc:11: error: `X' was not declared in this scope
pr100.cc:11: error: expected `;' before "x"

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2003-12-26 02:39:43         |2004-04-26 22:26:27
               date|                            |


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


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug c++/100] confusing name lookup diagnostic
       [not found] <20000312005600.100.martin@loewis.home.cs.tu-berlin.de>
@ 2003-08-02 17:21 ` pinskia at physics dot uc dot edu
  2004-04-26 23:09 ` pinskia at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-08-02 17:21 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at physics dot uc dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2003-05-05 00:00:00         |2003-08-02 17:21:09
               date|                            |


------- Additional Comments From pinskia at physics dot uc dot edu  2003-08-02 17:21 -------
Now on the mainline (20030801), we are now back to the orginal error message:
pr100.cc: In function `void foo()':
pr100.cc:10: error: `X' undeclared (first use this function)
pr100.cc:10: error: (Each undeclared identifier is reported only once for each 
   function it appears in.)
pr100.cc:10: error: expected `;'


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2005-10-25 15:01 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-100-797@http.gcc.gnu.org/bugzilla/>
2005-10-25 15:01 ` [Bug c++/100] confusing name lookup diagnostic pinskia at gcc dot gnu dot org
     [not found] <20000312005600.100.martin@loewis.home.cs.tu-berlin.de>
2003-08-02 17:21 ` pinskia at physics dot uc dot edu
2004-04-26 23:09 ` pinskia at gcc dot gnu dot org
2004-04-28 12:04 ` pinskia at gcc dot gnu dot org
2004-04-28 12:38 ` giovannibajo at libero dot it
2004-06-01 15:13 ` bangerth at dealii dot org
2004-09-23 11:59 ` pinskia at gcc dot gnu dot org
2005-03-10 19:57 ` pinskia at gcc dot gnu dot org
2005-09-10  2:44 ` pinskia at gcc dot gnu dot org
2005-09-10 19:26 ` pinskia at gcc dot gnu dot org
2005-09-11  1:50 ` bangerth at dealii dot org
2005-09-30  5:18 ` pinskia 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).