I know someone is working on this probably but this was just driving me mad.

On fresh check out of cvs:

gcc -fno-strict-aliasing -I/usr/local/include  -Wall -Wstrict-prototypes 
-Wmissing-prototypes -Winline -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align 
-Wwrite-strings -Wconversion -Waggregate-return -Winline -W -Wno-unused -Wsign-compare 
   -I./include  -DHAS_JIT -DI386 -o resources.o -c resources.c
resources.c:336: conflicting types for `mark_used'
include/parrot/resources.h:29: previous declaration of `mark_used'
make: *** [resources.o] Error 1


diff -u -r1.23 resources.h
--- include/parrot/resources.h  16 Mar 2002 17:38:53 -0000      1.23
+++ include/parrot/resources.h  18 Mar 2002 20:12:08 -0000
@@ -26,7 +26,7 @@
 void *new_bigint_header(struct Parrot_Interp *);
 void free_bigint(void);
 
-PMC *mark_used(struct Parrot_Interp *, PMC *, PMC *);
+PMC *mark_used(PMC *, PMC *);
 
 void Parrot_block_DOD(struct Parrot_Interp *);
 void Parrot_block_GC(struct Parrot_Interp *);

Reply via email to