"Bo Peng" <[EMAIL PROTECTED]> writes: | > You need a good reason to not be able to go with BOOST_ASSERT | > | | For my application, the C++ code is wrapped by SWIG, assert fail needs | to be passed to python, with appropriate error message. so | BOOST_ASSERT can not be used. For lyx, I guess BOOST_ASSERT is enough. | What disappointed me was that I never get an assert message (with | filename, line number info) when lyx fails. :-(
BOOST_ASSERT can provide that. It is possible that we are missing a define: BOOST_ENABLE_ASSERT_HANDLER. That should be set in configure.ac, together with the other boost defines. -- Lgb