Re: [gtk-list] Running Gtk-Perl-0.6123 on Digital Unix

On Mon, Dec 06, 1999 at 11:31:45AM -0500, David Packer wrote:
> A little poking around shows that the problem is in GtkTypes.c:
> int gtnumber_for_ptname(char * perlTypeName)
> {
> The program seg faults on the line
>    gtkTypeNumber = tif();
> gtkTypeInitFunc is defined as
>    typedef guint (*gtkTypeInitFunc)(void);
> Presumably the program segfaults because digital unix wants function pointers
> to be of type 'long int' rather than 'unsigned int', but changing the typedef

Well, the problem was that the pointer was casted to an int before being stored
( fund and fixed this bug).
Try version >= 0.7000.


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