Re: [PATCH] add DVB-S2 support to frontend.h

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

 



On Thu, Mar 02, 2006, Andreas Oberritter wrote:
> 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.

Well, I got a bit distracted by this issue, I had to find out the
facts so I can sleep at night ;-)

But I agree with you, possibly breaking ARM binary compatibility
by introducing new enum values isn't something I am personally
worried about. PPC and MIPS have 32bit enums, and x86/46 and
the like too (int is 32 bits, long is 64 bits == sizeof(void *)).

Johannes

_______________________________________________

linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux