
-----Original Message----- From: boost-bounces@lists.boost.org [mailto:boost-bounces@lists.boost.org] On Behalf Of Eric Niebler Sent: 05 February 2008 17:35 To: boost@lists.boost.org Subject: Re: [boost] [xpressive] Lots of warnings on VS9
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:
: warning C4996: 'std::fill_n': Function call with
unsafe - this call relies on the caller to check that the
1>c:\it\personal\rocket_test\sdk\boost\boost\xpressive\detail\u tility\sequence_stack.hpp(197) parameters that may be 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.
This is quite correct - but could we not make this global to ALL Boost stuff (and also the other persistent unhelpful and massively voluminous warnings that are such a pest - and seriously worrying/discouraging to anyone trying out Boost for the first time). Paul --- Paul A Bristow Prizet Farmhouse, Kendal, Cumbria UK LA8 8AB +44 1539561830 & SMS, Mobile +44 7714 330204 & SMS pbristow@hetp.u-net.com