What is the relation between _SECURE_SCL and _HAS_ITERATOR_DEBUGGING.
Is it possible to turn on/off range checking and preserve binary compatibility?
Any difference between 2008 and 2010 versions?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Stephan Lavavej has provided some detail on this
_SECURE_SCLand_HAS_ITERATOR_DEBUGGING:From http://blogs.msdn.com/b/vcblog/archive/2007/08/10/the-future-of-the-c-language.aspx
Note that starting in VS 2010,
_SECURE_SCLis no longer enabled by default in release mode (the above excerpt is from 2007).As described in this bug report (http://connect.microsoft.com/VisualStudio/feedback/details/334315/has-iterator-debugging-0-causes-crash), both
_SECURE_SCLand_HAS_ITERATOR_DEBUGGINGaffect the ABI: