[FFmpeg-devel] Eliminating long

Ramiro Polla ramiro
Thu Apr 10 15:06:14 CEST 2008


Reimar D?ffinger <Reimar.Doeffinger <at> stud.uni-karlsruhe.de> writes:
> On Thu, Apr 10, 2008 at 12:31:11AM +0000, Ramiro Polla wrote:
> > Jay L. T. Cornwall <jay <at> jcornwall.me.uk> writes:
> > > In C it
> > > varies with platform and compiler:
> > >    GCC 32-bit: 4 bytes
> > >    GCC 64-bit: 8 bytes
> > >    VC  32-bit: 4 bytes
> > >    VC  64-bit: 4 bytes
> > 
> > How did you compile the 64-bit FFmpeg binaries for Windows? MinGW-64?
> > If so, I think MinGW should use the proper ILP sizes for Windows. and
> > this is hence a gcc bug.
> 
> I doubt there is much sense in gcc behaving differently on Windows from
> where it behaves anywhere else, it certainly does not ease porting.

It should conform to the ABI used in Windows. I believe the ILP sizes are
part of the ABI, aren't they?

> Though I am quite sure that gcc has a compiler switch to change between
> those models.

In a quick google search I didn't find such a switch.

Ramiro Polla





More information about the ffmpeg-devel mailing list