AcademySoftwareFoundation / openexr

The OpenEXR project provides the specification and reference implementation of the EXR file format, the professional-grade image storage format of the motion picture industry.
http://www.openexr.com/
BSD 3-Clause "New" or "Revised" License
1.63k stars 620 forks source link

Compilation warnings from MSVC #624

Open hodoulp opened 4 years ago

hodoulp commented 4 years ago

When compiling master & RB-2.4 with Visual Studio 17, there are lot of warnings. Most of them only require a small change in the source code. But one require several iterations to be correctly fixed in OCIO.

F:\OpenSource\openexr\IlmBase\Iex\IexBaseExc.cpp(393): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.

Please refer to OCIO Getenv() implementation for details. To fully validate the Windows implementation with a unit test, you should use putenv but also SetEnvironmentVariable.

As lot of warnings could be fixed without having a Windows machine I copy & paste part of compilation results to only have warning messages.

mfChannelListAttribute.cpp
:\opensource\openexr\openexr\ilmimf\ImfName.h(113): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
mfCRgbaFile.cpp
:\opensource\openexr\openexr\ilmimf\ImfName.h(113): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
:\OpenSource\openexr\OpenEXR\IlmImf\ImfCRgbaFile.cpp(82): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
mfChannelList.cpp
:\opensource\openexr\openexr\ilmimf\ImfName.h(113): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
mfFrameBuffer.cpp
:\opensource\openexr\openexr\ilmimf\ImfName.h(113): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
mfHeader.cpp
:\opensource\openexr\openexr\ilmimf\ImfName.h(113): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
mfIO.cpp
mfInputFile.cpp
:\opensource\openexr\openexr\ilmimf\ImfName.h(113): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
mfIntAttribute.cpp
mfLineOrderAttribute.cpp
mfMatrixAttribute.cpp
mfOpaqueAttribute.cpp
mfOutputFile.cpp
:\opensource\openexr\openexr\ilmimf\ImfName.h(113): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
mfRgbaFile.cpp
:\opensource\openexr\openexr\ilmimf\ImfName.h(113): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
mfStringAttribute.cpp
mfVecAttribute.cpp
mfHuf.cpp
mfLut.cpp
:\opensource\openexr\openexr\ilmimf\ImfName.h(113): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
mfCompressor.cpp
mfRleCompressor.cpp
 32%] Building CXX object OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfPizCompressor.cpp.obj
 32%] Building CXX object OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfB44Compressor.cpp.obj
mfZipCompressor.cpp
 33%] Building CXX object OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfDwaCompressor.cpp.obj
 33%] Building CXX object OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfMisc.cpp.obj
mfPizCompressor.cpp
:\OpenSource\openexr\OpenEXR\IlmImf\ImfStringAttribute.cpp(62): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
mfB44Compressor.cpp
 34%] Building CXX object OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfCompressionAttribute.cpp.obj
mfDwaCompressor.cpp
mfMisc.cpp
:\OpenSource\openexr\OpenEXR\IlmImf\ImfRgbaFile.cpp(181): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
:\OpenSource\openexr\OpenEXR\IlmImf\ImfRgbaFile.cpp(184): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
mfCompressionAttribute.cpp
:\OpenSource\openexr\OpenEXR\IlmImf\ImfHuf.cpp(171): warning C4244: '=': conversion from 'Imath_2_4::Int64' to 'char', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfHuf.cpp(250): warning C4244: 'initializing': conversion from 'Imath_2_4::Int64' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfHuf.cpp(375): warning C4244: 'initializing': conversion from '__int64' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfHuf.cpp(379): warning C4244: 'initializing': conversion from '__int64' to 'int', possible loss of data[ 35%] Building CXX object OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfDoubleAttribute.cpp.obj

:\OpenSource\openexr\OpenEXR\IlmImf\ImfHuf.cpp(481): warning C4244: 'initializing': conversion from 'Imath_2_4::Int64' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfHuf.cpp(550): warning C4244: 'initializing': conversion from 'Imath_2_4::Int64' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfHuf.cpp(562): warning C4244: 'initializing': conversion from 'Imath_2_4::Int64' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfHuf.cpp(621): warning C4244: 'initializing': conversion from 'Imath_2_4::Int64' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfHuf.cpp(679): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
:\OpenSource\openexr\OpenEXR\IlmImf\ImfHuf.cpp(724): warning C4244: 'argument': conversion from 'Imath_2_4::Int64' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfHuf.cpp(804): warning C4244: 'return': conversion from '__int64' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfHuf.cpp(900): warning C4244: 'initializing': conversion from 'Imath_2_4::Int64' to 'unsigned char', possible loss of data
 35%] Building CXX object OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfConvert.cpp.obj
:\OpenSource\openexr\OpenEXR\IlmImf\ImfHuf.cpp(915): warning C4244: 'initializing': conversion from 'Imath_2_4::Int64' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfHuf.cpp(930): warning C4244: 'initializing': conversion from 'Imath_2_4::Int64' to 'unsigned char', possible loss of data
 36%] Building CXX object OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfPreviewImage.cpp.obj
:\OpenSource\openexr\OpenEXR\IlmImf\ImfHuf.cpp(957): warning C4244: 'initializing': conversion from 'Imath_2_4::Int64' to 'unsigned char', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfHuf.cpp(1033): warning C4244: 'initializing': conversion from '__int64' to 'int', possible loss of data
mfDoubleAttribute.cpp
:\OpenSource\openexr\OpenEXR\IlmImf\ImfHuf.cpp(1045): warning C4244: 'return': conversion from '__int64' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfHuf.cpp(1081): warning C4244: 'argument': conversion from '__int64' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfHuf.cpp(1092): warning C4244: 'argument': conversion from '__int64' to 'int', possible loss of data
 36%] Building CXX object OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfPreviewImageAttribute.cpp.obj
mfConvert.cpp
 37%] Building CXX object OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfVersion.cpp.obj
:\opensource\openexr\openexr\ilmimf\ImfName.h(113): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
mfPreviewImage.cpp
mfPreviewImageAttribute.cpp
:\OpenSource\openexr\OpenEXR\IlmImf\ImfRleCompressor.cpp(56): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
:\opensource\openexr\openexr\ilmimf\ImfName.h(113): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
mfVersion.cpp
:\OpenSource\openexr\OpenEXR\IlmImf\ImfZipCompressor.cpp(62): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfLut.cpp(156): warning C4244: 'initializing': conversion from 'double' to 'float', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfLut.cpp(156): warning C4244: 'initializing': conversion from 'double' to 'const float', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfLut.cpp(174): warning C4244: 'argument': conversion from 'double' to 'float', possible loss of data
 38%] Building CXX object OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfChromaticities.cpp.obj
:\OpenSource\openexr\OpenEXR\IlmImf\ImfPizCompressor.cpp(185): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfPizCompressor.cpp(430): warning C4244: 'argument': conversion from '__int64' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfPizCompressor.cpp(436): warning C4244: 'argument': conversion from '__int64' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfPizCompressor.cpp(477): warning C4244: 'argument': conversion from '__int64' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfPizCompressor.cpp(481): warning C4244: 'return': conversion from '__int64' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfPizCompressor.cpp(583): warning C4244: 'argument': conversion from '__int64' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfPizCompressor.cpp(606): warning C4244: 'argument': conversion from '__int64' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfPizCompressor.cpp(670): warning C4244: 'return': conversion from '__int64' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfCompressor.cpp(165): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of dataf:\opensource\openexr\openexr\ilmimf\ImfName.h(113): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECU
E_NO_WARNINGS. See online help for details.

:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
:\OpenSource\openexr\OpenEXR\IlmImf\ImfCompressor.cpp(170): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfCompressor.cpp(216): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
:\opensource\openexr\openexr\ilmimf\ImfName.h(113): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
 38%] Building CXX object OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfChromaticitiesAttribute.cpp.obj
:\opensource\openexr\openexr\ilmimf\ImfName.h(113): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
 39%] Building CXX object OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfKeyCode.cpp.obj
mfChromaticities.cpp
:\OpenSource\openexr\OpenEXR\IlmImf\ImfMisc.cpp(247): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfMisc.cpp(320): warning C4244: 'argument': conversion from 'double' to 'float', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfMisc.cpp(565): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfMisc.cpp(699): warning C4244: 'argument': conversion from 'ptrdiff_t' to 'int', possible loss of data[ 39%] Building CXX object OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfKeyCodeAttribute.cpp.obj

:\OpenSource\openexr\OpenEXR\IlmImf\ImfMisc.cpp(698): warning C4244: 'argument': conversion from 'ptrdiff_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfMisc.cpp(715): warning C4244: 'argument': conversion from 'double' to 'float', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfMisc.cpp(725): warning C4244: 'argument': conversion from 'ptrdiff_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfMisc.cpp(724): warning C4244: 'argument': conversion from 'ptrdiff_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfMisc.cpp(751): warning C4244: 'argument': conversion from 'ptrdiff_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfMisc.cpp(750): warning C4244: 'argument': conversion from 'ptrdiff_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfMisc.cpp(793): warning C4244: 'argument': conversion from 'ptrdiff_t' to 'int', possible loss of dataImfChromaticitiesAttribute.cpp

:\OpenSource\openexr\OpenEXR\IlmImf\ImfMisc.cpp(792): warning C4244: 'argument': conversion from 'ptrdiff_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfMisc.cpp(818): warning C4244: 'argument': conversion from 'ptrdiff_t' to 'int', possible loss of data
mfKeyCode.cpp
:\OpenSource\openexr\OpenEXR\IlmImf\ImfMisc.cpp(817): warning C4244: 'argument': conversion from 'ptrdiff_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfMisc.cpp(845): warning C4244: 'argument': conversion from 'ptrdiff_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfMisc.cpp(844): warning C4244: 'argument': conversion from 'ptrdiff_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfMisc.cpp(881): warning C4244: 'argument': conversion from 'ptrdiff_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfMisc.cpp(880): warning C4244: 'argument': conversion from 'ptrdiff_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfMisc.cpp(908): warning C4244: 'argument': conversion from 'ptrdiff_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfMisc.cpp(907): warning C4244: 'argument': conversion from 'ptrdiff_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfMisc.cpp(933): warning C4244: 'argument': conversion from 'ptrdiff_t' to 'int', possible loss of dataF:\OpenSource\openexr\OpenEXR\IlmImf\ImfOutputFile.cpp(598): warning C4244: '=': conversion from '__int64' to 'int', possible loss of data

:\OpenSource\openexr\OpenEXR\IlmImf\ImfMisc.cpp(932): warning C4244: 'argument': conversion from 'ptrdiff_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfMisc.cpp(968): warning C4244: 'argument': conversion from 'ptrdiff_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfMisc.cpp(967): warning C4244: 'argument': conversion from 'ptrdiff_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfMisc.cpp(994): warning C4244: 'argument': conversion from 'ptrdiff_t' to 'int', possible loss of dataF:\OpenSource\openexr\OpenEXR\IlmImf\ImfOutputFile.cpp(843): warning C4267: 'argument': conversion from 'size_t' to 'long', possible loss of data

:\OpenSource\openexr\OpenEXR\IlmImf\ImfMisc.cpp(993): warning C4244: 'argument': conversion from 'ptrdiff_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfMisc.cpp(1022): warning C4244: 'argument': conversion from 'ptrdiff_t' to 'int', possible loss of data[ 40%] Building CXX object OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfTimeCode.cpp.obj

:\OpenSource\openexr\OpenEXR\IlmImf\ImfMisc.cpp(1021): warning C4244: 'argument': conversion from 'ptrdiff_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfMisc.cpp(1071): warning C4244: 'argument': conversion from 'ptrdiff_t' to 'int', possible loss of dataImfKeyCodeAttribute.cpp

:\OpenSource\openexr\OpenEXR\IlmImf\ImfMisc.cpp(1070): warning C4244: 'argument': conversion from 'ptrdiff_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfMisc.cpp(1099): warning C4244: 'argument': conversion from 'ptrdiff_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfMisc.cpp(1098): warning C4244: 'argument': conversion from 'ptrdiff_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfMisc.cpp(1126): warning C4244: 'argument': conversion from 'ptrdiff_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfMisc.cpp(1125): warning C4244: 'argument': conversion from 'ptrdiff_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfMisc.cpp(1167): warning C4244: 'argument': conversion from 'ptrdiff_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfMisc.cpp(1166): warning C4244: 'argument': conversion from 'ptrdiff_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfMisc.cpp(1198): warning C4244: 'argument': conversion from 'ptrdiff_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfMisc.cpp(1197): warning C4244: 'argument': conversion from 'ptrdiff_t' to 'int', possible loss of data
 40%] Building CXX object OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfTimeCodeAttribute.cpp.obj
:\OpenSource\openexr\OpenEXR\IlmImf\ImfMisc.cpp(1224): warning C4244: 'argument': conversion from 'ptrdiff_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfMisc.cpp(1223): warning C4244: 'argument': conversion from 'ptrdiff_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfMisc.cpp(1264): warning C4244: 'argument': conversion from 'ptrdiff_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfMisc.cpp(1263): warning C4244: 'argument': conversion from 'ptrdiff_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfMisc.cpp(1295): warning C4244: 'argument': conversion from 'ptrdiff_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfMisc.cpp(1294): warning C4244: 'argument': conversion from 'ptrdiff_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfMisc.cpp(1322): warning C4244: 'argument': conversion from 'ptrdiff_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfMisc.cpp(1321): warning C4244: 'argument': conversion from 'ptrdiff_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfMisc.cpp(1364): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfMisc.cpp(1369): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfMisc.cpp(1374): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data[ 41%] Building CXX object OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfRational.cpp.obj

:\OpenSource\openexr\OpenEXR\IlmImf\ImfMisc.cpp(1580): warning C4244: 'argument': conversion from 'ptrdiff_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfMisc.cpp(1579): warning C4244: 'argument': conversion from 'ptrdiff_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfMisc.cpp(1601): warning C4244: 'argument': conversion from 'ptrdiff_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfMisc.cpp(1600): warning C4244: 'argument': conversion from 'ptrdiff_t' to 'int', possible loss of dataImfTimeCode.cpp

:\OpenSource\openexr\OpenEXR\IlmImf\ImfMisc.cpp(1621): warning C4244: 'argument': conversion from 'ptrdiff_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfMisc.cpp(1620): warning C4244: 'argument': conversion from 'ptrdiff_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfMisc.cpp(1655): warning C4244: 'argument': conversion from 'ptrdiff_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfMisc.cpp(1654): warning C4244: 'argument': conversion from 'ptrdiff_t' to 'int', possible loss of data
 42%] Building CXX object OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfRationalAttribute.cpp.obj
:\OpenSource\openexr\OpenEXR\IlmImf\ImfMisc.cpp(1678): warning C4244: 'argument': conversion from 'ptrdiff_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfMisc.cpp(1677): warning C4244: 'argument': conversion from 'ptrdiff_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfMisc.cpp(1699): warning C4244: 'argument': conversion from 'ptrdiff_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfMisc.cpp(1698): warning C4244: 'argument': conversion from 'ptrdiff_t' to 'int', possible loss of data
mfTimeCodeAttribute.cpp
:\OpenSource\openexr\OpenEXR\IlmImf\ImfB44Compressor.cpp(486): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfB44Compressor.cpp(864): warning C4244: 'return': conversion from '__int64' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfB44Compressor.cpp(1070): warning C4244: 'return': conversion from '__int64' to 'int', possible loss of data
 42%] Building CXX object OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfFramesPerSecond.cpp.obj
mfRational.cpp
mfRationalAttribute.cpp
mfFramesPerSecond.cpp
 43%] Building CXX object OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfStandardAttributes.cpp.obj
 43%] Building CXX object OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfStdIO.cpp.obj
 44%] Building CXX object OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfEnvmap.cpp.obj
mfStandardAttributes.cpp
 45%] Building CXX object OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfEnvmapAttribute.cpp.obj
mfStdIO.cpp
mfEnvmap.cpp
:\opensource\openexr\openexr\ilmimf\ImfName.h(113): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
 45%] Building CXX object OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfScanLineInputFile.cpp.obj
mfEnvmapAttribute.cpp
 46%] Building CXX object OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfTiledInputFile.cpp.obj
mfScanLineInputFile.cpp
 46%] Building CXX object OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfTiledMisc.cpp.obj
 47%] Building CXX object OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfTiledOutputFile.cpp.obj
:\opensource\openexr\openexr\ilmimf\ImfName.h(113): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
mfTiledInputFile.cpp
 48%] Building CXX object OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfTiledRgbaFile.cpp.obj
mfTiledMisc.cpp
mfTiledOutputFile.cpp
:\opensource\openexr\openexr\ilmimf\ImfName.h(113): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
 48%] Building CXX object OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfTileDescriptionAttribute.cpp.obj
mfTiledRgbaFile.cpp
:\opensource\openexr\openexr\ilmimf\ImfName.h(113): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
 49%] Building CXX object OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfTileOffsets.cpp.obj
:\opensource\openexr\openexr\ilmimf\ImfName.h(113): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
mfTileDescriptionAttribute.cpp
 49%] Building CXX object OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfRgbaYca.cpp.obj
 50%] Building CXX object OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfPxr24Compressor.cpp.obj
mfTileOffsets.cpp
mfRgbaYca.cpp
 51%] Building CXX object OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfTestFile.cpp.obj
 51%] Building CXX object OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfStringVectorAttribute.cpp.obj
 52%] Building CXX object OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfMultiView.cpp.obj
 52%] Building CXX object OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfAcesFile.cpp.obj
mfTestFile.cpp
mfStringVectorAttribute.cpp
mfPxr24Compressor.cpp
mfMultiView.cpp
:\opensource\openexr\openexr\ilmimf\ImfName.h(113): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
 53%] Building CXX object OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfMultiPartOutputFile.cpp.obj
mfAcesFile.cpp
:\opensource\openexr\openexr\ilmimf\ImfName.h(113): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
 54%] Building CXX object OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfGenericOutputFile.cpp.obj
:\opensource\openexr\openexr\ilmimf\ImfName.h(113): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
 54%] Building CXX object OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfOutputPartData.cpp.obj
mfMultiPartOutputFile.cpp
:\OpenSource\openexr\OpenEXR\IlmImf\ImfDwaCompressor.cpp(1926): warning C4267: '+=': conversion from 'size_t' to 'unsigned short', possible loss of data
mfGenericOutputFile.cpp
:\OpenSource\openexr\OpenEXR\IlmImf\ImfDwaCompressor.cpp(2217): warning C4244: 'argument': conversion from 'Imath_2_4::Int64' to 'uLong', possible loss of data[ 55%] Building CXX object OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfMultiPartInputFile.cpp.obj

:\OpenSource\openexr\OpenEXR\IlmImf\ImfDwaCompressor.cpp(2440): warning C4267: '-=': conversion from 'size_t' to 'unsigned short', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfDwaCompressor.cpp(3011): warning C4267: '+=': conversion from 'size_t' to 'int', possible loss of data
:\opensource\openexr\openexr\ilmimf\ImfName.h(113): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
 55%] Building CXX object OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfGenericInputFile.cpp.obj
:\opensource\openexr\openexr\ilmimf\ImfName.h(113): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
:\OpenSource\openexr\OpenEXR\IlmImf\ImfTileOffsets.cpp(154): warning C4244: 'argument': conversion from 'Imath_2_4::Int64' to 'int', possible loss of data
 56%] Building CXX object OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfPartType.cpp.obj
:\OpenSource\openexr\OpenEXR\IlmImf\ImfPxr24Compressor.cpp(192): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
 56%] Building CXX object OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfInputPartData.cpp.obj
:\OpenSource\openexr\OpenEXR\IlmImf\ImfPxr24Compressor.cpp(405): warning C4244: 'argument': conversion from '__int64' to 'uLong', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfPxr24Compressor.cpp(550): warning C4244: 'return': conversion from '__int64' to 'int', possible loss of data
 57%] Building CXX object OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfOutputPart.cpp.obj
:\OpenSource\openexr\OpenEXR\IlmImf\ImfMultiView.cpp(109): warning C4267: 'return': conversion from 'size_t' to 'int', possible loss of data
mfGenericInputFile.cpp
mfOutputPartData.cpp
:\opensource\openexr\openexr\ilmimf\ImfName.h(113): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
mfMultiPartInputFile.cpp
mfPartType.cpp
mfInputPartData.cpp
 58%] Building CXX object OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfTiledOutputPart.cpp.obj
mfOutputPart.cpp
:\OpenSource\openexr\OpenEXR\IlmImf\ImfStringVectorAttribute.cpp(62): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfStringVectorAttribute.cpp(66): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
 58%] Building CXX object OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfInputPart.cpp.obj
:\opensource\openexr\openexr\ilmimf\ImfName.h(113): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
:\OpenSource\openexr\OpenEXR\IlmImf\ImfAcesFile.cpp(59): warning C4305: 'argument': truncation from 'double' to 'T'
       with
       [
           T=float
       ]
:\OpenSource\openexr\OpenEXR\IlmImf\ImfAcesFile.cpp(436): warning C4305: 'argument': truncation from 'double' to 'T'
       with
       [
           T=float
       ]
:\OpenSource\openexr\OpenEXR\IlmImf\ImfAcesFile.cpp(442): warning C4305: 'argument': truncation from 'double' to 'T'
       with
       [
           T=float
       ]
 59%] Building CXX object OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfTiledInputPart.cpp.obj
mfTiledOutputPart.cpp
mfInputPart.cpp
 59%] Building CXX object OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfDeepScanLineInputPart.cpp.obj
