Version: (using Devel) Compiler: gcc (GCC) 4.3.0 20080428 (Red Hat 4.3.0-8) OS: Linux Installed from: Compiled sources KDE from svn, new boost 1.37.0 is installed. While compilation of umbrello from kdesdk following error accures: ==================================== *** [umbrello/umbrello/CMakeFiles/umbrello.dir/codeimport/kdevcppparser/driver.o] Error 1 make[2]: *** Waiting for unfinished jobs.... cd /builddir/build/BUILD/kdesdk-4.2.60/x86_64-redhat-linux-gnu/umbrello/umbrello && /usr/lib64/ccache/c++ -D_BSD_SOURCE -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DQT_NO_STL -DQT_NO_CAST_TO_ASCII -D_REENTRANT -DKDE_DEPRECATED_WARNINGS -DQT3_SUPPORT -DQT3_SUPPORT_WARNINGS -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -fvisibility-inlines-hidden -fexceptions -O2 -DNDEBUG -DQT_NO_DEBUG -I/builddir/build/BUILD/kdesdk-4.2.60/x86_64-redhat-linux-gnu/umbrello/umbrello -I/builddir/build/BUILD/kdesdk-4.2.60/umbrello/umbrello -I/builddir/build/BUILD/kdesdk-4.2.60 -I/builddir/build/BUILD/kdesdk-4.2.60/x86_64-redhat-linux-gnu -I/builddir/build/BUILD/kdesdk-4.2.60/umbrello/umbrello/dialogs -I/builddir/build/BUILD/kdesdk-4.2.60/umbrello/umbrello/codeimport -I/builddir/build/BUILD/kdesdk-4.2.60/umbrello/umbrello/codegenerators -I/builddir/build/BUILD/kdesdk-4.2.60/umbrello/umbrello/codegenerators/ada -I/builddir/build/BUILD/kdesdk-4.2.60/umbrello/umbrello/codegenerators/as -I/builddir/build/BUILD/kdesdk-4.2.60/umbrello/umbrello/codegenerators/cpp -I/builddir/build/BUILD/kdesdk-4.2.60/umbrello/umbrello/codegenerators/csharp -I/builddir/build/BUILD/kdesdk-4.2.60/umbrello/umbrello/codegenerators/d -I/builddir/build/BUILD/kdesdk-4.2.60/umbrello/umbrello/codegenerators/idl -I/builddir/build/BUILD/kdesdk-4.2.60/umbrello/umbrello/codegenerators/java -I/builddir/build/BUILD/kdesdk-4.2.60/umbrello/umbrello/codegenerators/js -I/builddir/build/BUILD/kdesdk-4.2.60/umbrello/umbrello/codegenerators/pascal -I/builddir/build/BUILD/kdesdk-4.2.60/umbrello/umbrello/codegenerators/perl -I/builddir/build/BUILD/kdesdk-4.2.60/umbrello/umbrello/codegenerators/php -I/builddir/build/BUILD/kdesdk-4.2.60/umbrello/umbrello/codegenerators/python -I/builddir/build/BUILD/kdesdk-4.2.60/umbrello/umbrello/codegenerators/ruby -I/builddir/build/BUILD/kdesdk-4.2.60/umbrello/umbrello/codegenerators/sql -I/builddir/build/BUILD/kdesdk-4.2.60/umbrello/umbrello/codegenerators/tcl -I/builddir/build/BUILD/kdesdk-4.2.60/umbrello/umbrello/codegenerators/xml -I/builddir/build/BUILD/kdesdk-4.2.60/umbrello/umbrello/codegenwizard -I/usr/include/kde4 -I/usr/include/kde4/KDE -I/usr/include/KDE -I/usr/include/QtXmlPatterns -I/usr/include/QtWebKit -I/usr/include/QtHelp -I/usr/include/QtAssistant -I/usr/include/QtDBus -I/usr/include/QtTest -I/usr/include/QtUiTools -I/usr/include/QtScript -I/usr/include/QtSvg -I/usr/include/QtXml -I/usr/include/QtSql -I/usr/include/QtOpenGL -I/usr/include/QtNetwork -I/usr/include/QtDesigner -I/usr/include/Qt3Support -I/usr/include/QtGui -I/usr/include/QtCore -I/usr/include/Qt -I/usr/lib64/qt4/mkspecs/default -I/usr/include/libxml2 -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -o CMakeFiles/umbrello.dir/kplayerslideraction.o -c /builddir/build/BUILD/kdesdk-4.2.60/umbrello/umbrello/kplayerslideraction.cpp In file included from /builddir/build/BUILD/kdesdk-4.2.60/umbrello/umbrello/floatingtextwidget.h:16, from /builddir/build/BUILD/kdesdk-4.2.60/umbrello/umbrello/floatingtextwidgetcontroller.cpp:18: /usr/include/Qt3Support/q3canvas.h:551: warning: 'virtual void Q3CanvasPolygonalItem::draw(QPainter&)' was hidden /builddir/build/BUILD/kdesdk-4.2.60/umbrello/umbrello/umlwidget.h:231: warning: by 'virtual void UMLWidget::draw(QPainter&, int, int)' In file included from /builddir/build/BUILD/kdesdk-4.2.60/umbrello/umbrello/floatingtextwidget.h:16, from /builddir/build/BUILD/kdesdk-4.2.60/umbrello/umbrello/floatingtextwidget.cpp:13: /usr/include/Qt3Support/q3canvas.h:551: warning: 'virtual void Q3CanvasPolygonalItem::draw(QPainter&)' was hidden /builddir/build/BUILD/kdesdk-4.2.60/umbrello/umbrello/umlwidget.h:231: warning: by 'virtual void UMLWidget::draw(QPainter&, int, int)' /builddir/build/BUILD/kdesdk-4.2.60/umbrello/umbrello/kplayerslideraction.cpp: In constructor 'KPlayerSlider::KPlayerSlider(Qt::Orientation, QWidget*, const char*)': /builddir/build/BUILD/kdesdk-4.2.60/umbrello/umbrello/kplayerslideraction.cpp:253: warning: 'QSlider::QSlider(int, int, int, int, Qt::Orientation, QWidget*, const char*)' is deprecated (declared at /usr/include/QtGui/qslider.h:109) In file included from /builddir/build/BUILD/kdesdk-4.2.60/umbrello/umbrello/boxwidget.h:18, from /builddir/build/BUILD/kdesdk-4.2.60/umbrello/umbrello/forkjoinwidget.h:18, from /builddir/build/BUILD/kdesdk-4.2.60/umbrello/umbrello/forkjoinwidget.cpp:14: /usr/include/Qt3Support/q3canvas.h:551: warning: 'virtual void Q3CanvasPolygonalItem::draw(QPainter&)' was hidden /builddir/build/BUILD/kdesdk-4.2.60/umbrello/umbrello/umlwidget.h:231: warning: by 'virtual void UMLWidget::draw(QPainter&, int, int)' In file included from /builddir/build/BUILD/kdesdk-4.2.60/umbrello/umbrello/codeimport/cppimport.cpp:21: /builddir/build/BUILD/kdesdk-4.2.60/umbrello/umbrello/codeimport/kdevcppparser/tree_parser.h:35: warning: 'virtual void TreeParser::parseDeclaration(DeclarationAST*)' was hidden /builddir/build/BUILD/kdesdk-4.2.60/umbrello/umbrello/codeimport/kdevcppparser/cpptree2uml.h:56: warning: by 'virtual void CppTree2Uml::parseDeclaration(GroupAST*, GroupAST*, TypeSpecifierAST*, InitDeclaratorAST*)' /usr/include/boost/iterator/iterator_adaptor.hpp: In function 'void boost::detail::iterator_adaptor_assert_traversal() [with Tr1 = boost::forward_traversal_tag, Tr2 = boost::random_access_traversal_tag]': /usr/include/boost/iterator/iterator_adaptor.hpp:353: instantiated from 'typename boost::detail::iterator_adaptor_base<Derived, Base, Value, Traversal, Reference, Difference>::type::difference_type boost::iterator_adaptor<Derived, Base, Value, Traversal, Reference, Difference>::distance_to(const boost::iterator_adaptor<OtherDerived, OtherIterator, V, C, R, D>&) const [with OtherDerived = boost::spirit::position_iterator<const QChar*, boost::spirit::file_position_base<std::basic_string<QChar, std::char_traits<QChar>, std::allocator<QChar> > >, boost::spirit::nil_t>, OtherIterator = const QChar*, V = const QChar, C = boost::forward_traversal_tag, R = boost::use_default, D = boost::use_default, Derived = boost::spirit::position_iterator<const QChar*, boost::spirit::file_position_base<std::basic_string<QChar, std::char_traits<QChar>, std::allocator<QChar> > >, boost::spirit::nil_t>, Base = const QChar*, Value = const QChar, Traversal = boost::forward_traversal_tag, Reference = boost::use_default, Difference = boost::use_default]' /usr/include/boost/iterator/iterator_facade.hpp:553: instantiated from 'static typename Facade1::difference_type boost::iterator_core_access::distance_from(const Facade1&, const Facade2&, mpl_::true_) [with Facade1 = boost::spirit::position_iterator<const QChar*, boost::spirit::file_position_base<std::basic_string<QChar, std::char_traits<QChar>, std::allocator<QChar> > >, boost::spirit::nil_t>, Facade2 = boost::spirit::position_iterator<const QChar*, boost::spirit::file_position_base<std::basic_string<QChar, std::char_traits<QChar>, std::allocator<QChar> > >, boost::spirit::nil_t>]' /usr/include/boost/iterator/iterator_facade.hpp:842: instantiated from 'typename boost::detail::enable_if_interoperable<Derived1, Derived2, typename boost::mpl::apply2<boost::detail::always_bool2, Derived1, Derived2>::type>::type boost::operator>=(const boost::iterator_facade<Derived1, V1, TC1, Reference1, Difference1>&, const boost::iterator_facade<Derived2, V2, TC2, Reference2, Difference2>&) [with Derived1 = boost::spirit::position_iterator<const QChar*, boost::spirit::file_position_base<std::basic_string<QChar, std::char_traits<QChar>, std::allocator<QChar> > >, boost::spirit::nil_t>, V1 = const QChar, TC1 = boost::forward_traversal_tag, Reference1 = const QChar&, Difference1 = long int, Derived2 = boost::spirit::position_iterator<const QChar*, boost::spirit::file_position_base<std::basic_string<QChar, std::char_traits<QChar>, std::allocator<QChar> > >, boost::spirit::nil_t>, V2 = const QChar, TC2 = boost::forward_traversal_tag, Reference2 = const QChar&, Difference2 = long int]' /builddir/build/BUILD/kdesdk-4.2.60/umbrello/umbrello/codeimport/kdevcppparser/preprocesslexer.h:267: instantiated from here /usr/include/boost/iterator/iterator_adaptor.hpp:230: error: invalid application of 'sizeof' to incomplete type 'boost::STATIC_ASSERTION_FAILURE<false>' /usr/include/boost/iterator/iterator_adaptor.hpp:230: error: invalid application of 'sizeof' to incomplete type 'boost::STATIC_ASSERTION_FAILURE<false>' make[2]: *** [umbrello/umbrello/CMakeFiles/umbrello.dir/codeimport/kdevcppparser/parser.o] Error 1 /usr/include/boost/iterator/iterator_adaptor.hpp: In function 'void boost::detail::iterator_adaptor_assert_traversal() [with Tr1 = boost::forward_traversal_tag, Tr2 = boost::random_access_traversal_tag]': /usr/include/boost/iterator/iterator_adaptor.hpp:353: instantiated from 'typename boost::detail::iterator_adaptor_base<Derived, Base, Value, Traversal, Reference, Difference>::type::difference_type boost::iterator_adaptor<Derived, Base, Value, Traversal, Reference, Difference>::distance_to(const boost::iterator_adaptor<OtherDerived, OtherIterator, V, C, R, D>&) const [with OtherDerived = boost::spirit::position_iterator<const QChar*, boost::spirit::file_position_base<std::basic_string<QChar, std::char_traits<QChar>, std::allocator<QChar> > >, boost::spirit::nil_t>, OtherIterator = const QChar*, V = const QChar, C = boost::forward_traversal_tag, R = boost::use_default, D = boost::use_default, Derived = boost::spirit::position_iterator<const QChar*, boost::spirit::file_position_base<std::basic_string<QChar, std::char_traits<QChar>, std::allocator<QChar> > >, boost::spirit::nil_t>, Base = const QChar*, Value = const QChar, Traversal = boost::forward_traversal_tag, Reference = boost::use_default, Difference = boost::use_default]' /usr/include/boost/iterator/iterator_facade.hpp:553: instantiated from 'static typename Facade1::difference_type boost::iterator_core_access::distance_from(const Facade1&, const Facade2&, mpl_::true_) [with Facade1 = boost::spirit::position_iterator<const QChar*, boost::spirit::file_position_base<std::basic_string<QChar, std::char_traits<QChar>, std::allocator<QChar> > >, boost::spirit::nil_t>, Facade2 = boost::spirit::position_iterator<const QChar*, boost::spirit::file_position_base<std::basic_string<QChar, std::char_traits<QChar>, std::allocator<QChar> > >, boost::spirit::nil_t>]' /usr/include/boost/iterator/iterator_facade.hpp:842: instantiated from 'typename boost::detail::enable_if_interoperable<Derived1, Derived2, typename boost::mpl::apply2<boost::detail::always_bool2, Derived1, Derived2>::type>::type boost::operator>=(const boost::iterator_facade<Derived1, V1, TC1, Reference1, Difference1>&, const boost::iterator_facade<Derived2, V2, TC2, Reference2, Difference2>&) [with Derived1 = boost::spirit::position_iterator<const QChar*, boost::spirit::file_position_base<std::basic_string<QChar, std::char_traits<QChar>, std::allocator<QChar> > >, boost::spirit::nil_t>, V1 = const QChar, TC1 = boost::forward_traversal_tag, Reference1 = const QChar&, Difference1 = long int, Derived2 = boost::spirit::position_iterator<const QChar*, boost::spirit::file_position_base<std::basic_string<QChar, std::char_traits<QChar>, std::allocator<QChar> > >, boost::spirit::nil_t>, V2 = const QChar, TC2 = boost::forward_traversal_tag, Reference2 = const QChar&, Difference2 = long int]' /builddir/build/BUILD/kdesdk-4.2.60/umbrello/umbrello/codeimport/kdevcppparser/preprocesslexer.h:267: instantiated from here /usr/include/boost/iterator/iterator_adaptor.hpp:230: error: invalid application of 'sizeof' to incomplete type 'boost::STATIC_ASSERTION_FAILURE<false>' /usr/include/boost/iterator/iterator_adaptor.hpp:230: error: invalid application of 'sizeof' to incomplete type 'boost::STATIC_ASSERTION_FAILURE<false>' make[2]: *** [umbrello/umbrello/CMakeFiles/umbrello.dir/codeimport/cppimport.o] Error 1 /builddir/build/BUILD/kdesdk-4.2.60/umbrello/umbrello/codeimport/kdevcppparser/lexer.cpp:427: warning: unused parameter 'directive' /usr/include/boost/iterator/iterator_adaptor.hpp: In function 'void boost::detail::iterator_adaptor_assert_traversal() [with Tr1 = boost::forward_traversal_tag, Tr2 = boost::random_access_traversal_tag]': /usr/include/boost/iterator/iterator_adaptor.hpp:353: instantiated from 'typename boost::detail::iterator_adaptor_base<Derived, Base, Value, Traversal, Reference, Difference>::type::difference_type boost::iterator_adaptor<Derived, Base, Value, Traversal, Reference, Difference>::distance_to(const boost::iterator_adaptor<OtherDerived, OtherIterator, V, C, R, D>&) const [with OtherDerived = boost::spirit::position_iterator<const QChar*, boost::spirit::file_position_base<std::basic_string<QChar, std::char_traits<QChar>, std::allocator<QChar> > >, boost::spirit::nil_t>, OtherIterator = const QChar*, V = const QChar, C = boost::forward_traversal_tag, R = boost::use_default, D = boost::use_default, Derived = boost::spirit::position_iterator<const QChar*, boost::spirit::file_position_base<std::basic_string<QChar, std::char_traits<QChar>, std::allocator<QChar> > >, boost::spirit::nil_t>, Base = const QChar*, Value = const QChar, Traversal = boost::forward_traversal_tag, Reference = boost::use_default, Difference = boost::use_default]' /usr/include/boost/iterator/iterator_facade.hpp:553: instantiated from 'static typename Facade1::difference_type boost::iterator_core_access::distance_from(const Facade1&, const Facade2&, mpl_::true_) [with Facade1 = boost::spirit::position_iterator<const QChar*, boost::spirit::file_position_base<std::basic_string<QChar, std::char_traits<QChar>, std::allocator<QChar> > >, boost::spirit::nil_t>, Facade2 = boost::spirit::position_iterator<const QChar*, boost::spirit::file_position_base<std::basic_string<QChar, std::char_traits<QChar>, std::allocator<QChar> > >, boost::spirit::nil_t>]' /usr/include/boost/iterator/iterator_facade.hpp:842: instantiated from 'typename boost::detail::enable_if_interoperable<Derived1, Derived2, typename boost::mpl::apply2<boost::detail::always_bool2, Derived1, Derived2>::type>::type boost::operator>=(const boost::iterator_facade<Derived1, V1, TC1, Reference1, Difference1>&, const boost::iterator_facade<Derived2, V2, TC2, Reference2, Difference2>&) [with Derived1 = boost::spirit::position_iterator<const QChar*, boost::spirit::file_position_base<std::basic_string<QChar, std::char_traits<QChar>, std::allocator<QChar> > >, boost::spirit::nil_t>, V1 = const QChar, TC1 = boost::forward_traversal_tag, Reference1 = const QChar&, Difference1 = long int, Derived2 = boost::spirit::position_iterator<const QChar*, boost::spirit::file_position_base<std::basic_string<QChar, std::char_traits<QChar>, std::allocator<QChar> > >, boost::spirit::nil_t>, V2 = const QChar, TC2 = boost::forward_traversal_tag, Reference2 = const QChar&, Difference2 = long int]' /builddir/build/BUILD/kdesdk-4.2.60/umbrello/umbrello/codeimport/kdevcppparser/preprocesslexer.h:267: instantiated from here /usr/include/boost/iterator/iterator_adaptor.hpp:230: error: invalid application of 'sizeof' to incomplete type 'boost::STATIC_ASSERTION_FAILURE<false>' /usr/include/boost/iterator/iterator_adaptor.hpp:230: error: invalid application of 'sizeof' to incomplete type 'boost::STATIC_ASSERTION_FAILURE<false>' make[2]: *** [umbrello/umbrello/CMakeFiles/umbrello.dir/codeimport/kdevcppparser/lexer.o] Error 1 /usr/include/boost/iterator/iterator_adaptor.hpp: In function 'void boost::detail::iterator_adaptor_assert_traversal() [with Tr1 = boost::forward_traversal_tag, Tr2 = boost::random_access_traversal_tag]': /usr/include/boost/iterator/iterator_adaptor.hpp:353: instantiated from 'typename boost::detail::iterator_adaptor_base<Derived, Base, Value, Traversal, Reference, Difference>::type::difference_type boost::iterator_adaptor<Derived, Base, Value, Traversal, Reference, Difference>::distance_to(const boost::iterator_adaptor<OtherDerived, OtherIterator, V, C, R, D>&) const [with OtherDerived = boost::spirit::position_iterator<const QChar*, boost::spirit::file_position_base<std::basic_string<QChar, std::char_traits<QChar>, std::allocator<QChar> > >, boost::spirit::nil_t>, OtherIterator = const QChar*, V = const QChar, C = boost::forward_traversal_tag, R = boost::use_default, D = boost::use_default, Derived = boost::spirit::position_iterator<const QChar*, boost::spirit::file_position_base<std::basic_string<QChar, std::char_traits<QChar>, std::allocator<QChar> > >, boost::spirit::nil_t>, Base = const QChar*, Value = const QChar, Traversal = boost::forward_traversal_tag, Reference = boost::use_default, Difference = boost::use_default]' /usr/include/boost/iterator/iterator_facade.hpp:553: instantiated from 'static typename Facade1::difference_type boost::iterator_core_access::distance_from(const Facade1&, const Facade2&, mpl_::true_) [with Facade1 = boost::spirit::position_iterator<const QChar*, boost::spirit::file_position_base<std::basic_string<QChar, std::char_traits<QChar>, std::allocator<QChar> > >, boost::spirit::nil_t>, Facade2 = boost::spirit::position_iterator<const QChar*, boost::spirit::file_position_base<std::basic_string<QChar, std::char_traits<QChar>, std::allocator<QChar> > >, boost::spirit::nil_t>]' /usr/include/boost/iterator/iterator_facade.hpp:842: instantiated from 'typename boost::detail::enable_if_interoperable<Derived1, Derived2, typename boost::mpl::apply2<boost::detail::always_bool2, Derived1, Derived2>::type>::type boost::operator>=(const boost::iterator_facade<Derived1, V1, TC1, Reference1, Difference1>&, const boost::iterator_facade<Derived2, V2, TC2, Reference2, Difference2>&) [with Derived1 = boost::spirit::position_iterator<const QChar*, boost::spirit::file_position_base<std::basic_string<QChar, std::char_traits<QChar>, std::allocator<QChar> > >, boost::spirit::nil_t>, V1 = const QChar, TC1 = boost::forward_traversal_tag, Reference1 = const QChar&, Difference1 = long int, Derived2 = boost::spirit::position_iterator<const QChar*, boost::spirit::file_position_base<std::basic_string<QChar, std::char_traits<QChar>, std::allocator<QChar> > >, boost::spirit::nil_t>, V2 = const QChar, TC2 = boost::forward_traversal_tag, Reference2 = const QChar&, Difference2 = long int]' /builddir/build/BUILD/kdesdk-4.2.60/umbrello/umbrello/codeimport/kdevcppparser/preprocesslexer.h:267: instantiated from here /usr/include/boost/iterator/iterator_adaptor.hpp:230: error: invalid application of 'sizeof' to incomplete type 'boost::STATIC_ASSERTION_FAILURE<false>' /usr/include/boost/iterator/iterator_adaptor.hpp:230: error: invalid application of 'sizeof' to incomplete type 'boost::STATIC_ASSERTION_FAILURE<false>' make[2]: *** [umbrello/umbrello/CMakeFiles/umbrello.dir/codeimport/kdevcppparser/preprocesslexer.o] Error 1 make[2]: Leaving directory `/builddir/build/BUILD/kdesdk-4.2.60/x86_64-redhat-linux-gnu' make[1]: Leaving directory `/builddir/build/BUILD/kdesdk-4.2.60/x86_64-redhat-linux-gnu' make[1]: *** [umbrello/umbrello/CMakeFiles/umbrello.dir/all] Error 2 make: *** [all] Error 2 make: Leaving directory `/builddir/build/BUILD/kdesdk-4.2.60/x86_64-redhat-linux-gnu' ==================================== With older boost everything compiled.
Tested with today's changes (revision 910336).
*** This bug has been marked as a duplicate of bug 177755 ***