Ethereal-dev: [Ethereal-dev] Add -Wbad-function-cast to extra gcc flags

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: Sat, 10 Jan 2004 19:00:06 +0100
Hi list,

I checked in an extra GCC check in the extra
checks: -Wbad-function-cast.
This way I've seen about 70 new function cast warnings in the
following files:

epan/dfilter/gencode.c:       1
gtk/capture_dlg.c:       4
gtk/decode_as_dlg.c:       2
gtk/endpoint_talkers_table.c:       2
gtk/io_stat.c:       5
gtk/main.c:       4
gtk/proto_draw.c:       6
gtk/rtp_analysis.c:       1
gtk/service_response_time_table.c:       2
gtk/tcp_graph.c:      38
packet-dcerpc-spoolss.c:       2
packet-fcip.c:       2
packet-ieee80211.c:       2
packet-tcp.c:       2
packet-who.c:       3
packet-x11.c:       1

The detailed list is sent as an attachment.

Regards,

Olivier

Attachment: 2
Description: Binary data