mfTiledInputPart.cpp
:\opensource\openexr\openexr\ilmimf\ImfName.h(113): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
:\opensource\openexr\openexr\ilmimf\ImfName.h(113): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
:\opensource\openexr\openexr\ilmimf\ImfName.h(113): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
 60%] Building CXX object OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfDeepScanLineOutputPart.cpp.obj
mfDeepScanLineInputPart.cpp
 61%] Building CXX object OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfDeepScanLineInputFile.cpp.obj
:\opensource\openexr\openexr\ilmimf\ImfName.h(113): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
mfDeepScanLineOutputPart.cpp
:\opensource\openexr\openexr\ilmimf\ImfName.h(113): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
 61%] Building CXX object OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfDeepScanLineOutputFile.cpp.obj
mfDeepScanLineInputFile.cpp
:\opensource\openexr\openexr\ilmimf\ImfName.h(113): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
 62%] Building CXX object OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfDeepTiledInputPart.cpp.obj
:\OpenSource\openexr\OpenEXR\IlmImf\ImfMultiPartOutputFile.cpp(227): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfMultiPartOutputFile.cpp(229): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
 62%] Building CXX object OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfDeepTiledOutputPart.cpp.obj
:\OpenSource\openexr\OpenEXR\IlmImf\ImfMultiPartOutputFile.cpp(273): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfMultiPartOutputFile.cpp(275): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfMultiPartOutputFile.cpp(308): warning C4267: 'return': conversion from 'size_t' to 'int', possible loss of data
mfDeepScanLineOutputFile.cpp
 63%] Building CXX object OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfDeepTiledInputFile.cpp.obj
mfDeepTiledInputPart.cpp
:\opensource\openexr\openexr\ilmimf\ImfName.h(113): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
mfDeepTiledOutputPart.cpp
:\opensource\openexr\openexr\ilmimf\ImfName.h(113): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
 64%] Building CXX object OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfDeepTiledOutputFile.cpp.obj
:\OpenSource\openexr\OpenEXR\IlmImf\ImfScanLineInputFile.cpp(1482): warning C4244: 'argument': conversion from 'const double' to 'float', possible loss of data
:\opensource\openexr\openexr\ilmimf\ImfName.h(113): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
:\OpenSource\openexr\OpenEXR\IlmImf\ImfTiledOutputFile.cpp(813): warning C4244: '=': conversion from '__int64' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfTiledInputFile.cpp(533): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of dataF:\OpenSource\openexr\OpenEXR\IlmImf\ImfTiledOutputFile.cpp(1050): warning C4267: 'argument': conversion from 'size_t' to 'long', possible loss of dataf:\opensource\openexr\openexr\il
imf\ImfName.h(113): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.ImfDeepTiledInputFile.cpp

:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
 64%] Building CXX object OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfDeepFrameBuffer.cpp.obj
mfDeepTiledOutputFile.cpp
:\opensource\openexr\openexr\ilmimf\ImfName.h(113): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
:\opensource\openexr\openexr\ilmimf\ImfName.h(113): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
 65%] Building CXX object OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfDeepCompositing.cpp.obj
:\OpenSource\openexr\OpenEXR\IlmImf\ImfMultiPartInputFile.cpp(432): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of dataf:\opensource\openexr\openexr\ilmimf\ImfName.h(113): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _
RT_SECURE_NO_WARNINGS. See online help for details.

:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
 65%] Building CXX object OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfCompositeDeepScanLine.cpp.obj
mfDeepFrameBuffer.cpp
 66%] Building CXX object OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfDeepImageStateAttribute.cpp.obj
:\opensource\openexr\openexr\ilmimf\ImfName.h(113): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
:\opensource\openexr\openexr\ilmimf\ImfName.h(113): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
mfCompositeDeepScanLine.cpp
mfDeepCompositing.cpp
:\opensource\openexr\openexr\ilmimf\ImfName.h(113): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
 67%] Building CXX object OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfFastHuf.cpp.obj
mfDeepImageStateAttribute.cpp
 67%] Building CXX object OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfFloatVectorAttribute.cpp.obj
mfFastHuf.cpp
 68%] Building CXX object OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfRle.cpp.obj
mfFloatVectorAttribute.cpp
 68%] Building CXX object OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfSystemSpecific.cpp.obj
mfRle.cpp
:\OpenSource\openexr\OpenEXR\IlmImf\ImfRle.cpp(76): warning C4244: '=': conversion from '__int64' to 'signed char', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfRle.cpp(96): warning C4244: '=': conversion from '__int64' to 'signed char', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfRle.cpp(107): warning C4244: 'return': conversion from '__int64' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfRle.cpp(151): warning C4244: 'return': conversion from '__int64' to 'int', possible loss of data
 69%] Building CXX object OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfZip.cpp.obj
mfSystemSpecific.cpp
:\opensource\openexr\openexr\ilmimf\ImfName.h(113): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
:\OpenSource\openexr\OpenEXR\IlmImf\ImfDeepCompositing.cpp(84): warning C4244: '+=': conversion from 'double' to 'float', possible loss of data
mfZip.cpp
:\OpenSource\openexr\OpenEXR\IlmImf\ImfCompositeDeepScanLine.cpp(279): warning C4267: 'argument': conversion from 'size_t' to '_Ty', possible loss of data
       with
       [
           _Ty=int
       ]
:\OpenSource\openexr\OpenEXR\IlmImf\ImfFastHuf.cpp(153): warning C4244: 'initializing': conversion from 'Imath_2_4::Int64' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfFastHuf.cpp(167): warning C4244: 'initializing': conversion from 'Imath_2_4::Int64' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfFastHuf.cpp(183): warning C4244: '=': conversion from 'Imath_2_4::Int64' to 'unsigned char', possible loss of dataF:\OpenSource\openexr\OpenEXR\IlmImf\ImfCompositeDeepScanLine.cpp(375): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data

