[kaffe] CVS kaffe (dalibor): Fixed small compiler warning on parsic-hpux

Kaffe CVS Kaffe Mailing List <kaffe@kaffe.org>
Fri Sep 26 07:11:01 2003


PatchSet 4069 
Date: 2003/09/26 14:08:56
Author: dalibor
Branch: HEAD
Tag: (none) 
Log:
Fixed small compiler warning on parsic-hpux

FIRSTFRAME was redefined in kaffe/kaffevm/exception.c after being
defined in kaffe/kaffevm/intrp/stackTrace-impl.h already.

Members: 
	ChangeLog:1.1664->1.1665 
	kaffe/kaffevm/exception.c:1.73->1.74 
	kaffe/kaffevm/intrp/stackTrace-impl.h:1.2->1.3 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.1664 kaffe/ChangeLog:1.1665
--- kaffe/ChangeLog:1.1664	Thu Sep 25 18:27:35 2003
+++ kaffe/ChangeLog	Fri Sep 26 14:08:56 2003
@@ -1,3 +1,12 @@
+2003-09-26  Dalibor Topic <robilad@kaffe.org>
+
+	*  kaffe/kaffevm/exception.c:
+	[INTERPRETER](FIRSTFRAME) Removed to fix compiler warning on
+	parisc-hpux with gcc 3.3.1.
+
+	* kaffe/kaffevm/intrp/stackTrace-impl.h:
+	(FIRSTFRAME) Added comment.
+
 2003-09-25  Dalibor Topic <robilad@kaffe.org>
 
 	* libraries/clib/awt/X/clr.c:
Index: kaffe/kaffe/kaffevm/exception.c
diff -u kaffe/kaffe/kaffevm/exception.c:1.73 kaffe/kaffe/kaffevm/exception.c:1.74
--- kaffe/kaffe/kaffevm/exception.c:1.73	Mon Sep 22 15:31:24 2003
+++ kaffe/kaffe/kaffevm/exception.c	Fri Sep 26 14:08:57 2003
@@ -45,8 +45,6 @@
 #include "java_lang_VMThrowable.h"
 
 #if defined(INTERPRETER)
-#define	FIRSTFRAME(f, e)	/* Does nothing */
-
 #define FRAMEOBJECT(O, F, E)    (O) = vmExcept_getSyncObj((VmExceptHandler*)(F))
 
 
Index: kaffe/kaffe/kaffevm/intrp/stackTrace-impl.h
diff -u kaffe/kaffe/kaffevm/intrp/stackTrace-impl.h:1.2 kaffe/kaffe/kaffevm/intrp/stackTrace-impl.h:1.3
--- kaffe/kaffe/kaffevm/intrp/stackTrace-impl.h:1.2	Mon Jul 28 16:03:43 2003
+++ kaffe/kaffe/kaffevm/intrp/stackTrace-impl.h	Fri Sep 26 14:08:58 2003
@@ -23,6 +23,6 @@
 
 /* XXX Fix to work with jvmpi */
 #define EXCEPTIONFRAME(f, c)
-#define FIRSTFRAME(f, c)
+#define FIRSTFRAME(f, c)        /* Does nothing */
 
 #endif /* __stackTrace_impl_h__ */