This patch fixes parrotpointer.pmc, which tries to return 0 from a void
function.

Index: classes/parrotpointer.pmc
===================================================================
RCS file: /home/perlcvs/parrot/classes/parrotpointer.pmc,v
retrieving revision 1.1
diff -u -r1.1 parrotpointer.pmc
--- classes/parrotpointer.pmc   9 Jan 2002 21:22:14 -0000       1.1
+++ classes/parrotpointer.pmc   10 Jan 2002 16:37:09 -0000
@@ -11,7 +11,7 @@
  */

 #include "parrot/parrot.h"
-#define ERROR fprintf(stderr, "An illegal operation was performed on a ParrotPointer 
(vtable function at %s line %d).\n", __FILE__, __LINE__); exit(1); return 0;
+#define ERROR fprintf(stderr, "An illegal operation was performed on a ParrotPointer 
+(vtable function at %s line %d).\n", __FILE__, __LINE__); exit(1); return;

 pmclass ParrotPointer {
    INTVAL type () {


- D

<[EMAIL PROTECTED]>

Reply via email to