:\OpenSource\openexr\OpenEXR\IlmImf\ImfFastHuf.cpp(186): warning C4244: '=': conversion from 'Imath_2_4::Int64' to 'unsigned char', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfFastHuf.cpp(193): warning C4267: '+=': conversion from 'size_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfFloatVectorAttribute.cpp(64): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfFastHuf.cpp(256): warning C4244: 'initializing': conversion from 'unsigned __int64' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfDeepFrameBuffer.cpp(57): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfZip.cpp(271): warning C4267: 'initializing': conversion from 'size_t' to 'uLongf', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfDeepScanLineInputFile.cpp(347): warning C4244: 'argument': conversion from 'Imath_2_4::Int64' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfDeepScanLineInputFile.cpp(508): warning C4244: 'argument': conversion from 'Imath_2_4::Int64' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfDeepScanLineInputFile.cpp(515): warning C4244: 'argument': conversion from 'Imath_2_4::Int64' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfDeepScanLineInputFile.cpp(522): warning C4244: 'argument': conversion from 'Imath_2_4::Int64' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfDeepScanLineInputFile.cpp(639): warning C4244: 'argument': conversion from 'Imath_2_4::Int64' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfDeepScanLineInputFile.cpp(1152): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfDeepScanLineInputFile.cpp(1153): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfDeepScanLineInputFile.cpp(1475): warning C4244: 'argument': conversion from 'Imath_2_4::Int64' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfDeepScanLineInputFile.cpp(1519): warning C4244: 'argument': conversion from 'Imath_2_4::Int64' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfDeepScanLineInputFile.cpp(1553): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfDeepScanLineInputFile.cpp(1554): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfDeepScanLineInputFile.cpp(1724): warning C4244: 'argument': conversion from 'Imath_2_4::Int64' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfDeepScanLineInputFile.cpp(1731): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfDeepScanLineInputFile.cpp(1732): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfDeepScanLineInputFile.cpp(1837): warning C4244: 'argument': conversion from 'Imath_2_4::Int64' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfDeepScanLineInputFile.cpp(1853): warning C4244: 'argument': conversion from 'Imath_2_4::Int64' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfDeepTiledOutputFile.cpp(563): warning C4244: 'argument': conversion from 'Imath_2_4::Int64' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfDeepTiledOutputFile.cpp(569): warning C4244: 'argument': conversion from 'Imath_2_4::Int64' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfDeepTiledOutputFile.cpp(699): warning C4244: 'argument': conversion from 'Imath_2_4::Int64' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfDeepTiledOutputFile.cpp(698): warning C4244: 'argument': conversion from 'Imath_2_4::Int64' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfDeepTiledOutputFile.cpp(883): warning C4244: 'argument': conversion from 'Imath_2_4::Int64' to 'long', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfDeepTiledOutputFile.cpp(979): warning C4244: 'argument': conversion from 'Imath_2_4::Int64' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfDeepTiledOutputFile.cpp(1019): warning C4244: 'argument': conversion from 'Imath_2_4::Int64' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfDeepTiledOutputFile.cpp(1252): warning C4244: 'argument': conversion from 'Imath_2_4::Int64' to 'long', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfDeepTiledOutputFile.cpp(1371): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfDeepTiledOutputFile.cpp(1372): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfDeepTiledOutputFile.cpp(1719): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfDeepScanLineOutputFile.cpp(381): warning C4244: 'argument': conversion from 'Imath_2_4::Int64' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfDeepScanLineOutputFile.cpp(387): warning C4244: 'argument': conversion from 'Imath_2_4::Int64' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfDeepScanLineOutputFile.cpp(608): warning C4267: 'argument': conversion from 'size_t' to 'long', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfDeepScanLineOutputFile.cpp(699): warning C4244: 'argument': conversion from 'Imath_2_4::Int64' to 'long', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfDeepScanLineOutputFile.cpp(737): warning C4244: 'argument': conversion from 'Imath_2_4::Int64' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfDeepScanLineOutputFile.cpp(771): warning C4244: 'argument': conversion from 'Imath_2_4::Int64' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfDeepScanLineOutputFile.cpp(789): warning C4244: 'argument': conversion from 'Imath_2_4::Int64' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfDeepScanLineOutputFile.cpp(979): warning C4244: 'argument': conversion from 'Imath_2_4::Int64' to 'long', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfDeepScanLineOutputFile.cpp(1101): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfDeepScanLineOutputFile.cpp(1102): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfDeepTiledInputFile.cpp(331): warning C4244: 'argument': conversion from 'ptrdiff_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfDeepTiledInputFile.cpp(330): warning C4244: 'argument': conversion from 'ptrdiff_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfDeepTiledInputFile.cpp(423): warning C4244: 'argument': conversion from 'Imath_2_4::Int64' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfDeepTiledInputFile.cpp(443): warning C4244: 'argument': conversion from 'Imath_2_4::Int64' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfDeepTiledInputFile.cpp(450): warning C4244: 'argument': conversion from 'Imath_2_4::Int64' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfDeepTiledInputFile.cpp(587): warning C4244: 'argument': conversion from 'Imath_2_4::Int64' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfDeepTiledInputFile.cpp(977): warning C4244: 'argument': conversion from 'Imath_2_4::Int64' to 'long', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfDeepTiledInputFile.cpp(1451): warning C4244: 'argument': conversion from 'Imath_2_4::Int64' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfDeepTiledInputFile.cpp(1800): warning C4244: 'argument': conversion from 'Imath_2_4::Int64' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImf\ImfDeepTiledInputFile.cpp(1811): warning C4244: 'argument': conversion from 'Imath_2_4::Int64' to 'int', possible loss of data
 69%] Linking CXX static library IlmImf-2_4.lib
 69%] Built target IlmImf
canning dependencies of target exr2aces
canning dependencies of target exrheader
canning dependencies of target exrmakepreview
canning dependencies of target IlmImfExamples
canning dependencies of target exrmaketiled
canning dependencies of target exrstdattr
canning dependencies of target IlmImfUtil
canning dependencies of target exrenvmap
canning dependencies of target exrmultiview
canning dependencies of target exrmultipart
 77%] Building CXX object OpenEXR/IlmImfUtil/CMakeFiles/IlmImfUtil.dir/ImfImageChannel.cpp.obj
 79%] Building CXX object OpenEXR/IlmImfUtil/CMakeFiles/IlmImfUtil.dir/ImfFlatImageChannel.cpp.obj
 81%] Building CXX object OpenEXR/IlmImfUtil/CMakeFiles/IlmImfUtil.dir/ImfDeepImageChannel.cpp.obj
mfImageChannel.cpp
 82%] Building CXX object OpenEXR/IlmImfUtil/CMakeFiles/IlmImfUtil.dir/ImfSampleCountChannel.cpp.obj
:\opensource\openexr\openexr\ilmimf\ImfName.h(113): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
 84%] Building CXX object OpenEXR/IlmImfUtil/CMakeFiles/IlmImfUtil.dir/ImfImageLevel.cpp.obj
 84%] Building CXX object OpenEXR/IlmImfUtil/CMakeFiles/IlmImfUtil.dir/ImfFlatImageLevel.cpp.obj
 86%] Building CXX object OpenEXR/IlmImfUtil/CMakeFiles/IlmImfUtil.dir/ImfDeepImageLevel.cpp.obj
 87%] Building CXX object OpenEXR/IlmImfUtil/CMakeFiles/IlmImfUtil.dir/ImfImage.cpp.obj
 87%] Building CXX object OpenEXR/IlmImfUtil/CMakeFiles/IlmImfUtil.dir/ImfFlatImage.cpp.obj
 88%] Building CXX object OpenEXR/IlmImfUtil/CMakeFiles/IlmImfUtil.dir/ImfDeepImage.cpp.obj
mfFlatImageChannel.cpp
:\opensource\openexr\openexr\ilmimf\ImfName.h(113): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
mfDeepImageChannel.cpp
:\opensource\openexr\openexr\ilmimf\ImfName.h(113): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
 89%] Building CXX object OpenEXR/IlmImfUtil/CMakeFiles/IlmImfUtil.dir/ImfImageIO.cpp.obj
 90%] Building CXX object OpenEXR/IlmImfUtil/CMakeFiles/IlmImfUtil.dir/ImfFlatImageIO.cpp.obj
mfSampleCountChannel.cpp
:\opensource\openexr\openexr\ilmimf\ImfName.h(113): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
mfImageLevel.cpp
:\opensource\openexr\openexr\ilmimf\ImfName.h(113): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
 91%] Building CXX object OpenEXR/IlmImfUtil/CMakeFiles/IlmImfUtil.dir/ImfDeepImageIO.cpp.obj
