$include_dir="/home/hyper-archives/boost-build/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-build] [msvc] defines to turn of security mode
From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2008-12-03 12:03:20
Hi,
Am I right that by default the msvc toolset does not turn of this
security stuff from microsoft?
When I did
nesotto_at_ottosen /cygdrive/d/boost/trunk/tools/build/v2/tools
$ grep -rin "secure" *
intel-win.jam:91: # Disable Microsoft "secure" overloads in
Dinkumware librar
ies since they
intel-win.jam:93: C++FLAGS += -D_SECURE_SCL=0 ;
mpi.jam:250: <toolset>msvc:<define>_SECURE_SCL=0
there are aparently no flags in the msvc toolset. I have seen other
pages recomment the following:
"If you use and of the compiled libraries in boost, just add this to
your bjam command-line:
define=_CRT_NONSTDC_NO_DEPRECATE define=_CRT_SECURE_NO_DEPRECATE
define=_SECURE_SCL=0 define=_SCL_SECURE_NO_DEPRECATE
define=_HAS_ITERATOR_DEBUGGING=0"
Thanks in advance
-Thorsten