Wireshark-dev: Re: [Wireshark-dev] compile error on packet-ieee802154.c
From: "Maynard, Chris" <Christopher.Maynard@xxxxxxxxx>
Date: Wed, 24 Feb 2010 13:41:58 -0500

Yu,

Although these are valid warnings that probably should be corrected (as in the attached patch), I think you will likely encounter many more warnings (A recent compile of SVN31986 on RHEL5 w/gcc 4.1.1 produced 450 warnings besides the ones you reported below).  Since it might be awhile (maybe never) before all these warnings are fixed, you might want to run the configure script as “configure –disable-warnings-as-errors”.

- Chris

 

 

From: wireshark-dev-bounces@xxxxxxxxxxxxx [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Yu Zhang
Sent: Tuesday, February 23, 2010 3:43 AM
To: wireshark-dev@xxxxxxxxxxxxx
Subject: [Wireshark-dev] compile error on packet-ieee802154.c

 

Hi all,

I tried to build code in lattest version and follow the development guide closely, however, get errors as following:

packet-ieee802154.c
packet-ieee802154.c(884) : error C2220: warning treated as error - no 'object' f
ile generated
packet-ieee802154.c(884) : warning C4244: '=' : conversion from 'guint64' to 'gu
int32', possible loss of data
packet-ieee802154.c(1891) : warning C4244: '=' : conversion from 'guint64' to 'g
char', possible loss of data
packet-ieee802154.c(1892) : warning C4244: '=' : conversion from 'guint64' to 'g
char', possible loss of data
packet-ieee802154.c(1893) : warning C4244: '=' : conversion from 'guint64' to 'g
char', possible loss of data
packet-ieee802154.c(1894) : warning C4244: '=' : conversion from 'guint64' to 'g
char', possible loss of data
packet-ieee802154.c(1895) : warning C4244: '=' : conversion from 'guint64' to 'g
char', possible loss of data
packet-ieee802154.c(1896) : warning C4244: '=' : conversion from 'guint64' to 'g
char', possible loss of data
packet-ieee802154.c(1897) : warning C4244: '=' : conversion from 'guint64' to 'g
char', possible loss of data
packet-ieee802154.c(1898) : warning C4244: '=' : conversion from 'guint64' to 'g
char', possible loss of data

I'm very new to build wireshark, so it would be really appreciated for any comments.

Thanks in advance.

Yu

CONFIDENTIALITY NOTICE: The contents of this email are confidential
and for the exclusive use of the intended recipient. If you receive this
email in error, please delete it from your system immediately and 
notify us either by email, telephone or fax. You should not copy,
forward, or otherwise disclose the content of the email.

Attachment: packet-ieee802154.patch
Description: packet-ieee802154.patch