public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/19403] New: name lookup is broken
@ 2005-01-12 18:04 Woebbeking at web dot de
  2005-01-12 18:42 ` [Bug c++/19403] [4.0 Regression] name lookup is broken with friends pinskia at gcc dot gnu dot org
                   ` (19 more replies)
  0 siblings, 20 replies; 21+ messages in thread
From: Woebbeking at web dot de @ 2005-01-12 18:04 UTC (permalink / raw)
  To: gcc-bugs

Hi, 
 
the following code doesn't compile: 
 
struct A {}; 
 
namespace Boo 
{ 
struct B 
{ 
    friend struct A; 
 
    B(const A&) {}; 
}; 
} 
 
int main() 
{ 
    A a; 
    Boo::B b(a); 
    return 0; 
} 
 
It compiles with g++ < 4.0.

-- 
           Summary: name lookup is broken
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: Woebbeking at web dot de
                CC: gcc-bugs at gcc dot gnu dot org


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


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

end of thread, other threads:[~2005-06-23 15:47 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-12 18:04 [Bug c++/19403] New: name lookup is broken Woebbeking at web dot de
2005-01-12 18:42 ` [Bug c++/19403] [4.0 Regression] name lookup is broken with friends pinskia at gcc dot gnu dot org
2005-01-12 19:37 ` gdr at integrable-solutions dot net
2005-01-12 19:47 ` pinskia at gcc dot gnu dot org
2005-01-13  5:55 ` lerdsuwa at gcc dot gnu dot org
2005-01-13 10:08 ` Woebbeking at web dot de
2005-01-13 14:52 ` lerdsuwa at gcc dot gnu dot org
2005-01-14  9:56 ` Woebbeking at web dot de
2005-01-14 16:07 ` gdr at integrable-solutions dot net
2005-01-14 16:10 ` gdr at integrable-solutions dot net
2005-01-30 14:29 ` pinskia at gcc dot gnu dot org
2005-01-30 14:29 ` pinskia at gcc dot gnu dot org
2005-01-30 14:29 ` pinskia at gcc dot gnu dot org
2005-02-11 22:40 ` reichelt at gcc dot gnu dot org
2005-02-11 23:51 ` pinskia at gcc dot gnu dot org
2005-03-13 14:21 ` [Bug c++/19403] [4.0/4.1 " lerdsuwa at gcc dot gnu dot org
2005-03-14 14:40 ` lerdsuwa at gcc dot gnu dot org
2005-03-14 14:46 ` lerdsuwa at gcc dot gnu dot org
2005-04-23 20:38 ` pinskia at gcc dot gnu dot org
2005-04-26 13:23 ` pinskia at gcc dot gnu dot org
2005-06-23 15:47 ` 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).