Gtkmm-forge digest, Vol 1 #1036 - 1 msg
- From: gtkmm-forge-request lists sourceforge net
- To: gtkmm-forge lists sourceforge net
- Cc:
- Subject: Gtkmm-forge digest, Vol 1 #1036 - 1 msg
- Date: Sat, 14 Jan 2006 20:11:38 -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 327022] New: glibmm-2.8.3 fails to compile against glib-2.9.2 (glibmm (bugzilla.gnome.org))
--__--__--
Message: 1
To: gtkmm-forge lists sourceforge net
From: "glibmm (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
Date: Sat, 14 Jan 2006 19:59:19 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 327022] New: glibmm-2.8.3 fails to compile against glib-2.9.2
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=3D327022
glibmm | build | Ver: 2.8.x
Summary: glibmm-2.8.3 fails to compile against glib-2.9.2
Product: glibmm
Version: 2.8.x
Platform: Other
OS/Version: Linux
Status: UNCONFIRMED
Severity: critical
Priority: Normal
Component: build
AssignedTo: gtkmm-forge lists sourceforge net
ReportedBy: jsacco ydl net
QAContact: gtkmm-forge lists sourceforge net
CC: mclasen redhat com
GNOME version: Unspecified
GNOME milestone: Unspecified
glibmm fails to compile against glib-2.9.2=20
System: G4 PowerMac running YDL-4.0.1, an FC2 clone,, gcc-3.3.3,
garnome-2.13.4+
The problem file is=20
./glib/glibmm/thread.cc
thread.cc: In member function `void Glib::StaticMutex::lock()':
thread.cc:162: error: invalid conversion from `_GMutex**' to `void* volat=
ile*'
thread.cc: In member function `bool Glib::StaticMutex::trylock()':
thread.cc:167: error: invalid conversion from `_GMutex**' to `void* volat=
ile*'
thread.cc: In member function `void Glib::StaticMutex::unlock()':
thread.cc:172: error: invalid conversion from `_GMutex**' to `void* volat=
ile*'
thread.cc: In member function `Glib::StaticMutex::operator Glib::Mutex&()=
':
thread.cc:194: error: invalid conversion from `_GMutex**' to `void* volat=
ile*'
thread.cc: In constructor `Glib::RecMutex::RecMutex()':
thread.cc:269: error: invalid conversion from `_GMutex**' to `void* volat=
ile*'
thread.cc: In constructor `Glib::RWLock::RWLock()':
thread.cc:326: error: invalid conversion from `_GMutex**' to `void* volat=
ile*'
The source of the problem can be traced to a change in the glib macros. W=
hether
or not this is a glibmm bug or a glib bug is unknown [to me] at this poin=
t.
Hopefully this issue can be brought to closure.
I worked around this problem by modifying
include/glib-2.0/glib/gthread.h
Specifically,
--- gthread.h 2006-01-14 19:24:21.000000000 -0500
+++ gthread.h.new 2006-01-14 18:57:40.000000000 -0500
@@ -138,7 +138,7 @@
GMutex* g_static_mutex_get_mutex_impl (GMutex **mutex);
#define g_static_mutex_get_mutex_impl_shortcut(mutex) \
- (g_atomic_pointer_get (mutex) ? *(mutex) : \
+ (g_atomic_pointer_get ((gpointer*)mutex) ? *(mutex) : \
g_static_mutex_get_mutex_impl (mutex))
The cast in g_atomic_pointer_get()
(gpointer*)mutex
existed in previous versions of glib and was removed recently
http://cvs.gnome.org/viewcvs/glib/glib/gthread.h?r1=3D1.24&r2=3D1.25
If this change was intentional to enforce stricter API compliance, then t=
he
probem is with the glibmm code, for example,
void StaticMutex::lock()
{=20
g_static_mutex_lock(&gobject_);
}
Thoughts???
-Joseph
--=20
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=3Demail
------- You are receiving this mail because: -------
You are the QA contact for the bug.
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]