
4 Apr
2008
4 Apr
'08
5:46 p.m.
"Peter Dimov" <pdimov@pdimov.com> writes:
Mat Marcus wrote:
Also, you might consider adding:
#define _SECURE_SCL 0
for VC 9.
And make the users chase subtle ODR violations? Not very polite.
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=863481&SiteID=1
Ouch, good point. I guess one has to consider _SECURE_SCL=0 as a global setting. Perhaps the boost build system might want to make this the default, given the past performance issues of MS checked iterators, etc. even in release builds. (I haven't measured the performance imapct for vc9 yet, but I did notice that it is not a debug-only switch). - Mat