[prev in list] [next in list] [prev in thread] [next in thread] 

List:       dri-users
Subject:    RE: [Dri-users] New ATI FireGL drivers announced
From:       Alexander Stohr <AlexanderS () ati ! com>
Date:       2002-11-26 1:18:59
[Download RAW message or body]

excluding dri-devel.
only answering to dri-users.

Stefan Lange wrote:
> Frank Steiner wrote:
> > In file included from firegl_public.c:219:
> > patch/drivers/char/drm/drm_proc.h: In function `FGLDRM_proc_init':
> > patch/drivers/char/drm/drm_proc.h:87: parse error before `)'
> > firegl_public.c: In function `firegl_proc_init':
> > firegl_public.c:287: parse error before `)'
> > firegl_public.c: In function `firegl_proc_cleanup':
> > firegl_public.c:335: parse error before `)'
> > firegl_public.c: In function `firegl_stub_open':
> > firegl_public.c:361: parse error before `)'
> > firegl_public.c: In function `firegl_stub_getminor':
> > firegl_public.c:398: parse error before `)'
> > firegl_public.c: In function `firegl_stub_register':
> > ...
> > 
> > and many more lines like this. Anyone got the driver compiled
> > with gcc 2.95?
> 
> nope, i got the same messages.

its a gcc 2.95 bug with resolving "##arg" when "arg" is empty.
then it not only strips "," but even the word prior to that comma.

it only affects files that do come in source (firegl_public.h, make.sh).
in make.sh please only change lines with leading "+"
and watch out for that _tricky_ wrapped line.

thats solved and sheduled for integration into next driver release.
-Alex.

[Attachment #3 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>RE: [Dri-users] New ATI FireGL drivers announced</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>excluding dri-devel.</FONT>
<BR><FONT SIZE=2>only answering to dri-users.</FONT>
</P>

<P><FONT SIZE=2>Stefan Lange wrote:</FONT>
<BR><FONT SIZE=2>&gt; Frank Steiner wrote:</FONT>
<BR><FONT SIZE=2>&gt; &gt; In file included from firegl_public.c:219:</FONT>
<BR><FONT SIZE=2>&gt; &gt; patch/drivers/char/drm/drm_proc.h: In function `FGLDRM_proc_init':</FONT>
<BR><FONT SIZE=2>&gt; &gt; patch/drivers/char/drm/drm_proc.h:87: parse error before `)'</FONT>
<BR><FONT SIZE=2>&gt; &gt; firegl_public.c: In function `firegl_proc_init':</FONT>
<BR><FONT SIZE=2>&gt; &gt; firegl_public.c:287: parse error before `)'</FONT>
<BR><FONT SIZE=2>&gt; &gt; firegl_public.c: In function `firegl_proc_cleanup':</FONT>
<BR><FONT SIZE=2>&gt; &gt; firegl_public.c:335: parse error before `)'</FONT>
<BR><FONT SIZE=2>&gt; &gt; firegl_public.c: In function `firegl_stub_open':</FONT>
<BR><FONT SIZE=2>&gt; &gt; firegl_public.c:361: parse error before `)'</FONT>
<BR><FONT SIZE=2>&gt; &gt; firegl_public.c: In function `firegl_stub_getminor':</FONT>
<BR><FONT SIZE=2>&gt; &gt; firegl_public.c:398: parse error before `)'</FONT>
<BR><FONT SIZE=2>&gt; &gt; firegl_public.c: In function `firegl_stub_register':</FONT>
<BR><FONT SIZE=2>&gt; &gt; ...</FONT>
<BR><FONT SIZE=2>&gt; &gt; </FONT>
<BR><FONT SIZE=2>&gt; &gt; and many more lines like this. Anyone got the driver compiled</FONT>
<BR><FONT SIZE=2>&gt; &gt; with gcc 2.95?</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; nope, i got the same messages.</FONT>
</P>

<P><FONT SIZE=2>its a gcc 2.95 bug with resolving &quot;##arg&quot; when &quot;arg&quot; is empty.</FONT>
<BR><FONT SIZE=2>then it not only strips &quot;,&quot; but even the word prior to that comma.</FONT>
</P>

<P><FONT SIZE=2>it only affects files that do come in source (firegl_public.h, make.sh).</FONT>
<BR><FONT SIZE=2>in make.sh please only change lines with leading &quot;+&quot;</FONT>
<BR><FONT SIZE=2>and watch out for that _tricky_ wrapped line.</FONT>
</P>

<P><FONT SIZE=2>thats solved and sheduled for integration into next driver release.</FONT>
<BR><FONT SIZE=2>-Alex.</FONT>
</P>

</BODY>
</HTML>
-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power & Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
_______________________________________________
Dri-users mailing list
Dri-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-users

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic