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: [email protected] [mailto:[email protected]] On Behalf Of Yu Zhang Sent: Tuesday, February 23, 2010 3:43 AM To: [email protected] 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.
packet-ieee802154.patch
Description: packet-ieee802154.patch
___________________________________________________________________________ Sent via: Wireshark-dev mailing list <[email protected]> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:[email protected]?subject=unsubscribe
