public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/2124: Misleading error message when name conflicts detected
@ 2002-07-04  8:05 lerdsuwa
  0 siblings, 0 replies; 2+ messages in thread
From: lerdsuwa @ 2002-07-04  8:05 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, nobody, stephen.webb

Synopsis: Misleading error message when name conflicts detected

State-Changed-From-To: analyzed->closed
State-Changed-By: lerdsuwa
State-Changed-When: Thu Jul  4 08:05:48 2002
State-Changed-Why:
    Fixed in GCC 3.1.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=2124


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

* c++/2124: Misleading error message when name conflicts detected
@ 2001-04-01  0:00 stephen.webb
  0 siblings, 0 replies; 2+ messages in thread
From: stephen.webb @ 2001-04-01  0:00 UTC (permalink / raw)
  To: gcc-gnats

>Number:         2124
>Category:       c++
>Synopsis:       Misleading error message when name conflicts detected
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 28 06:36:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     stephen.webb@cybersafe.com
>Release:        gcc version 3.0 20010219 (prerelease)
>Organization:
>Environment:

>Description:
The following code fragment

// ...begin pig.cpp ...
typedef int T;
namespace A { typedef int T; }
using A::T;
// ... end pig.cpp ...

compiled with "gcc -c pig.cpp" gives the following error message.

pig.cpp:3: using directive `T' introduced ambiguous type `T'

This is incorrect, since there are no using directives in scope.
The error message should read 'using declaration' instead.
>How-To-Repeat:
See description.
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


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

end of thread, other threads:[~2002-07-04 15:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-04  8:05 c++/2124: Misleading error message when name conflicts detected lerdsuwa
  -- strict thread matches above, loose matches on Subject: below --
2001-04-01  0:00 stephen.webb

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).