On Jul 15, 2010, at 10:48 AM, eymanm wrote:
> I'm trying to create a tap by mimicking approach described in README.tapping. Compiler spits the following errors on the "const myprot_call_info_value *ri = arg2;" line:
>
> myprot_stat.c(106) : error C2143: syntax error : missing ';' before '*'
> myprot_stat.c(106) : error C2065: 'ri' : undeclared identifier
> myprot_stat.c(106) : error C2100: illegal indirection
> myprot_stat.c(106) : warning C4047: '=' : 'int' differs in levels of indirection from 'const void *'
You *have* make "myprot_call_info_value" a typedef for some data type, right?
If not, then the statement
const myprot_call_info_value *ri = arg2;
is not valid C.