Boost logo

Boost Users :

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.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net