hi, i needed to check some fileformat issues and was not able to compile lyx 1.3svn anymore. with current versions of gcc 4.1 qt 3 and xforms. xform won't link anomore, qt wont compile anymore, which is bit sad.
the qt bug is as follows and i was able to make it compile by deletion of the problematic line at the cost of some crashes i got from time to time. i don't have idea what is the problem, other use of boost:bind seem to be alike, but maybe somebody remembering the boost::bind usage could easily fix that(JMarc?). make[4]: Entering directory `/home/installer/lyx/BRANCH_1_3_X/src/frontends/qt2' /bin/sh ../../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../src -I../../../src -I../../../src/frontends -I../../../images -I./qt2 -I/usr/qt/3/include -I../../../boost -I../../../src/frontends/controllers -DQT_CLEAN_NAMESPACE -DQT_GENUINE_STR -DQT_NO_STL -DQT_THREAD_SUPPORT -g -O -W -Wall -MT QContentPane.lo -MD -MP -MF .deps/QContentPane.Tpo -c -o QContentPane.lo QContentPane.C g++ -DHAVE_CONFIG_H -I. -I../../../src -I../../../src -I../../../src/frontends -I../../../images -I./qt2 -I/usr/qt/3/include -I../../../boost -I../../../src/frontends/controllers -DQT_CLEAN_NAMESPACE -DQT_GENUINE_STR -DQT_NO_STL -DQT_THREAD_SUPPORT -g -O -W -Wall -MT QContentPane.lo -MD -MP -MF .deps/QContentPane.Tpo -c QContentPane.C In file included from ../../../boost/boost/config.hpp:35, from ../../../boost/boost/bind.hpp:22, from QContentPane.C:15: ../../../boost/boost/config/compiler/gcc.hpp:57:7: warning: #warning "Unknown compiler version - please run the configure tests and report the results" ../../../boost/boost/bind.hpp: In function 'void boost::visit_each(V&, const boost::_bi::value<T>&, int) [with V = boost::signals::detail::bound_objects_visitor, T = QContentPane*]': ../../../boost/boost/bind.hpp:190: instantiated from 'void boost::_bi::list1<A1>::accept(V&) const [with V = boost::signals::detail::bound_objects_visitor, A1 = boost::_bi::value<QContentPane*>]' ../../../boost/boost/bind/bind_template.hpp:151: instantiated from 'void boost::_bi::bind_t<R, F, L>::accept(V&) const [with V = boost::signals::detail::bound_objects_visitor, R = void, F = boost::_mfi::mf0<void, QContentPane>, L = boost::_bi::list1<boost::_bi::value<QContentPane*> >]' ../../../boost/boost/bind.hpp:1147: instantiated from 'void boost::visit_each(V&, const boost::_bi::bind_t<R, F, L>&, int) [with V = boost::signals::detail::bound_objects_visitor, R = void, F = boost::_mfi::mf0<void, QContentPane>, L = boost::_bi::list1<boost::_bi::value<QContentPane*> >]' ../../../boost/boost/visit_each.hpp:31: instantiated from 'void boost::visit_each(Visitor&, const T&) [with Visitor = boost::signals::detail::bound_objects_visitor, T = boost::_bi::bind_t<void, boost::_mfi::mf0<void, QContentPane>, boost::_bi::list1<boost::_bi::value<QContentPane*> > >]' ../../../boost/boost/signals/slot.hpp:104: instantiated from 'boost::slot<SlotFunction>::slot(const F&) [with F = boost::_bi::bind_t<void, boost::_mfi::mf0<void, QContentPane>, boost::_bi::list1<boost::_bi::value<QContentPane*> > >, SlotFunction = boost::function0<void, std::allocator<boost::function_base> >]' QContentPane.C:94: instantiated from here ../../../boost/boost/bind.hpp:1142: error: no matching function for call to 'visit_each(boost::signals::detail::bound_objects_visitor&, QContentPane* const&, int)' pavel
Index: frontends/qt2/QContentPane.C =================================================================== --- frontends/qt2/QContentPane.C (revision 18768) +++ frontends/qt2/QContentPane.C (working copy) @@ -89,9 +89,6 @@ : QWidget(parent, "content_pane", WRepaintNoErase), wa_(parent) { - synthetic_mouse_event_.timeout.timeout.connect( - boost::bind(&QContentPane::generateSyntheticMouseEvent, - this)); setFocusPolicy(QWidget::WheelFocus); setFocus();