Hi,
CVS head doesn't compile for me:
if distcc g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include/gtkmm-2.4 -I/usr/local/lib/gtkmm-2.4/include -I/usr/local/include/glibmm-2.4 -I/usr/local/lib/glibmm-2.4/include -I/usr/local/include/gdkmm-2.4 -I/usr/local/lib/gdkmm-2.4/include -I/usr/local/include/pangomm-1.4 -I/usr/local/include/atkmm-1.6 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -Wall -W -Wpointer-arith -Wcast-align -Wsign-compare -Woverloaded-virtual -Wswitch -Wno-unused-parameter -g -O2 -MT sp-item.o -MD -MP -MF ".deps/sp-item.Tpo" -c -o sp-item.o sp-item.cpp; \ then mv -f ".deps/sp-item.Tpo" ".deps/sp-item.Po"; else rm -f ".deps/sp-item.Tpo"; exit 1; fi In file included from sp-item.cpp:51: util/list.h: In member function `typename Inkscape::Traits::Reference<T>::LValue Inkscape::Util::List<T>::operator*() const': util/list.h:39: error: `_cell' undeclared (first use this function) util/list.h:39: error: (Each undeclared identifier is reported only once for each function it appears in.) util/list.h: In member function `typename Inkscape::Traits::Reference<T>::Pointer Inkscape::Util::List<T>::operator->() const': util/list.h:40: error: `_cell' undeclared (first use this function) util/list.h: In member function `Inkscape::Util::List<T>& Inkscape::Util::List<T>::operator++()': util/list.h:43: error: `_cell' undeclared (first use this function) util/list.h: In member function `Inkscape::Util::List<T> Inkscape::Util::List<T>::operator++(int)': util/list.h:48: error: `_cell' undeclared (first use this function) util/list.h: In member function `Inkscape::Util::MutableList<T>& Inkscape::Util::MutableList<T>::operator++()': util/list.h:121: error: `_cell' undeclared (first use this function) util/list.h: In member function `Inkscape::Util::MutableList<T> Inkscape::Util::MutableList<T>::operator++(int)': util/list.h:126: error: `_cell' undeclared (first use this function) util/list.h: In member function `Inkscape::Util::MutableList<T> Inkscape::Util::MutableList<T>::setNext(Inkscape::Util::MutableList<T>)': util/list.h:135: error: `_cell' undeclared (first use this function) util/list.h: At global scope: util/list.h: In instantiation of `Inkscape::Util::List<SPObject&>': util/list.h:113: instantiated from `Inkscape::Util::MutableList<SPObject&>' sp-item.cpp:181: instantiated from here util/list.h:27: error: invalid use of undefined type `class Inkscape::Util::List<SPObject&>' util/list.h:27: error: declaration of `class Inkscape::Util::List<SPObject&>' sp-item.cpp: In member function `void SPItem::lowerOne()': sp-item.cpp:189: error: could not convert `next_lower' to `bool' sp-item.cpp:192: error: could not convert `next_lower' to `bool' sp-item.cpp: In member function `void SPItem::lowerToBottom()': sp-item.cpp:209: error: could not convert `bottom' to `bool' sp-item.cpp:212: error: could not convert `bottom' to `bool'
etc.
Unfortunately I really don't understand quite what's going on in list.h. Could somebody take a look?
(this is with gcc 3.4.1)
Cheers
Carl
participants (2)
-
Carl Hetherington
-
Jon A. Cruz