Wireshark-bugs: [Wireshark-bugs] [Bug 9567] New: Compilation failure:packet-ansi_a.c:3540:101: e

Date: Mon, 16 Dec 2013 21:46:06 +0000
Bug ID 9567
Summary Compilation failure:packet-ansi_a.c:3540:101: error: unused parameter 'len' [-Werror=unused-parameter]
Classification Unclassified
Product Wireshark
Version SVN
Hardware x86-64
OS Fedora
Status UNCONFIRMED
Severity Critical
Priority Low
Component Dissection engine (libwireshark)
Assignee [email protected]
Reporter [email protected]

Build Information:
r54157
--
make[5]: Entering directory `/home/yanivk/wireshark/epan/dissectors'
  CC       packet-ansi_map.lo
  CC       libdissectors_la-packet-ansi_a.lo
packet-ansi_a.c: In function 'elem_cic_ext':
packet-ansi_a.c:2968:9: error: format '%u' expects argument of type 'unsigned
int', but argument 8 has type 'const gchar *' [-Werror=format=]
         oct, "%%s (%u)", str, oct);
         ^
packet-ansi_a.c:2968:9: error: too many arguments for format
[-Werror=format-extra-args]
packet-ansi_a.c: In function 'elem_auth_conf_param':
packet-ansi_a.c:3540:101: error: unused parameter 'len'
[-Werror=unused-parameter]
 elem_auth_conf_param(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree,
guint32 offset, guint len, gchar *add_string _U_, int string_len _U_)
                                                                               
                     ^
packet-ansi_a.c: In function 'dissect_dtap_common':
packet-ansi_a.c:10974:45: error: variable 'oct_2' set but not used
[-Werror=unused-but-set-variable]
     guint8                      oct, oct_1, oct_2;
                                             ^
../../asn1/ansi_map/ansi_map.cnf:4930:1: warning:
'dissect_ansi_map_DetectionPointType' defined but not used [-Wunused-function]
../../asn1/ansi_map/ansi_map.cnf:4940:1: warning:
'dissect_ansi_map_EnhancedPrivacyEncryptionReport' defined but not used
[-Wunused-function]
../../asn1/ansi_map/ansi_map.cnf:4950:1: warning:
'dissect_ansi_map_MINExtension' defined but not used [-Wunused-function]
../../asn1/ansi_map/ansi_map.cnf:5058:1: warning: 'dissect_ansi_map_InvokeData'
defined but not used [-Wunused-function]
../../asn1/ansi_map/ansi_map.cnf:5143:1: warning: 'dissect_ansi_map_ReturnData'
defined but not used [-Wunused-function]
cc1: all warnings being treated as errors


You are receiving this mail because:
  • You are watching all bug changes.