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

Alexander Chemeris ipse.ffmpeg
Sun Dec 3 23:16:06 CET 2006


Hello,

On 12/4/06, M?ns Rullg?rd <mru at inprovide.com> wrote:
> Uoti Urpala <uoti.urpala at pp1.inet.fi> writes:
> > On Sun, 2006-12-03 at 23:55 +0300, Alexander Chemeris wrote:
> >> As it is said in this article (chapter "64-Bit Programming in UNIX and
> >> Windows"):
> >> http://www.microsoft.com/technet/interopMigration/taskstools/migrate/unix/ucamg/ch02uav3.mspx
> >> Unix and Windows use different headers for explicitly sized data types. And
> >> even name this types different.
> >
> > int64_t etc are not "Unix" types, they're standard C types. So it's not
> > a difference between Unix and Windows, but a difference between C and
> > Microsoft's so-called "C" compilers which do not quite support C.
Don't you think that right of choice is much bigger bonus then strict following
the Standard in many cases. And I think that right of choice is the
biggest bonus
of Open Source.

I develop part of sipXtapi library (LGPLed too) and one of our goals
is to maintain
as much portability as it is possible. sipXtapi works under Linux, Windows,
MacOs X, Solaris, (may be even more) and now there are efforts to port it
to WinCE and VxWorks. And I want to use FFMpeg as codec library for coding
video stream. So I expect good portability from it too. It's very sad, that you
hate other compilers then gcc. Some platforms have old compilers which does
not conform to the Standard truely. And even gcc is not sane here.

And finally, are you don't you ambitious enough to imagime FFMpeg as most
known (and most used) codec library on almost all existing platforms?
Why you lock down yourself to Linux+gcc? Ok, I don't ask you make FFMpeg
*compiling* with other compilers. I just want make it *usable* by other tools.

As FFMpeg is LGPLed I could create fork and maintain my own version of
this header, while taking all other code from main svn. But don't want create
"fork hell", I want see all thing working in one place. It's a big pleasure
for new library users.

> Indeed.  Patch rejected.
Aah, it was you who made life harder for us, cross platform programmers.
Very sad for you.

-- 
Regards,
Alexander Chemeris.




More information about the ffmpeg-devel mailing list