Gtkmm-forge Digest, Vol 8, Issue 9
- From: gtkmm-forge-request lists sourceforge net
- To: gtkmm-forge lists sourceforge net
- Subject: Gtkmm-forge Digest, Vol 8, Issue 9
- Date: Fri, 12 Jan 2007 07:33:22 -0800
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 395572] overloading ambiguity in printoptions.cc with
Sun Workshop 11 CC (gtkmm (bugzilla.gnome.org))
2. [Bug 395572] overloading ambiguity in printoptions.cc with
Sun Workshop 11 CC (gtkmm (bugzilla.gnome.org))
3. [Bug 321990] Error building libgnomevfs/libgnomevfsmm/uri.cc
with SGI, Tru64 UNIX, Sun C++ compilers (gnomemm (bugzilla.gnome.org))
4. [Bug 321990] Error building libgnomevfs/libgnomevfsmm/uri.cc
with SGI, Tru64 UNIX, Sun C++ compilers (gnomemm (bugzilla.gnome.org))
5. [Bug 392950] Wrapper Class For GTimer missing
(glibmm (bugzilla.gnome.org))
6. [Bug 395572] overloading ambiguity in printoptions.cc with
Sun Workshop 11 CC (gtkmm (bugzilla.gnome.org))
7. [Bug 395572] overloading ambiguity in printoptions.cc with
Sun Workshop 11 CC (gtkmm (bugzilla.gnome.org))
8. [Bug 392950] Wrapper Class For GTimer missing
(glibmm (bugzilla.gnome.org))
----------------------------------------------------------------------
Message: 1
Date: Fri, 12 Jan 2007 00:52:46 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 395572] overloading ambiguity in
printoptions.cc with Sun Workshop 11 CC
To: gtkmm-forge lists sourceforge net
Message-ID: <20070112005246 BDC236C40B6 box gnome org>
Content-Type: text/plain; charset=utf-8
Do not reply to this via email (we are currently unable to handle email
responses and they get discarded). You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=395572
gtkmm | build | Ver: 2.10.x
------- Comment #2 from Tim Mooney 2007-01-12 00:51 UTC -------
I eventually figured out how to regenerate the gtk/gtkmm/printoperations.cc
from the source file, and the error has now moved:
CC -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/local/gnu/include/glibmm-2.4
-I/local/gnu/lib/64/glibmm-2.4/include -I/local/gnu/include/sigc++-2.0
-I/local/gnu/lib/64/sigc++-2.0/include -I/local/gnu/include/glib-2.0
-I/local/gnu/lib/64/glib-2.0/include -I/local/include/cairomm-1.0
-I/local/include/cairo -I/local/gnu/include/gtk-2.0
-I/local/gnu/lib/64/gtk-2.0/include -I/local/gnu/include/atk-1.0
-I/local/gnu/include/pango-1.0 -I/local/gnu/include/gtk-unix-print-2.0 -mt
-I/local/gnu/include/glib-2.0 -I/local/gnu/lib/64/glib-2.0/include
-I/local/gnu/include -I/local/include -xO3 -KPIC -xtarget=native -xarch=amd64
-I/local/gnu/include -I/local/include -c printoperation.cc -KPIC -DPIC -o
.libs/printoperation.o
"printoperation.cc", line 87: Error: Overloading ambiguity between
"Glib::unwrap<Gtk::PageSetup>(const Glib::RefPtr<const Gtk::PageSetup>&)" and
"Glib::unwrap<const Gtk::PageSetup>(const Glib::RefPtr<const
Gtk::PageSetup>&)".
"printoperation.cc", line 88: Error: Overloading ambiguity between
"Glib::unwrap<Gtk::PrintSettings>(const Glib::RefPtr<const
Gtk::PrintSettings>&)" and "Glib::unwrap<const Gtk::PrintSettings>(const
Glib::RefPtr<const Gtk::PrintSettings>&)".
"printoperation.cc", line 105: Error: Overloading ambiguity between
"Glib::unwrap<Gtk::PageSetup>(const Glib::RefPtr<const Gtk::PageSetup>&)" and
"Glib::unwrap<const Gtk::PageSetup>(const Glib::RefPtr<const
Gtk::PageSetup>&)".
"printoperation.cc", line 106: Error: Overloading ambiguity between
"Glib::unwrap<Gtk::PrintSettings>(const Glib::RefPtr<const
Gtk::PrintSettings>&)" and "Glib::unwrap<const Gtk::PrintSettings>(const
Glib::RefPtr<const Gtk::PrintSettings>&)".
Lines 87 & 88 are:
const GtkPageSetup* c_page_setup = Glib::unwrap(page_setup);
const GtkPrintSettings* c_print_settings = Glib::unwrap(print_settings);
--
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------------------------------
Message: 2
Date: Fri, 12 Jan 2007 10:35:46 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 395572] overloading ambiguity in
printoptions.cc with Sun Workshop 11 CC
To: gtkmm-forge lists sourceforge net
Message-ID: <20070112103546 93F006C4159 box gnome org>
Content-Type: text/plain; charset=utf-8
Do not reply to this via email (we are currently unable to handle email
responses and they get discarded). You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=395572
gtkmm | build | Ver: 2.10.x
Murray Cumming changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |murrayc murrayc com
------- Comment #3 from Murray Cumming 2007-01-12 10:34 UTC -------
Could you please try specifying a template specialization, to avoid the error
like so:
Glib::unwrap<const GtkPageSetup*>(page_setup)
If you make a new patch, please add comments next to the code explaining why
that has been done, so it will not be removed by someone in the future.
--
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------------------------------
Message: 3
Date: Fri, 12 Jan 2007 10:39:08 +0000 (UTC)
From: "gnomemm (bugzilla.gnome.org)"
<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 321990] Error building
libgnomevfs/libgnomevfsmm/uri.cc with SGI, Tru64 UNIX, Sun C++
compilers
To: gtkmm-forge lists sourceforge net
Message-ID: <20070112103908 F1CB16C415D box gnome org>
Content-Type: text/plain; charset=utf-8
Do not reply to this via email (we are currently unable to handle email
responses and they get discarded). You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=321990
gnomemm | gnome-vfsmm | Ver: 2.10
------- Comment #12 from Murray Cumming 2007-01-12 10:37 UTC -------
Also, maybe I'm missing it in your text above, but I don't see why we can't
just specify the template specialization (e.g. Glib::unwrap<const
TheClass*>(thecppinstance)), as suggested in comment #2:
http://bugzilla.gnome.org/show_bug.cgi?id=321990#c2
--
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------------------------------
Message: 4
Date: Fri, 12 Jan 2007 11:24:04 +0000 (UTC)
From: "gnomemm (bugzilla.gnome.org)"
<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 321990] Error building
libgnomevfs/libgnomevfsmm/uri.cc with SGI, Tru64 UNIX, Sun C++
compilers
To: gtkmm-forge lists sourceforge net
Message-ID: <20070112112404 5E23E6C40AE box gnome org>
Content-Type: text/plain; charset=utf-8
Do not reply to this via email (we are currently unable to handle email
responses and they get discarded). You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=321990
gnomemm | gnome-vfsmm | Ver: 2.10
------- Comment #13 from The Written Word 2007-01-12 11:22 UTC -------
(In reply to comment #11)
> > The tests for a) test whether the compiler can disambiguate const qualifiers in
> > templated classes. That is needed for the TypeTraits class. But the
> > Glib::unwrap function can still be broken, for example the DEC compiler copes
> > well with templated classes, but not with templated functions. The tests need
> > to probe for functions, too, or assuming that there are no implementations that
> > have working functions, but broken classes, only test for templated functions
>
> I'd like to see a test for this, so we can avoid adding code that isn't
> necessary on other compilers. I don't see any changes to the test in these two
> patches.
No, there is no test in the patches sent, this was just a comment. I don't
think you can avoid any code by a smarter test, the comment just says that the
tests are giving false positives for DEC.
(In reply to comment #12)
> Also, maybe I'm missing it in your text above, but I don't see why we can't
> just specify the template specialization (e.g. Glib::unwrap<const
> TheClass*>(thecppinstance)), as suggested in comment #2:
> http://bugzilla.gnome.org/show_bug.cgi?id=321990#c2
See comment #9 part b)
--
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------------------------------
Message: 5
Date: Fri, 12 Jan 2007 14:59:45 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 392950] Wrapper Class For GTimer
missing
To: gtkmm-forge lists sourceforge net
Message-ID: <20070112145945 3B6406C40DC box gnome org>
Content-Type: text/plain; charset=utf-8
Do not reply to this via email (we are currently unable to handle email
responses and they get discarded). You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=392950
glibmm | general | Ver: 2.12.x
------- Comment #4 from Jan Niklas Hasse 2007-01-12 14:58 UTC -------
Just a last question: Is it normal that this class isn't in the overview?
http://gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classes.html
--
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------------------------------
Message: 6
Date: Fri, 12 Jan 2007 15:28:39 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 395572] overloading ambiguity in
printoptions.cc with Sun Workshop 11 CC
To: gtkmm-forge lists sourceforge net
Message-ID: <20070112152839 EE9BA6C415B box gnome org>
Content-Type: text/plain; charset=utf-8
Do not reply to this via email (we are currently unable to handle email
responses and they get discarded). You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=395572
gtkmm | build | Ver: 2.10.x
Marko Anastasov changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #80087|0 |1
is obsolete| |
------- Comment #4 from Marko Anastasov 2007-01-12 15:27 UTC -------
Created an attachment (id=80113)
--> (http://bugzilla.gnome.org/attachment.cgi?id=80113&action=view)
patch 2, with template specialization
Tim, can you try with this patch?
--
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------------------------------
Message: 7
Date: Fri, 12 Jan 2007 15:30:55 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 395572] overloading ambiguity in
printoptions.cc with Sun Workshop 11 CC
To: gtkmm-forge lists sourceforge net
Message-ID: <20070112153055 C933A6C415C box gnome org>
Content-Type: text/plain; charset=utf-8
Do not reply to this via email (we are currently unable to handle email
responses and they get discarded). You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=395572
gtkmm | build | Ver: 2.10.x
Marko Anastasov changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |marko marko anastasov name
------- Comment #5 from Marko Anastasov 2007-01-12 15:29 UTC -------
Don't know how that happenned, I just typed 'patch 2' and it became a link to
something. Please ignore that one.
--
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------------------------------
Message: 8
Date: Fri, 12 Jan 2007 15:34:50 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 392950] Wrapper Class For GTimer
missing
To: gtkmm-forge lists sourceforge net
Message-ID: <20070112153450 CF8946C415A box gnome org>
Content-Type: text/plain; charset=utf-8
Do not reply to this via email (we are currently unable to handle email
responses and they get discarded). You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=392950
glibmm | general | Ver: 2.12.x
------- Comment #5 from Marko Anastasov 2007-01-12 15:33 UTC -------
That's the Gtk namespace. For Glib, it's
http://gtkmm.org/docs/glibmm-2.4/docs/reference/html/namespaceGlib.html
--
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------------------------------
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
------------------------------
_______________________________________________
Gtkmm-forge mailing list
Gtkmm-forge lists sourceforge net
https://lists.sourceforge.net/lists/listinfo/gtkmm-forge
End of Gtkmm-forge Digest, Vol 8, Issue 9
*****************************************
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]