public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug c++/15821] New: Duplicate namespace alias within namespace rejected @ 2004-06-04 15:00 stephan dot bergmann at sun dot com 2004-06-04 15:09 ` [Bug c++/15821] [3.4 Regression] " pinskia at gcc dot gnu dot org 2004-06-04 15:44 ` bangerth at dealii dot org 0 siblings, 2 replies; 3+ messages in thread From: stephan dot bergmann at sun dot com @ 2004-06-04 15:00 UTC (permalink / raw) To: gcc-bugs The code namespace a {} namespace b { namespace c = a; namespace c = a; } fails for 3.4.0 ("declaration of 'namespace c = a;' conflicts with previous declaration 'namespace c = a;'"), but works for 3.3.3. The simpler code namespace a {} namespace c = a; namespace c = a; works for both 3.4.0 and 3.3.3. -- Summary: Duplicate namespace alias within namespace rejected Product: gcc Version: 3.4.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: stephan dot bergmann at sun dot com CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15821 ^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c++/15821] [3.4 Regression] Duplicate namespace alias within namespace rejected 2004-06-04 15:00 [Bug c++/15821] New: Duplicate namespace alias within namespace rejected stephan dot bergmann at sun dot com @ 2004-06-04 15:09 ` pinskia at gcc dot gnu dot org 2004-06-04 15:44 ` bangerth at dealii dot org 1 sibling, 0 replies; 3+ messages in thread From: pinskia at gcc dot gnu dot org @ 2004-06-04 15:09 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-06-04 15:09 ------- Confirmed, this is a regression, I do not know if this works in 3.4.1 but it does work in 3.5.0. -- What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |critical Status|UNCONFIRMED |NEW Ever Confirmed| |1 Keywords| |rejects-valid Known to fail| |3.4.0 Known to work| |3.5.0 3.3.3 Last reconfirmed|0000-00-00 00:00:00 |2004-06-04 15:09:13 date| | Summary|Duplicate namespace alias |[3.4 Regression] Duplicate |within namespace rejected |namespace alias within | |namespace rejected Target Milestone|--- |3.4.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15821 ^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c++/15821] [3.4 Regression] Duplicate namespace alias within namespace rejected 2004-06-04 15:00 [Bug c++/15821] New: Duplicate namespace alias within namespace rejected stephan dot bergmann at sun dot com 2004-06-04 15:09 ` [Bug c++/15821] [3.4 Regression] " pinskia at gcc dot gnu dot org @ 2004-06-04 15:44 ` bangerth at dealii dot org 1 sibling, 0 replies; 3+ messages in thread From: bangerth at dealii dot org @ 2004-06-04 15:44 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From bangerth at dealii dot org 2004-06-04 15:44 ------- Mark fixed this for 3.4.1 and mainline a few days ago. W. -- What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15821 ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-06-04 15:44 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2004-06-04 15:00 [Bug c++/15821] New: Duplicate namespace alias within namespace rejected stephan dot bergmann at sun dot com 2004-06-04 15:09 ` [Bug c++/15821] [3.4 Regression] " pinskia at gcc dot gnu dot org 2004-06-04 15:44 ` bangerth at dealii 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).