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).
Comments
Post a Comment