mfFlatImageLevel.cpp
:\opensource\openexr\openexr\ilmimf\ImfName.h(113): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
mfDeepImageLevel.cpp
:\opensource\openexr\openexr\ilmimf\ImfName.h(113): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
mfImage.cpp
:\opensource\openexr\openexr\ilmimf\ImfName.h(113): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
mfFlatImage.cpp
:\opensource\openexr\openexr\ilmimf\ImfName.h(113): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
mfDeepImage.cpp
:\opensource\openexr\openexr\ilmimf\ImfName.h(113): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
mfImageIO.cpp
mfFlatImageIO.cpp
:\opensource\openexr\openexr\ilmimf\ImfName.h(113): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
 91%] Building CXX object OpenEXR/IlmImfUtil/CMakeFiles/IlmImfUtil.dir/ImfImageDataWindow.cpp.obj
:\opensource\openexr\openexr\ilmimf\ImfName.h(113): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
mfDeepImageIO.cpp
:\opensource\openexr\openexr\ilmimf\ImfName.h(113): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
mfImageDataWindow.cpp
:\opensource\openexr\openexr\ilmimf\ImfName.h(113): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
 71%] Building CXX object OpenEXR/exrmakepreview/CMakeFiles/exrmakepreview.dir/makePreview.cpp.obj
akePreview.cpp
:\opensource\openexr\openexr\ilmimf\ImfName.h(113): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
 88%] Linking CXX executable ..\..\bin\exrmakepreview.exe
 94%] Built target exrmakepreview
 69%] Building CXX object OpenEXR/exr2aces/CMakeFiles/exr2aces.dir/main.cpp.obj
ain.cpp
:\opensource\openexr\openexr\ilmimf\ImfName.h(113): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
 89%] Linking CXX executable ..\..\bin\exr2aces.exe
 94%] Built target exr2aces
 95%] Linking CXX static library IlmImfUtil-2_4.lib
 70%] Building CXX object OpenEXR/exrheader/CMakeFiles/exrheader.dir/main.cpp.obj
ain.cpp
:\opensource\openexr\openexr\ilmimf\ImfName.h(113): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
 92%] Linking CXX executable ..\..\bin\exrheader.exe
 76%] Building CXX object OpenEXR/exrenvmap/CMakeFiles/exrenvmap.dir/makeLatLongMap.cpp.obj
 78%] Building CXX object OpenEXR/exrenvmap/CMakeFiles/exrenvmap.dir/readInputImage.cpp.obj
 80%] Building CXX object OpenEXR/exrenvmap/CMakeFiles/exrenvmap.dir/resizeImage.cpp.obj
akeLatLongMap.cpp
 82%] Building CXX object OpenEXR/exrenvmap/CMakeFiles/exrenvmap.dir/makeCubeMap.cpp.obj
 83%] Building CXX object OpenEXR/exrenvmap/CMakeFiles/exrenvmap.dir/main.cpp.obj
 84%] Building CXX object OpenEXR/exrenvmap/CMakeFiles/exrenvmap.dir/blurImage.cpp.obj
 85%] Building CXX object OpenEXR/exrenvmap/CMakeFiles/exrenvmap.dir/EnvmapImage.cpp.obj
:\opensource\openexr\openexr\ilmimf\ImfName.h(113): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
esizeImage.cpp
:\OpenSource\openexr\OpenEXR\exrenvmap\resizeImage.cpp(64): warning C4244: 'initializing': conversion from 'double' to 'float', possible loss of data
:\OpenSource\openexr\OpenEXR\exrenvmap\resizeImage.cpp(75): warning C4244: 'argument': conversion from 'int' to 'T', possible loss of data
       with
       [
           T=float
       ]
:\OpenSource\openexr\OpenEXR\exrenvmap\resizeImage.cpp(129): warning C4244: 'argument': conversion from 'int' to 'T', possible loss of data
       with
       [
           T=float
       ]
eadInputImage.cpp
:\opensource\openexr\openexr\ilmimf\ImfName.h(113): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
akeCubeMap.cpp
:\opensource\openexr\openexr\ilmimf\ImfName.h(113): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
ain.cpp
:\opensource\openexr\openexr\ilmimf\ImfName.h(113): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
:\OpenSource\openexr\OpenEXR\exrenvmap\main.cpp(328): warning C4244: '=': conversion from 'double' to 'float', possible loss of data
:\OpenSource\openexr\OpenEXR\exrenvmap\main.cpp(383): warning C4244: '=': conversion from 'double' to 'float', possible loss of data
:\OpenSource\openexr\OpenEXR\exrenvmap\main.cpp(384): warning C4244: '=': conversion from 'double' to 'float', possible loss of data
lurImage.cpp
:\OpenSource\openexr\OpenEXR\exrenvmap\blurImage.cpp(254): warning C4244: 'argument': conversion from 'int' to 'T', possible loss of data
       with
       [
           T=float
       ]
:\OpenSource\openexr\OpenEXR\exrenvmap\blurImage.cpp(288): warning C4244: 'argument': conversion from 'double' to 'float', possible loss of data
:\OpenSource\openexr\OpenEXR\exrenvmap\blurImage.cpp(289): warning C4244: 'argument': conversion from 'double' to 'float', possible loss of data
:\OpenSource\openexr\OpenEXR\exrenvmap\blurImage.cpp(290): warning C4244: 'argument': conversion from 'double' to 'float', possible loss of data
:\OpenSource\openexr\OpenEXR\exrenvmap\blurImage.cpp(291): warning C4244: 'argument': conversion from 'double' to 'float', possible loss of data
:\OpenSource\openexr\OpenEXR\exrenvmap\blurImage.cpp(313): warning C4244: 'argument': conversion from 'double' to 'float', possible loss of data
:\OpenSource\openexr\OpenEXR\exrenvmap\blurImage.cpp(314): warning C4244: 'argument': conversion from 'double' to 'float', possible loss of data
:\OpenSource\openexr\OpenEXR\exrenvmap\blurImage.cpp(315): warning C4244: 'argument': conversion from 'double' to 'float', possible loss of data
:\OpenSource\openexr\OpenEXR\exrenvmap\blurImage.cpp(316): warning C4244: 'argument': conversion from 'double' to 'float', possible loss of data
:\OpenSource\openexr\OpenEXR\exrenvmap\blurImage.cpp(349): warning C4244: 'argument': conversion from 'int' to 'T', possible loss of data
       with
       [
           T=float
       ]
:\OpenSource\openexr\OpenEXR\exrenvmap\blurImage.cpp(374): warning C4244: 'argument': conversion from 'int' to 'T', possible loss of data
       with
       [
           T=float
       ]
:\OpenSource\openexr\OpenEXR\exrenvmap\blurImage.cpp(399): warning C4244: 'argument': conversion from 'double' to 'float', possible loss of data
:\OpenSource\openexr\OpenEXR\exrenvmap\blurImage.cpp(400): warning C4244: 'argument': conversion from 'double' to 'float', possible loss of data
:\OpenSource\openexr\OpenEXR\exrenvmap\blurImage.cpp(401): warning C4244: 'argument': conversion from 'double' to 'float', possible loss of data
:\OpenSource\openexr\OpenEXR\exrenvmap\blurImage.cpp(402): warning C4244: 'argument': conversion from 'double' to 'float', possible loss of data
nvmapImage.cpp
 92%] Linking CXX executable ..\..\bin\exrenvmap.exe
 73%] Building CXX object OpenEXR/exrmaketiled/CMakeFiles/exrmaketiled.dir/makeTiled.cpp.obj
 76%] Building CXX object OpenEXR/exrmaketiled/CMakeFiles/exrmaketiled.dir/main.cpp.obj
 76%] Building CXX object OpenEXR/exrmaketiled/CMakeFiles/exrmaketiled.dir/Image.cpp.obj
