guile-gtk-general
[Top][All Lists]
Advanced

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

sign error in guile-gnome-platform


From: Greg Troxel
Subject: sign error in guile-gnome-platform
Date: Wed, 09 Aug 2006 12:43:35 -0400
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (berkeley-unix)

I maintain the pkgsrc (NetBSD and more) entry for guile-gnome.

Here's a log of a failed bulk build:

  
ftp://ftp.netbsd.org/pub/pkgsrc/misc/kristerw/pkgstat/wip/i386-current/20060805.0046/wip/guile-gnome/.broken.html


scroll way to end to see the useful stuff.

In 
guile-gnome-platform-2.7.99/glib/gnome/gobject/gtype.c, and line 273,
a gint & is passed (n_interfaces), and gcc complains.

SCM_DEFINE (scm_gtype_interfaces, "gtype-interfaces", 1, 0, 0,
            (SCM type),
            "")
#define FUNC_NAME s_scm_gtype_interfaces
{
    GType gtype, *interfaces;
    gint n_interfaces, i;
    SCM ret = SCM_EOL;

    SCM_VALIDATE_GTYPE_COPY (1, type, gtype);

    interfaces = g_type_interfaces (gtype, &n_interfaces);
    if (interfaces) {
        for (i=0; i<n_interfaces; i++)
            ret = scm_cons (scm_c_register_gtype (interfaces[i]),
    ret);
        g_free (interfaces);
    }

    return ret;
}
#undef FUNC_NAME

gcc seems right; it's defined as

GType*                g_type_interfaces              (GType
type,
                                                      guint
                                                      *n_interfaces);
in my glib version 2.12.0.



-- 
    Greg Troxel <address@hidden>

Attachment: pgpdSh9cSr8bK.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]