Boost logo

Boost :

From: Eric Niebler (eric_at_[hidden])
Date: 2008-02-05 12:34:55


Robert Dailey wrote:
> I just updated to latest and I'm still getting lots of warnings. I couldn't
> paste all of the warnings previously because they made the email too long.
> I'll paste a single warning below:
>
> 1>c:\it\personal\rocket_test\sdk\boost\boost\xpressive\detail\utility\sequence_stack.hpp(197)
> : warning C4996: 'std::fill_n': Function call with parameters that may be
> unsafe - this call relies on the caller to check that the passed values are
> correct. To disable this warning, use -D_SCL_SECURE_NO_WARNINGS. See
> documentation on how to use Visual C++ 'Checked Iterators'

This is one of MSVC's security warnings. There is nothing unsafe about
this code, despite what msvc would have you believe. Please compile with
-D_SCL_SECURE_NO_DEPRECATE to make this warning go away.

-- 
Eric Niebler
Boost Consulting
www.boost-consulting.com

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