The following line in interpreter.c

    interpreter->perl_stash = pmc_new(interpreter, enum_class_PerlHash);

is now causing Solaris 8/Sun Workshop cc to throw the following error:
(reformatted for clarity)

"interpreter.c", line 534: warning: assignment type mismatch:
        pointer to struct Stash {
            pointer to struct PMC {..} stash_hash, 
            pointer to struct Stash {..} parent_stash
        } "=" 
        pointer to struct PMC {
            pointer to struct _vtable {..} vtable, 
            long flags, 
            pointer to void data, 
            union {..} cache, 
            pointer to...

And indeed, the warning is correct.  I wonder if an explicit
initialization of both the stash_hash and parent_stash elements
would be more appropriate here.

-- 
    Andy Dougherty              [EMAIL PROTECTED]
    Dept. of Physics
    Lafayette College, Easton PA 18042

Reply via email to