Lars Gullik Bj?nnes wrote: > Rob Lahaye <[EMAIL PROTECTED]> writes: > > | Index: src/boost.C > | =================================================================== > | RCS file: /cvs/lyx/lyx-devel/src/boost.C,v > | retrieving revision 1.4 > | diff -u -r1.4 boost.C > | --- src/boost.C 2003/09/09 17:25:17 1.4 > | +++ src/boost.C 2003/09/10 05:06:32 > | @@ -51,7 +51,7 @@ > | lyxerr << "Assertion triggered in " << function << " by \"" << > | expr << " in file " << file << ":" << line << endl; > | emergencyCleanup(); > | - assert(false); > | + BOOST_ASSERT(false); > | } > > This will create a citcular... > > Why is it needed?
Aha, so my solution is indeed wrong then. I got the following error message (using gcc 3.3.1): boost.C: In function `void boost::assertion_failed(const char*, const char*, const char*, long int)': boost.C:54: error: `assert' undeclared (first use this function) boost.C:54: error: (Each undeclared identifier is reported only once for each function it appears in.) gmake[3]: *** [boost.o] Error 1 Should instead a "#include <cassert>" be added at the top of this file? Rob.