Re: GNOME CVS: gtk+ menesis



On Fri, Aug 02, 2002 at 06:17:46PM -0400, Owen Taylor wrote:
> 
> gnomecvs cvs gnome org (Gnome CVS User) writes:
> 
> > CVSROOT:	/cvs/gnome
> > Module name:	gtk+
> > Changes by:	menesis	02/08/02 17:58:55
> > 
> > Modified files:
> > 	gtk            : Tag: gtk-2-0 gtkitemfactory.h 
> > 
> > Log message:
> > 2002-08-02  Gediminas Paulauskas <menesis delfi lt>
> > 
> > * gtkitemfactory.h: prototypes with no parameters must be
> > defined as (void), not ()
> 
> Please revert, ASAP. This breaks the ABI of GTK+ for
> some versions of g++, and the API of GTK+ for C. 

This happens again and again and again. Perhaps there should be a comment
in the header explaining why it is () and not (void), since it's a fairly
obscure C feature. (For those who don't know, () in this context means
a function with any number of parameters, (void) explictly means function
with no parameters)

-Yosh



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