Re: adding new info to GnomeVFSFileInfo



On Tue, 2002-10-08 at 10:22, Jody Goldberg wrote:
> On Tue, Oct 08, 2002 at 03:09:04PM +0200, Christophe Fergeau wrote:
> > > The compiler is required to make the enum storage large enough to
> > > hold the largest enum value or provide a warning that it can not.
> > 
> > Yeah, that is the problem.
> > Before my patch, the largest enum value was strictly inferior to 2^16 so
> > it could fit in a word. Now the largest enum value is > 2^16, so the
> > compiler will probably use a 32bit int to store it. 
> > So I was wondering if there were compilers which would use 16 bits for
> > the enum before my patch, and 32 bits for it after, which would break
> > gnome-vfs abi.
> 
> Doh!  I completely missed the abi aspect.  Hmm, next to impossible
> to know.  The reality is that if we test it on linux, solaris, and
> hpux then we should be ok for now.  Everyone else would need to test
> or update all the packages for 2.2.

It looked okay on Linux and Solaris (w/gcc), can someone try it on HPOX
or anywhere else?

Ian

Attachment: signature.asc
Description: This is a digitally signed message part



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