public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/39542] New: <cstdio> doesn't contain vasprintf() and asprintf()
@ 2009-03-24 11:07 doko at ubuntu dot com
2009-03-24 11:20 ` [Bug libstdc++/39542] " rguenth at gcc dot gnu dot org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: doko at ubuntu dot com @ 2009-03-24 11:07 UTC (permalink / raw)
To: gcc-bugs
[forwarded from https://launchpad.net/bugs/332115]
While the documentation states that vasprintf and asprintf belong to the the
<stdio.h> header, the C++ header <cstdio> doesn't contain any definition to
them, thus forcing one to also #include <stdio.h>
--
Summary: <cstdio> doesn't contain vasprintf() and asprintf()
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: doko at ubuntu dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39542
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug libstdc++/39542] <cstdio> doesn't contain vasprintf() and asprintf()
2009-03-24 11:07 [Bug libstdc++/39542] New: <cstdio> doesn't contain vasprintf() and asprintf() doko at ubuntu dot com
@ 2009-03-24 11:20 ` rguenth at gcc dot gnu dot org
2009-03-24 11:36 ` paolo dot carlini at oracle dot com
2009-05-19 22:27 ` paolo dot carlini at oracle dot com
2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-03-24 11:20 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from rguenth at gcc dot gnu dot org 2009-03-24 11:20 -------
These are GNU extensions not appropriate for a ISO C++ header file (the
standard lists which functions are to be made available in the std namespace).
So at most they could be added to the __gnucxx namespace?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39542
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug libstdc++/39542] <cstdio> doesn't contain vasprintf() and asprintf()
2009-03-24 11:07 [Bug libstdc++/39542] New: <cstdio> doesn't contain vasprintf() and asprintf() doko at ubuntu dot com
2009-03-24 11:20 ` [Bug libstdc++/39542] " rguenth at gcc dot gnu dot org
@ 2009-03-24 11:36 ` paolo dot carlini at oracle dot com
2009-05-19 22:27 ` paolo dot carlini at oracle dot com
2 siblings, 0 replies; 4+ messages in thread
From: paolo dot carlini at oracle dot com @ 2009-03-24 11:36 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from paolo dot carlini at oracle dot com 2009-03-24 11:36 -------
This is definitely not a bug. Note, in our implementation <stdio.h> is included
anyway from <cstdio> as an implementation detail.
--
paolo dot carlini at oracle dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39542
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug libstdc++/39542] <cstdio> doesn't contain vasprintf() and asprintf()
2009-03-24 11:07 [Bug libstdc++/39542] New: <cstdio> doesn't contain vasprintf() and asprintf() doko at ubuntu dot com
2009-03-24 11:20 ` [Bug libstdc++/39542] " rguenth at gcc dot gnu dot org
2009-03-24 11:36 ` paolo dot carlini at oracle dot com
@ 2009-05-19 22:27 ` paolo dot carlini at oracle dot com
2 siblings, 0 replies; 4+ messages in thread
From: paolo dot carlini at oracle dot com @ 2009-05-19 22:27 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from paolo dot carlini at oracle dot com 2009-05-19 22:27 -------
*** Bug 40203 has been marked as a duplicate of this bug. ***
--
paolo dot carlini at oracle dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |vincenzo dot romano at
| |notorand dot it
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39542
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-05-19 22:27 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-24 11:07 [Bug libstdc++/39542] New: <cstdio> doesn't contain vasprintf() and asprintf() doko at ubuntu dot com
2009-03-24 11:20 ` [Bug libstdc++/39542] " rguenth at gcc dot gnu dot org
2009-03-24 11:36 ` paolo dot carlini at oracle dot com
2009-05-19 22:27 ` paolo dot carlini at oracle dot com
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).