Gtkmm-forge Digest, Vol 37, Issue 17



Send Gtkmm-forge mailing list submissions to
	gtkmm-forge lists sourceforge net

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.sourceforge.net/lists/listinfo/gtkmm-forge
or, via email, send a message with subject or body 'help' to
	gtkmm-forge-request lists sourceforge net

You can reach the person managing the list at
	gtkmm-forge-owner lists sourceforge net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Gtkmm-forge digest..."


gtkmm-forge is the mailing list that receives gtkmm bug reports from bugzilla.  A daily digest is sent to gtkmm-main, to encourage people to help fixing the bugs. Do not try to unsubscribe gtkmm-forge from gtkmm-list.


Today's Topics:

   1. [Bug 586889] New: solaris 10 (and earlier) Forte	CC cannot
      compile glibmm (glibmm (bugzilla.gnome.org))
   2. [Bug 586785] gmmproc does not like space in _DEFS()
      (glibmm (bugzilla.gnome.org))
   3. [Bug 586700] aclocal fails (gtkmm (bugzilla.gnome.org))
   4. [Bug 586934] New: ia64 HP-UX 11.31 (and earlier)	aCC cannot
      compile gtkmm (gtkmm (bugzilla.gnome.org))
   5. [Bug 586934] ia64 HP-UX 11.31 (and earlier) aCC	cannot
      compile gtkmm (gtkmm (bugzilla.gnome.org))
   6. [Bug 586953] New: FileChooserButton	get_current_folder
      returns wrong path (gtkmm (bugzilla.gnome.org))
   7. [Bug 586953] FileChooserButton get_current_folder	returns
      wrong path (gtkmm (bugzilla.gnome.org))


----------------------------------------------------------------------

Message: 1
Date: Wed, 24 Jun 2009 20:59:24 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 586889] New: solaris 10 (and earlier)
	Forte	CC cannot compile glibmm
To: gtkmm-forge lists sourceforge net
Message-ID: <bug-586889-5595 http bugzilla gnome org/>
Content-Type: text/plain; charset=utf-8

If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=586889

  glibmm | build | Ver: 2.20.x
           Summary: solaris 10 (and earlier) Forte CC cannot compile glibmm
           Product: glibmm
           Version: 2.20.x
          Platform: Other
        OS/Version: opensolaris
            Status: UNCONFIRMED
          Severity: blocker
          Priority: Normal
         Component: build
        AssignedTo: gtkmm-forge lists sourceforge net
        ReportedBy: bugzilla-gnome thewrittenword com
         QAContact: gtkmm-forge lists sourceforge net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


this part of refptr.h (around line 214):

template <class T_CppObject>
 template <class T_CastFrom>
inline RefPtr<T_CppObject>::RefPtr(const RefPtr<T_CastFrom>& src)
:
 pCppObject_ (src.operator->())
{
 if(pCppObject_)
   pCppObject_->reference();
}

causes the Forte compiler to barf thus:

"../../glib/glibmm/refptr.h", line 214: Error: Cannot use const Gio::File* to
initialize Gio::File*.

Removing the 'const' keyword results in this error instead:

"../../glib/glibmm/refptr.h", line 214: Error: Could not find a match for
Glib::RefPtr<Glib::T_CppObject>::RefPtr(Glib::RefPtr<Glib::RefPtr<Glib::T_CppObject>::T_CastFrom>&).

Using pCppObject_ (const_cast<T_CppObject*>(src.operator->())), does allow
compilation of glibmm to succeed.  But then gtkmm fails to compile with:

/usr/local/include/glibmm/refptr.h: In constructor
'Glib::RefPtr<T_CppObject>::RefPtr(const Glib::RefPtr<T_CastFrom>&) [with
T_CastFrom = Gtk::ListStore, T_CppObject = Gtk::TreeModel]':
comboboxtext.cc:35:   instantiated from here
/usr/local/include/glibmm/refptr.h:214: error: invalid const_cast from type
'Gtk::ListStore*' to type 'Gtk::TreeModel*'


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=586889.



------------------------------

Message: 2
Date: Thu, 25 Jun 2009 09:40:31 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 586785] gmmproc does not like space in
	_DEFS()
To: gtkmm-forge lists sourceforge net
Message-ID: <20090625094031 45B5223F5A8 label gnome org>
Content-Type: text/plain; charset=utf-8

If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=586785

  glibmm | build | Ver: 2.20.x

Murray Cumming changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |murrayc murrayc com




------- Comment #3 from Murray Cumming  2009-06-25 09:40 UTC -------
Thanks.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=586785.



------------------------------

Message: 3
Date: Thu, 25 Jun 2009 09:44:17 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 586700] aclocal fails
To: gtkmm-forge lists sourceforge net
Message-ID: <20090625094417 E010423F5A6 label gnome org>
Content-Type: text/plain; charset=utf-8

If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=586700

  gtkmm | documentation | Ver: unspecified

Murray Cumming changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED




------- Comment #3 from Murray Cumming  2009-06-25 09:44 UTC -------
Applied. Thanks. Please patch the ChangeLog in future.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=586700.



------------------------------

Message: 4
Date: Thu, 25 Jun 2009 10:56:47 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 586934] New: ia64 HP-UX 11.31 (and
	earlier)	aCC cannot compile gtkmm
To: gtkmm-forge lists sourceforge net
Message-ID: <bug-586934-5595 http bugzilla gnome org/>
Content-Type: text/plain; charset=utf-8

If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=586934

  gtkmm | build | Ver: unspecified
           Summary: ia64 HP-UX 11.31 (and earlier) aCC cannot compile gtkmm
           Product: gtkmm
           Version: unspecified
          Platform: Other
        OS/Version: HP-UX
            Status: UNCONFIRMED
          Severity: blocker
          Priority: Normal
         Component: build
        AssignedTo: gtkmm-forge lists sourceforge net
        ReportedBy: bugzilla-gnome thewrittenword com
         QAContact: gtkmm-forge lists sourceforge net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


