On Sat, Jun 23, 2007 at 05:11:34PM -0700, Joubert Nel wrote:

> In short - for this code to compile, do I *have* to rename "backtrace"?

Probably not.  Looking at
http://www.koders.com/c/fid322D5C92F1896477615A655537956EB9B9D24F57.aspx
and
http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/libc/port/gen/walkstack.c#443,
these two functions do not have the same purpose (though it's possible
that the lispish function could consume the other if it wished).
Since the prototypes and purposes are different, it's likely that
renaming the function will result in a crash or unexpected behaviour
when the libc function is invoked.

You probably want to figure out how and why execinfo.h is getting
#included; since the functions it provides aren't being used, the
right fix is probably just not to include it.  I couldn't find
anywhere in the SBCL source that includes it, nor do any other
OpenSolaris headers, so that's a bit mysterious but maybe it's in some
of the autogenerated files.

-- 
Keith M Wesolowski              "Sir, we're surrounded!" 
FishWorks                       "Excellent; we can attack in any direction!" 
_______________________________________________
opensolaris-code mailing list
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to