Boost Users :
Subject: Re: [Boost-users] multi_array warning with vs2005
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-05-07 10:38:20
Hicham Mouline wrote:
> c:\program files\boost\boost_1_39_0\boost\multi_array.hpp(477) : warning
> C4996: 'std::uninitialized_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'
> Am I supposed to disable the warning explicitly in my user code? Or should
> the warning disable be pushed/pop in boost multi_array?
These warnings cannot always be suppressed with #pragma warning push/pop
Just disable them
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net