Wireshark mailing list archives

syntax errors are eating my time and brain though my code is almost correct


From: prashanth sappidi <prashanth.sappidi5 () gmail com>
Date: Sat, 8 Oct 2011 13:25:35 +0530

Hello there,

Thanks to Grahamb for suggesting me to post the email to you guys. I have
got a syntax problem in ftype-integer.c. the error is...

All are same errors. Please help. For mor information please read my
question in the ask.wireshark.org

http://ask.wireshark.org/questions/6768/filtering-bitwise-and-is-leading-to-linker-error

ftype-integer.c
ftype-integer.c(258) : error C2037: left of 'trig_vals' specifies undefined
stru
ct/union 'trigger_structure'
ftype-integer.c(259) : error C2037: left of 'restart_trigger' specifies
undefine
d struct/union 'trigger_structure'
ftype-integer.c(263) : error C2037: left of 'restart_trigger' specifies
undefine
d struct/union 'trigger_structure'
ftype-integer.c(266) : error C2037: left of 'restart_trigger' specifies
undefine
d struct/union 'trigger_structure'
ftype-integer.c(269) : error C2037: left of 'trigger_temp' specifies
undefined s
truct/union 'trigger_structure'
ftype-integer.c(270) : error C2037: left of 'restart_trigger' specifies
undefine
d struct/union 'trigger_structure'
ftype-integer.c(271) : error C2037: left of 'trigger_temp' specifies
undefined s
truct/union 'trigger_structure'
ftype-integer.c(274) : error C2037: left of 'trig_vals' specifies undefined
stru
ct/union 'trigger_structure'
ftype-integer.c(274) : error C2037: left of 'trigger_temp2' specifies
undefined
struct/union 'trigger_structure'
ftype-integer.c(275) : error C2037: left of 'trigger_temp2' specifies
undefined
struct/union 'trigger_structure'
ftype-integer.c(275) : error C2037: left of 'trigger_temp2' specifies
undefined
struct/union 'trigger_structure'
ftype-integer.c(282) : error C2037: left of 'restart_trigger' specifies
undefine
d struct/union 'trigger_structure'
ftype-integer.c(454) : error C2037: left of 'trig_vals' specifies undefined
stru
ct/union 'trigger_structure'
ftype-integer.c(455) : error C2037: left of 'restart_trigger' specifies
undefine
d struct/union 'trigger_structure'
ftype-integer.c(459) : error C2037: left of 'restart_trigger' specifies
undefine
d struct/union 'trigger_structure'
ftype-integer.c(462) : error C2037: left of 'restart_trigger' specifies
undefine
d struct/union 'trigger_structure'
ftype-integer.c(465) : error C2037: left of 'trigger_temp' specifies
undefined s
truct/union 'trigger_structure'
ftype-integer.c(466) : error C2037: left of 'restart_trigger' specifies
undefine
d struct/union 'trigger_structure'
ftype-integer.c(467) : error C2037: left of 'trigger_temp' specifies
undefined s
truct/union 'trigger_structure'
ftype-integer.c(470) : error C2037: left of 'trig_vals' specifies undefined
stru
ct/union 'trigger_structure'
ftype-integer.c(470) : error C2037: left of 'trigger_temp2' specifies
undefined
struct/union 'trigger_structure'
ftype-integer.c(471) : error C2037: left of 'trigger_temp2' specifies
undefined
struct/union 'trigger_structure'
ftype-integer.c(471) : error C2037: left of 'trigger_temp2' specifies
undefined
struct/union 'trigger_structure'
ftype-integer.c(478) : error C2037: left of 'restart_trigger' specifies
undefine
d struct/union 'trigger_structure'
ftype-integer.c(597) : error C2037: left of 'trig_vals' specifies undefined
stru
ct/union 'trigger_structure'
ftype-integer.c(598) : error C2037: left of 'restart_trigger' specifies
undefine
d struct/union 'trigger_structure'
ftype-integer.c(602) : error C2037: left of 'restart_trigger' specifies
undefine
d struct/union 'trigger_structure'
ftype-integer.c(605) : error C2037: left of 'restart_trigger' specifies
undefine
d struct/union 'trigger_structure'
ftype-integer.c(608) : error C2037: left of 'trigger_temp' specifies
undefined s
truct/union 'trigger_structure'
ftype-integer.c(609) : error C2037: left of 'restart_trigger' specifies
undefine
d struct/union 'trigger_structure'
ftype-integer.c(610) : error C2037: left of 'trigger_temp' specifies
undefined s
truct/union 'trigger_structure'
ftype-integer.c(613) : error C2037: left of 'trig_vals' specifies undefined
stru
ct/union 'trigger_structure'
ftype-integer.c(613) : error C2037: left of 'trigger_temp2' specifies
undefined
struct/union 'trigger_structure'
ftype-integer.c(614) : error C2037: left of 'trigger_temp2' specifies
undefined
struct/union 'trigger_structure'
ftype-integer.c(614) : error C2037: left of 'trigger_temp2' specifies
undefined
struct/union 'trigger_structure'
ftype-integer.c(621) : error C2037: left of 'restart_trigger' specifies
undefine
d struct/union 'trigger_structure'

Attachment: main_filter_toolbar.c
Description:

Attachment: ftype-integer.c
Description:

Attachment: ftypes.H
Description:

Attachment: libwireshark.def
Description:

___________________________________________________________________________
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: