Ethereal-dev: RE: [Ethereal-dev] bug in rtp_analysis.c?

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

From: "Graham Bloice" <graham.bloice@xxxxxxxxxxxxx>
Date: Thu, 30 Oct 2003 11:53:19 -0000
> > Sorry, cannot build from latest cvs snapshot (2003-10-30) on Win32 ...
> >
> > packet-gsm_a.c(87) : error C2133: 'dtap_msg_rr_fcn' : unknown size
>
> Another zero-length array definition.  I've checked in a fix.  Remove
> the definition on line 87.
>
> > util.c(185) : error C2065: 'OSVERSIONINFO' : undeclared identifier
> > util.c(204) : error C2065: 'VER_PLATFORM_WIN32s' : undeclared identifier
> > util.c(209) : error C2065: 'VER_PLATFORM_WIN32_WINDOWS' : undeclared
> > identifier
> > util.c(243) : error C2065: 'VER_PLATFORM_WIN32_NT' : undeclared
> identifier
> > (follow-up errors left out)
>
> That's odd.  "util.c" hasn't changed in a while, and I was able to
> compile it in the past few days.

I don't get the errors in util.c, but there is another zero-length array
definition in packet-gms_sms.c lines 2638-2640.

I also had problems with plugins/asn1/packet-asn1.c line 2583 where the
result of strcmp() was compared with NULL.  MSVC 6 didn't like that, so had
to change it to 0.

Regards,

Graham Bloice