<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/1.0.1">
</HEAD>
<BODY>
I get this when compiling latest CVS with gcc 3.0.3: 
<BR>

<BR>
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 
<BR>
In file included from radeon_vid.c:18: 
<BR>
../../libdha/libdha.h:65:6: warning: no newline at end of file 
<BR>
radeon_vid.c:664:1: directives may not be used inside a macro argument 
<BR>
radeon_vid.c:664:1: unterminated argument list invoking macro &quot;printf&quot; 
<BR>
radeon_vid.c: In function `vixProbe': 
<BR>
radeon_vid.c:667: parse error before string constant 
<BR>
radeon_vid.c:662: warning: empty body in an if-statement 
<BR>
make: *** [radeon_vid.o] Error 1 
<BR>

<BR>
if it was reported before, sorry, I haven't followed the list recently. 
<BR>

<BR>
Problem is with using ifdefs inside a function, attached small patch fixes it well (saving ~38 bytes is not worth compatibility loss ;-). 
<BR>

<BR>
regards 
<BR>

<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<PRE>-- 
Marek P&#281;tlicki &lt;marpet@linuxpl.org&gt;
Linux User ID=162988</PRE>
</TD>
</TR>
</TABLE>

</BODY>
</HTML>