Boost logo

Boost :

From: Mat Marcus (mat-lists_at_[hidden])
Date: 2008-04-04 13:46:30


"Peter Dimov" <pdimov_at_[hidden]> 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


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk