[gtkmm] Gtkmm-forge digest, Vol 1 #174 - 9 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 85911] Changed - Gdk::Drawable::draw_*_image functions (bugzilla-daemon widget gnome org)
   2. [Bug 88630] Changed - Menu::popup() and item activation (bugzilla-daemon widget gnome org)
   3. [Bug 85979] Changed - template instantiation problem in TreeView::append_column under Sun Forte C++ (bugzilla-daemon widget gnome org)
   4. [Bug 89450] New - Impossible casts with Sun Forte C++ (bugzilla-daemon widget gnome org)
   5. [Bug 85978] Changed - ambiguity error in drwabale.cc(g) with Sun Forte C++ (bugzilla-daemon widget gnome org)
   6. [Bug 89451] New - ambiguity errors with Sun Forte C++ (bugzilla-daemon widget gnome org)
   7. [Bug 89450] Changed - Impossible casts with Sun Forte C++ (bugzilla-daemon widget gnome org)
   8. [Bug 85979] Changed - template instantiation problem in TreeView::append_column under Sun Forte C++ (bugzilla-daemon widget gnome org)
   9. [Bug 79116] Changed - compatibility patches for Sun Forte C++ compiler (bugzilla-daemon widget gnome org)

--__--__--

Message: 1
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net, osamyn ulb ac be
Cc: 
Date: Mon, 29 Jul 2002 15:09:37 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 85911] Changed - Gdk::Drawable::draw_*_image functions

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=85911

Changed by murrayc usa net 

--- shadow/85911	Mon Jul 29 08:31:46 2002
+++ shadow/85911.tmp.7044	Mon Jul 29 15:09:37 2002
@@ -7,13 +7,13 @@
 Resolution: 
 Severity: normal
 Priority: Normal
 Component: general
 AssignedTo: gtkmm-forge lists sourceforge net                            
 ReportedBy: osamyn ulb ac be               
-TargetMilestone: ---
+TargetMilestone: 3
 URL: 
 Summary: Gdk::Drawable::draw_*_image functions
 
 (See bug #83244 for beginning of this discussion)
 
 In Gdk::Drawable class there are some images rendering function:



--__--__--

Message: 2
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc: 
Date: Tue, 30 Jul 2002 08:50:26 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 88630] Changed - Menu::popup() and item activation

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=88630

Changed by murrayc usa net 

--- shadow/88630	Fri Jul 19 15:57:48 2002
+++ shadow/88630.tmp.14230	Tue Jul 30 08:50:26 2002
@@ -9,13 +9,13 @@
 Priority: Normal
 Component: general
 AssignedTo: gtkmm-forge lists sourceforge net                            
 ReportedBy: madmaxer poczta fm               
 TargetMilestone: ---
 URL: 
-Summary: Possibly a bug with menus
+Summary: Menu::popup() and item activation
 
 First I must notice that I'm not sure if it is a bug, a feature or perhaps
 a Gtk+ issue.
 When I create a popup menu with submenus subitems are not always activated.
 For example I have a menu:
 ------



--__--__--

Message: 3
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc: 
Date: Tue, 30 Jul 2002 15:07:01 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 85979] Changed - template instantiation problem in TreeView::append_column under Sun Forte C++

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=85979

Changed by szombath bifab de 

--- shadow/85979	Fri Jul 26 11:30:44 2002
+++ shadow/85979.tmp.2224	Tue Jul 30 15:07:00 2002
@@ -125,6 +125,34 @@
 
 ------- Additional Comments From murrayc usa net  2002-07-11 04:19 -------
 Have you made any progress on this yourself?
 
 ------- Additional Comments From murrayc usa net  2002-07-26 11:30 -------
 Please respond.
