I noticed some gcc warnings when configuring --pdump, but NOT
--use-kkcc. Briefly, they are:
2970: kkcc_gc_stack_init defined but not used
2985: kkcc_gc_stack_free defined but not used
3037: kkcc_gc_stack_pop defined but not used
3046: No previous prototype for kkcc_gc_stack_push_lisp_object.
The first 3 are easy to fix, so I was just going to submit the patch
myself. However, the last one has me a little confused. The prototype
is declared in lisp.h inside an #ifdef USE_KKCC block. Also, all uses
of kkcc_gc_stack_push_lisp_object are inside of #ifdef USE_KKCC blocks
... except for on line 3329, where mark_object_maybe_checking_free is
#define'd to it if not ERROR_CHECK_GC, regardless of --use-kkcc or not.
So are all uses of mark_object_maybe_checking_free inside of #ifdef
USE_KKCC blocks? I'm not sure. Part of my confusion stems from the
fact that the #ifdef USE_KKCC on line 3322 is inside of the #ifdef
USE_KKCC starting on line 3298! Somebody who knows what is going on
(i.e., not me) had better fix this.
--
Jerry James
http://www.ittc.ku.edu/~james/