Gtkmm-forge digest, Vol 1 #1094 - 9 msgs



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-admin 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 309030] Gtk::TreeModelColumn not imported properly on windows (gtkmm (bugzilla.gnome.org))
   2. [Bug 309030] Gtk::TreeModelColumn not imported properly on windows (gtkmm (bugzilla.gnome.org))
   3. [Bug 309030] Gtk::TreeModelColumn not imported properly on windows (gtkmm (bugzilla.gnome.org))
   4. [Bug 309030] Gtk::TreeModelColumn not imported properly on windows (gtkmm (bugzilla.gnome.org))
   5. [Bug 309030] Gtk::TreeModelColumn not imported properly on windows (gtkmm (bugzilla.gnome.org))
   6. [Bug 309030] Gtk::TreeModelColumn not imported properly on windows (gtkmm (bugzilla.gnome.org))
   7. [Bug 309030] Gtk::TreeModelColumn not imported properly on windows (gtkmm (bugzilla.gnome.org))
   8. [Bug 309030] Gtk::TreeModelColumn not imported properly on windows (gtkmm (bugzilla.gnome.org))
   9. [Bug 160132] StatusIcon gives error when panel killed (gtk+ (bugzilla.gnome.org))

--__--__--

Message: 1
To: gtkmm-forge lists sourceforge net
From: "gtkmm (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
Date: Fri, 31 Mar 2006 04:50:06 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 309030] Gtk::TreeModelColumn not imported properly on windows

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=3D309030
 gtkmm | TreeView | Ver: 2.6





------- Comment #28 from Toralf Lund  2006-03-31 09:50 UTC -------
Created an attachment (id=3D62446)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=3D62446&action=3Dview)
Test program

Code that may be used to reproduce error.

Steps to reproduce:

1.=20
i386-mingw32-g++ -I/usr/i386-mingw32/include/gtkmm-2.4
-I/usr/i386-mingw32/lib/gtkmm-2.4/include
-I/usr/i386-mingw32/include/glibmm-2.4
-I/usr/i386-mingw32/lib/glibmm-2.4/include
-I/usr/i386-mingw32/include/gdkmm-2.4 -I/usr/i386-mingw32/lib/gdkmm-2.4/i=
nclude
-I/usr/i386-mingw32/include/pangomm-1.4 -I/usr/i386-mingw32/include/atkmm=
-1.6
-I/usr/i386-mingw32/include/gtk-2.0 -I/usr/i386-mingw32/include/sigc++-2.=
0
-I/usr/i386-mingw32/lib/sigc++-2.0/include -I/usr/i386-mingw32/include/gl=
ib-2.0
-I/usr/i386-mingw32/lib/glib-2.0/include
-I/usr/i386-mingw32/lib/gtk-2.0/include -I/usr/i386-mingw32/include/pango=
-1.0
-I/usr/i386-mingw32/include/atk-1.0 -g -c -o treeview.o treeview.C

2.
i386-mingw32-g++ treeview.o -Wl,--enable-auto-import -lgtkmm-2.4 -lgdkmm-=
2.4
-latkmm-1.6 -lgtk-win32-2.0 -lpangomm-1.4 -lglibmm-2.4 -lsigc-2.0
-lgdk-win32-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32 -lpan=
go-1.0
-lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv -o treeview.exe=20

Expected results:
Successful build of treeview.exe

Actual results:
treeview.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustringEEERKS3_RKNS_15T=
reeModelColumnIT_EE+0x113):
In function `ZN12MessagesListC2Ev':
/usr/work/port/src/tst/gtkmm/treeview.C:15: variable 'vtable for
Gtk::TreeViewColumn' can't be auto-imported. Please read the documentatio=
n for
ld's --enable-auto-import for details.
treeview.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustringEEERKS3_RKNS_15T=
reeModelColumnIT_EE+0x122):/usr/work/port/src/tst/gtkmm/treeview.C:15:
variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please =
read
the documentation for ld's --enable-auto-import for details.


--=20
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=3Demail
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


--__--__--

Message: 2
To: gtkmm-forge lists sourceforge net
From: "gtkmm (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
Date: Fri, 31 Mar 2006 04:59:27 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 309030] Gtk::TreeModelColumn not imported properly on windows

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=3D309030
 gtkmm | TreeView | Ver: 2.6





------- Comment #29 from Toralf Lund  2006-03-31 09:59 UTC -------
As for the segfault, I'm reproducing that using: =20

1.=20
perl -pi.dllimport -e 's/GTKMM_API/__declspec(dllimport)/'
/usr/i386-mingw32/include/gtkmm-2.4/gtkmm/treeviewcolumn.h
2.
i386-mingw32-g++ -I/usr/i386-mingw32/include/gtkmm-2.4
-I/usr/i386-mingw32/lib/gtkmm-2.4/include
-I/usr/i386-mingw32/include/glibmm-2.4
-I/usr/i386-mingw32/lib/glibmm-2.4/include
-I/usr/i386-mingw32/include/gdkmm-2.4 -I/usr/i386-mingw32/lib/gdkmm-2.4/i=
nclude
-I/usr/i386-mingw32/include/pangomm-1.4 -I/usr/i386-mingw32/include/atkmm=
-1.6
-I/usr/i386-mingw32/include/gtk-2.0 -I/usr/i386-mingw32/include/sigc++-2.=
0
-I/usr/i386-mingw32/lib/sigc++-2.0/include -I/usr/i386-mingw32/include/gl=
ib-2.0
-I/usr/i386-mingw32/lib/glib-2.0/include
-I/usr/i386-mingw32/lib/gtk-2.0/include -I/usr/i386-mingw32/include/pango=
-1.0
-I/usr/i386-mingw32/include/atk-1.0 -g -c -o treeview.o treeview.C

3.
mv /usr/i386-mingw32/include/gtkmm-2.4/gtkmm/treeviewcolumn.h.dllimport=20
/usr/i386-mingw32/include/gtkmm-2.4/gtkmm/treeviewcolumn.h


Actual results:
/usr/i386-mingw32/include/gtkmm-2.4/gtkmm/treeviewcolumn.h: In constructo=
r
`Gtk::TreeViewColumn::TreeViewColumn(const Glib::ustring&, const
Gtk::TreeModelColumn<ColumnType>&) [with T_ModelColumnType =3D Glib::ustr=
ing]':
/usr/i386-mingw32/include/gtkmm-2.4/gtkmm/treeviewcolumn.h:851:   instant=
iated
from `Gtk::TreeViewColumn::TreeViewColumn(const Glib::ustring&, const
Gtk::TreeModelColumn<ColumnType>&) [with T_ModelColumnType =3D Glib::ustr=
ing]'
/usr/i386-mingw32/include/gtkmm-2.4/gtkmm/treeview.h:1365:   instantiated=
 from
`int Gtk::TreeView::append_column(const Glib::ustring&, const
Gtk::TreeModelColumn<ColumnType>&) [with ColumnType =3D Glib::ustring]'
treeview.C:19:   instantiated from here
/usr/i386-mingw32/include/gtkmm-2.4/gtkmm/treeviewcolumn.h:851: internal
compiler error: in rest_of_handle_final, at toplev.c:2067
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.


--=20
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=3Demail
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


--__--__--

Message: 3
To: gtkmm-forge lists sourceforge net
From: "gtkmm (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
Date: Fri, 31 Mar 2006 05:33:57 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 309030] Gtk::TreeModelColumn not imported properly on windows

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=3D309030
 gtkmm | TreeView | Ver: 2.6





------- Comment #30 from Toralf Lund  2006-03-31 10:33 UTC -------
Actually, make that just:

1.
i386-mingw32-g++ -DGLIBMM_DLL -I/usr/i386-mingw32/include/gtkmm-2.4
-I/usr/i386-mingw32/lib/gtkmm-2.4/include
-I/usr/i386-mingw32/include/glibmm-2.4
-I/usr/i386-mingw32/lib/glibmm-2.4/include
-I/usr/i386-mingw32/include/gdkmm-2.4 -I/usr/i386-mingw32/lib/gdkmm-2.4/i=
nclude
-I/usr/i386-mingw32/include/pangomm-1.4 -I/usr/i386-mingw32/include/atkmm=
-1.6
-I/usr/i386-mingw32/include/gtk-2.0 -I/usr/i386-mingw32/include/sigc++-2.=
0
-I/usr/i386-mingw32/lib/sigc++-2.0/include -I/usr/i386-mingw32/include/gl=
ib-2.0
-I/usr/i386-mingw32/lib/glib-2.0/include
-I/usr/i386-mingw32/lib/gtk-2.0/include -I/usr/i386-mingw32/include/pango=
-1.0
-I/usr/i386-mingw32/include/atk-1.0 -g -c -o treeview.o treeview.C

(GLIMM_DLL will activate "__declspec(dllimport)" in GTKMM_API, so that it=
 won't
be necessary to update the header.)


--=20
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=3Demail
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


--__--__--

Message: 4
To: gtkmm-forge lists sourceforge net
From: "gtkmm (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
Date: Fri, 31 Mar 2006 07:07:07 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 309030] Gtk::TreeModelColumn not imported properly on windows

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=3D309030
 gtkmm | TreeView | Ver: 2.6





------- Comment #31 from Cedric Gustin  2006-03-31 12:07 UTC -------
As mentioned at the top of this bug report, you should build with the
-Wl,--enable-runtime-pseudo-reloc flag. --enable-auto-import is already o=
n by
default. Do not define GLIBMM_DLL (or GTKMM_DLL).

Alternatively, please provide a testcase that fails at run time when buil=
t with
-Wl,--enable-runtime-pseudo-reloc.


--=20
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=3Demail
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


--__--__--

Message: 5
To: gtkmm-forge lists sourceforge net
From: "gtkmm (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
Date: Fri, 31 Mar 2006 07:12:37 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 309030] Gtk::TreeModelColumn not imported properly on windows

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=3D309030
 gtkmm | TreeView | Ver: 2.6





------- Comment #32 from Toralf Lund  2006-03-31 12:12 UTC -------
I think you are wrong. The conclusion drawn earlier here is that
--enable-pseudo-reloc cannot be used. The patch provided and the resoluti=
on of
the bug is based on that conclusion. In other words, a fix has been commi=
ted to
CVS and the code re-rereleased based on that notion. Also, the fix works =
*in
principle*, but is never really activate because it makes the wrong assum=
ptions
about the macro setup.


--=20
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=3Demail
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


--__--__--

Message: 6
To: gtkmm-forge lists sourceforge net
From: "gtkmm (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
Date: Fri, 31 Mar 2006 07:24:33 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 309030] Gtk::TreeModelColumn not imported properly on windows

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=3D309030
 gtkmm | TreeView | Ver: 2.6





------- Comment #33 from Toralf Lund  2006-03-31 12:24 UTC -------
Created an attachment (id=3D62455)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=3D62455&action=3Dview)
Workaround for compiler problem (gtkmm 2.6 version)

After patching this way, I can build the example program successfully pro=
vided
that I use -DGLIBMM_DLL. The internal compiler error no longer occurs, an=
d
another problem encountered on the way is also resolved: Unless "inline" =
is
mentioned explictly for the inlined method templates, the compiler will s=
ay

/usr/i386-mingw32/include/gtkmm-2.4/gtkmm/treeviewcolumn.h: In instantiat=
ion of
`void Gtk::TreeViewColumn::pack_start(const Gtk::TreeModelColumn<ColumnTy=
pe>&,
bool) [with T_ModelColumnType =3D Glib::ustring]':
/usr/i386-mingw32/include/gtkmm-2.4/gtkmm/treeviewcolumn.h:158:   instant=
iated
from `Gtk::TreeViewColumn::TreeViewColumn(const Glib::ustring&, const
Gtk::TreeModelColumn<ColumnType>&) [with T_ModelColumnType =3D Glib::ustr=
ing]'
/usr/i386-mingw32/include/gtkmm-2.4/gtkmm/treeview.h:1365:   instantiated=
 from