+
+------- Additional Comments From szombath bifab de  2002-07-30 15:07 -------
+We have finally traced down the problem to a bug in the Sun Forte
+compiler (see http://forum.sun.com/thread.jsp?forum=5&thread=9833).
+Basically all versions of the Sun Forte C++ compiler show up this
+capital bug, failing to compile anything, when virtual inheritance is
+used in combination with template parameters. As we have a support
+contract I'm now in contact with the Sun Service in order to push them
+to fix this bug rather soon. And they promise already to do so, as it
+happens with their new compiler line (Sun ONE compiler suite, not
+available yet) too.
+
+In contradiction to all other porting problems we had before there
+seems to be no simple way to overcome this one by patching without
+changing the current API. Luckily the only case where we find this
+breaking situaion is
+
+  int TreeView::append_column(const Glib::ustring& title, 
+                              const TreeModelColumn<ColumnType>&
+model_column).
+
+Unfortunately this makes list boxes unusable with Forte C++ as we can
+not fill them. For a while we switched to g++ (now version 3.1.1)
+under Sun Solaris, but to get Gtk-- into production code we need it
+working with the Sun C++ compiler again. At the moment we are thinking
+about an API addition of TreeView::append_column for the Sun Compiler,
+e.g. specialization for strings as column type, in order to work
+around this bug as long Sun has not provided a fix for their compiler.



--__--__--

Message: 4
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc: 
Date: Tue, 30 Jul 2002 15:13:45 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 89450] New - Impossible casts with Sun Forte C++

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=89450

Changed by szombath bifab de 

--- shadow/89450	Tue Jul 30 15:13:45 2002
+++ shadow/89450.tmp.3032	Tue Jul 30 15:13:45 2002
@@ -0,0 +1,36 @@
+Bug#: 89450
+Product: gtkmm
+Version: 2.0
+OS: Solaris
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: normal
+Priority: Normal
+Component: build
+AssignedTo: gtkmm-forge lists sourceforge net                            
+ReportedBy: szombath bifab de               
+TargetMilestone: ---
+URL: 
+Summary: Impossible casts with Sun Forte C++
+
+From the actual CVS gtk/gtkmm/treestore.cc and gtk/gtkmm/liststore.cc give
+the following compile errors with Sun Forte C++:
+
+"liststore.cc", line 47: Error: Using static_cast to convert from const
+Gtk::TreeRow& to const Gtk::TreeIter& not allowed.
+"liststore.cc", line 65: Error: Using static_cast to convert from const
+Gtk::TreeRow& to const Gtk::TreeIter& not allowed.
+"liststore.cc", line 134: Warning (Anachronism): Assigning
+void(*)(void*,void*) to extern "C" void(*)(void*,void*).
+2 Error(s) and 1 Warning(s) detected.
+make[5]: *** [liststore.lo] Error 1
+"treestore.cc", line 46: Error: Using static_cast to convert from const
+Gtk::TreeRow& to const Gtk::TreeIter& not allowed.
+"treestore.cc", line 64: Error: Using static_cast to convert from const
+Gtk::TreeRow& to const Gtk::TreeIter& not allowed.
+"treestore.cc", line 156: Warning (Anachronism): Assigning
+void(*)(void*,void*) to extern "C" void(*)(void*,void*).
+
+I can solve the problem by using reinterpret_cast, but this might not be
+your intention. Please have look into it.



--__--__--

Message: 5
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc: 
Date: Tue, 30 Jul 2002 15:27:51 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 85978] Changed - ambiguity error in drwabale.cc(g) with Sun Forte C++

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=85978

Changed by szombath bifab de 

--- shadow/85978	Wed Jul  3 16:09:52 2002
+++ shadow/85978.tmp.4873	Tue Jul 30 15:27:51 2002
@@ -9,13 +9,12 @@
 Priority: Normal
 Component: build
 AssignedTo: gtkmm-forge lists sourceforge net                            
 ReportedBy: szombath bifab de               
 TargetMilestone: ---
 URL: 
-Cc: 
 Summary: ambiguity error in drwabale.cc(g) with Sun Forte C++
 
 Compiling gdk/gdkmm/drawable.cc from gtkmm-1.3.16 with Sun Forte C++ (WS6U2
 aka 5.3) results in ambiguity errors around Glib::unwrap:
 
 "drawable.cc", line 36: Error: Overloading ambiguity between
