[Gtk-sharp-list] 64bit Gtk# for windows

Mike Kestner mkestner at gmail.com
Thu Sep 18 10:28:55 EDT 2008

On Thu, 2008-09-18 at 01:48 +0200, Jaroslav Šmíd wrote:
> You are doing definitely doing something wrong. My error was due to 
> GtkSharp bad understanding of gsize type present in glib. gsize in glib 
> is typedefed to ulong ONLY when sizeof(long) == sizeof(size_t). But on 
> 64bit windows, where sizeof(size_t) and sizeof(long) are different, 
> gsize is defined as unsigned long long of size equal to size of pointer 
> but you suppose it is the same size as long. 

Thanks for the bug report.  I committed a patch to svn trunk and
attached it to the bug in case you want to apply it to 2.12.3 instead of
building trunk.


More information about the Gtk-sharp-list mailing list