[Ffmpeg-devel] [PATCH] Correct inttypes.h emulation for VisualStudio

Måns Rullgård mru
Mon Dec 4 22:28:40 CET 2006


Steve Lhomme <steve.lhomme at free.fr> writes:

> Michael Niedermayer wrote:
>>> What is the technical reason?
>> code duplication (inttypes.h duplicated in every C99 program) with
>> the
>> resulting increased amount of bugs, maintaince, space, net bandwidth, ...
>
> Why would any other compiler than MS use that internal inttypes.h ?

Are you trying to make some point?  I fail to see it.

> Anyway, what's beyond understanding is why a workaround that used to
> be there and was making everyone happy was removing. It didn't fix
> anything, but it did create a problem for many people.

It did not in any way guarantee that the typedefs supplied were
correct.  Doing so is rather tricky business, and is best left to the
compiler/libc, which is where system-dependent things belong.

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




More information about the ffmpeg-devel mailing list