Re: adding new info to GnomeVFSFileInfo
- From: Christophe Fergeau <teuf users sourceforge net>
- To: Jody Goldberg <jody gnome org>
- Cc: Michael Meeks <michael ximian com>, Ian McKellar <yakk yakk net>, gnome-vfs-list gnome org
- Subject: Re: adding new info to GnomeVFSFileInfo
- Date: 08 Oct 2002 15:09:04 +0200
> 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.
Christophe
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]