Ethereal-dev: [Ethereal-dev] Some Gtk and compiler warnings

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

From: "Olivier Biot" <ethereal@xxxxxxxxxx>
Date: Wed, 7 Jan 2004 21:59:33 +0100
Hi list,

If I open the "Save As" menu item, I get the following warnings:
GLib-GObject-WARNING **: invalid cast from GtkFrame to GtkBox
GTK-CRITICAL **: file ../../gtk+2.2.1/gtk/gtkbox.c: line 371
(gtk_box_pack_start): assertion GTK_IS_BOX (box) failed

Additionally, I came across:

ansi_map_stat.c: In function `ansi_map_stat_packet':
ansi_map_stat.c:103: warning: comparison is always false due to limited
range of data type
isup_stat.c: In function `isup_stat_packet':
isup_stat.c:104: warning: comparison is always false due to limited range of
data type
packet-gsm_map.c:317: warning: `Dgt_tbcd' defined but not used
packet-h225.c: In function `ras_call_matching':
packet-h225.c:10322: warning: comparison between signed and unsigned
packet-h225.c:10324: warning: comparison between signed and unsigned
packet-ldap.c: In function `dissect_ldap':
packet-ldap.c:2166: warning: comparison between signed and unsigned
packet-m2pa.c: In function `proto_register_m2pa':
packet-m2pa.c:430: warning: dereferencing type-punned pointer will break
strict-aliasing rules
packet-m3ua.c: In function `proto_register_m3ua':
packet-m3ua.c:1749: warning: dereferencing type-punned pointer will break
strict-aliasing rules
packet-mtp3.c: In function `proto_register_mtp3':
packet-mtp3.c:639: 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-rtsp.c: In function `dissect_rtspmessage':
packet-rtsp.c:759: warning: comparison between signed and unsigned
packet-rtsp.c:767: warning: comparison between signed and unsigned
packet-rtsp.c:785: warning: comparison between signed and unsigned
packet-tcap.c: In function `proto_register_tcap':
packet-tcap.c:2754: warning: dereferencing type-punned pointer will break
strict-aliasing rules
range.c:441: warning: `packet_is_in_range_check' defined but not used

Regards,

Olivier