Hello,
I'm trying to hack Inkscape 0.4.3 to compile on Solaris 10 x86, with Sun Studio 11.
Right now i'm stuck at the following:
CC -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/csw/include/freetype2 -I/opt/csw/include -D_REENTRANT -DORBIT2=1 -I/opt/csw/include/gnome-vfs-2.0 -I/opt/csw/lib/gnome-vfs-2.0/include -I/opt/csw/include/bonobo-activation-2.0 -I/opt/csw/include/libbonobo-2.0 -I/opt/csw/include/gconf/2 -I/opt/csw/include/glib-2.0 -I/opt/csw/lib/glib-2.0/include -I/opt/csw/include/orbit-2.0 -I/opt/csw/include -I/opt/csw/include/freetype2 -DPOTRACE="potrace" -D_REENTRANT -I/opt/csw/include/gdkmm-2.4 -I/opt/csw/lib/gdkmm-2.4/include -I/opt/csw/include/glibmm-2.4 -I/opt/csw/lib/glibmm-2.4/include -I/opt/csw/include/pangomm-1.4 -I/opt/csw/include/gtk-2.0 -I/opt/csw/lib/gtk-2.0/include -I/opt/csw/include/sigc++-2.0 -I/opt/csw/lib/sigc++-2.0/include -I/opt/csw/include/glib-2.0 -I/opt/csw/lib/glib-2.0/include -I/opt/csw/include/pango-1.0 -I/opt/csw/include/cairo -I/opt/csw/include/gtkmm-2.4 -I/opt/csw/lib/gtkmm-2.4/include -I/opt/csw/include/atkmm-1.6 -I/opt/csw/include/atk-1.0 -I/opt/csw/include/libxml2 -I/opt/csw/include -I/opt/csw/include/gtkspell-2.0 -I../cxxtest -I/opt/csw/include -g -c -o sp-item.o sp-item.cpp "display/nr-arena-item.h", line 112: Warning: arena hides NRArenaItem::arena. "sp-item.cpp", line 263: Warning: repr hides SPObject::repr. "sp-item.cpp", line 273: Warning: repr hides SPObject::repr. "sp-item.cpp", line 284: Error: Could not find a match for Inkscape::Util::reverse_listInkscape::Util::InputIterator(SPObject*, SPItem*) needed in SPItem::lowerOne(). "sp-item.cpp", line 290: Warning: repr hides SPObject::repr. "sp-item.cpp", line 303: Error: Could not find a match for Inkscape::Util::reverse_listInkscape::Util::InputIterator(SPObject*, SPItem*) needed in SPItem::lowerToBottom(). "sp-item.cpp", line 310: Warning: repr hides SPObject::repr. 2 Error(s) and 5 Warning(s) detected.
I suspect I need to correctly cast
"reverse_listSPObject::SiblingIterator( SP_OBJECT_PARENT(this)->firstChild(), this)," (line 284 of sp-item.cpp) so that it resolves to
"reverse_list(InputIterator start, InputIterator end)" in reverse-list.h.
Am I right about this? If so, could someone enlighten me on how to cast it correctly? (I'm no C++ expert).
Many thanks in advance. :) -- Regards, Jeremy