[Ffmpeg-devel] Re: [patch] fixes for some compiler warnings (original) (raw)

Måns Rullgård mru
Fri Feb 17 09:49:52 CET 2006


Rich Felker writes:

On Thu, Feb 16, 2006 at 07:45:14AM +0000, M?ns Rullg?rd wrote:

Dave Dodge 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.

MIPS cores come in many varieties, so it makes sense having the size of types selectable. Obviously you would use the same options for the entire system.

-- M?ns Rullg?rd mru at inprovide.com



More information about the ffmpeg-devel mailing list