Gtkmm-forge Digest, Vol 1, Issue 1141
- From: gtkmm-forge-request lists sourceforge net
- To: gtkmm-forge lists sourceforge net
- Cc:
- Subject: Gtkmm-forge Digest, Vol 1, Issue 1141
- Date: Fri, 02 Jun 2006 12:03:57 -0700
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 316726] Cannot compile gtkmm application
(gtkmm (bugzilla.gnome.org))
2. [Bug 316726] Cannot compile gtkmm application
(gtkmm (bugzilla.gnome.org))
3. [Bug 316726] Cannot compile gtkmm application
(gtkmm (bugzilla.gnome.org))
4. [Bug 316726] Cannot compile gtkmm application
(gtkmm (bugzilla.gnome.org))
5. [Bug 316726] Cannot compile gtkmm application
(gtkmm (bugzilla.gnome.org))
----------------------------------------------------------------------
Message: 1
Date: Thu, 1 Jun 2006 18:54:16 -0400 (EDT)
From: "gtkmm (bugzilla.gnome.org)"
<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 316726] Cannot compile gtkmm
application
To: gtkmm-forge lists sourceforge net
Message-ID: <20060601225416 29B166CC11D window 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=316726
gtkmm | general | Ver: 2.4
------- Comment #4 from Javeed Shaikh 2006-06-01 22:54 UTC -------
Created an attachment (id=66628)
--> (http://bugzilla.gnome.org/attachment.cgi?id=66628&action=view)
Test case
This is a test case.
Compile it with g++ -Wall -pedantic -c test.h `pkg-config --cflags gdkmm-2.4`
(it won't compile.)
The problem is solved if the order of the two header files is swapped. I was
pulling my hair out trying to fix this.
I think something should be done about this.
--
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
------------------------------
Message: 2
Date: Thu, 1 Jun 2006 19:32:44 -0400 (EDT)
From: "gtkmm (bugzilla.gnome.org)"
<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 316726] Cannot compile gtkmm
application
To: gtkmm-forge lists sourceforge net
Message-ID: <20060601233244 9C49E6CC0C8 window 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=316726
gtkmm | general | Ver: 2.4
Karsten Br?ckelmann changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|INVALID |
------- Comment #5 from Karsten Br?ckelmann 2006-06-01 23:32 UTC -------
Re-opening on behalf of Javeed Shaikh, who provided a test case.
--
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
------------------------------
Message: 3
Date: Fri, 2 Jun 2006 03:19:18 -0400 (EDT)
From: "gtkmm (bugzilla.gnome.org)"
<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 316726] Cannot compile gtkmm
application
To: gtkmm-forge lists sourceforge net
Message-ID: <20060602071918 4CF976CC0C1 window 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=316726
gtkmm | general | Ver: 2.4
Murray Cumming changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |murrayc murrayc com
------- Comment #6 from Murray Cumming 2006-06-02 07:19 UTC -------
Excellent detective work.
Does this happen also with gtk.h instead of gtkmm.h? Then we can reassign it to
GTK+. Maybe they (or us, if necessary) could add a compiler warning to prevent
it.
--
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
------------------------------
Message: 4
Date: Fri, 2 Jun 2006 11:42:41 -0400 (EDT)
From: "gtkmm (bugzilla.gnome.org)"
<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 316726] Cannot compile gtkmm
application
To: gtkmm-forge lists sourceforge net
Message-ID: <20060602154241 D06286CC0C8 window 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=316726
gtkmm | general | Ver: 2.4
Javeed Shaikh changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |syscrash2k gmail com
------- Comment #7 from Javeed Shaikh 2006-06-02 15:42 UTC -------
This does not happen with the non-mm gtk.h, glib.h, or gdk.h.
It does happen with gtkmm.h (because it brings in glibmm.h and gdkmm.h),
glibmm.h, and gdkmm.h.
The problem with the glibmm.h header is that DestroyNotify being defined as a
constant by Xlib (I believe it is used for events.)
The problem with gdkmm.h is that it brings in gdkmm/types.h, which the compiler
does not like because the name of the enum on line 187 (Status) is also used by
Xlib (I'm not quite sure what for, but grepping the header file gives many
lines.)
This is a bit "fudgy", because the Status enum is inside the Gdk namespace.
Unfortunately, the preprocessor doesn't really speak C++ (as far as I know),
and it just replaces it with the numeric constant.
--
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
------------------------------
Message: 5
Date: Fri, 2 Jun 2006 14:29:10 -0400 (EDT)
From: "gtkmm (bugzilla.gnome.org)"
<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 316726] Cannot compile gtkmm
application
To: gtkmm-forge lists sourceforge net
Message-ID: <20060602182910 CEBC86CC0C8 window 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=316726
gtkmm | general | Ver: 2.4
------- Comment #8 from Murray Cumming 2006-06-02 18:29 UTC -------
Ah, well done. So, at those points in the headers, we need some kind of
#ifdef DestroyNotify
#error "X11/Xlib.h seems to have been included before this header. Due to some
commonly-named macros in X11/Xlib.h, it must be included after any
glibmm/gdkmm/gtkmm headers".
#endif //DestroyNotify
I'm not sure whether #error can be used, but I think I've seen #warning before.
--
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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, Vol 1, Issue 1141
********************************************
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]