On Tuesday 08 July 2008 17:55:42 NotFound wrote: > On Mon, Jun 23, 2008 at 4:37 PM, Andrew Johnson <[EMAIL PROTECTED]> wrote: > >> Here is the patch. It avoids the warning both in C and C++ with gcc. > > > > Works fine for me, no warning. > > It might be worth adding a comment into parrot.h to clarify that > > PARROT_const_cast should *only* be used for c/v qualifier changes, and > > that additional casting may be necessary. > > Done in r29179, please confirm that gives no warning now.
Confirmed, those warnings have gone. I'm still getting loads of "warning: statement not reached" but I'll work out how to suppress those and post a fix separately. - Andrew -- Talk is cheap. Show me the code. -- Linus Torvalds