@@ -134,6 +133,116 @@
 ------- Additional Comments From murrayc usa net  2002-06-28 10:40 -------
 Do you need more help?
 
 ------- Additional Comments From murrayc usa net  2002-07-03 16:09 -------
 I might have fixed this, but I can't tell because I'm not using Sun's
 compiler. Please reopen if it's still a problem.
+
+------- Additional Comments From szombath bifab de  2002-07-30 15:27 -------
+> I might have fixed this, but I can't tell because I'm not using
+> Sun's compiler. Please reopen if it's still a problem.
+
+No, its not fixed. Two cases in glyphstring.cc where added, see the
+complete error log from the current CVS below.
+
+I still patch this cases away by specialzing Gtk::unwrap with the
+non-const form of the ambiguous type. Because this code was generated
+by the _WRAP_METHODs, I really would like to see this fixed by the
+maintainers. I can send the whole working patch if required.
+
+--
+"glyphstring.cc", line 131: Error: Overloading ambiguity between
+"Glib::unwrap<Pango::Font>(const Glib::RefPtr<const Pango::Font>&)"
+and "Glib::unwrap<const Pango::Font>(const Glib::RefPtr<const
+Pango::Font>&)".
+"glyphstring.cc", line 136: Error: Overloading ambiguity between
+"Glib::unwrap<Pango::Font>(const Glib::RefPtr<const Pango::Font>&)"
+and "Glib::unwrap<const Pango::Font>(const Glib::RefPtr<const
+Pango::Font>&)".
+2 Error(s) detected.
+"drawable.cc", line 98: Warning (Anachronism): Assigning
+void(*)(void*,void*) to extern "C" void(*)(void*,void*).
+"drawable.cc", line 204: Error: Overloading ambiguity between
+"Glib::unwrap<Gdk::GC>(const Glib::RefPtr<const Gdk::GC>&)" and
+"Glib::unwrap<const Gdk::GC>(const Glib::RefPtr<const Gdk::GC>&)".
+"drawable.cc", line 209: Error: Overloading ambiguity between
+"Glib::unwrap<Gdk::GC>(const Glib::RefPtr<const Gdk::GC>&)" and
+"Glib::unwrap<const Gdk::GC>(const Glib::RefPtr<const Gdk::GC>&)".
+"drawable.cc", line 214: Error: Overloading ambiguity between
+"Glib::unwrap<Gdk::GC>(const Glib::RefPtr<const Gdk::GC>&)" and
+"Glib::unwrap<const Gdk::GC>(const Glib::RefPtr<const Gdk::GC>&)".
+"drawable.cc", line 219: Error: Overloading ambiguity between
+"Glib::unwrap<Gdk::GC>(const Glib::RefPtr<const Gdk::GC>&)" and
+"Glib::unwrap<const Gdk::GC>(const Glib::RefPtr<const Gdk::GC>&)".
+"drawable.cc", line 224: Error: Overloading ambiguity between
+"Glib::unwrap<Gdk::GC>(const Glib::RefPtr<const Gdk::GC>&)" and
+"Glib::unwrap<const Gdk::GC>(const Glib::RefPtr<const Gdk::GC>&)".
+"drawable.cc", line 224: Error: Overloading ambiguity between
+"Glib::unwrap<Gdk::Drawable>(const Glib::RefPtr<const
+Gdk::Drawable>&)" and "Glib::unwrap<const Gdk::Drawable>(const
+Glib::RefPtr<const Gdk::Drawable>&)".
+"drawable.cc", line 229: Error: Overloading ambiguity between
+"Glib::unwrap<Gdk::GC>(const Glib::RefPtr<const Gdk::GC>&)" and
+"Glib::unwrap<const Gdk::GC>(const Glib::RefPtr<const Gdk::GC>&)".
+"drawable.cc", line 229: Error: Overloading ambiguity between
+"Glib::unwrap<Gdk::Image>(const Glib::RefPtr<const Gdk::Image>&)" and
+"Glib::unwrap<const Gdk::Image>(const Glib::RefPtr<const
+Gdk::Image>&)".
+"drawable.cc", line 234: Error: Overloading ambiguity between
+"Glib::unwrap<Gdk::GC>(const Glib::RefPtr<const Gdk::GC>&)" and
+"Glib::unwrap<const Gdk::GC>(const Glib::RefPtr<const Gdk::GC>&)".
+"drawable.cc", line 239: Error: Overloading ambiguity between
+"Glib::unwrap<Gdk::GC>(const Glib::RefPtr<const Gdk::GC>&)" and
+"Glib::unwrap<const Gdk::GC>(const Glib::RefPtr<const Gdk::GC>&)".
+"drawable.cc", line 239: Error: Overloading ambiguity between
+"Glib::unwrap<Pango::Font>(const Glib::RefPtr<const Pango::Font>&)"
+and "Glib::unwrap<const Pango::Font>(const Glib::RefPtr<const
+Pango::Font>&)".
+"drawable.cc", line 244: Error: Overloading ambiguity between
+"Glib::unwrap<Gdk::GC>(const Glib::RefPtr<const Gdk::GC>&)" and
+"Glib::unwrap<const Gdk::GC>(const Glib::RefPtr<const Gdk::GC>&)".
+"drawable.cc", line 244: Error: Overloading ambiguity between
+"Glib::unwrap<Pango::LayoutLine>(const Glib::RefPtr<const
+Pango::LayoutLine>&)" and "Glib::unwrap<const Pango::LayoutLine>(const
+Glib::RefPtr<const Pango::LayoutLine>&)".
+"drawable.cc", line 249: Error: Overloading ambiguity between
+"Glib::unwrap<Gdk::GC>(const Glib::RefPtr<const Gdk::GC>&)" and
+"Glib::unwrap<const Gdk::GC>(const Glib::RefPtr<const Gdk::GC>&)".
+"drawable.cc", line 249: Error: Overloading ambiguity between
+"Glib::unwrap<Pango::LayoutLine>(const Glib::RefPtr<const
+Pango::LayoutLine>&)" and "Glib::unwrap<const Pango::LayoutLine>(const
+Glib::RefPtr<const Pango::LayoutLine>&)".
+"drawable.cc", line 254: Error: Overloading ambiguity between
+"Glib::unwrap<Gdk::GC>(const Glib::RefPtr<const Gdk::GC>&)" and
+"Glib::unwrap<const Gdk::GC>(const Glib::RefPtr<const Gdk::GC>&)".
+"drawable.cc", line 254: Error: Overloading ambiguity between
+"Glib::unwrap<Pango::Layout>(const Glib::RefPtr<const
+Pango::Layout>&)" and "Glib::unwrap<const Pango::Layout>(const
+Glib::RefPtr<const Pango::Layout>&)".
+"drawable.cc", line 259: Error: Overloading ambiguity between
+"Glib::unwrap<Gdk::GC>(const Glib::RefPtr<const Gdk::GC>&)" and
+"Glib::unwrap<const Gdk::GC>(const Glib::RefPtr<const Gdk::GC>&)".
+"drawable.cc", line 259: Error: Overloading ambiguity between
+"Glib::unwrap<Pango::Layout>(const Glib::RefPtr<const
+Pango::Layout>&)" and "Glib::unwrap<const Pango::Layout>(const
+Glib::RefPtr<const Pango::Layout>&)".
+"drawable.cc", line 279: Error: Overloading ambiguity between
+"Glib::unwrap<Gdk::GC>(const Glib::RefPtr<const Gdk::GC>&)" and
+"Glib::unwrap<const Gdk::GC>(const Glib::RefPtr<const Gdk::GC>&)".
+"drawable.cc", line 284: Error: Overloading ambiguity between
+"Glib::unwrap<Gdk::GC>(const Glib::RefPtr<const Gdk::GC>&)" and
+"Glib::unwrap<const Gdk::GC>(const Glib::RefPtr<const Gdk::GC>&)".
+"drawable.cc", line 289: Error: Overloading ambiguity between
+"Glib::unwrap<Gdk::GC>(const Glib::RefPtr<const Gdk::GC>&)" and
+"Glib::unwrap<const Gdk::GC>(const Glib::RefPtr<const Gdk::GC>&)".
+"drawable.cc", line 294: Error: Overloading ambiguity between
+"Glib::unwrap<Gdk::GC>(const Glib::RefPtr<const Gdk::GC>&)" and
+"Glib::unwrap<const Gdk::GC>(const Glib::RefPtr<const Gdk::GC>&)".
+"drawable.cc", line 299: Error: Overloading ambiguity between
+"Glib::unwrap<Gdk::GC>(const Glib::RefPtr<const Gdk::GC>&)" and
+"Glib::unwrap<const Gdk::GC>(const Glib::RefPtr<const Gdk::GC>&)".
+"drawable.cc", line 304: Error: Overloading ambiguity between
+"Glib::unwrap<Gdk::GC>(const Glib::RefPtr<const Gdk::GC>&)" and
+"Glib::unwrap<const Gdk::GC>(const Glib::RefPtr<const Gdk::GC>&)".
+Compilation aborted, too many Error messages.
+
+



