[Top][All Lists]

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

Re: build break

From: John Darrington
Subject: Re: build break
Date: Fri, 26 May 2006 09:31:39 +0800
User-agent: Mutt/1.5.9i

On Fri, May 26, 2006 at 07:22:01AM +0800, John Darrington wrote:
     On Thu, May 25, 2006 at 06:42:04PM -0400, Jason Stover wrote:
          On an GNU/Linux, x86, gcc 4.1.0, recent cvs update and a clean build:
          lib/gtksheet/gtksheet.c: In function 'gtk_sheet_button_new':
          lib/gtksheet/gtksheet.c:7916: warning: implicit declaration of 
function 'g_slice_new'
          lib/gtksheet/gtksheet.c:7916: error: expected expression before 
          lib/gtksheet/gtksheet.c:7916: warning: initialization makes pointer 
from integer without a cast
          This is line 7916 of gtksheet.c:
            GtkSheetButton *button = g_slice_new(GtkSheetButton);
     g_slice is a new feature of glib --- It's available only in glib 2.10
     and later.

But if this is going to be a problem for people, I can change it to
g_malloc since it's currently the only glib2.10 feature used. 

What do people think ?


PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See or any PGP keyserver for public key.

Attachment: signature.asc
Description: Digital signature

reply via email to

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