akeTiled.cpp
:\opensource\openexr\openexr\ilmimf\ImfName.h(113): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
:\OpenSource\openexr\OpenEXR\exrmaketiled\makeTiled.cpp(610): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\exrmaketiled\makeTiled.cpp(239): warning C4244: 'argument': conversion from 'double' to 'float', possible loss of data
:\OpenSource\openexr\OpenEXR\exrmaketiled\makeTiled.cpp(293): note: see reference to function template instantiation 'T `anonymous-namespace'::filterX<half>(const TypedImageChannel<T> &,int,double,int,Extrapolation)' being compiled
       with
       [
           T=half
       ]
:\OpenSource\openexr\OpenEXR\exrmaketiled\makeTiled.cpp(394): note: see reference to function template instantiation 'void `anonymous-namespace'::reduceX<half>(const TypedImageChannel<half> &,TypedImageChannel<half> &,bool,Extrapolation &,bool)' being compiled
:\OpenSource\openexr\OpenEXR\exrmaketiled\makeTiled.cpp(258): warning C4244: 'argument': conversion from 'double' to 'float', possible loss of data
:\OpenSource\openexr\OpenEXR\exrmaketiled\makeTiled.cpp(345): note: see reference to function template instantiation 'T `anonymous-namespace'::filterY<half>(const TypedImageChannel<T> &,int,int,double,Extrapolation)' being compiled
       with
       [
           T=half
       ]
:\OpenSource\openexr\OpenEXR\exrmaketiled\makeTiled.cpp(445): note: see reference to function template instantiation 'void `anonymous-namespace'::reduceY<half>(const TypedImageChannel<half> &,TypedImageChannel<half> &,bool,Extrapolation,bool)' being compiled
mage.cpp
:\opensource\openexr\openexr\ilmimf\ImfName.h(113): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
ain.cpp
:\opensource\openexr\openexr\ilmimf\ImfName.h(113): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
 93%] Linking CXX executable ..\..\bin\exrmaketiled.exe
 95%] Built target IlmImfUtil
 95%] Built target exrenvmap
 95%] Built target exrheader
 72%] Building CXX object OpenEXR/IlmImfExamples/CMakeFiles/IlmImfExamples.dir/drawImage.cpp.obj
 95%] Built target exrmaketiled
 75%] Building CXX object OpenEXR/exrstdattr/CMakeFiles/exrstdattr.dir/main.cpp.obj
ain.cpp
:\opensource\openexr\openexr\ilmimf\ImfName.h(113): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
 94%] Linking CXX executable ..\..\bin\exrstdattr.exe
 77%] Building CXX object OpenEXR/exrmultiview/CMakeFiles/exrmultiview.dir/makeMultiView.cpp.obj
 78%] Building CXX object OpenEXR/exrmultiview/CMakeFiles/exrmultiview.dir/main.cpp.obj
 80%] Building CXX object OpenEXR/exrmultiview/CMakeFiles/exrmultiview.dir/Image.cpp.obj
akeMultiView.cpp
:\opensource\openexr\openexr\ilmimf\ImfName.h(113): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
:\OpenSource\openexr\OpenEXR\exrmultiview\makeMultiView.cpp(139): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
ain.cpp
mage.cpp
:\opensource\openexr\openexr\ilmimf\ImfName.h(113): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
 93%] Linking CXX executable ..\..\bin\exrmultiview.exe
 95%] Built target exrmultiview
 95%] Built target exrstdattr
 75%] Building CXX object OpenEXR/IlmImfExamples/CMakeFiles/IlmImfExamples.dir/generalInterfaceExamples.cpp.obj
 76%] Building CXX object OpenEXR/IlmImfExamples/CMakeFiles/IlmImfExamples.dir/generalInterfaceTiledExamples.cpp.obj
 96%] Building CXX object OpenEXR/exrmultipart/CMakeFiles/exrmultipart.dir/exrmultipart.cpp.obj
rawImage.cpp
 96%] Building CXX object OpenEXR/IlmImfExamples/CMakeFiles/IlmImfExamples.dir/lowLevelIoExamples.cpp.obj
xrmultipart.cpp
 97%] Building CXX object OpenEXR/IlmImfExamples/CMakeFiles/IlmImfExamples.dir/previewImageExamples.cpp.obj
:\opensource\openexr\openexr\ilmimf\ImfName.h(113): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
 98%] Building CXX object OpenEXR/IlmImfExamples/CMakeFiles/IlmImfExamples.dir/rgbaInterfaceExamples.cpp.obj
 98%] Building CXX object OpenEXR/IlmImfExamples/CMakeFiles/IlmImfExamples.dir/rgbaInterfaceTiledExamples.cpp.obj
:\opensource\openexr\openexr\ilmimf\ImfName.h(113): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
:\OpenSource\openexr\OpenEXR\IlmImfExamples\drawImage.cpp(107): warning C4244: 'initializing': conversion from 'double' to 'float', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImfExamples\drawImage.cpp(110): warning C4305: '*=': truncation from 'double' to 'float'
:\OpenSource\openexr\OpenEXR\IlmImfExamples\drawImage.cpp(153): warning C4244: 'initializing': conversion from 'double' to 'float', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImfExamples\drawImage.cpp(156): warning C4305: '*=': truncation from 'double' to 'float'
:\OpenSource\openexr\OpenEXR\IlmImfExamples\drawImage.cpp(318): warning C4244: 'initializing': conversion from 'double' to 'float', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImfExamples\drawImage.cpp(319): warning C4244: 'initializing': conversion from 'double' to 'float', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImfExamples\drawImage.cpp(320): warning C4244: 'initializing': conversion from 'double' to 'float', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImfExamples\drawImage.cpp(322): warning C4244: 'initializing': conversion from 'double' to 'float', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImfExamples\drawImage.cpp(323): warning C4244: 'initializing': conversion from 'double' to 'float', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImfExamples\drawImage.cpp(324): warning C4244: 'initializing': conversion from 'double' to 'float', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImfExamples\drawImage.cpp(325): warning C4244: 'initializing': conversion from 'double' to 'float', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImfExamples\drawImage.cpp(332): warning C4244: 'argument': conversion from 'double' to 'float', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImfExamples\drawImage.cpp(332): warning C4305: 'argument': truncation from 'double' to 'float'
:\OpenSource\openexr\OpenEXR\IlmImfExamples\drawImage.cpp(330): warning C4244: 'argument': conversion from 'double' to 'float', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImfExamples\drawImage.cpp(338): warning C4244: 'argument': conversion from 'double' to 'float', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImfExamples\drawImage.cpp(338): warning C4305: 'argument': truncation from 'double' to 'float'
:\OpenSource\openexr\OpenEXR\IlmImfExamples\drawImage.cpp(336): warning C4244: 'argument': conversion from 'double' to 'float', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImfExamples\drawImage.cpp(344): warning C4244: 'argument': conversion from 'double' to 'float', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImfExamples\drawImage.cpp(344): warning C4305: 'argument': truncation from 'double' to 'float'
:\OpenSource\openexr\OpenEXR\IlmImfExamples\drawImage.cpp(342): warning C4244: 'argument': conversion from 'double' to 'float', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImfExamples\drawImage.cpp(365): warning C4244: 'initializing': conversion from 'double' to 'float', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImfExamples\drawImage.cpp(366): warning C4244: 'initializing': conversion from 'double' to 'float', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImfExamples\drawImage.cpp(367): warning C4244: 'initializing': conversion from 'double' to 'float', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImfExamples\drawImage.cpp(368): warning C4244: 'initializing': conversion from 'double' to 'float', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImfExamples\drawImage.cpp(369): warning C4244: 'initializing': conversion from 'double' to 'float', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImfExamples\drawImage.cpp(370): warning C4244: 'initializing': conversion from 'double' to 'float', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImfExamples\drawImage.cpp(377): warning C4244: 'argument': conversion from 'double' to 'float', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImfExamples\drawImage.cpp(376): warning C4244: 'argument': conversion from 'double' to 'float', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImfExamples\drawImage.cpp(459): warning C4244: 'initializing': conversion from 'int' to 'float', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImfExamples\drawImage.cpp(460): warning C4244: 'initializing': conversion from 'int' to 'float', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImfExamples\drawImage.cpp(256): warning C4244: 'initializing': conversion from 'double' to 'float', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImfExamples\drawImage.cpp(397): note: see reference to function template instantiation 'void `anonymous-namespace'::mndl<Imf_2_4::Rgba>(Imf_2_4::Array2D<Imf_2_4::Rgba> &,int,int,int,int,int,int,int,int,double,double,double,double,double,double)' being compiled
:\OpenSource\openexr\OpenEXR\exrmultipart\exrmultipart.cpp(410): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\exrmultipart\exrmultipart.cpp(426): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\exrmultipart\exrmultipart.cpp(564): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\exrmultipart\exrmultipart.cpp(571): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\exrmultipart\exrmultipart.cpp(579): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\exrmultipart\exrmultipart.cpp(584): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\exrmultipart\exrmultipart.cpp(589): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
:\OpenSource\openexr\OpenEXR\exrmultipart\exrmultipart.cpp(594): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
eneralInterfaceExamples.cpp
:\opensource\openexr\openexr\ilmimf\ImfName.h(113): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
eneralInterfaceTiledExamples.cpp
:\opensource\openexr\openexr\ilmimf\ImfName.h(113): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
owLevelIoExamples.cpp
:\opensource\openexr\openexr\ilmimf\ImfName.h(113): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
:\OpenSource\openexr\OpenEXR\IlmImfExamples\lowLevelIoExamples.cpp(130): warning C4244: 'argument': conversion from 'Imath_2_4::Int64' to 'long', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImfExamples\lowLevelIoExamples.cpp(162): warning C4244: 'argument': conversion from 'Imath_2_4::Int64' to 'long', possible loss of data
:\OpenSource\openexr\OpenEXR\IlmImfExamples\lowLevelIoExamples.cpp(246): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\stdio.h(208): note: see declaration of 'fopen'
:\OpenSource\openexr\OpenEXR\IlmImfExamples\lowLevelIoExamples.cpp(271): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\stdio.h(208): note: see declaration of 'fopen'
reviewImageExamples.cpp
:\opensource\openexr\openexr\ilmimf\ImfName.h(113): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
gbaInterfaceExamples.cpp
:\opensource\openexr\openexr\ilmimf\ImfName.h(113): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
gbaInterfaceTiledExamples.cpp
:\opensource\openexr\openexr\ilmimf\ImfName.h(113): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
 99%] Linking CXX executable IlmImfExamples.exe
 99%] Built target IlmImfExamples
100%] Linking CXX executable ..\..\bin\exrmultipart.exe
100%] Built target exrmultipart
meshula commented 4 years ago

Thanks for the report.

I suggest we drop IEXDEBUGTHROW. I added that more than a decade ago when debuggers lacked a consistent ability to break on exception throwing. Nowadays, it's trivially easy. That solves the use of getenv in Iex. For the command line tools it would make sense to copy the pattern in OCIO that you've linked.

operator = in ImfName.h is vaguely unsafe, and using the _s variant is a panacea. The warning does highlight a potential problem. Probably we should review the assignment operator, and sanity check things, by at least ensuring that there is a terminating zero. At that point, acceding to annoying nag and calling strncpy_s on Windows is probably more desirable than using a _CRT_SECURE_NO_WARNINGS hack, since _CRT_SECURE_NO_WARNINGS leaks out to projects using OpenEXR.

All of the conversion warnings need individual attention, because in many cases a static_cast is the right answer, but in order to avoid introducing new bugs versus images with enormous dimensions, we should think each one through.

Our bandwidth right now is consumed by the migration to ASWF, so PRs from the community addressing these issues, even little by little, would be most welcome.

hodoulp commented 4 years ago

calling strncpy_s on Windows is probably more desirable than using a _CRT_SECURE_NO_WARNINGS

Agree.

Anyway there is nothing blocking an occasional Windows contributor. That's much more an annoyance because of the number of warnings.

cary-ilm commented 4 years ago

Another option we discussed is to disable the warning via a #pragma in the header.

@hodoulp, if you'd consider submitting a PR, we'll review.

cary-ilm commented 4 years ago

Revisiting this, we're preparing a 3.0 release in the next few weeks, if anyone would like to contribute a PR that addresses these warnings, now would be a good time.

meshula commented 3 years ago

Note: we should inventory warnings under msvc again, and update this issue as appropriate

meshula commented 3 years ago

There are still a number of warnings, here are a few representative messages, each of which recurs many times.


C:\Projects\openexr\src\lib\OpenEXR\ImfName.h(83,5): warning C4996: 'strncpy': This function or variable may be unsafe
. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Projec
ts\build\src\bin\exrstdattr\exrstdattr.vcxproj]

C:\Projects\openexr\src\bin\exrmultipart\exrmultipart.cpp(576,19): warning C4834: discarding return value of function
with 'nodiscard' attribute [C:\Projects\build\src\bin\exrmultipart\exrmultipart.vcxproj]

C:\Projects\openexr\src\bin\exrmultipart\exrmultipart.cpp(381,59): warning C4267: 'argument': conversion from 'size_t'
 to 'int', possible loss of data [C:\Projects\build\src\bin\exrmultipart\exrmultipart.vcxproj]

C:\Projects\openexr\src\bin\exrmultipart\exrmultipart.cpp(381,59): warning C4267: 'argument': conversion from 'size_t'
 to 'int', possible loss of data [C:\Projects\build\src\bin\exrmultipart\exrmultipart.vcxproj]

C:\Projects\openexr\src\bin\exrenvmap\blurImage.cpp(320,27): warning C4244: 'argument': conversion from 'int' to 'T',
possible loss of data [C:\Projects\build\src\bin\exrenvmap\exrenvmap.vcxproj]

C:\Projects\openexr\src\lib\OpenEXRUtil\ImfCheckFile.cpp(518,38): warning C4244: 'argument': conversion from 'uint64_t
' to 'long', possible loss of data [C:\Projects\build\src\lib\OpenEXRUtil\OpenEXRUtil.vcxproj]