[cfe-dev] Compiling FFmpeg

Daniel Dunbar daniel at zuster.org
Fri Dec 5 08:32:34 PST 2008


Hi John,

On Fri, Dec 5, 2008 at 3:21 AM, John Kelley <jekelley at apple.com> wrote:
> To familiarize myself with clang I decided to try to compile FFmpeg as
> I am familiar with the project and the developers first guess when
> something goes wrong is "gcc is probably doing something stupid again".

Great! We love having clang run over more code.

> This might seem like a lot to start off with and I'd tend to agree but
> less went wrong (so far) than I expected. The main issue thus far is
> that clang has trouble initializing structures. Below may not be the
> cleanest code but it was the simplest that I could find that produces
> an error:

clang doesn't currently support designated initializers. This is PR2749:
http://llvm.org/bugs/show_bug.cgi?id=2749

> I have no problem pitching in to fix this but wanted to make sure that
> no one else is currently working on it and to ask where I should look
> to implement this.

I do not believe anyone is working on this. You might profitably
search the mailing list archives for "designators" or "designated
initializers" to find previous discussions on the topic. gmane is
useful for this:
http://news.gmane.org/gmane.comp.compilers.clang.devel

 - Daniel



More information about the cfe-dev mailing list