[linux-dvb] [PATCH] add DVB-S2 support to frontend.h

Andreas Oberritter obi at linuxtv.org
Thu Mar 2 12:31:48 CET 2006


On Thu, 2006-03-02 at 00:53 +0100, Johannes Stezenbach wrote:
> The System V generic ABI http://www.caldera.com/developers/gabi/
> says enums sizes are processor specific, the psABI for i386 and MIPS
> say enums have the same size as int. For other platforms I don't know
> but according to google ARM seems to have -fshort-enums as default.
> Sigh...

I wonder why it is so important to know the size of an enum at all.
Complete backwards compatibility is needed for desktop systems only,
where users mix different precompiled software versions. There, on i386
and probably others, we already have 32 bit enums. Maybe they are even
larger on 64 bit systems. If the size of an enum changes on an embedded
platform like ARM, because the kernel headers changed, then it is very
likely that the userspace software will be recompiled, too.

Best regards,

More information about the linux-dvb mailing list