This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/33201] libstc++ togehter wiht uclibc cannot format double in iostream
- From: "g dot janak at unicontrol dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Aug 2007 10:59:22 -0000
- Subject: [Bug libstdc++/33201] libstc++ togehter wiht uclibc cannot format double in iostream
- References: <bug-33201-15022@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from g dot janak at unicontrol dot de 2007-08-27 10:59 -------
Hm, if i look in
libstdc++-v3/config/locale/uclibc/c_locale.h
(please say if this is the wrong place)
__convert_from_v is implemented,
"
// Convert numeric value of type double to string and return length of
// string. If vsnprintf is available use it, otherwise fall back to
// the unsafe vsprintf which, in general, can be dangerous and should
// be avoided.
"
and line 111:
const int __ret = std::vsnprintf(__out, __size, __fmt, __args);
Where is the sprintf ???
I dont understand it.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33201