[Ffmpeg-devel] [PATCH] Dead code cleanup - C++

Måns Rullgård mru
Fri Jan 26 21:08:40 CET 2007

Luca Barbato <lu_zero at gentoo.org> writes:

> Reimar D?ffinger wrote:
>> Hello,
>> On Fri, Jan 26, 2007 at 08:44:20PM +0100, Steve Lhomme wrote:
>>> Ramiro Polla wrote:
>>>>> Lines like this are standard in lots of other c libraries that
>>>>> are used by c++ programs, as well.
>>>> Other c libraries also supply stable APIs, roadmaps, and formal
>>>> releases...
>>>> It has been said over and over that FFmpeg complies with the C99
>>>> standard. It doesn't provide an API for C#, Fortran, Pascal, Java,
>>>> or even C89.
>>>> C++ should be no exception.
>>> It's gnu99, not c99. Check the compiling calls. FFMPEG hardly
>>> compiles with anything other than some gcc versions with a precise
>>> set of options.
>> Why do you claim that? I don't know if configure does all the magic
>> needed, but except for the asm it compiles since a long time at least with
>> ICC...
> I'm tempted to install xlc and have someone with sunstudio give it a
> run just to add them to the list too and/or find out which are the
> quirks...

I tried to compile ffmpeg with xlc on an IBM Power machine a few years
ago.  It didn't work too well, the installed version of xlc and AIX
being a little too out of date with C standards.  A shame, since it
would have been fun to see what running on some 100 CPUs in parallel
could accomplish.

Maybe more recent releases behave better...

M?ns Rullg?rd
mru at inprovide.com

More information about the ffmpeg-devel mailing list