c++ - Visual Studio Warning C4996 -


i'm getting following warning

warning c4996: 'std::_uninitialized_copy0': function call parameters may unsafe - call relies on caller check passed values correct. disable warning, use -d_scl_secure_no_warnings. see documentation on how use visual c++ 'checked iterators' c:\program files\microsoft visual studio 10.0\vc\include\memory 348

i can't seem find information combat warning. looking @ output seems warning has boost.signals2 , auto_buffer.

is safe ignore or can remove somehow?

first, quite fond of compiler warnings. invoke gcc -wall -wextra.

however, msvc warning c4996 fires on valid code. changes proposed in warning text compromise code portability, while never substantially improve code quality. regularly suppress warning in msvc projects (project properties->c++->advanced->disable specific warnings).

check this , that discussions.


Comments

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -