$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] std::string corrupt after including boost
From: Igor R (boost.lists_at_[hidden])
Date: 2010-10-28 15:21:29
> On Windows, using Visual C++,
> I have experienced crashes of optimised (release) build of a program
> linking against program_options from binaries of Boost 1.44
> downloaded from boostpro.com.
>
> Once I have removed #define _SECURE_SCL 0 from my program,
> craches disappeared.
Instead, you could compile boost with -D_SECURE_SCL
But of course, boost libs and your program should be compiled with the
same option.