patch for kaffe-0.9.2/kaffe/kaffevm/support.h

Yuji Nimura nimura at arc.isl.melco.co.jp
Mon Dec 1 03:01:39 PST 1997


Here is a patch for kaffe-0.9.2/kaffe/kaffevm/support.h to
reduce warning of packages/tjwassoc.co.uk/external_wrappers.h
at compiling kaffe/kaffevm/external.c with NO_SHARED_LIBRARIES.

I am working on kaffe with HP-UX 10.20/PA-RISC with HP-CC
(not Gnu-CC) and I have checked a patch below with only my
environment, but I think this will fix a platform independent
problem at compiling with NO_SHARED_LIBRARIES.


Yuji Nimura (nimura at arc.isl.melco.co.jp)

======= patch for kaffe-0.9.2/kaffe/kaffevm/support.h =======
*** /var/tmp/,RCSt1a18379	Mon Dec  1 19:09:55 1997
--- support.h	Mon Dec  1 18:53:19 1997
***************
*** 22,28
  
  typedef struct _nativeFunction {
  	char*			name;
! 	void*			func;
  } nativeFunction;
  
  #define	NATIVE_FUNC_INCREMENT	(256)

--- 22,28 -----
  
  typedef struct _nativeFunction {
  	char*			name;
! 	void			(*func)();
  } nativeFunction;
  
  #define	NATIVE_FUNC_INCREMENT	(256)



More information about the kaffe mailing list