Boost logo

Boost :

From: Rene Rivera (grafik.list_at_[hidden])
Date: 2005-10-09 16:57:08


Peter Dimov wrote:
> Rene Rivera wrote:
>
>>In this error http://tinyurl.com/8sqq6 [1] -- There is a use of
>>swprintf(wchar_t*, size_t, const wchar_t*, ...). But AFAICT it's not
>>"swprintf" that's the intended call, but "snwprintf" which takes a
>>buffer length as the second arg.
>
> swprintf does take a buffer length as its second argument.

OK, I see that now from reading...
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/_crt_sprintf.2c_.swprintf.asp

So it's a problem with MinGW, and indirectly with STLport. Too bad we
don't have a boost/cstdio.hpp to fix such things. Perhaps I should go
bother the STLport folks about it then :-)

-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera/acm.org - grafik/redshift-software.com
-- 102708583/icq - grafikrobot/aim - Grafik/jabber.org

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk