[Boost.Program_Options] Assertion failed on a Windows Form Application

Hi,
When I create a "Windows Forms Application" under Visual C++ Express
and add these lines to the main .cpp file:
#include

JD wrote:
Hi,
When I create a "Windows Forms Application" under Visual C++ Express and add these lines to the main .cpp file:
#include
static boost::program_options::variables_map vm; and then set the the project property 'Common Language Runtime support' to /clr (/clr:pure make compilation fails), I got an assertion failure on dbgheap.c line 1414, expression: _CrtIsValidHeapPointer(pUserData) on the line:
BOOST_PROGRAM_OPTIONS_DECL std::string arg("arg");
in value_semantic.cpp.
I'm afraid I have no clue what's going on. You'd need a VC++/CLR expert. - Volodya
participants (2)
-
JD
-
Vladimir Prus