[Ffmpeg-devel] Re: [patch] fixes for some compiler warnings

Rich Felker dalias
Fri Feb 17 04:09:27 CET 2006


On Thu, Feb 16, 2006 at 07:45:14AM +0000, M?ns Rullg?rd wrote:
> Dave Dodge <dododge at dododge.net> writes:
> 
> > On Wed, Feb 15, 2006 at 07:40:11PM +0000, Dieter wrote:
> >> > 64-bit architectures often have 32-bit ints and 64-bit pointers.
> >> 
> >> Modern general purpose machines are either ILP32 or LP64.
> >
> > The 64-bit version of Windows is actually LLP64 (commence groaning).
> > int and long remain 32 bits, while long long and pointers are 64 bits.
> 
> When compiling for MIPS, gcc lets you specify the size of ints and
> longs.

This is always true for gcc, at least internally, even though they
don't always reveal an interface for you to choose. Still it's not
very useful since all code that will be linked together has to agree
on the sizes of types.

Rich





More information about the ffmpeg-devel mailing list