[gtkmm] Gtkmm-forge digest, Vol 1 #466 - 8 msgs



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-admin 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.


Today's Topics:

   1. [Bug 112809] Changed - Add support for Visual Studio .NET 2003 (bugzilla-daemon widget gnome org)
   2. [Bug 117494] Changed - GCC 3.3.1 incompatibility: ustring private vs. public change, invalid static_cast (bugzilla-daemon widget gnome org)
   3. [Bug 117494] Changed - GCC 3.3.1 incompatibility: ustring private vs. public change, invalid static_cast (bugzilla-daemon widget gnome org)
   4. [Bug 117494] Changed - GCC 3.3.1 incompatibility: ustring private vs. public change, invalid static_cast (bugzilla-daemon widget gnome org)
   5. [Bug 117494] Changed - GCC 3.3.1 incompatibility: ustring private vs. public change, invalid static_cast (bugzilla-daemon widget gnome org)
   6. [Bug 117494] Changed - GCC 3.3.1 incompatibility: ustring private vs. public change, invalid static_cast (bugzilla-daemon widget gnome org)
   7. [Bug 108971] Changed - Deriving from Glib::Object produces debug spew (bugzilla-daemon widget gnome org)
   8. [Bug 117494] Changed - GCC 3.3.1 incompatibility: ustring private vs. public change, invalid static_cast (bugzilla-daemon widget gnome org)

--__--__--

Message: 1
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net, burrisj linkline com
Cc: cgustin ibelgique com
Date: Wed, 16 Jul 2003 05:15:44 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 112809] Changed - Add support for Visual Studio .NET 2003

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=112809

Changed by murrayc usa net 

--- shadow/112809	Tue Jun 24 11:21:11 2003
+++ shadow/112809.tmp.26017	Wed Jul 16 05:15:44 2003
@@ -327,6 +327,9 @@
 Chris
 
 ------- Additional Comments From murrayc usa net  2003-06-24 11:21 -------
 OK. With new project files, I guess? Consider patching the install
 chapter in the "book" or just updating the MSVC++ .NET README if it's
 lengthy and likely to change often.
+
+------- Additional Comments From murrayc usa net  2003-07-16 05:15 -------
+Please respond.


--__--__--

Message: 2
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net, erich debian org
Cc: 
Date: Wed, 16 Jul 2003 07:49:53 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 117494] Changed - GCC 3.3.1 incompatibility: ustring private vs. public change, invalid static_cast

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=117494

Changed by murrayc usa net 

--- shadow/117494	Tue Jul 15 14:37:17 2003
+++ shadow/117494.tmp.22804	Wed Jul 16 07:49:53 2003
@@ -28,6 +28,17 @@
 for the debian package right now, hoping that was what you intended with
 that line of code (which is an "adventuresome move" ;) )
 
 The second issue is already #ifdef'ed for GCC 3.3.0, but it might be in
 later gcc versions as well (since gcc is getting stricter!)
 glib/glibmm/ustring.h:523
+
+------- Additional Comments From murrayc usa net  2003-07-16 07:49 -------
+Does gcc 3.2.3 fix this? Is it available to your version of debian? I
+have the gcc 3.2.2 RedHat 9 and do not have this problem.
+
+If you can show us the exact error then we can maybe understand this
+better. If you have some solution that you have actualyl compiled that
+could help too.
+
+I don't really see the problem. TreeRow and TreeNodeChildren inherit
+from TreeIter.


--__--__--

Message: 3
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc: 
Date: Wed, 16 Jul 2003 08:21:20 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 117494] Changed - GCC 3.3.1 incompatibility: ustring private vs. public change, invalid static_cast

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=117494

Changed by erich debian org 

--- shadow/117494	Wed Jul 16 07:49:53 2003
+++ shadow/117494.tmp.5293	Wed Jul 16 08:21:20 2003
@@ -39,6 +39,45 @@
 If you can show us the exact error then we can maybe understand this
 better. If you have some solution that you have actualyl compiled that
 could help too.
 
 I don't really see the problem. TreeRow and TreeNodeChildren inherit
 from TreeIter.
