public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/17628] New: Error message gives inadequate info (quality of implementation)
@ 2004-09-23  7:13 igodard at pacbell dot net
  2004-09-23 11:59 ` [Bug c++/17628] " pinskia at gcc dot gnu dot org
  0 siblings, 1 reply; 2+ messages in thread
From: igodard at pacbell dot net @ 2004-09-23  7:13 UTC (permalink / raw)
  To: gcc-bugs

This is a quality of oomplementation issue, not a correctness issue:

class i;
namespace n{int i;};
using n::i;
int main() {return i;}

gets you:
~/ootbc/members/src$ c++ foo.cc
foo.cc:3: error: `i' is already declared in this scope

Which is somewhat annoying when the conflicting declaration is buried in an
include stack. The message should (as most such messages do) give the location
of the conflicting declaration.

-- 
           Summary: Error message gives inadequate info (quality of
                    implementation)
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: igodard at pacbell dot net
                CC: gcc-bugs at gcc dot gnu dot org


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


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

* [Bug c++/17628] Error message gives inadequate info (quality of implementation)
  2004-09-23  7:13 [Bug c++/17628] New: Error message gives inadequate info (quality of implementation) igodard at pacbell dot net
@ 2004-09-23 11:59 ` pinskia at gcc dot gnu dot org
  0 siblings, 0 replies; 2+ 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 -------
This is basically a dup of one of the oldest bug that is still open, PR 100.

*** This bug has been marked as a duplicate of 100 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


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


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

end of thread, other threads:[~2004-09-23 11:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-23  7:13 [Bug c++/17628] New: Error message gives inadequate info (quality of implementation) igodard at pacbell dot net
2004-09-23 11:59 ` [Bug c++/17628] " 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).