On Monday 23 June 2008 09:08:07 NotFound 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. - Andrew -- Talk is cheap. Show me the code. -- Linus Torvalds