Re: Is a Module Definition File needed when building with MSVC (gtk-2-24)?

2018-01-31 Thread John Emmas
On 30/01/2018 08:28, John Emmas wrote: Should I file a bug report about this (or is there one already open?) Bug #793057 submitted:- https://bugzilla.gnome.org/show_bug.cgi?id=793057 ___ gtk-devel-list mailing list gtk-devel-list@gnome.org

Re: Is a Module Definition File needed when building with MSVC (gtk-2-24)?

2018-01-30 Thread John Emmas
On 24/01/2018 15:27, John Emmas wrote: to be absolutely clear... there's no problem when I try to build Glib. Glib itself builds fine. The linker problem arises when I subsequently try to build Gtk-2 (specifically, the 'gtk-2-24' branch). Gtk-2 uses the glib-genmarshal (python) script

Re: Is a Module Definition File needed when building with MSVC (gtk-2-24)?

2018-01-24 Thread John Emmas
On 24/01/2018 13:26, Emmanuele Bassi wrote: This is possibly a case that was solved with this commit: https://git.gnome.org/browse/glib/commit/?id=bf0be21208800d7976b5a660287e1e487f8a57d3 i.e. the older version of the Python port you used generated too many symbols that aliased the ones

Re: Is a Module Definition File needed when building with MSVC (gtk-2-24)?

2018-01-24 Thread Emmanuele Bassi
Hi; On 24 January 2018 at 13:20, John Emmas wrote: > In my November 2017 version, the most recent commit for > 'gobject/glib-genmarshal.in' is:- is #100b83a7fa ("genmarshal Only wrap body > prototypes in C++ guards"). But a couple of further commits got added since >

Re: Is a Module Definition File needed when building with MSVC (gtk-2-24)?

2018-01-24 Thread John Emmas
I've made some good progress on this today and believe it or not, it's looking like a problem with Glib - but first, the older (exe) build:- On 22/01/2018 04:12, ?,?? wrote: test using the Python version of glib-genmarshal and see whether the linking z works properly? If not, use the

Re: Is a Module Definition File needed when building with MSVC (gtk-2-24)?

2018-01-22 Thread John Emmas
On 22/01/2018 14:47, John Emmas wrote: BTW - IIRC the previous version of glib-genmarshal was a perl script (rather than an exe). I'd need to get a copy of that old perl script somehow as I won't have it backed up anywhere. Apologies... I just found a copy of glib-genmarshal.exe Will

Re: Is a Module Definition File needed when building with MSVC (gtk-2-24)?

2018-01-22 Thread John Emmas
On 22/01/2018 08:27, John Emmas wrote: On 22/01/2018 04:12, 范,君維 wrote: Hi John, Can you try generating gtk/gtkmarshalers.[c|h] using glib-genmarshal? Can you also test using the Python version of glib-genmarshal and see whether the linking z works properly? If not, use the former .exe

Re: Is a Module Definition File needed when building with MSVC (gtk-2-24)?

2018-01-22 Thread John Emmas
On 22/01/2018 04:12, 范,君維 wrote: Hi John, Can you try generating gtk/gtkmarshalers.[c|h] using glib-genmarshal?  Can you also test using the Python version of glib-genmarshal and see whether the linking z   works properly?  If not, use the former .exe version of the tool, and perhaps file a

RE: Is a Module Definition File needed when building with MSVC (gtk-2-24)?

2018-01-21 Thread 范,君維 via gtk-devel-list
l command) --prefix=_gtk_marshal ./gtkmarshalers.list --body >> gtkmarshalers.c With blessings, thank you! 從 Windows 10 手機傳送 寄件者: John Emmas 傳送時間: 2018年1月22日 00:06 收件者: gtk-devel-list 主旨: Is a Module Definition File needed when building with MSVC (gtk-2-24)? Perhaps wrongly I've been using a modu

Is a Module Definition File needed when building with MSVC (gtk-2-24) ?

2018-01-21 Thread John Emmas
Perhaps wrongly I've been using a module definition file when building gtk-2-24 with MSVC (I'm saying "perhaps" because it used to be needed at one time but maybe that eventually got superseded and I didn't notice...) On 8th Jan, the following symbols got added to 'gtk/gtk.symbols' by commit