Boost logo

Boost Users :

From: Jason Stewart (jstewart_at_[hidden])
Date: 2007-10-09 12:01:40


Has anyone tried using boost spirit with C++/CLI? I have a library that
uses Spirit internally to parse a file. The library is built as an
unmanaged C++ static library. I then link that to a managed C++/CLI
application but when I try to parse the file I get heap corruption. The
corruption seems to happen near an #ifdef for BOOST_SPIRIT_THREADSAFE so
I tried to define that for the build of the library and the application.
Unfortunately it now fails to initialize correctly and dies on startup.

Has anyone done this before?

Thanks,

Jason Stewart


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