Wireshark mailing list archives

Re: compile error on packet-ieee802154.c


From: Yu Zhang <yu.zhang111 () googlemail com>
Date: Thu, 25 Feb 2010 10:53:50 +0800

Hi Chris,

Thanks a lot for you reply. I built the source code successfully, using
VC2008EE instead of VS2005. I used the lattest version on SVN and didn't
make any change, so I'm thinking the problem may caused by vs2005.

Yu

2010/2/25 Maynard, Chris <Christopher.Maynard () gtech com>

 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 () wireshark org [mailto:
wireshark-dev-bounces () wireshark org] *On Behalf Of *Yu Zhang
*Sent:* Tuesday, February 23, 2010 3:43 AM
*To:* wireshark-dev () wireshark org
*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.


___________________________________________________________________________
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

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