id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 6185,_SCL_SECURE_NO_WARNINGS macro redefinition in Boost.Move,a.tinsmith@…,Ion Gaztañaga,"In the ""boost/move/move.hpp"" (line 28) header file _SCL_SECURE_NO_WARNINGS macro is defined without checking whether previous definition exists: {{{ #ifdef BOOST_MSVC #ifndef _CRT_SECURE_NO_DEPRECATE #define BOOST_INTERPROCESS_CRT_SECURE_NO_DEPRECATE #define _CRT_SECURE_NO_DEPRECATE #define _SCL_SECURE_NO_WARNINGS #endif #pragma warning (push) #pragma warning(disable:4996) #endif }}} Correct code: {{{ #ifdef BOOST_MSVC #ifndef _CRT_SECURE_NO_DEPRECATE #define BOOST_INTERPROCESS_CRT_SECURE_NO_DEPRECATE #define _CRT_SECURE_NO_DEPRECATE #endif #ifndef _SCL_SECURE_NO_WARNINGS #define _SCL_SECURE_NO_WARNINGS #endif #pragma warning (push) #pragma warning(disable:4996) #endif }}}",Bugs,closed,To Be Determined,move,Boost 1.48.0,Regression,fixed,_SCL_SECURE_NO_WARNINGS C4005,