# New Ticket Created by "Adam Thomason" # Please include the string: [perl #24226] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt2/Ticket/Display.html?id=24226 >
IBM VisualAge C 6 complains about some data<->function pointer casts in interpreter.c:
"interpreter.c", line 208.23: 1506-068 (E) Operation between types "struct
{...}*(*)(int)" and "void*" is not allowed.
"interpreter.c", line 316.16: 1506-068 (E) Operation between types "void*" and
"void(*)(struct Parrot_Interp*,long*)" is not allowed.
"interpreter.c", line 332.12: 1506-068 (E) Operation between types "void*" and
"void(*)(struct Parrot_Interp*,long*)" is not allowed.
"interpreter.c", line 359.20: 1506-196 (E) Initialization between types
"void(*)(struct Parrot_Interp*,long*)" and "void*" is not allowed.
The attached patch fixes these.
--
Adam Thomason
[EMAIL PROTECTED]
-- attachment 1 ------------------------------------------------------
url: http://rt.perl.org/rt2/attach/66101/49396/cd2e37/casts.patch
casts.patch
Description: casts.patch
