[MPlayer-dev-eng] radeon_vid.c and gcc 3.0.3
Nick Kurshev
nickols_k at mail.ru
Sun Jan 27 08:33:04 CET 2002
Hello, Marek!
On 26 Jan 2002 19:42:04 +0100 you wrote:
> I get this when compiling latest CVS with gcc 3.0.3:
>
> gcc -c -O4 -march=athlon -mcpu=athlon -pipe -ffast-math
> -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fPIC -I. -I.. -Wall -W -o
> radeon_vid.o radeon_vid.c
> In file included from radeon_vid.c:18:
> ../../libdha/libdha.h:65:6: warning: no newline at end of file
> radeon_vid.c:664:1: directives may not be used inside a macro argument
> radeon_vid.c:664:1: unterminated argument list invoking macro "printf"
> radeon_vid.c: In function `vixProbe':
> radeon_vid.c:667: parse error before string constant
> radeon_vid.c:662: warning: empty body in an if-statement
> make: *** [radeon_vid.o] Error 1
>
> if it was reported before, sorry, I haven't followed the list recently.
>
> Problem is with using ifdefs inside a function, attached small patch
> fixes it well (saving ~38 bytes is not worth compatibility loss ;-).
>
Indeed - it's bug of gcc-3.0.3 and you should report about this patch to gcc's
developers. Well - I'll fix this place
> regards
>
> --
> Marek PЙtlicki <marpet at linuxpl.org>
> Linux User ID=162988
>
Best regards! Nick
More information about the MPlayer-dev-eng
mailing list