[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
signed type errors building guile-gnome
From: |
Aaron VanDevender |
Subject: |
signed type errors building guile-gnome |
Date: |
Tue, 21 Feb 2006 18:46:51 -0600 |
Hello,
I was unable to build guile-gnome because of signed type errors. I am
using gcc 4.0.2, so its probably because of more stringent control on
that sort of thing over gcc 3. Anyway, these are the modifications I had
to make to get it to build:
---
diff -u -r guile-gnome-platform-2.7.99/glib/gnome/gobject/gtype.c
guile-gnome-new/glib/gnome/gobject/gtype.c
--- guile-gnome-platform-2.7.99/glib/gnome/gobject/gtype.c 2005-01-24
05:52:56.000000000 -0600
+++ guile-gnome-new/glib/gnome/gobject/gtype.c 2006-02-21 14:16:43.000000000
-0600
@@ -265,7 +265,7 @@
#define FUNC_NAME s_scm_gtype_interfaces
{
GType gtype, *interfaces;
- gint n_interfaces, i;
+ guint n_interfaces, i;
SCM ret = SCM_EOL;
SCM_VALIDATE_GTYPE_COPY (1, type, gtype);
diff -u -r guile-gnome-platform-2.7.99/gnome-vfs/gnome/gw/gnome-vfs-port.c
guile-gnome-new/gnome-vfs/gnome/gw/gnome-vfs-port.c
--- guile-gnome-platform-2.7.99/gnome-vfs/gnome/gw/gnome-vfs-port.c
2005-01-24 05:52:57.000000000 -0600
+++ guile-gnome-new/gnome-vfs/gnome/gw/gnome-vfs-port.c 2006-02-21
14:33:09.000000000 -0600
@@ -219,7 +219,7 @@
static off_t
vport_seek (SCM port, off_t offset, int whence)
{
- GnomeVFSFileOffset count;
+ GnomeVFSFileSize count;
GnomeVFSResult res;
scm_t_port *pt = SCM_PTAB_ENTRY (port);
GnomeVFSHandle *handle = (GnomeVFSHandle*)SCM_STREAM (port);
diff -u -r guile-gnome-platform-2.7.99/gtk/gnome/gw/gtk-support.c
guile-gnome-new/gtk/gnome/gw/gtk-support.c
--- guile-gnome-platform-2.7.99/gtk/gnome/gw/gtk-support.c 2005-01-24
05:52:58.000000000 -0600
+++ guile-gnome-new/gtk/gnome/gw/gtk-support.c 2006-02-21 14:26:24.000000000
-0600
@@ -423,7 +423,7 @@
gchar*
_gtk_selection_data_get_as_string (GtkSelectionData *data)
{
- return g_strndup (data->data, data->length);
+ return g_strndup ((gchar *) data->data, data->length);
}
void
--
address@hidden
Plead the First.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- signed type errors building guile-gnome,
Aaron VanDevender <=