+
+------- Additional Comments From erich debian org  2003-07-16 08:20 -------
+GCC 3.3.x is newer than 3.2 and stricter enforcing some things.
+
+First one:
+In file included from ../../glib/glibmm/exception.h:25,
+                 from ../../glib/glibmm/error.h:28,
+                 from ../../glib/glibmm/convert.h:29,
+                 from convert.cc:3:
+../../glib/glibmm/ustring.h:536: error: `template<class In, class
+ValueType = 
+   typename std::iterator_traits<_Iterator>::value_type> struct 
+   Glib::ustring::SequenceToString' is private
+../../glib/glibmm/ustring.h:555: error: within this context
+../../glib/glibmm/ustring.h:536: error: `template<class In, class
+ValueType = 
+   typename std::iterator_traits<_Iterator>::value_type> struct 
+   Glib::ustring::SequenceToString' is private
+../../glib/glibmm/ustring.h:561: error: within this context
+
+To the second issue:
+
+> TreeRow and TreeNodeChildren inherit from TreeIter
+
+That is correct, but you are casting TreeRow -> TreeIter ->
+TreeNodeChildren. The first is a correct static cast afaik, but the
+second one is not. A TreeIter is not (necessarily) a TreeNodeChildren.
+I'm not sure if, but maybe g++ would accept this if TreeNodeChildren
+had an initialization function making a TreeNodeChildren out of a
+TreeIter.
+
+treeiter.cc: In member function `const Gtk::TreeNodeChildren& 
+   Gtk::TreeRow::children() const':
+treeiter.cc:145: error: invalid static_cast from type `const
+Gtk::TreeIter&' to 
+   type `const Gtk::TreeNodeChildren&'
+
+
+


--__--__--

Message: 4
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc: 
Date: Wed, 16 Jul 2003 08:34:29 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 117494] Changed - GCC 3.3.1 incompatibility: ustring private vs. public change, invalid static_cast

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=117494

Changed by erich debian org 

--- shadow/117494	Wed Jul 16 08:21:20 2003
+++ shadow/117494.tmp.12393	Wed Jul 16 08:34:29 2003
@@ -78,6 +78,12 @@
 treeiter.cc:145: error: invalid static_cast from type `const
 Gtk::TreeIter&' to 
    type `const Gtk::TreeNodeChildren&'
 
 
 
+
+------- Additional Comments From erich debian org  2003-07-16 08:34 -------
+You are right, the first one apparently is a GCC 3.3.1 pre bug:
+http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10849
+
+Not sure about the second one though.


--__--__--

Message: 5
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net, erich debian org
Cc: 
Date: Wed, 16 Jul 2003 11:11:18 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 117494] Changed - GCC 3.3.1 incompatibility: ustring private vs. public change, invalid static_cast

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=117494

Changed by murrayc usa net 

--- shadow/117494	Wed Jul 16 08:34:29 2003
+++ shadow/117494.tmp.29521	Wed Jul 16 11:11:18 2003
@@ -84,6 +84,25 @@
 
 ------- Additional Comments From erich debian org  2003-07-16 08:34 -------
 You are right, the first one apparently is a GCC 3.3.1 pre bug:
 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10849
 
 Not sure about the second one though.
+
+------- Additional Comments From murrayc usa net  2003-07-16 11:11 -------
+In
+  return static_cast<const TreeNodeChildren&>(static_cast<const
+TreeIter&>(*this));
+
+We cast
+  from TreeRow to TreeIter (legal because TreeRow derives from TreeIter)
+  from TreeIter to TreeRowChildren (legal because TreeRowChildren
+derives from TreeIter).
+
+> A TreeIter is not (necessarily) a TreeNodeChildren.
+That's why we do a cast.
+
+So, I don't see any problem with this.
+
+However, maybe it's a problem that TreeNodeChildren inherits
+_private_ly from TreeIter. Could you try changing that, on line 249 if
+treeiter.h. please.


--__--__--

Message: 6
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net, erich debian org
Cc: 
Date: Wed, 16 Jul 2003 11:11:55 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 117494] Changed - GCC 3.3.1 incompatibility: ustring private vs. public change, invalid static_cast

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=117494

Changed by murrayc usa net 

--- shadow/117494	Wed Jul 16 11:11:18 2003
+++ shadow/117494.tmp.29903	Wed Jul 16 11:11:55 2003
@@ -103,6 +103,9 @@
 
 So, I don't see any problem with this.
 
 However, maybe it's a problem that TreeNodeChildren inherits
 _private_ly from TreeIter. Could you try changing that, on line 249 if
 treeiter.h. please.
+
+------- Additional Comments From murrayc usa net  2003-07-16 11:11 -------
+And sorry for my versioning confusion.


--__--__--

Message: 7
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc: 
Date: Wed, 16 Jul 2003 11:29:57 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 108971] Changed - Deriving from Glib::Object produces debug spew

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=108971

Changed by murrayc usa net 

--- shadow/108971	Tue Apr  8 03:51:34 2003
+++ shadow/108971.tmp.6341	Wed Jul 16 11:29:57 2003
@@ -6,13 +6,13 @@
 Status: NEW   
 Resolution: 
 Severity: trivial
 Priority: Low
 Component: general
 AssignedTo: gtkmm-forge lists sourceforge net                            
-ReportedBy: snickell stanford edu               
+ReportedBy: seth gnome org               
 TargetMilestone: ---
 URL: 
 Summary: Deriving from Glib::Object produces debug spew
 
 I'm trying to derive from Glib::Object, but in object.cc we find:
 
@@ -27,13 +27,13 @@
 Which makes my program produce tons of unnecessary (and not really
 accurate) debug output. Just making sure the TODO doesn't get forgotten :-)
 
 ------- Additional Comments From murrayc usa net  2003-03-24 12:25 -------
 OK. By the way, why did you want to derive from Glib::Object?
 
-------- Additional Comments From snickell stanford edu  2003-03-25 17:31 -------
+------- Additional Comments From seth gnome org  2003-03-25 17:31 -------
 I'm trying to integrate my code with an existing C API (actually, my
 own, which I'm planning to gradually convert to C++) that takes a GObject.
 
 ------- Additional Comments From murrayc usa net  2003-03-26 03:53 -------
 If you really need to implement a new GType then it might be worth
 looking at examples of custom TreeModels (one of the Dnd examples, I
@@ -41,6 +41,11 @@
 probably best not to depend on GTypes if you can help it. 
 
 ------- Additional Comments From murrayc usa net  2003-04-01 12:52 -------
 I think we need to find an example of when this is actually a good
 idea before we remove that g_warning. I suspect that Daniel has an
 opinion about this.
+
+------- Additional Comments From murrayc usa net  2003-07-16 11:29 -------
+At the least we should put a bit more information in that warning,
+such as "You probably have no reason to derive directly from
+Glib::Object."


--__--__--

Message: 8
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net, erich debian org
Cc: 
Date: Wed, 16 Jul 2003 14:07:14 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 117494] Changed - GCC 3.3.1 incompatibility: ustring private vs. public change, invalid static_cast

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=117494

Changed by btb debian org 

--- shadow/117494	Wed Jul 16 11:11:55 2003
+++ shadow/117494.tmp.26989	Wed Jul 16 14:07:14 2003
@@ -106,6 +106,13 @@
 However, maybe it's a problem that TreeNodeChildren inherits
 _private_ly from TreeIter. Could you try changing that, on line 249 if
 treeiter.h. please.
 
 ------- Additional Comments From murrayc usa net  2003-07-16 11:11 -------
 And sorry for my versioning confusion.
+
+------- Additional Comments From btb debian org  2003-07-16 14:07 -------
+changing
+class TreeNodeChildren : private TreeIter
+to
+class TreeNodeChildren : public TreeIter
+has no effect.



--__--__--

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


End of Gtkmm-forge Digest



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