--__--__--

Message: 6
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc: 
Date: Tue, 30 Jul 2002 15:42:58 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 89451] New - ambiguity errors with Sun Forte C++

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=89451

Changed by szombath bifab de 

--- shadow/89451	Tue Jul 30 15:42:58 2002
+++ shadow/89451.tmp.6731	Tue Jul 30 15:42:58 2002
@@ -0,0 +1,124 @@
+Bug#: 89451
+Product: gtkmm
+Version: 2.0
+OS: Solaris
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: normal
+Priority: Normal
+Component: build
+AssignedTo: gtkmm-forge lists sourceforge net                            
+ReportedBy: szombath bifab de               
+TargetMilestone: ---
+URL: 
+Summary: ambiguity errors with Sun Forte C++
+
+[the reopening of 85978]
+
+> I might have fixed this, but I can't tell because I'm not using
+> Sun's compiler. Please reopen if it's still a problem.
+
+No, its not fixed. Two cases in glyphstring.cc where added, see the
+complete error log from the current CVS below.
+
+I still patch this cases away by specialzing Gtk::unwrap with the
+non-const form of the ambiguous type. Because this code was generated
+by the _WRAP_METHODs, I really would like to see this fixed by the
+maintainers. I can send the whole working patch if required.
+
+--
+ "glyphstring.cc", line 131: Error: Overloading ambiguity between
+ "Glib::unwrap<Pango::Font>(const Glib::RefPtr<const Pango::Font>&)"
+ and "Glib::unwrap<const Pango::Font>(const Glib::RefPtr<const
+ Pango::Font>&)".
+ "glyphstring.cc", line 136: Error: Overloading ambiguity between
+ "Glib::unwrap<Pango::Font>(const Glib::RefPtr<const Pango::Font>&)"
+ and "Glib::unwrap<const Pango::Font>(const Glib::RefPtr<const
+ Pango::Font>&)".
+ 2 Error(s) detected.
+ "drawable.cc", line 98: Warning (Anachronism): Assigning
+ void(*)(void*,void*) to extern "C" void(*)(void*,void*).
+ "drawable.cc", line 204: Error: Overloading ambiguity between
+ "Glib::unwrap<Gdk::GC>(const Glib::RefPtr<const Gdk::GC>&)" and
+ "Glib::unwrap<const Gdk::GC>(const Glib::RefPtr<const Gdk::GC>&)".
+ "drawable.cc", line 209: Error: Overloading ambiguity between
+ "Glib::unwrap<Gdk::GC>(const Glib::RefPtr<const Gdk::GC>&)" and
+ "Glib::unwrap<const Gdk::GC>(const Glib::RefPtr<const Gdk::GC>&)".
+ "drawable.cc", line 214: Error: Overloading ambiguity between
+ "Glib::unwrap<Gdk::GC>(const Glib::RefPtr<const Gdk::GC>&)" and
+ "Glib::unwrap<const Gdk::GC>(const Glib::RefPtr<const Gdk::GC>&)".
+ "drawable.cc", line 219: Error: Overloading ambiguity between
+ "Glib::unwrap<Gdk::GC>(const Glib::RefPtr<const Gdk::GC>&)" and
+ "Glib::unwrap<const Gdk::GC>(const Glib::RefPtr<const Gdk::GC>&)".
+ "drawable.cc", line 224: Error: Overloading ambiguity between
+ "Glib::unwrap<Gdk::GC>(const Glib::RefPtr<const Gdk::GC>&)" and
+ "Glib::unwrap<const Gdk::GC>(const Glib::RefPtr<const Gdk::GC>&)".
+ "drawable.cc", line 224: Error: Overloading ambiguity between
+ "Glib::unwrap<Gdk::Drawable>(const Glib::RefPtr<const
+ Gdk::Drawable>&)" and "Glib::unwrap<const Gdk::Drawable>(const
+ Glib::RefPtr<const Gdk::Drawable>&)".
+ "drawable.cc", line 229: Error: Overloading ambiguity between
+ "Glib::unwrap<Gdk::GC>(const Glib::RefPtr<const Gdk::GC>&)" and
+ "Glib::unwrap<const Gdk::GC>(const Glib::RefPtr<const Gdk::GC>&)".
+ "drawable.cc", line 229: Error: Overloading ambiguity between
+ "Glib::unwrap<Gdk::Image>(const Glib::RefPtr<const Gdk::Image>&)" and
+ "Glib::unwrap<const Gdk::Image>(const Glib::RefPtr<const
+ Gdk::Image>&)".
+ "drawable.cc", line 234: Error: Overloading ambiguity between
+ "Glib::unwrap<Gdk::GC>(const Glib::RefPtr<const Gdk::GC>&)" and
+ "Glib::unwrap<const Gdk::GC>(const Glib::RefPtr<const Gdk::GC>&)".
+ "drawable.cc", line 239: Error: Overloading ambiguity between
+ "Glib::unwrap<Gdk::GC>(const Glib::RefPtr<const Gdk::GC>&)" and
+ "Glib::unwrap<const Gdk::GC>(const Glib::RefPtr<const Gdk::GC>&)".
+ "drawable.cc", line 239: Error: Overloading ambiguity between
+ "Glib::unwrap<Pango::Font>(const Glib::RefPtr<const Pango::Font>&)"
+ and "Glib::unwrap<const Pango::Font>(const Glib::RefPtr<const
+ Pango::Font>&)".
+ "drawable.cc", line 244: Error: Overloading ambiguity between
+ "Glib::unwrap<Gdk::GC>(const Glib::RefPtr<const Gdk::GC>&)" and
+ "Glib::unwrap<const Gdk::GC>(const Glib::RefPtr<const Gdk::GC>&)".
+ "drawable.cc", line 244: Error: Overloading ambiguity between
+ "Glib::unwrap<Pango::LayoutLine>(const Glib::RefPtr<const
+ Pango::LayoutLine>&)" and "Glib::unwrap<const Pango::LayoutLine>(const
+ Glib::RefPtr<const Pango::LayoutLine>&)".
+ "drawable.cc", line 249: Error: Overloading ambiguity between
+ "Glib::unwrap<Gdk::GC>(const Glib::RefPtr<const Gdk::GC>&)" and
+ "Glib::unwrap<const Gdk::GC>(const Glib::RefPtr<const Gdk::GC>&)".
+ "drawable.cc", line 249: Error: Overloading ambiguity between
+ "Glib::unwrap<Pango::LayoutLine>(const Glib::RefPtr<const
+ Pango::LayoutLine>&)" and "Glib::unwrap<const Pango::LayoutLine>(const
+ Glib::RefPtr<const Pango::LayoutLine>&)".
+ "drawable.cc", line 254: Error: Overloading ambiguity between
+ "Glib::unwrap<Gdk::GC>(const Glib::RefPtr<const Gdk::GC>&)" and
+ "Glib::unwrap<const Gdk::GC>(const Glib::RefPtr<const Gdk::GC>&)".
+ "drawable.cc", line 254: Error: Overloading ambiguity between
+ "Glib::unwrap<Pango::Layout>(const Glib::RefPtr<const
+ Pango::Layout>&)" and "Glib::unwrap<const Pango::Layout>(const
+ Glib::RefPtr<const Pango::Layout>&)".
+ "drawable.cc", line 259: Error: Overloading ambiguity between
+ "Glib::unwrap<Gdk::GC>(const Glib::RefPtr<const Gdk::GC>&)" and
+ "Glib::unwrap<const Gdk::GC>(const Glib::RefPtr<const Gdk::GC>&)".
+ "drawable.cc", line 259: Error: Overloading ambiguity between
+ "Glib::unwrap<Pango::Layout>(const Glib::RefPtr<const
+ Pango::Layout>&)" and "Glib::unwrap<const Pango::Layout>(const
+ Glib::RefPtr<const Pango::Layout>&)".
+ "drawable.cc", line 279: Error: Overloading ambiguity between
+ "Glib::unwrap<Gdk::GC>(const Glib::RefPtr<const Gdk::GC>&)" and
+ "Glib::unwrap<const Gdk::GC>(const Glib::RefPtr<const Gdk::GC>&)".
+ "drawable.cc", line 284: Error: Overloading ambiguity between
+ "Glib::unwrap<Gdk::GC>(const Glib::RefPtr<const Gdk::GC>&)" and
+ "Glib::unwrap<const Gdk::GC>(const Glib::RefPtr<const Gdk::GC>&)".
+ "drawable.cc", line 289: Error: Overloading ambiguity between
+ "Glib::unwrap<Gdk::GC>(const Glib::RefPtr<const Gdk::GC>&)" and
+ "Glib::unwrap<const Gdk::GC>(const Glib::RefPtr<const Gdk::GC>&)".
+ "drawable.cc", line 294: Error: Overloading ambiguity between
+ "Glib::unwrap<Gdk::GC>(const Glib::RefPtr<const Gdk::GC>&)" and
+ "Glib::unwrap<const Gdk::GC>(const Glib::RefPtr<const Gdk::GC>&)".
+ "drawable.cc", line 299: Error: Overloading ambiguity between
+ "Glib::unwrap<Gdk::GC>(const Glib::RefPtr<const Gdk::GC>&)" and
+ "Glib::unwrap<const Gdk::GC>(const Glib::RefPtr<const Gdk::GC>&)".
+ "drawable.cc", line 304: Error: Overloading ambiguity between
+ "Glib::unwrap<Gdk::GC>(const Glib::RefPtr<const Gdk::GC>&)" and
+ "Glib::unwrap<const Gdk::GC>(const Glib::RefPtr<const Gdk::GC>&)".
+ Compilation aborted, too many Error messages.



