public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/26153]  New: incorrect namespace for C standard library headers.
@ 2006-02-07 11:29 pluto at agmk dot net
  2006-02-07 12:41 ` [Bug libstdc++/26153] " pinskia at gcc dot gnu dot org
  0 siblings, 1 reply; 2+ messages in thread
From: pluto at agmk dot net @ 2006-02-07 11:29 UTC (permalink / raw)
  To: gcc-bugs

the c++ versions of the c library header files provided with
the gcc don't put the c standard library names into the std namespace
as specified by the $17.4.1.2/4.

#include <cstdio>
int main() { printf("Hi\n"); }

sunstudio11 rejects this code, g++ accepts.


-- 
           Summary: incorrect namespace for C standard library headers.
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pluto at agmk dot net
 GCC build triplet: *-linux
  GCC host triplet: *-linux
GCC target triplet: *-linux


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


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

* [Bug libstdc++/26153] incorrect namespace for C standard library headers.
  2006-02-07 11:29 [Bug libstdc++/26153] New: incorrect namespace for C standard library headers pluto at agmk dot net
@ 2006-02-07 12:41 ` pinskia at gcc dot gnu dot org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-02-07 12:41 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2006-02-07 12:41 -------
This is a dup of bug 6257 (and there was some talk about this recently on the
mailing list that it might actually be ok that libstdc++ does this but I am not
sure).

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


-- 

pinskia at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2006-02-07 12:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-07 11:29 [Bug libstdc++/26153] New: incorrect namespace for C standard library headers pluto at agmk dot net
2006-02-07 12:41 ` [Bug libstdc++/26153] " 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).