public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/48396] New: Undeclared library types accepted in namespace std
@ 2011-03-31 23:33 paolo.carlini at oracle dot com
  2012-04-12 12:25 ` [Bug c++/48396] " redi at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: paolo.carlini at oracle dot com @ 2011-03-31 23:33 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: Undeclared library types accepted in namespace std
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: paolo.carlini@oracle.com


This sort of code - note, no includes - is wrongly accepted:

namespace std
{
  type_info* fun1();
  void fun2(type_info);
}


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

end of thread, other threads:[~2021-09-15  4:28 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-31 23:33 [Bug c++/48396] New: Undeclared library types accepted in namespace std paolo.carlini at oracle dot com
2012-04-12 12:25 ` [Bug c++/48396] " redi at gcc dot gnu.org
2021-03-05 10:09 ` [Bug c++/48396] std::type_info is implicitly declared redi at gcc dot gnu.org
2021-09-14 20:00 ` redi at gcc dot gnu.org
2021-09-14 20:05 ` redi at gcc dot gnu.org
2021-09-14 20:49 ` jason at gcc dot gnu.org
2021-09-15  4:27 ` cvs-commit at gcc dot gnu.org
2021-09-15  4:28 ` jason at gcc dot gnu.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).