--__--__--

Message: 7
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net, szombath bifab de
Cc: 
Date: Tue, 30 Jul 2002 15:48:28 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 89450] Changed - Impossible casts with Sun Forte C++

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=89450

Changed by murrayc usa net 

--- shadow/89450	Tue Jul 30 15:13:45 2002
+++ shadow/89450.tmp.7427	Tue Jul 30 15:48:28 2002
@@ -31,6 +31,24 @@
 Gtk::TreeRow& to const Gtk::TreeIter& not allowed.
 "treestore.cc", line 156: Warning (Anachronism): Assigning
 void(*)(void*,void*) to extern "C" void(*)(void*,void*).
 
 I can solve the problem by using reinterpret_cast, but this might not be
 your intention. Please have look into it.
+
+------- Additional Comments From murrayc usa net  2002-07-30 15:48 -------
+The first error line is this:
+
+TreeModel::iterator ListStore::insert(const Row& row)
+{
+  return insert(static_cast<const iterator&>(row));
+}
+
+Note that iterator is a typedef for TreeIter, and Row is a typedef for
+TreeRow, and that is calling the insert(const iterator& iter) override.
+
+So shouldn't that work even without the static_cast<>, because Row is
+an iterator? So maybe you should first try it without any explicit
+cast. If that works then please provide a patch.
+
+If that works then maybe the overide isn't needed at all anyway. I'm
+not sure whether it's obvious that the other override would work.



