James,

Thanks for the report!  I forgot to add parrot.h to the list of
includes.  Could you add:

#include "parrot/parrot.h"

just before the other include statement in gcc_pcc.c and see if things
make (after realclean) nicely for you?

Ta!

Paul


> Failed on Darwin PPC at about 40% of the way thru 'make'.  Note:  I only
> applied this patch; not the other one you posted today.  See attached.
>
>
> Compiling with:
> xx.c
> /usr/bin/gcc-3.3 -I./include -fno-common -no-cpp-precomp -pipe 
> -I/usr/local/include -pipe -fno-common -Wno-long-double -DHASATTRIBUTE_CONST 
> -DHASATTRIBUTE_DEPRECATED -DHASATTRIBUTE_FORMAT -DHASATTRIBUTE_MALLOC 
> -DHASATTRIBUTE_NONNULL -DHASATTRIBUTE_NORETURN -DHASATTRIBUTE_PURE 
> -DHASATTRIBUTE_UNUSED -g -W -Wall -Waggregate-return -Wbad-function-cast 
> -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wdisabled-optimization 
> -Wformat-nonliteral -Wformat-security -Wformat-y2k -Wimplicit 
> -Wimplicit-function-declaration -Wimplicit-int -Wimport -Winline -Wmain 
> -Wmissing-braces -Wmissing-declarations -Wmissing-prototypes -Wnested-externs 
> -Wno-unused -Wnonnull -Wpacked -Wparentheses -Wpointer-arith -Wreturn-type 
> -Wsequence-point -Wsign-compare -Wstrict-aliasing -Wstrict-prototypes 
> -Wswitch -Wnested-externs -Wundef -Wunknown-pragmas -Wwrite-strings 
> -Wsign-compare -falign-functions=16 -Wdisabled-optimization 
> -Wformat-nonliteral -Wformat-security -Wpacked -Wno-shadow -DHAS_JIT -DPPC 
> -DHAVE_COMPUTED_GOTO -I. -o xx.o -c xx.c
> src/atomic/gcc_pcc.c
> In file included from src/atomic/gcc_pcc.c:15:
> include/parrot/atomic/gcc_pcc.h:26: error: syntax error before "void"
> include/parrot/atomic/gcc_pcc.h:29: error: syntax error before "long"
> src/atomic/gcc_pcc.c:18: error: syntax error before "void"
> src/atomic/gcc_pcc.c:43: error: syntax error before "long"
> make: *** [src/atomic/gcc_pcc.o] Error 1
>
>

Reply via email to