public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/8280] friend declaration introduces class name into namespace scope
       [not found] <20021018165600.8280.dbaron@fas.harvard.edu>
@ 2003-08-30 14:26 ` pinskia at gcc dot gnu dot org
  2003-12-18  0:17 ` bernie at develer dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-08-30 14:26 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2003-08-24 17:25:46         |2003-08-30 14:26:32
               date|                            |


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-08-30 01:37 -------
I think this is a dup of bug 1026 or at least related to that bug.
------- Additional Comments From pinskia at gcc dot gnu dot org  2003-08-30 01:39 -------
I think this is a dup of bug 1016 or at least related to that bug.
(readding as I got the bug number wrong and bugzilla caused an interal error).


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

* [Bug c++/8280] friend declaration introduces class name into namespace scope
       [not found] <20021018165600.8280.dbaron@fas.harvard.edu>
  2003-08-30 14:26 ` [Bug c++/8280] friend declaration introduces class name into namespace scope pinskia at gcc dot gnu dot org
@ 2003-12-18  0:17 ` bernie at develer dot com
  2003-12-19  5:43 ` pinskia at gcc dot gnu dot org
  2003-12-28  4:36 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 4+ messages in thread
From: bernie at develer dot com @ 2003-12-18  0:17 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bernie at develer dot com  2003-12-17 23:07 -------
This does _not_ seem a duplicate of PR1016 to me. 
In this case GCC is too permissive in a way that 
doesn't concern namespaces. 
 
Here's a testcase that should fail but doesn't: 
 
class Foo 
{ 
    // No prototype for bar() ever given 
    friend void bar(int); 
}; 
 
void some_function() 
{ 
    bar(10); // No error for undeclared function! 
} 
 

-- 


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


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

* [Bug c++/8280] friend declaration introduces class name into namespace scope
       [not found] <20021018165600.8280.dbaron@fas.harvard.edu>
  2003-08-30 14:26 ` [Bug c++/8280] friend declaration introduces class name into namespace scope pinskia at gcc dot gnu dot org
  2003-12-18  0:17 ` bernie at develer dot com
@ 2003-12-19  5:43 ` pinskia at gcc dot gnu dot org
  2003-12-28  4:36 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-19  5:43 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-12-19 05:25 -------
Okay then it is related more to bug 7874.

-- 


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


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

* [Bug c++/8280] friend declaration introduces class name into namespace scope
       [not found] <20021018165600.8280.dbaron@fas.harvard.edu>
                   ` (2 preceding siblings ...)
  2003-12-19  5:43 ` pinskia at gcc dot gnu dot org
@ 2003-12-28  4:36 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-28  4:36 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-12-28 04:31 -------
This is a dup of bug 7874.

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

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


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


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

end of thread, other threads:[~2003-12-28  4:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20021018165600.8280.dbaron@fas.harvard.edu>
2003-08-30 14:26 ` [Bug c++/8280] friend declaration introduces class name into namespace scope pinskia at gcc dot gnu dot org
2003-12-18  0:17 ` bernie at develer dot com
2003-12-19  5:43 ` pinskia at gcc dot gnu dot org
2003-12-28  4:36 ` 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).