`int Gtk::TreeView::append_column(const Glib::ustring&, const
Gtk::TreeModelColumn<ColumnType>&) [with ColumnType =3D Glib::ustring]'
treeview.C:19:   instantiated from here
/usr/i386-mingw32/include/gtkmm-2.4/gtkmm/treeviewcolumn.h:826: warning:
function 'void Gtk::TreeViewColumn::pack_start(const
Gtk::TreeModelColumn<ColumnType>&, bool) [with T_ModelColumnType =3D
Glib::ustring]' is defined after prior declaration as dllimport: attribut=
e
ignored
/usr/i386-mingw32/include/gtkmm-2.4/gtkmm/treeviewcolumn.h:826: warning: =
'void
Gtk::TreeViewColumn::pack_start(const Gtk::TreeModelColumn<ColumnType>&, =
bool)
[with T_ModelColumnType =3D Glib::ustring]' defined locally after being
referenced with dllimport linkage

and the linker

treeview.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustringEEERKS3_RKNS_15T=
reeModelColumnIT_EE+0x13d):
In function `ZN12MessagesListC2Ev': /usr/work/port/src/tst/gtkmm/treeview=
.C:15:
undefined reference to
`_imp___ZN3Gtk14TreeViewColumn10pack_startIN4Glib7ustringEEEvRKNS_15TreeM=
odelColumnIT_EEb'=20


--=20
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=3Demail
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


--__--__--

Message: 7
To: gtkmm-forge lists sourceforge net
From: "gtkmm (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
Date: Fri, 31 Mar 2006 07:59:01 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 309030] Gtk::TreeModelColumn not imported properly on windows

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=3D309030
 gtkmm | TreeView | Ver: 2.6





------- Comment #34 from Cedric Gustin  2006-03-31 12:59 UTC -------

Ok, now I understand your point. You want to get rid of the
--enable-pseudo-reloc flag. Two comments though :

1. I would like to see a simple gtkmm example where the use of
--enable-pseudo-reloc either generates some gcc error (with the "Please s=
ubmit
a full bug report" blabla) at compile time, or where the example builds b=
ut
crashes/does not work correctly at runtime. Can you provide such a testca=
se ?

2. For the problem you encounter, this probably comes from the GTKMM_API =
tag
attached to the TreeViewColumn class declaration in treeviewcolumn.h. I h=
ave to
delete this tag when building with Visual Studio to avoid similar error
messages.=20

What if you delete it and build gtkmm without defining GLIBMM_DLL ?


--=20
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=3Demail
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


--__--__--

Message: 8
To: gtkmm-forge lists sourceforge net
From: "gtkmm (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
Date: Fri, 31 Mar 2006 08:23:20 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 309030] Gtk::TreeModelColumn not imported properly on windows

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=3D309030
 gtkmm | TreeView | Ver: 2.6





------- Comment #35 from Cedric Gustin  2006-03-31 13:23 UTC -------

Ok, I tested your patch and it looks ok with mingw32. Need to test it aga=
inst
Visual Studio though. Now a single question : instead of moving the defin=
ition
of the TreeViewColumn constructor to the class declaration, can't you sim=
ply it
"inline" it like you do with the pack_start and pack_end methods ?


--=20
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=3Demail
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


--__--__--

Message: 9
To: gtkmm-forge lists sourceforge net
From: "gtk+ (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
Date: Fri, 31 Mar 2006 15:52:20 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 160132] StatusIcon gives error when panel killed

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=3D160132
 gtk+ | general | Ver: 2.8.x


Dan Winship changed:

           What    |Removed                     |Added
-------------------------------------------------------------------------=
---
         AssignedTo|gtkmm-                      |gtk-bugs gtk org
                   |forge lists sourceforge net |
             Status|UNCONFIRMED                 |NEW
          Component|notification area           |general
     Ever Confirmed|0                           |1
            Product|gnome-panel                 |gtk+
          QAContact|gtkmm-                      |gtk-bugs gtk org
                   |forge lists sourceforge net |
            Version|unspecified                 |2.8.x




------- Comment #21 from Dan Winship  2006-03-31 20:52 UTC -------
This is primarily a gtk bug at this point (see comment #18).


--=20
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=3Demail
------- 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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]