Ethereal-dev: [Ethereal-dev] Python 2.3.3 warnings on ncp2222.c generation

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

From: Ulf Lamping <ulf.lamping@xxxxxx>
Date: Fri, 13 Feb 2004 02:51:16 +0100
Hi List!

Since I'm using the cygwin Python (2.3.3), I get the following warnings:

Making packet-ncp2222.c
env python ncp2222.py -o packet-ncp2222.c
ncp2222.py:2271: FutureWarning: hex/oct constants > sys.maxint will return positive values in Python 2.4 and up
 InfoFlags   = bitfield32("info_flags", "Info Flags", [
ncp2222.py:2281: FutureWarning: hex/oct constants > sys.maxint will return positive values in Python 2.4 and up
 InfoMask   = bitfield32("info_mask", "Information Mask", [
ncp2222.py:3648: FutureWarning: hex/oct constants > sys.maxint will return positive values in Python 2.4 and up
 StatusFlagBits          = bitfield32("status_flag_bits", "Status Flag", [
ncp2222.py:7775: FutureWarning: %u/%o/%x/%X of negative int will return a signed string in Python 2.4 and up
 print "\t{ \"%s\", \"%s\", %s, %s, %s, 0x%x, \"\", HFILL }},\n" % \
Processing NCP definitions...

Could someone have a look at this, with some more python knowledge than me...

Regards, ULFL