Boost logo

Boost-Build :

From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2008-09-03 17:55:18


Jurko Gospodnetić wrote:
> There have been requests to make Boost Build cleanly support
> Microsoft's 'secure STL'/'checked iterators' feature.

Two alternatives...

Use the existing "runtime-debugging" feature to set the SCL_SECURE
define. This has the advantage that the default behavior is the current
behavior and there's no new feature name to fret about.

Name the new feature "runtime-iterator-debugging", with values "off" and
"checked". Set it to default to "off" for variant=release or
variant=profile, and "checked" for variant=debug. This does change the
current behavior, but in a less jarring way. It also is a generic but
clear name which covers other STD implementations that have such
iterators. It also allows for adding other kinds of iterator debugging
if other STDs implement then now or in the future.

-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera/acm.org (msn) - grafik/redshift-software.com
-- 102708583/icq - grafikrobot/aim,yahoo,skype,efnet,gmail

Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk