[FFmpeg-devel] [PATCH] indeo2.c:202:1: directives may not be used inside a macro argument (gcc 3.2)

Guillaume POIRIER poirierg
Mon Jun 4 13:04:17 CEST 2007


Hi,

On 6/3/07, Christian Lohmaier <cloph at openoffice.org> wrote:
> Hi *,
>
> I'm not subcribed, so please CC me in replies.
>
> This simple patch allows to build ffmpeg with gcc 3.2.3
> It doesn't change functionality, only moves the #ifdef out of the
> parameter-list.
>
> Since I know that this compiler is pretty old, feel free to not apply
> the patch, just as you wish.
>
> For reference, the error the compiler spits out:
>
> indeo2.c:202:1: directives may not be used inside a macro argument
> indeo2.c:201:40: unterminated argument list invoking macro "init_vlc"
> indeo2.c: In function `ir2_decode_init':
> indeo2.c:203: `init_vlc' undeclared (first use in this function)
> indeo2.c:203: (Each undeclared identifier is reported only once
> indeo2.c:203: for each function it appears in.)
> indeo2.c:203: warning: left-hand operand of comma expression has no effect
> indeo2.c:203: warning: left-hand operand of comma expression has no effect
> indeo2.c:203: warning: left-hand operand of comma expression has no effect
> indeo2.c:203: syntax error before ')' token

Patch applied.

Guillaume
-- 
Y'a pas de gonzesse hooligan,
Imb?cile et meurtri?re
Y'en a pas m?me en grande Bretagne
A part bien s?r Madame Thatcher
  -- Renaud (sur "Miss Maggie")



More information about the ffmpeg-devel mailing list