--__--__--

Message: 8
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net, szombath bifab de
Cc: 
Date: Tue, 30 Jul 2002 15:54:59 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 85979] Changed - template instantiation problem in TreeView::append_column under Sun Forte C++

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=85979

Changed by murrayc usa net 

--- shadow/85979	Tue Jul 30 15:07:00 2002
+++ shadow/85979.tmp.8138	Tue Jul 30 15:54:54 2002
@@ -153,6 +153,20 @@
 not fill them. For a while we switched to g++ (now version 3.1.1)
 under Sun Solaris, but to get Gtk-- into production code we need it
 working with the Sun C++ compiler again. At the moment we are thinking
 about an API addition of TreeView::append_column for the Sun Compiler,
 e.g. specialization for strings as column type, in order to work
 around this bug as long Sun has not provided a fix for their compiler.
+
+------- Additional Comments From murrayc usa net  2002-07-30 15:54 -------
+Excellent research. It would be great if Sun fix this, but it needs to
+be in weeks, not months. Shouldn't that URL show some official "Yes,
+it's our fault" response from Sun?
+
+If you cannot use the append_column() template then you should do what
+the append_column() code does manually, using specific types. That's
+what GTK+ people must do.
+
+The gtkmm book's TreeView chapter shows how to append columns without
+using that append_column() method, for instance, when you don't want
+default CellRenderers, or if you want more than one model column in a
+view column. Please tell me if this is not an acceptable solution.



