Wireshark-dev: Re: [Wireshark-dev] [PATCH 1/2] wiretap: New MPEG file format
From: Graham Bloice <graham.bloice@xxxxxxxxxxxxx>
Date: Thu, 22 Mar 2007 11:21:37 +0000
ronnie sahlberg wrote:
> I have checked in the wiretap patch after doing the changes listed.
> 
> 

The win32 build on MSVC 6.0 fails with the following errors:

mpeg.c(47) : error C2065: 'off_t' : undeclared identifier
mpeg.c(47) : error C2146: syntax error : missing ';' before identifier
'offset'
mpeg.c(47) : error C2065: 'offset' : undeclared identifier
mpeg.c(47) : warning C4244: '=' : conversion from '__int64 ' to 'int ',
possible loss of data
mpeg.c(48) : error C2275: 'size_t' : illegal use of this type as an
expression
        C:\Program Files\Microsoft Visual
Studio\VC98\include\stddef.h(93) : see declaration of 'size_t'
mpeg.c(48) : error C2146: syntax error : missing ';' before identifier
'count'
mpeg.c(48) : error C2065: 'count' : undeclared identifier
mpeg.c(49) : error C2143: syntax error : missing ';' before 'type'
mpeg.c(51) : error C2065: 'sync' : undeclared identifier
mpeg.c(79) : warning C4146: unary minus operator applied to unsigned
type, result still unsigned
mpeg.c(116) : error C2146: syntax error : missing ';' before identifier
'offset'
mpeg.c(116) : warning C4244: '=' : conversion from '__int64 ' to 'int ',
possible loss of data
mpeg.c(117) : error C2275: 'guint8' : illegal use of this type as an
expression

C:\Projects\Wireshark\wireshark-win32-libs\glib\lib\glib-2.0\include\glibconfig.h(32)
: see declaration of 'guint8'
mpeg.c(117) : error C2146: syntax error : missing ';' before identifier
'stream'
mpeg.c(117) : error C2065: 'stream' : undeclared identifier
mpeg.c(118) : error C2143: syntax error : missing ';' before 'type'
mpeg.c(173) : warning C4244: '=' : conversion from 'unsigned __int64 '
to 'unsigned int ', possible loss of data
mpeg.c(174) : warning C4244: '=' : conversion from 'unsigned __int64 '
to 'unsigned short ', possible loss of data
mpeg.c(177) : warning C4244: '=' : conversion from 'double ' to 'int ',
possible loss of data
mpeg.c(178) : warning C4244: '=' : conversion from 'double ' to 'long ',
possible loss of data
mpeg.c(259) : error C2146: syntax error : missing ';' before identifier
'offset'
mpeg.c(260) : error C2275: 'size_t' : illegal use of this type as an
expression
        C:\Program Files\Microsoft Visual
Studio\VC98\include\stddef.h(93) : see declaration of 'size_t'
mpeg.c(260) : error C2146: syntax error : missing ';' before identifier
'count'
mpeg.c(262) : warning C4244: '=' : conversion from '__int64 ' to 'int ',
possible loss of data


-- 
Regards,

Graham Bloice