gtkmm-2.10.11 was compilable with ia64 HP-UX 11.23 and 11.31, although I have
never successfully compiled any releasa of gtkmm on a PA-RISC HP-UX box (11.00,
11.11, 11.23 or 11.31.

This part of gtkmm/treeview.h (around line 2385):

    //Some compilers (IRIX MipsPro) don't like us to give the pointer to a
template function directly to sigc::ptr_fun():
    typedef void (*type_func)(const Glib::ustring&, const Glib::ustring&, int,
const Glib::RefPtr<Gtk::TreeModel>&);
    type_func func =
&(_auto_store_on_cellrenderer_text_edited_string<ColumnType>);
    sigc::slot<void, const Glib::ustring&, const Glib::ustring&, int, const
Glib::RefPtr<Gtk::TreeModel>&> theslot  =
      sigc::ptr_fun(func);

causes the ia64 aCC on HP-UX 11.31 to barf thus:

"../../gtk/gtkmm/treeview.h", line 2385: error #2449: more than one instance
          of overloaded function
          "_auto_store_on_cellrenderer_text_edited_string" matches the
          required type
      type_func func =
&(_auto_store_on_cellrenderer_text_edited_string<ColumnType>);
                       ^
          detected during:
            instantiation of "void
                      Gtk::TreeView_Private::_connect_auto_store_editable_signa
                      l_handler(Gtk::TreeView *, Gtk::CellRenderer *, const
                      Gtk::TreeModelColumn<ColumnType> &) [with
                      ColumnType=Glib::ustring]" at line 2088
            instantiation of "int Gtk::TreeView::append_column_editable(const
                      Glib::ustring &, const Gtk::TreeModelColumn<ColumnType>
                      &) [with ColumnType=Glib::ustring]" at line 64 of
                      "listviewtext.cc"


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=586934.



------------------------------

Message: 5
Date: Thu, 25 Jun 2009 11:03:11 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 586934] ia64 HP-UX 11.31 (and earlier)
	aCC	cannot compile gtkmm
To: gtkmm-forge lists sourceforge net
Message-ID: <20090625110311 6246C23F5A5 label gnome org>
Content-Type: text/plain; charset=utf-8

If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=586934

  gtkmm | build | Ver: unspecified




------- Comment #1 from The Written Word  2009-06-25 11:03 UTC -------
the irix 6.5 C++ compiler also chokes on the same line of code:

cc-1428 CC: ERROR File = ../../gtk/gtkmm/treeview.h, Line = 2385
  More than one instance of overloaded function
          "_auto_store_on_cellrenderer_text_edited_string" matches the
          required type.

      type_func func =
&(_auto_store_on_cellrenderer_text_edited_string<ColumnType>);
                       ^
          A template was detected during header processing.
            instantiation of "void
                      Gtk::TreeView_Private::_connect_auto_store_editable_signa
                      l_handler(Gtk::TreeView *, Gtk::CellRenderer *, const
                      Gtk::TreeModelColumn<Glib::ustring> &)" at line 2088
            instantiation of "int Gtk::TreeView::append_column_editable(const
                      Glib::ustring &, const
                      Gtk::TreeModelColumn<Glib::ustring> &)" at line 64 of
                      "listviewtext.cc"


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=586934.



------------------------------

Message: 6
Date: Thu, 25 Jun 2009 14:06:21 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 586953] New: FileChooserButton
	get_current_folder returns wrong path
To: gtkmm-forge lists sourceforge net
Message-ID: <bug-586953-5595 http bugzilla gnome org/>
Content-Type: text/plain; charset=utf-8

If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=586953

  gtkmm | general | Ver: 2.16.x
           Summary: FileChooserButton get_current_folder returns wrong path
           Product: gtkmm
           Version: 2.16.x
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: general
        AssignedTo: gtkmm-forge lists sourceforge net
        ReportedBy: dirk vdb gmail com
         QAContact: gtkmm-forge lists sourceforge net
     GNOME version: 2.25/2.26
   GNOME milestone: Unspecified


When I manually enter a path and hit enter in the FileChooserButton the wrong
path is returned by get_current_folder().

Steps to reproduce:
Compile the attached test-case with g++ `pkg-config --cflags --libs gtkmm-2.4`
main.cpp -o test

run ./test

Click on the FileChooserButton, select other, enter "/tmp/" in the location bar
and press enter. The file chooser button will now show "tmp".

Close the window, the return value of get_current_folder() is printed in the
console, it will be our home directory.

This does work fine however when you open the directory with the mouse and
press open. 

Best regards,
Dirk


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=586953.



------------------------------

Message: 7
Date: Thu, 25 Jun 2009 14:07:08 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 586953] FileChooserButton
	get_current_folder	returns wrong path
To: gtkmm-forge lists sourceforge net
Message-ID: <20090625140708 F054C23F5A5 label gnome org>
Content-Type: text/plain; charset=utf-8

If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=586953

  gtkmm | general | Ver: 2.16.x




------- Comment #1 from Dirk Vanden Boer  2009-06-25 14:07 UTC -------
Created an attachment (id=137368)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=137368&action=view)
Minimal testcase to reproduce the problem


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=586953.



------------------------------

------------------------------------------------------------------------------


------------------------------

_______________________________________________
Gtkmm-forge mailing list
Gtkmm-forge lists sourceforge net
https://lists.sourceforge.net/lists/listinfo/gtkmm-forge


End of Gtkmm-forge Digest, Vol 37, Issue 17
*******************************************


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