Gtkmm-forge Digest, Vol 21, Issue 10
- From: gtkmm-forge-request lists sourceforge net
- To: gtkmm-forge lists sourceforge net
- Subject: Gtkmm-forge Digest, Vol 21, Issue 10
- Date: Tue, 19 Feb 2008 20:18:37 -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 498438] gcc-4.3 build issue (glibmm (bugzilla.gnome.org))
2. [Bug 517530] New: additional includes for C functions in
several files for Solaris (gtkmm (bugzilla.gnome.org))
3. [Bug 517530] additional includes for C functions in several
files for Solaris (gtkmm (bugzilla.gnome.org))
4. [Bug 498438] gcc-4.3 build issue (glibmm (bugzilla.gnome.org))
5. [Bug 517530] additional includes for C functions in several
files for Solaris (gtkmm (bugzilla.gnome.org))
6. [Bug 498438] gcc-4.3 build issue (glibmm (bugzilla.gnome.org))
7. [Bug 517530] additional includes for C functions in several
files for Solaris (gtkmm (bugzilla.gnome.org))
8. [Bug 498438] gcc-4.3 build issue (glibmm (bugzilla.gnome.org))
----------------------------------------------------------------------
Message: 1
Date: Tue, 19 Feb 2008 20:14:32 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 498438] gcc-4.3 build issue
To: gtkmm-forge lists sourceforge net
Message-ID: <20080219201432 BBB1123F512 label gnome org>
Content-Type: text/plain; charset=utf-8
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
http://bugzilla.gnome.org/show_bug.cgi?id=498438
glibmm | build | Ver: 2.14.x
------- Comment #6 from Tim Mooney 2008-02-19 20:14 UTC -------
Created an attachment (id=105601)
--> (http://bugzilla.gnome.org/attachment.cgi?id=105601&action=view)
include string.h
--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=498438.
------------------------------
Message: 2
Date: Tue, 19 Feb 2008 20:22:49 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 517530] New: additional includes for C
functions in several files for Solaris
To: gtkmm-forge lists sourceforge net
Message-ID: <bug-517530-5595 http bugzilla gnome org/>
Content-Type: text/plain; charset=utf-8
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
http://bugzilla.gnome.org/show_bug.cgi?id=517530
gtkmm | build | Ver: 2.12.x
Summary: additional includes for C functions in several files for
Solaris
Product: gtkmm
Version: 2.12.x
Platform: Other
OS/Version: Solaris
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: build
AssignedTo: gtkmm-forge lists sourceforge net
ReportedBy: mooney dogbert cc ndsu nodak edu
QAContact: gtkmm-forge lists sourceforge net
GNOME version: Unspecified
GNOME milestone: Unspecified
I just finished building gtkmm 2.12.4 on x86_64-sun-solaris2.10 with the Sun
Workshop 12 bundle.
Several files, especially in the examples and demo, require additional #include
directives to get prototypes for certain functions (memset(), strlen(), atoi(),
floor(), et. al.) and several require the define for M_PI, which is in math.h
on Solaris.
Attached is the patch that fixes each of these files. I'm not currently
wrapping
any of the #include statements that I added in any kind of #ifdef guard,
because gtkmm's configure currently isn't doing much to check for header files.
That could be changed, if any of these are problematic.
--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=517530.
------------------------------
Message: 3
Date: Tue, 19 Feb 2008 20:23:28 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 517530] additional includes for C
functions in several files for Solaris
To: gtkmm-forge lists sourceforge net
Message-ID: <20080219202328 5538823F503 label gnome org>
Content-Type: text/plain; charset=utf-8
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
http://bugzilla.gnome.org/show_bug.cgi?id=517530
gtkmm | build | Ver: 2.12.x
------- Comment #1 from Tim Mooney 2008-02-19 20:23 UTC -------
Created an attachment (id=105603)
--> (http://bugzilla.gnome.org/attachment.cgi?id=105603&action=view)
add include directives necessary to get prototypes for common C functions
--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=517530.
------------------------------
Message: 4
Date: Wed, 20 Feb 2008 02:00:51 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 498438] gcc-4.3 build issue
To: gtkmm-forge lists sourceforge net
Message-ID: <20080220020051 3FE2923F51E label gnome org>
Content-Type: text/plain; charset=utf-8
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
http://bugzilla.gnome.org/show_bug.cgi?id=498438
glibmm | build | Ver: 2.14.x
manphiz gmail com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |manphiz gmail com
------- Comment #7 from manphiz gmail com 2008-02-20 02:00 UTC -------
I guess it might be fixed by adding 'std::' prefix to all string.h function.
<c*> headers should declare functions within namespace std, but it seems on
Linux that's not mandatory, and I'm not sure if that's a bug.
--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=498438.
------------------------------
Message: 5
Date: Wed, 20 Feb 2008 03:56:22 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 517530] additional includes for C
functions in several files for Solaris
To: gtkmm-forge lists sourceforge net
Message-ID: <20080220035622 E629123F517 label gnome org>
Content-Type: text/plain; charset=utf-8
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
http://bugzilla.gnome.org/show_bug.cgi?id=517530
gtkmm | build | Ver: 2.12.x
Jonathon Jongsma (jonner) changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jonathon quotidian org
------- Comment #2 from Jonathon Jongsma (jonner) 2008-02-20 03:56 UTC -------
In general, there's no need to include both <cstring> and <string.h> -- they
should be identical except one is supposed to import the functions into the
std:: namespace. So we should probably either qualify the strcmp() calls with
thd std namespace or change the cstring include to string.h, not include both
cstring and string.h.
Also, I'm afraid you patched the wrong files (which is understandable since it
appears that you're patching the tarball). But fyi, the files under gtk/gtkmm/
are for the most part generated files. The 'source' files that will need to be
patched are in gtk/src/
--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=517530.
------------------------------
Message: 6
Date: Wed, 20 Feb 2008 03:58:39 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 498438] gcc-4.3 build issue
To: gtkmm-forge lists sourceforge net
Message-ID: <20080220035839 F1B7523F51C label gnome org>
Content-Type: text/plain; charset=utf-8
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
http://bugzilla.gnome.org/show_bug.cgi?id=498438
glibmm | build | Ver: 2.14.x
------- Comment #9 from manphiz gmail com 2008-02-20 03:58 UTC -------
(In reply to comment #8)
> Yes, except in this case, the memset call is coming from a glib macro
> G_VALUE_COLLECT(), so it's not possible to change the call to add std:: here.
>
> Isn't the proper fix here to include <string.h> in the gvaluecollect.h header
> so that everybody that uses that macro doesn't have to include string.h
> themselves?
>
In such case, one can use "using std::memset;" to bring specifically required
functions into global namespace.
--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=498438.
------------------------------
Message: 7
Date: Wed, 20 Feb 2008 04:16:51 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 517530] additional includes for C
functions in several files for Solaris
To: gtkmm-forge lists sourceforge net
Message-ID: <20080220041651 8279E23F512 label gnome org>
Content-Type: text/plain; charset=utf-8
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
http://bugzilla.gnome.org/show_bug.cgi?id=517530
gtkmm | build | Ver: 2.12.x
------- Comment #3 from Tim Mooney 2008-02-20 04:16 UTC -------
Ah yes, I had forgotten about the files being generated.
I'll happily fix up the patch, if there's consensus on what direction to take.
--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=517530.
------------------------------
Message: 8
Date: Wed, 20 Feb 2008 03:33:43 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 498438] gcc-4.3 build issue
To: gtkmm-forge lists sourceforge net
Message-ID: <20080220033343 14AD623F51C label gnome org>
Content-Type: text/plain; charset=utf-8
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
http://bugzilla.gnome.org/show_bug.cgi?id=498438
glibmm | build | Ver: 2.14.x
Jonathon Jongsma (jonner) changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jonathon quotidian org
Status|RESOLVED |UNCONFIRMED
Resolution|FIXED |
------- Comment #8 from Jonathon Jongsma (jonner) 2008-02-20 03:33 UTC -------
Yes, except in this case, the memset call is coming from a glib macro
G_VALUE_COLLECT(), so it's not possible to change the call to add std:: here.
Isn't the proper fix here to include <string.h> in the gvaluecollect.h header
so that everybody that uses that macro doesn't have to include string.h
themselves?
--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=498438.
------------------------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
------------------------------
_______________________________________________
Gtkmm-forge mailing list
Gtkmm-forge lists sourceforge net
https://lists.sourceforge.net/lists/listinfo/gtkmm-forge
End of Gtkmm-forge Digest, Vol 21, Issue 10
*******************************************
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]