On Fri, Mar 28, 2008 at 11:59:54PM +0100, Christoph Egger wrote: > enums are bad in an API. Not the type, but its size. It is defined to be > the smallest possible integer to hold the largest value. Huh? enums are always the size of an int. ISO 9899:1999 6.7.2.2 (2) is quite clear about that. Joerg