Wireshark mailing list archives

Tap Compilation Error


From: eymanm <eymanm () gmail com>
Date: Thu, 15 Jul 2010 13:48:17 -0400

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 *'

Can somebody tell what's going wrong?
Thanks
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: