[ITK] Deprecate Warning with VS2016

Matt McCormick matt.mccormick at kitware.com
Tue Jun 6 20:06:42 EDT 2017


Hi Imre,

Please try the recently released ITK 4.12.0.

Cheers,
Matt

On Sat, Jun 3, 2017 at 3:02 AM, Imre Goretzki <goretzki.imre at gmail.com>
wrote:

> Hey guys,
>
> my VS2015 shows some warnings on using ItkImageFileReader
> (itkImageFileReader.hxx(441)). I currently use ITK 4.10.
>
> Exact warning:
>  warning C4996: 'std::copy::_Unchecked_iterators::_Deprecate': Call to
> 'std::copy' 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'
>
> compiling function template in [itk\src\modules\io\imagebase\
> include\itkImageFileReader.hxx(441)]
> [...] "_OutIt *std::copy<const unsigned int*,unsigned
> int*>(_InIt,_InIt,_OutIt)".
> 1>          with
> 1>          [
> 1>              _OutIt=unsigned int *,
> 1>              _InIt=const unsigned int *
> 1>          ]
>
> Greetings,
> Imre
> _______________________________________________
> Community mailing list
> Community at itk.org
> http://public.kitware.com/mailman/listinfo/community
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20170606/edce2c20/attachment.html>


More information about the Community mailing list