[XviD-devel] RE: irix64 & yuv

peter ross xvid-devel@xvid.org
Thu, 02 Jan 2003 00:49:27 +1100


hi [again],

>
>Now I get the following error any suggestions
>
>/usr/sbin/gcc -fPIC   -c -o ../../src/decoder.o ../../src/decoder.c
>
>In file included from ../../src/decoder.c:66:
>
>../../src/portab.h:254: badly punctuated parameter list in `#define'
>
>make: *** [../../src/decoder.o] Error 1


portab.h, line 254: a newline appears immediately after the ')'
---
#        define DPRINTF(level, format, ...)
---

this defines an "empty" macro with varible arguments.
my guess is your version of gcc is buggy when dealing which such
macros. try either:

a) adding some tabs/spaces after the ')'

b) adding a comment after the ')'. ie.
#        define DPRINTF(level, format, ...) /* nothing */

c) upgrade to a newer gcc:
    http://freeware.sgi.com/index-by-alpha.html

-- pete

_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE* 
http://join.msn.com/?page=features/virus