id summary reporter owner description type status milestone component version severity resolution keywords cc 5771 warning C4996 occurs during compilation of basic_binary_iprimitive::load_binary because of the call to sgetn method Anton Matosov Robert Ramey "warning C4996 occurs during compilation of basic_binary_iprimitive::load_binary because of the call to '''sgetn''' method: '' warning C4996: 'std::basic_streambuf<_Elem,_Traits>::sgetn': 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' e:\boost\include\boost-1_46_1\boost\archive\basic_binary_iprimitive.hpp 161 '' Minimal code to reproduce: {{{ #include }}} easy solution for this is to use '''[http://msdn.microsoft.com/en-us/library/aa985925%28VS.80%29.aspx _Sgetn_s]''' for VC 8.0 and higher. Patch with a quick fix is attached to the ticket." Bugs closed Boost 1.48.0 serialization Boost 1.46.1 Problem wontfix