g++ -o debug/common/lyx_main.o -c -g -O -I/usr/local/include
-Idebug/common -Isrc -Isrc -Iboost src/lyx_main.C
In file included from src/lyx_main.C:56:
src/support/ExceptionMessage.h:39: error: looser throw specifier for
`virtual lyx::support::ExceptionMessage::~ExceptionMessage()'
/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/exception:56:
error:   overriding `virtual std::exception::~exception() throw ()'
src/support/ExceptionMessage.h: In constructor
`lyx::support::ExceptionMessage::ExceptionMessage(lyx::support::ExceptionType,
const lyx::docstring&, const lyx::docstring&)':
src/support/ExceptionMessage.h:37: error: no matching function for
call to `std::exception::exception(const char*)'
boost/boost/detail/shared_count.hpp:364: note: candidates are:
std::exception::exception(const std::exception&)
/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/exception:55:
note:                 std::exception::exception()
scons: *** [debug/common/lyx_main.o] Error 1
scons: building terminated because of errors.

Reply via email to