Re: [gtkmm] unexpected type compiling gtkmm-2.0.2 on solaris



On Wed, 2003-02-12 at 05:10, Peter Lees wrote:
> hello,
> 
> trying to compile gtkmm-2.0.2 on solaris 9 & came across this error 
> which halted
> compilation:
[snip]
> "../../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

Are you using the Forte patches specified in README.SUN?

> (g++ 2.95.2 chokes on /usr/include/glib-2.0/glib/gmessages.h)

You might tell the glib people about that, with specifics.

> 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?

No.

> is there a known fix?

I'm CCing Michael v. Szombathely because he has fixed many similar Sun
Forte problems in the past.

-- 
Murray Cumming
murray usa net
www.murrayc.com




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]