[gtkmm] unexpected type compiling gtkmm-2.0.2 on solaris
- From: Peter Lees <peter yseda com>
- To: gtkmm-list gnome org
- Subject: [gtkmm] unexpected type compiling gtkmm-2.0.2 on solaris
- Date: Wed, 12 Feb 2003 15:10:45 +1100
hello,
trying to compile gtkmm-2.0.2 on solaris 9 & came across this error
which halted
compilation:
CC -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"gtkmm\" -Dgtkmm_COMPILATION
-DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED
-DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -I../../glib
-I../../glib -I../../pango -I../../pango -I../../atk -I../../atk
-I../../gdk -I../../gdk -I../../gtk -I../../gtk -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/openwin/include -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/opt/sfw/lib/sigc++-1.2/include
-I/opt/sfw/include/sigc++-1.2 -D_REENTRANT -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -g -c fileselection.cc -KPIC -DPIC -o
fileselection.o
"../../gtk/gtkmm/treeview.h", line 886: Error: Unexpected type name
"Gtk::TreeView::ColumnType" encountered.
"../../gtk/gtkmm/treeview.h", line 886: Error: Template parameter Gtk::T
requires a type argument.
"fileselection.cc", line 71: Warning (Anachronism): Assigning
void(*)(void*,void*) to extern "C" void(*)(void*,void*).
2 Error(s) and 1 Warning(s) detected.
gmake[5]: *** [fileselection.lo] Error 1
gmake[5]: Leaving directory `/usr/local/src/gtkmm-2.0.2/gtk/gtkmm'
since i'm using Sun's gnome 2.0 i'm sort of forced to use Forte (sun)
cc and CC
(g++ 2.95.2 chokes on /usr/include/glib-2.0/glib/gmessages.h)
it's also the reason i'm not using gtkmm-2.2
i am definitely *NOT* a C++ programmer, and the the line apparantly in
error is sufficiently
arcane to leave me confused:
885_ template<class ColumnType> friend
886_ void
TreeView_Private::_connect_auto_store_editable_signal_handler(TreeView*,
CellRenderer*, const TreeModelColumn<ColumnType>&);
( i don't even see "Gtk::TreeView::ColumnType" or "Gtk::T" in there....)
can anyone suggest what the problem might be?
is this a known problem?
is there a known fix?
thanks
p
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]