Send Gtkmm-forge mailing list submissions to
        [EMAIL PROTECTED]

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
        [EMAIL PROTECTED]

You can reach the person managing the list at
        [EMAIL PROTECTED]

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)"
        <[EMAIL PROTECTED]>
Subject: [gtkmm bugzilla] [Bug 498438] gcc-4.3 build issue
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
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)"
        <[EMAIL PROTECTED]>
Subject: [gtkmm bugzilla] [Bug 517530] New: additional includes for C
        functions in several files for Solaris
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]/>
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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [EMAIL PROTECTED]
     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)"
        <[EMAIL PROTECTED]>
Subject: [gtkmm bugzilla] [Bug 517530] additional includes for C
        functions       in several files for Solaris
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
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)"
        <[EMAIL PROTECTED]>
Subject: [gtkmm bugzilla] [Bug 498438] gcc-4.3 build issue
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
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

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[EMAIL PROTECTED]




------- Comment #7 from [EMAIL PROTECTED]  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)"
        <[EMAIL PROTECTED]>
Subject: [gtkmm bugzilla] [Bug 517530] additional includes for C
        functions       in several files for Solaris
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
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|                            |[EMAIL PROTECTED]




------- 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)"
        <[EMAIL PROTECTED]>
Subject: [gtkmm bugzilla] [Bug 498438] gcc-4.3 build issue
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
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 [EMAIL PROTECTED]  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)"
        <[EMAIL PROTECTED]>
Subject: [gtkmm bugzilla] [Bug 517530] additional includes for C
        functions       in several files for Solaris
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
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)"
        <[EMAIL PROTECTED]>
Subject: [gtkmm bugzilla] [Bug 498438] gcc-4.3 build issue
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
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|                            |[EMAIL PROTECTED]
             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
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/gtkmm-forge


End of Gtkmm-forge Digest, Vol 21, Issue 10
*******************************************
_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to