Gtkmm-forge digest, Vol 1 #857 - 3 msgs
- From: gtkmm-forge-request lists sourceforge net
- To: gtkmm-forge lists sourceforge net
- Cc:
- Subject: Gtkmm-forge digest, Vol 1 #857 - 3 msgs
- Date: Fri, 21 Jan 2005 20:07:09 -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-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. Do not try to unsubscribe gtkmm-forge from gtkmm-list.
Today's Topics:
1. [Bug 163765] Glib::Dispatcher crash (bugzilla-daemon bugzilla gnome org)
2. [Bug 164852] New: non extern "C" callbacks (bugzilla-daemon bugzilla gnome org)
3. [Bug 164852] non extern "C" callbacks (bugzilla-daemon bugzilla gnome org)
--__--__--
Message: 1
From: bugzilla-daemon bugzilla gnome org
To: gtkmm-forge lists sourceforge net
Cc:
Date: Fri, 21 Jan 2005 02:57:17 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 163765] Glib::Dispatcher crash
Please DO NOT reply to this by email. All additional comments should be made in
the comments box of this bug report.
http://bugzilla.gnome.org/show_bug.cgi?id=163765
glibmm | threads | Ver: 2.4.x
------- Additional Comments From Murray Cumming 2005-01-21 02:57 -------
We really need a test case for this, as simple as possible, and compileable.
------- You are receiving this mail because: -------
You are the assignee for the bug.
--__--__--
Message: 2
From: bugzilla-daemon bugzilla gnome org
To: gtkmm-forge lists sourceforge net
Cc:
Date: Fri, 21 Jan 2005 14:37:15 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 164852] New: non extern "C" callbacks
Please DO NOT reply to this by email. All additional comments should be made in
the comments box of this bug report.
http://bugzilla.gnome.org/show_bug.cgi?id=164852
glibmm | build | Ver: 2.6.x
Summary: non extern "C" callbacks
Product: glibmm
Version: 2.6.x
Platform: Other
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: build
AssignedTo: gtkmm-forge lists sourceforge net
ReportedBy: murrayc murrayc com
CC: all-bugs bugzilla gnome org
glibmm has several callback functions that we give to glib, where they are
defined as extern "C" functions, but most of ours are not extern "C". The SUN
Forte compiler warns about this and the Tru64 compiler calls it an error when
using its "strict_ansi" option. This might get more important in future.
Unfortunately, most of these callbacks are static member functions, which can
not be extern "C". Changing them to separate functions means declaring them as
friend functions [1] to the class, and, because of the need to declare functions
before declaring them as friends, we often have to expose these functions as
public API, without the help of a private: or protected: keyword.
[1]: Though we could put these functions into an anonymous namespace, to prevent
them being exported as public API, we then have to way to refer to that
namespace in the "friend void some_function(int)" friend declaration.
The attached patch fixes some of this, as described, but it is not pretty.
------- You are receiving this mail because: -------
You are the assignee for the bug.
--__--__--
Message: 3
From: bugzilla-daemon bugzilla gnome org
To: gtkmm-forge lists sourceforge net
Cc:
Date: Fri, 21 Jan 2005 15:05:08 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 164852] non extern "C" callbacks
Please DO NOT reply to this by email. All additional comments should be made in
the comments box of this bug report.
http://bugzilla.gnome.org/show_bug.cgi?id=164852
glibmm | build | Ver: 2.6.x
------- Additional Comments From Murray Cumming 2005-01-21 15:05 -------
Created an attachment (id=36347)
--> (http://bugzilla.gnome.org/attachment.cgi?id=36347&action=view)
externc.patch
Fixes half of the extern "C" problems, often badly.
------- You are receiving this mail because: -------
You are the assignee for the bug.
--__--__--
_______________________________________________
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]