Boost logo

Boost :

From: Paul A Bristow (pbristow_at_[hidden])
Date: 2008-02-05 14:09:48


>-----Original Message-----
>From: boost-bounces_at_[hidden]
>[mailto:boost-bounces_at_[hidden]] On Behalf Of Eric Niebler
>Sent: 05 February 2008 17:35
>To: boost_at_[hidden]
>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
>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.

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 A Bristow
Prizet Farmhouse, Kendal, Cumbria UK LA8 8AB
+44 1539561830 & SMS, Mobile +44 7714 330204 & SMS

Boost list run by bdawes at, gregod at, cpdaniel at, john at