[MPlayer-users] ..i can't compile
Gábor Lénárt
lgb at lgb.hu
Wed Oct 24 21:56:09 CEST 2001
On Wed, Oct 24, 2001 at 10:02:59AM -0600, Mike Melanson wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html &
> http://gcc.gnu.org/gcc-2.96.html if you still have questions or problems]
>
> On Wed, 24 Oct 2001, Rui Maia wrote:
>
> > vo_gl2.c:917:1: directives may not be used inside a macro argument
> > vo_gl2.c:917:1: unterminated argument list invoking macro "printf"
> > vo_gl2.c:918: parse error before string constant
>
> I have seen a problem similar to this using GCC v3.x. I maintain a
> different program that a user tried to compile with 3.x (haven't used it
> yet myself) and it choked on a piece of code like this:
>
> printf ("Hey, is this thing on?" \
> #ifdef SOME_VAR
> "yes"
> #else
> "no"
> #endif
> );
Ehhh ... It's STRICTLY forbidden according the gcc team. Check their
homepage ....
- Gabor
More information about the MPlayer-users
mailing list