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 517530] additional includes for C functions  in several
      files for Solaris (gtkmm (bugzilla.gnome.org))
   2. [Bug 517530] additional includes for C functions  in several
      files for Solaris (gtkmm (bugzilla.gnome.org))
   3. [Bug 512717] ValueBase classes "enhancements"
      (glibmm (bugzilla.gnome.org))
   4. [Bug 515135] glibmm needs the option not to abort programs
      with different encodings (glibmm (bugzilla.gnome.org))
   5. [Bug 437041] Add IconTheme support to the Action  classes
      (gtkmm (bugzilla.gnome.org))
   6. [Bug 511136] It's impossible to check if a        TreePath is valid
      using gtkmm functions (gtkmm (bugzilla.gnome.org))
   7. [Bug 517530] additional includes for C functions  in several
      files for Solaris (gtkmm (bugzilla.gnome.org))
   8. [Bug 517530] additional includes for C functions  in several
      files for Solaris (gtkmm (bugzilla.gnome.org))


----------------------------------------------------------------------

Message: 1
Date: Wed, 20 Feb 2008 06:18:03 +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

[EMAIL PROTECTED] changed:

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




------- Comment #4 from [EMAIL PROTECTED]  2008-02-20 06:18 UTC -------
Including C headers such as <*.h> is not quite the C++ way.  The whole point of
namespace is to avoid name clash.  I suggest adding missing "std::" prefixes to
affected calls, or "using std::<function>;" when the former is not viable, and
avoid "using namespace std;".

OTOH, it's suspicious that gcc on Linux can circumvent "std::", which might
worth a bug on gcc side.


-- 
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: 2
Date: Wed, 20 Feb 2008 11:54:40 +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

Murray Cumming changed:

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




------- Comment #5 from Murray Cumming  2008-02-20 11:54 UTC -------
> I'll happily fix up the patch, if there's consensus on what direction to take.

I wouldn't object to the use of std::, but we already use C functions regularly
without prefixes so it's not worth bothering about too much. I'll take any
patch that fixes the build.


-- 
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: Wed, 20 Feb 2008 13:13:10 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
        <[EMAIL PROTECTED]>
Subject: [gtkmm bugzilla] [Bug 512717] ValueBase classes
        "enhancements"
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=512717

  glibmm | general | Ver: 2.15.x




------- Comment #6 from Murray Cumming  2008-02-20 13:13 UTC -------
It's good to have this in bugzilla, but I don't think I'll apply it until
someone needs it and can therefore be a good tester of it.


-- 
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=512717.



------------------------------

Message: 4
Date: Wed, 20 Feb 2008 13:29:00 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
        <[EMAIL PROTECTED]>
Subject: [gtkmm bugzilla] [Bug 515135] glibmm needs the option not to
        abort   programs with different encodings
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=515135

  glibmm | strings | Ver: unspecified




------- Comment #4 from Murray Cumming  2008-02-20 13:29 UTC -------
It does not seem to abort for me:

[EMAIL PROTECTED]:~$ g++ test.cc `pkg-config gtkmm-2.4 --libs --cflags`
[EMAIL PROTECTED]:~$ ./a.out 
TRUE 
Character out of range for UTF-8
Character out of range for UTF-8

(Note to self: Those Character out of range strings are in the test itself.)


I am on Ubuntu. What are you using?


-- 
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=515135.



------------------------------

Message: 5
Date: Wed, 20 Feb 2008 13:31:22 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
        <[EMAIL PROTECTED]>
Subject: [gtkmm bugzilla] [Bug 437041] Add IconTheme support to the
        Action  classes
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=437041

  gtkmm | general | Ver: 2.10.x

Murray Cumming changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED




------- Comment #13 from Murray Cumming  2008-02-20 13:31 UTC -------
Christian seems to have committed this to svn trunk a while ago, but forgot to
close the bug:

2007-11-29  Christian Hammond <[EMAIL PROTECTED]>

        * gtk/src/action.ccg:
        * gtk/src/action.hg:
        * gtk/src/radioaction.ccg:
        * gtk/src/radioaction.hg:
        * gtk/src/toggleaction.ccg:
        * gtk/src/toggleaction.hg: Added create_with_icon_name() functions for
          the various Action classes, allowing IconTheme icon names to be used
          instead of stock IDs. This closes bug #437041.


-- 
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=437041.



------------------------------

Message: 6
Date: Wed, 20 Feb 2008 13:31:43 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
        <[EMAIL PROTECTED]>
Subject: [gtkmm bugzilla] [Bug 511136] It's impossible to check if a
        TreePath is valid using gtkmm functions
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=511136

  gtkmm | TreeView | Ver: 2.12.x




------- Comment #4 from Murray Cumming  2008-02-20 13:31 UTC -------
I'd still like a patch.


-- 
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=511136.



------------------------------

Message: 7
Date: Wed, 20 Feb 2008 14:39:36 +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 #6 from [EMAIL PROTECTED]  2008-02-20 14:39 UTC -------
Created an attachment (id=105642)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=105642&action=view)
header_fix_for_gcc4.3_and_solaris.patch

"std::" prefix version based on Tim Mooney's patch.  Some notes:

1. getc_unlocked() used in demos/gtk-demo/demowindow.cc is POSIX only we have
to use #include <stdio.h>
2. several <cmath> inclusion are based on Tim Mooney's patch, without which
doesn't fail to build with gcc4.3 on Linux, examples are
demos/gtk-demo/example_textview.cc,
demos/gtk-demo/example_treeview_editable_cells.cc,
examples/book/drawingarea/arcs/myarea.cc,
examples/book/drawingarea/clock/clock.cc
3. It's likely I was missing something.  Tim Mooney please check.


-- 
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 20:51:30 +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 #7 from Tim Mooney  2008-02-20 20:51 UTC -------
I'll attach a patch for the stuff that was missed, but unfortunately your
changes
relating to <cmath> don't completely work on Solaris when building with
STLport4, which is what nearly everyone on Solaris will do.  Including <cmath>
gets the std::abs(), std::floor(), and other functions that didn't have
prototypes before, but unfortunately the define for M_PI is not present in
STLport4's <cmath>.

Other than defining it ourselves, it seems that the only way to get it on
Solaris when using STLport4 is to include <math.h>.

With that in mind, how do we handle M_PI?


-- 
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.



------------------------------

-------------------------------------------------------------------------
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 11
*******************************************
_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to