This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH to libstdc++: Don't be sloppy about names used intemplates


gcc@integrable-solutions.net writes:

|> --- 89,104 ----
|>           __ret = snprintf(__out, __size, __fmt, __v);
|>   #else
|>         if (__prec >= 0)
|> !         __ret = std::sprintf(__out, __fmt, __prec, __v);
|>         else
|> !         __ret = std::sprintf(__out, __fmt, __v);
|>   #endif
|>   
|>   #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
|>         __gnu_cxx::__uselocale(__old);
|>   #else
|> !       std::setlocale(LC_ALL, __sav);
|> !       std::free(__sav);
|>   #endif
|>         return __ret;
|>       }
|> 

What about snprintf (ifdef GLIBCXX_USE_C99)?  Will it need a std:: prefix
as well?

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]