Today's SVN 3.5 branch khtml compile problem

Pavel Troller patrol at sinus.cz
Sun Mar 5 13:34:48 GMT 2006


Hi!
The latest update in khtml causes the following problem with compilation:

make[1]: Entering directory `/usr/src/kde3/kdelibs/khtml/dom'
if /bin/sh ../../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../dcop -I../../kdecore -I../../kio/kssl -I../../kjs -I../../kimgio -I../../kio -I../../dcop -I../../khtml -I../.. -I../../dcop -I../../libltdl -I../../kdefx -I../../kdecore -I../../kdecore -I../../kdeui -I../../kio -I../../kio/kio -I../../kio/kfile -I../.. -I/opt/qt3.2/include -I/opt/X11/include -I/opt/kde3.5/include -I/opt/sound/include -I/opt/samba/include -I/opt/aspell/include -I/opt/fontconfig/include -I/opt/alsa/include -I/opt/cups/include  -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -O2 -march=i586 -mcpu=i586 -fomit-frame-pointer -fforce-mem -fforce-addr -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common  -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -fexceptions  -MT libkhtmldom_la.all_cpp.lo -MD -MP -MF ".deps/libkhtmldom_la.all_cpp.Tpo" -c -o libkhtmldom_la.all_cpp.lo libkhtmldom_la.all_cpp.cpp; \
then mv -f ".deps/libkhtmldom_la.all_cpp.Tpo" ".deps/libkhtmldom_la.all_cpp.Plo"; else rm -f ".deps/libkhtmldom_la.all_cpp.Tpo"; exit 1; fi
In file included from html_table.cpp:29,
                 from libkhtmldom_la.all_cpp.cpp:24:
../../khtml/html/html_tableimpl.h: In member function `ChildType*
   DOM::ChildHolder<ChildType, ChildId>::get(const DOM::ElementImpl*) const
   [with ChildType = DOM::HTMLTableCaptionElementImpl, int ChildId = 16]':
../../khtml/html/html_tableimpl.h:134:   instantiated from here
../../khtml/html/html_tableimpl.h:77: error: invalid static_cast from type `
   DOM::NodeImpl*' to type `DOM::HTMLTableCaptionElementImpl*'
../../khtml/html/html_tableimpl.h: In member function `ChildType*
   DOM::ChildHolder<ChildType, ChildId>::get(const DOM::ElementImpl*) const
   [with ChildType = DOM::HTMLTableSectionElementImpl, int ChildId = 94]':
../../khtml/html/html_tableimpl.h:137:   instantiated from here
../../khtml/html/html_tableimpl.h:77: error: invalid static_cast from type `
   DOM::NodeImpl*' to type `DOM::HTMLTableSectionElementImpl*'
../../khtml/html/html_tableimpl.h: In member function `ChildType*
   DOM::ChildHolder<ChildType, ChildId>::get(const DOM::ElementImpl*) const
   [with ChildType = DOM::HTMLTableSectionElementImpl, int ChildId = 92]':
../../khtml/html/html_tableimpl.h:140:   instantiated from here
../../khtml/html/html_tableimpl.h:77: error: invalid static_cast from type `
   DOM::NodeImpl*' to type `DOM::HTMLTableSectionElementImpl*'
../../khtml/html/html_tableimpl.h: In member function `ChildType*
   DOM::ChildHolder<ChildType, ChildId>::get(const DOM::ElementImpl*) const
   [with ChildType = DOM::HTMLTableSectionElementImpl, int ChildId = 89]':
../../khtml/html/html_tableimpl.h:191:   instantiated from here
../../khtml/html/html_tableimpl.h:77: error: invalid static_cast from type `
   DOM::NodeImpl*' to type `DOM::HTMLTableSectionElementImpl*'
make[1]: *** [libkhtmldom_la.all_cpp.lo] Error 1
make[1]: Leaving directory `/usr/src/kde3/kdelibs/khtml/dom'

                                With regards, Pavel Troller




More information about the kfm-devel mailing list