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 568074] New: class PaperSize contains        multiple default
      constructors (gtkmm (bugzilla.gnome.org))
   2. [Bug 568083] New: warnning C4250 during compiling gtkmm demo
      program in VS2008/2005 (gtkmm (bugzilla.gnome.org))
   3. [Bug 568083] warnning C4250 during compiling gtkmm        demo
      program in VS2008/2005 (gtkmm (bugzilla.gnome.org))
   4. [Bug 566845] Leaks found in glibmm uriutils.cc
      (glibmm (bugzilla.gnome.org))
   5. [Bug 568072] nodetree.hg contains non-ASCII       character cause
      warning C4819 in VS2008 (glibmm (bugzilla.gnome.org))
   6. [Bug 566147] Reading out papersize from a saved   PageSetup
      seems to fail,  (gtkmm (bugzilla.gnome.org))
   7. [Bug 568083] warnning C4250 during compiling gtkmm        demo
      program in VS2008/2005 (gtkmm (bugzilla.gnome.org))


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

Message: 1
Date: Sat, 17 Jan 2009 12:50:18 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
        <[email protected]>
Subject: [gtkmm bugzilla] [Bug 568074] New: class PaperSize contains
        multiple default constructors
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=568074

  gtkmm | general | Ver: 2.14.x
           Summary: class PaperSize contains multiple default constructors
           Product: gtkmm
           Version: 2.14.x
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: minor
          Priority: Normal
         Component: general
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
     GNOME version: Unspecified
   GNOME milestone: Unspecified


Please describe the problem:
PaperSize contains 2 default constructors.

In papersize.hg, there is only one default constructors:

  papersize.hg line 55:  explicit PaperSize(const Glib::ustring& name = "");

However, in the generated papersize.h, there is one more default constrctor:

  papersize.h line 102:   PaperSize();

This cause warning C4520 in Visual Studio 2008:

  c:\program files\gtkmm\include\gtkmm-2.4\gtkmm\papersize.h(265) : warning
C4520: 'Gtk::PaperSize' : multiple default constructors specified

The problem could be fixed by remove the default value in papersize.hg:

Index: gtk/src/papersize.hg
===================================================================
--- gtk/src/papersize.hg        (revision 1072)
+++ gtk/src/papersize.hg        (working copy)
@@ -52,7 +52,7 @@
   // Allowing no argument works because gtk_paper_size_new() will call
   // gtk_paper_size_get_default() in case of NULL.
   /// If a name is not specified, a default value will be used.
-  explicit PaperSize(const Glib::ustring& name = "");
+  explicit PaperSize(const Glib::ustring& name);
   explicit PaperSize(const Glib::ustring& ppd_name, const Glib::ustring&
ppd_display_name, double width, double height);
   explicit PaperSize(const Glib::ustring& name, const Glib::ustring&
display_name, double width, double height, Unit unit);





Steps to reproduce:


Actual results:


Expected results:


Does this happen every time?


Other information:


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



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

Message: 2
Date: Sat, 17 Jan 2009 14:32:28 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
        <[email protected]>
Subject: [gtkmm bugzilla] [Bug 568083] New: warnning C4250 during
        compiling       gtkmm demo program in VS2008/2005
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=568083

  gtkmm | general | Ver: 2.14.x
           Summary: warnning C4250 during compiling gtkmm demo program in
                    VS2008/2005
           Product: gtkmm
           Version: 2.14.x
          Platform: Other
        OS/Version: Windows
            Status: UNCONFIRMED
          Severity: minor
          Priority: Normal
         Component: general
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
     GNOME version: Unspecified
   GNOME milestone: Unspecified


Many warnning C4250 are raised during compiling any small program using gtkmm.h
by Visual Studio 2005/2008. As suggessted in tutorial, the problem can be
solved by disable the specified warnning in project properties.

To avoid set do this configuration everytime using gtkmm, the disable warnning
4250 setting should be put into MSVC property sheets.


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



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

Message: 3
Date: Sat, 17 Jan 2009 14:34:32 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
        <[email protected]>
Subject: [gtkmm bugzilla] [Bug 568083] warnning C4250 during compiling
        gtkmm   demo program in VS2008/2005
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=568083

  gtkmm | general | Ver: 2.14.x




------- Comment #1 from [email protected]  2009-01-17 14:34 UTC -------
Created an attachment (id=126645)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=126645&action=view)
proposed patch

I created a patch to solve this problem by adding the setting to 4 existing
property sheets files. The patch is attached.


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



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

Message: 4
Date: Mon, 19 Jan 2009 08:52:28 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
        <[email protected]>
Subject: [gtkmm bugzilla] [Bug 566845] Leaks found in glibmm
        uriutils.cc
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=566845

  glibmm | general | Ver: 2.18.x

Murray Cumming changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED




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



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

Message: 5
Date: Mon, 19 Jan 2009 09:02:17 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
        <[email protected]>
Subject: [gtkmm bugzilla] [Bug 568072] nodetree.hg contains non-ASCII
        character cause warning C4819 in VS2008
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=568072

  glibmm | general | Ver: 2.18.x

Murray Cumming changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED




------- Comment #2 from Murray Cumming  2009-01-19 09:02 UTC -------
Thanks. I have committed that to the trunk and glibmm-2-18 branches.

Please remember to patch the ChangeLog in future.


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



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

Message: 6
Date: Mon, 19 Jan 2009 11:53:41 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
        <[email protected]>
Subject: [gtkmm bugzilla] [Bug 566147] Reading out papersize from a
        saved   PageSetup seems to fail, 
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=566147

  gtkmm | general | Ver: 2.4

Murray Cumming changed:

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




------- Comment #6 from Murray Cumming  2009-01-19 11:53 UTC -------
Could you file this as a bug in Ubuntu's launchpad then. They probably need to
update their version of GTK+. They will probably want a C test case. Feel free
to subscribe me or post the URL here so I can subscribe myself.

I'm closing this here because it's apparently not a bug in gtkmm.


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



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

Message: 7
Date: Mon, 19 Jan 2009 11:55:44 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
        <[email protected]>
Subject: [gtkmm bugzilla] [Bug 568083] warnning C4250 during compiling
        gtkmm   demo program in VS2008/2005
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=568083

  gtkmm | general | Ver: 2.14.x

Murray Cumming changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected],
                   |                            |[email protected]




------- Comment #2 from Murray Cumming  2009-01-19 11:55 UTC -------
CCing Armin, who works on the Windows stuff.

It would be nice to see an example of this error with gtkmm. Could you paste an
example here, please?


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



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

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword

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

_______________________________________________
Gtkmm-forge mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtkmm-forge


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

Reply via email to