
On 28/10/10 20:21, Igor R wrote:
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.
Sure thing but sometimes it's not possible to apply this solution. Second, such things should be documented somewhere. Perhaps I've missed it. However, thanks to this self-resolved bug report, I was able to sort it out. https://svn.boost.org/trac/boost/ticket/967 Best regards, -- Mateusz Loskot, http://mateusz.loskot.net Charter Member of OSGeo, http://osgeo.org Member of ACCU, http://accu.org