CVS kaffe (robilad): build fix for boehm 7.0

Kaffe CVS <[email protected]>
Newsgroups gmane.comp.java.vm.kaffe.general
Message-ID <[email protected]>
PatchSet 7624 
Date: 2007/12/29 19:47:23
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
build fix for boehm 7.0

2007-12-29  Dalibor Topic  <[email protected]>

        * kaffe/kaffevm/boehm-gc/gc2.c (KaffeGC_MarkAddress),
        kaffe/kaffevm/boehm-gc/gc2.h (gcMark): Replace GC_PTR by void * to fix
        building with Boehm GC 7.0.

Members: 
	ChangeLog:1.5122->1.5123 
	kaffe/kaffevm/boehm-gc/gc2.c:1.16->1.17 
	kaffe/kaffevm/boehm-gc/gc2.h:1.5->1.6 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.5122 kaffe/ChangeLog:1.5123
--- kaffe/ChangeLog:1.5122	Tue Dec 25 16:09:34 2007
+++ kaffe/ChangeLog	Sat Dec 29 19:47:23 2007
@@ -1,3 +1,9 @@
+2007-12-29  Dalibor Topic  <[email protected]>
+
+	* kaffe/kaffevm/boehm-gc/gc2.c (KaffeGC_MarkAddress),
+	kaffe/kaffevm/boehm-gc/gc2.h (gcMark): Replace GC_PTR by void * to fix
+	building with Boehm GC 7.0.
+
 2007-12-25  Dalibor Topic  <[email protected]>
 
 	Fix for #120.
Index: kaffe/kaffe/kaffevm/boehm-gc/gc2.c
diff -u kaffe/kaffe/kaffevm/boehm-gc/gc2.c:1.16 kaffe/kaffe/kaffevm/boehm-gc/gc2.c:1.17
--- kaffe/kaffe/kaffevm/boehm-gc/gc2.c:1.16	Tue Aug  7 01:44:49 2007
+++ kaffe/kaffe/kaffevm/boehm-gc/gc2.c	Sat Dec 29 19:47:24 2007
@@ -475,7 +475,7 @@
 
   info_mark->mark_current =
     GC_mark_and_push(ALIGN_BACKWARD(mem), info_mark->mark_current, info_mark->mark_limit,
-		     (GC_PTR *) info_mark->original_object);
+		     (void **) info_mark->original_object);
 }
 
 static struct GC_ms_entry *
Index: kaffe/kaffe/kaffevm/boehm-gc/gc2.h
diff -u kaffe/kaffe/kaffevm/boehm-gc/gc2.h:1.5 kaffe/kaffe/kaffevm/boehm-gc/gc2.h:1.6
--- kaffe/kaffe/kaffevm/boehm-gc/gc2.h:1.5	Tue Aug  7 01:44:49 2007
+++ kaffe/kaffe/kaffevm/boehm-gc/gc2.h	Sat Dec 29 19:47:24 2007
@@ -21,7 +21,7 @@
 typedef struct _gcMark {
   struct GC_ms_entry *mark_current;
   struct GC_ms_entry *mark_limit;
-  GC_PTR original_object;
+  void * original_object;
 } gcMark;
 
 typedef struct {
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.