public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "widman at gimpel dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/26950] New: Error diagnostic not issued for unacceptable result of lookup for a name used in a nested-name-specifier Date: Thu, 30 Mar 2006 19:20:00 -0000 [thread overview] Message-ID: <bug-26950-10061@http.gcc.gnu.org/bugzilla/> (raw) The following should elicit an error during processing of e0's initializer: namespace N { const int a = 42; enum N { e0 = N::a }; } ... because 3.4.3p1 [basic.lookup.qual] indicates that the enumeration [tag] name N should be found during lookup in the nested-name-specifier and renders the program ill-formed. -- Summary: Error diagnostic not issued for unacceptable result of lookup for a name used in a nested-name-specifier Product: gcc Version: 4.0.1 Status: UNCONFIRMED Severity: minor Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: widman at gimpel dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26950
next reply other threads:[~2006-03-30 19:20 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2006-03-30 19:20 widman at gimpel dot com [this message] 2006-03-30 20:02 ` [Bug c++/26950] " pinskia at gcc dot gnu dot org 2006-03-30 21:06 ` widman at gimpel dot com 2006-03-30 23:31 ` widman at gimpel dot com 2006-03-31 5:36 ` widman at gimpel dot com 2008-02-10 14:09 ` manu at gcc dot gnu dot org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-26950-10061@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).