[Bug libstdc++/33201] libstc++ togehter wiht uclibc cannot format double in iostream
g dot janak at unicontrol dot de
gcc-bugzilla@gcc.gnu.org
Mon Aug 27 10:59:00 GMT 2007
------- 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
More information about the Gcc-bugs
mailing list