--__--__--

Message: 9
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc: sander vesik sun com
Date: Tue, 30 Jul 2002 15:55:02 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 79116] Changed - compatibility patches for Sun Forte C++ compiler

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=79116

Changed by szombath bifab de 

--- shadow/79116	Fri Apr 26 14:17:23 2002
+++ shadow/79116.tmp.8160	Tue Jul 30 15:55:02 2002
@@ -9,12 +9,13 @@
 Priority: Normal
 Component: build
 AssignedTo: gtkmm-forge lists sourceforge net                            
 ReportedBy: szombath bifab de               
 TargetMilestone: ---
 URL: 
+Cc: sander vesik sun com
 Summary: compatibility patches for Sun Forte C++ compiler
 
 
 
 ------- Additional Comments From szombath bifab de  2002-04-18 11:38 -------
 Created an attachment (id=7781)
@@ -318,6 +319,16 @@
 ------- Additional Comments From murrayc usa net  2002-04-26 14:17 -------
 1) Yes, that's a bug that I have just introduced.
 2) Confirmed. Open another bug if it doesn't get fixed soon.
 3) Works for me. It might be Solaris-specific. Please try the gtk+
 tests/testdnd app.
 
+
+------- Additional Comments From szombath bifab de  2002-07-30 15:55 -------
+Just to let you, know that the Sun C++ compiler is hopefully going in
+the right direction. With the upcoming compiler patch 111685-09, which
+I already got from Sun Service for test purposes, the inability  to
+overload enum operator is resolved.
+
+I will let you know, when the patch is publicly available, as we still
+have one case in the library code, beside of many in the examples,
+where the code was changed to help Sun's compiler.




--__--__--

_______________________________________________
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]