Ethereal-dev: [Ethereal-dev] Some remaining warnings

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

From: Joerg Mayer <jmayer@xxxxxxxxx>
Date: Sun, 21 Dec 2003 07:09:45 +0100
Here are some warnings that I see when compiling Ethereal:

packet-diameter.c:1630: warning: ISO C90 does not support the `%z' strftime format

packet-h245.c:13932: warning: invalid storage class for function `dissect_h245_RedundancyEncodingElement'
packet-h245.c:13945: warning: invalid storage class for function `dissect_h245_MultiplePayloadStreamElement'
packet-h245.c:13958: warning: invalid storage class for function `dissect_h245_RedundancyEncodingDTModeElement'
packet-h245.c:13971: warning: invalid storage class for function `dissect_h245_MultiplePayloadStreamElementMode'

packet-isdn.c:85: warning: overflow in implicit constant conversion

packet-mmse.c:219: warning: static declaration for `vals_status' follows non-static
packet-nt-tpcp.c:81: warning: static declaration for `flags_set_truth' follows non-static
packet-wtp.c:79: warning: static declaration for `vals_pdu_type' follows non-static

packet-rsvp.c:2577: warning: ISO C90 does not support the `ll' printf length modifier

packet-gsm_map.c:317: warning: `Dgt_tbcd' defined but not used

packet-acn.c:660: warning: unused parameter `tvb'
packet-acn.c:660: warning: unused parameter `offset'
packet-acn.c:660: warning: unused parameter `tree'
packet-acn.c:660: warning: unused parameter `parent_hist'
packet-acn.c:660: warning: unused parameter `max_size'
packet-v5ua.c:1654: warning: unused parameter `tree'

ansi_map_stat.c:102: warning: comparison is always false due to limited range of data type
isup_stat.c:102: warning: comparison is always false due to limited range of data type

plugins.c:230: warning: dereferencing type-punned pointer will break strict-aliasing rules
plugins.c:245: warning: dereferencing type-punned pointer will break strict-aliasing rules
plugins.c:250: warning: dereferencing type-punned pointer will break strict-aliasing rules
packet-mtp3.c:648: warning: dereferencing type-punned pointer will break strict-aliasing rules
packet-tcap.c:2754: warning: dereferencing type-punned pointer will break strict-aliasing rules


If you feel like fixing some of them, feel free :)

  Ciao
   Jörg

-- 
Joerg Mayer                                           <jmayer@xxxxxxxxx>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.