PATCH to libstdc++: Don't be sloppy about names used in templates

Andreas Schwab schwab@suse.de
Mon Jul 14 14:13:00 GMT 2003


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."



More information about the Libstdc++ mailing list