After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 477041 - Unable to build gtk/gtkmm/
Unable to build gtk/gtkmm/
Product: gtkmm
Classification: Bindings
Component: build
Other OSF/1
: Normal normal
: ---
Assigned To: gtkmm-forge
Depends on:
Reported: 2007-09-14 20:40 UTC by The Written Word
Modified: 2010-04-07 13:18 UTC
See Also:
GNOME target: ---
GNOME version: ---

Description The Written Word 2007-09-14 20:40:45 UTC
Encountered the following error building gtk/gtkmm/ on Tru64 UNIX 5.1 with the Compaq V7.1-006 C++ compiler. Same problem encountered with the IRIX C++ compiler, though the Sun, HP/IA, and AIX C++ compilers worked fine:

 cxx -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"gtkmm\" -I../../gtk -I../../gtk -I../../pango -I../../pango -I../../atk -I../../atk -I../../gdk -I../../gdk -I../../gtk -I../../gtk -I/opt/TWWfsw/libglib212/include -I/opt/TWWfsw/libglib212/lib/include -I/opt/TWWfsw/libsigc++20/include -I/opt/TWWfsw/libsigc++20/lib/include -I/opt/TWWfsw/libglibmm212/include -I/opt/TWWfsw/libglibmm212/lib/include -I/opt/TWWfsw/gettext014/include -I/opt/TWWfsw/libcairo14/include -I/opt/TWWfsw/libcairomm14/include -I/opt/TWWfsw/fcpackage24/include -I/opt/TWWfsw/libgtk+210/include -I/opt/TWWfsw/libgtk+210/lib/include -I/opt/TWWfsw/libpango116/include -I/opt/TWWfsw/libpango116/include/pango-1.0 -I/opt/TWWfsw/libatk118/include -I/opt/TWWfsw/libttf23/include/freetype2 -I/opt/TWWfsw/libttf23/include -I/opt/TWWfsw/libgtk+210/include/gtk-unix-print -pthread -I/opt/TWWfsw/libglib212/include -I/opt/TWWfsw/libglib212/lib/include -I/opt/TWWfsw/gettext014/include -O2 -arch ev5 -model ansi -version V7.1-006 -msym -readonly_strings -timplicit_local -D__USE_STD_IOSTREAM -c  -DPIC -o .libs/listviewtext.o
cxx: Error: ../../gtk/gtkmm/treeview.h, line 2101: more than one instance of
          overloaded function "_auto_store_on_cellrenderer_text_edited_string"
          matches the required type
          detected during:
            instantiation of "void
                      l_handler(Gtk::TreeView *, Gtk::CellRenderer *, const
                      Gtk::TreeModelColumn<ColumnType> &) [with
                      ColumnType=Glib::ustring]" at line 1804
            instantiation of "int Gtk::TreeView::append_column_editable(const
                      Glib::ustring &, const Gtk::TreeModelColumn<ColumnType>
                      &) [with ColumnType=Glib::ustring]" at line 64 of
    type_func func = &(_auto_store_on_cellrenderer_text_edited_string<ColumnType>);
cxx: Info: 1 error detected in the compilation of "".
Comment 1 Murray Cumming 2007-11-05 08:53:47 UTC
Could you find out what line in is triggering this, please?
Comment 2 The Written Word 2008-03-24 20:14:18 UTC
(In reply to comment #1)
> Could you find out what line in is triggering this, please?

Sorry for the delay. Line #64 is triggering this:
  append_column_editable(column_title, m_model_columns.m_columns[i]);
Comment 3 Murray Cumming 2008-04-02 10:56:45 UTC
Does it help if you change that to
  append_column_editable<Glib::ustring>(column_title, m_model_columns.m_columns[i]);
Comment 4 Murray Cumming 2008-05-16 16:23:11 UTC
Please do try that.
Comment 5 Murray Cumming 2009-09-17 20:06:01 UTC
Please respond.