On Mon Apr 14 04:50:02 2008, [EMAIL PROTECTED] wrote: > Attaching patch No. 2 for C++ Build Issue.
Using a normal C compiler (gcc), I get this warning before this patch: src/key.c:448: warning: passing argument 2 of 'key->vtable->isa' discards qualifiers from pointer target type And these warnings after this patch: src/key.c:448: warning: cast discards qualifiers from pointer target type src/key.c:448: warning: cast discards qualifiers from pointer target type At first glance, the only difference I can see is that your cast removes the "const" attribute. But instead of doing that, I'm wondering if maybe the second argument of VTABLE_isa(interp, pmc, name) should be made const, instead. Would that help the g++ case too? Mark