Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Ethereal-dev: [Ethereal-dev] Oscar dissector splitup breaks MSVC build - empty arrays ?

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Anders Broman (AL/EAB)" <anders.broman@xxxxxxxxxxxx>
Date: Tue, 23 Mar 2004 11:54:08 +0100
Hi,
I get the following error with the current Nightly snapshot on MSVC,
I'm not shure what the proper fix is, dummy hf_.. vars ?
Best regards
Anders


packet-aim-adverts.c
packet-aim-adverts.c(92) : error C2059: syntax error : '}'
----- code 
90 /* Setup list of header fields */
91  static hf_register_info hf[] = {
92  };
---- end code
packet-aim-adverts.c(103) : warning C4034: sizeof returns 0
packet-aim-chat.c
packet-aim-chat.c(133) : error C2059: syntax error : '}'
packet-aim-chat.c(144) : warning C4034: sizeof returns 0
packet-aim-chatnav.c
packet-aim-chatnav.c(82) : error C2059: syntax error : '}'
packet-aim-chatnav.c(92) : warning C4034: sizeof returns 0
packet-aim-directory.c
packet-aim-directory.c(68) : error C2059: syntax error : '}'
packet-aim-directory.c(72) : error C2059: syntax error : '}'
packet-aim-directory.c(77) : warning C4034: sizeof returns 0
packet-aim-directory.c(78) : warning C4034: sizeof returns 0
packet-aim-icq.c
packet-aim-icq.c(91) : error C2059: syntax error : '}'
packet-aim-icq.c(102) : warning C4034: sizeof returns 0
packet-aim-invitation.c
packet-aim-invitation.c(70) : error C2059: syntax error : '}'
packet-aim-invitation.c(81) : warning C4034: sizeof returns 0
packet-aim-messaging.c
packet-aim-messaging.c(166) : error C2059: syntax error : '}'
packet-aim-messaging.c(177) : warning C4034: sizeof returns 0
packet-aim-oft.c
packet-aim-oft.c(55) : error C2059: syntax error : '}'
packet-aim-oft.c(59) : error C2059: syntax error : '}'
packet-aim-oft.c(65) : warning C4034: sizeof returns 0
packet-aim-oft.c(66) : warning C4034: sizeof returns 0
packet-aim-popup.c
packet-aim-popup.c(70) : error C2059: syntax error : '}'
packet-aim-popup.c(81) : warning C4034: sizeof returns 0
packet-aim-stats.c
packet-aim-stats.c(73) : error C2059: syntax error : '}'
packet-aim-stats.c(84) : warning C4034: sizeof returns 0
packet-aim-translate.c
packet-aim-translate.c(70) : error C2059: syntax error : '}'
packet-aim-translate.c(80) : warning C4034: sizeof returns 0
packet-aim-userlookup.c
packet-aim-userlookup.c(89) : error C2059: syntax error : '}'
packet-aim-userlookup.c(99) : warning C4034: sizeof returns 0
Generating Code...
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.

This communication is confidential and intended solely for the addressee(s). Any unauthorized review, use, disclosure or distribution is prohibited. If you believe this message has been sent to you in error, please notify the sender by replying to this transmission and delete the message without disclosing it. Thank you.

E-mail including attachments is susceptible to data corruption, interruption, unauthorized amendment, tampering and viruses, and we only send and receive e-mails on the basis that we are not liable for any such corruption, interception, amendment, tampering or viruses or any consequences thereof.