g_render.c needs a paren

2004-02-05 Thread Terry R. Friedrichsen
Building on FreeBSD/Alpha version 5.2 with gcc 3.3.3:

In building the world from a Wednesday morning CVS update, g_render.c
in xc/programs/Xserver/GL/glx failed to compile.  The root problem
was a missing right paren, fixed by the patch included below.

Terry R. Friedrichsen

[EMAIL PROTECTED]

cut here-
*** g_render.c.dist Wed Jan 28 11:11:50 2004
--- g_render.c  Wed Feb  4 09:50:41 2004
***
*** 83,89 
   */
  # define GLX_DO_ALIGN_MAGIC(count, type) \
do { if ( (sizeof(type) == 8)  ((unsigned long)(pc)  7)) { \
!   __GLX_MEM_COPY(pc-4, pc, (count * sizeof( type ) ); \
pc -= 4; \
} } while( 0 )
  #else
--- 83,89 
   */
  # define GLX_DO_ALIGN_MAGIC(count, type) \
do { if ( (sizeof(type) == 8)  ((unsigned long)(pc)  7)) { \
!   __GLX_MEM_COPY(pc-4, pc, (count * sizeof( type ) )); \
pc -= 4; \
} } while( 0 )
  #else

___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Re: g_render.c needs a paren

2004-02-05 Thread Alan Hourihane
On Thu, Feb 05, 2004 at 11:21:32AM -0700, Terry R. Friedrichsen wrote:
 Building on FreeBSD/Alpha version 5.2 with gcc 3.3.3:
 
 In building the world from a Wednesday morning CVS update, g_render.c
 in xc/programs/Xserver/GL/glx failed to compile.  The root problem
 was a missing right paren, fixed by the patch included below.
 
This was fixed a few days ago.

But, thanks anyway Terry,

Alan.

 cut here-
 *** g_render.c.dist   Wed Jan 28 11:11:50 2004
 --- g_render.cWed Feb  4 09:50:41 2004
 ***
 *** 83,89 
*/
   # define GLX_DO_ALIGN_MAGIC(count, type) \
   do { if ( (sizeof(type) == 8)  ((unsigned long)(pc)  7)) { \
 ! __GLX_MEM_COPY(pc-4, pc, (count * sizeof( type ) ); \
   pc -= 4; \
   } } while( 0 )
   #else
 --- 83,89 
*/
   # define GLX_DO_ALIGN_MAGIC(count, type) \
   do { if ( (sizeof(type) == 8)  ((unsigned long)(pc)  7)) { \
 ! __GLX_MEM_COPY(pc-4, pc, (count * sizeof( type ) )); \
   pc -= 4; \
   } } while( 0 )
   #else
 
 ___
 Devel mailing list
 [EMAIL PROTECTED]
 http://XFree86.Org/mailman/listinfo/devel
___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel