Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-bugs: [Wireshark-bugs] [Bug 6844] Universal Alcatel Protocol - Reloaded

Date: Wed, 22 Feb 2012 02:18:32 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6844

--- Comment #10 from Alexis La Goutte <alexis.lagoutte@xxxxxxxxx> 2012-02-22 02:18:29 PST ---
(In reply to comment #9)
> I am working on most of the issues and can submit a new patch soon.
> I don't have a Linux build environment though.
> Could you share the errors you get on Ubunutu, please?
> Lars

No problem :
packet-uasip.c: In function 'proto_register_uasip':
packet-uasip.c:366:6: error: old-style function definition
[-Werror=old-style-definition]
packet-uaudp.c:433:6: error: old-style function definition
[-Werror=old-style-definition]
packet-ua.c:281:14: error: 'prefs_initialized' defined but not used
[-Werror=unused-variable]
packet-ua3g.c: In function 'decode_with_one_parameter':
packet-ua3g.c:326:17: warning: variable 'ua3g_body_tree' set but not used
[-Wunused-but-set-variable]
packet-ua3g.c:318:39: error: unused parameter 'tree' [-Werror=unused-parameter]
packet-ua3g.c:320:22: error: unused parameter 'pinfo'
[-Werror=unused-parameter]
packet-ua3g.c: In function 'decode_subdevice_escape':
packet-ua3g.c:354:37: error: unused parameter 'tree' [-Werror=unused-parameter]
packet-ua3g.c:356:20: error: unused parameter 'pinfo'
[-Werror=unused-parameter]
packet-ua3g.c:359:14: error: unused parameter 'opcode'
[-Werror=unused-parameter]
packet-ua3g.c: In function 'decode_software_reset':
packet-ua3g.c:402:35: error: unused parameter 'tree' [-Werror=unused-parameter]
packet-ua3g.c:404:21: error: unused parameter 'pinfo'
[-Werror=unused-parameter]
packet-ua3g.c:407:15: error: unused parameter 'opcode'
[-Werror=unused-parameter]
packet-ua3g.c: In function 'decode_ip_phone_warmstart':
packet-ua3g.c:445:6: error: unused variable 'j' [-Werror=unused-variable]
packet-ua3g.c:436:39: error: unused parameter 'tree' [-Werror=unused-parameter]
packet-ua3g.c:438:22: error: unused parameter 'pinfo'
[-Werror=unused-parameter]
packet-ua3g.c:441:16: error: unused parameter 'opcode'
[-Werror=unused-parameter]
packet-ua3g.c: In function 'decode_super_msg':
packet-ua3g.c:472:30: error: unused parameter 'tree' [-Werror=unused-parameter]
packet-ua3g.c:474:19: error: unused parameter 'pinfo'
[-Werror=unused-parameter]
packet-ua3g.c: In function 'decode_segment_msg':
packet-ua3g.c:532:32: error: unused parameter 'tree' [-Werror=unused-parameter]
packet-ua3g.c:534:21: error: unused parameter 'pinfo'
[-Werror=unused-parameter]
packet-ua3g.c:537:15: error: unused parameter 'opcode'
[-Werror=unused-parameter]
packet-ua3g.c: In function 'decode_ip_device_routing':
packet-ua3g.c:729:9: error: format not a string literal and no format arguments
[-Werror=format-security]
packet-ua3g.c:913:9: error: format not a string literal and no format arguments
[-Werror=format-security]
packet-ua3g.c:936:9: error: format not a string literal and no format arguments
[-Werror=format-security]
packet-ua3g.c:956:9: error: format not a string literal and no format arguments
[-Werror=format-security]
packet-ua3g.c:996:9: error: format not a string literal and no format arguments
[-Werror=format-security]
packet-ua3g.c:1021:9: error: format not a string literal and no format
arguments [-Werror=format-security]
packet-ua3g.c:1046:9: error: format not a string literal and no format
arguments [-Werror=format-security]
packet-ua3g.c:1086:9: error: format '%llu' expects argument of type 'long long
unsigned int', but argument 4 has type 'guint64' [-Werror=format]
packet-ua3g.c:1192:9: error: format '%llu' expects argument of type 'long long
unsigned int', but argument 4 has type 'guint64' [-Werror=format]
packet-ua3g.c:1296:9: error: format '%llu' expects argument of type 'long long
unsigned int', but argument 4 has type 'guint64' [-Werror=format]
packet-ua3g.c:1562:9: error: format '%llu' expects argument of type 'long long
unsigned int', but argument 4 has type 'guint64' [-Werror=format]
packet-ua3g.c:1709:9: error: format not a string literal and no format
arguments [-Werror=format-security]
packet-ua3g.c:1756:9: error: format not a string literal and no format
arguments [-Werror=format-security]
packet-ua3g.c:1769:9: error: format not a string literal and no format
arguments [-Werror=format-security]
packet-ua3g.c:1781:9: error: format not a string literal and no format
arguments [-Werror=format-security]
packet-ua3g.c:1804:9: error: format '%llu' expects argument of type 'long long
unsigned int', but argument 4 has type 'guint64' [-Werror=format]
packet-ua3g.c:1921:7: error: format '%llu' expects argument of type 'long long
unsigned int', but argument 4 has type 'guint64' [-Werror=format]
packet-ua3g.c:2041:9: error: format '%llu' expects argument of type 'long long
unsigned int', but argument 4 has type 'guint64' [-Werror=format]
packet-ua3g.c:597:38: error: unused parameter 'tree' [-Werror=unused-parameter]
packet-ua3g.c:602:15: error: unused parameter 'opcode'
[-Werror=unused-parameter]
packet-ua3g.c: In function 'decode_debug_in_line':
packet-ua3g.c:2115:34: error: unused parameter 'tree'
[-Werror=unused-parameter]
packet-ua3g.c:2117:17: error: unused parameter 'pinfo'
[-Werror=unused-parameter]
packet-ua3g.c:2120:11: error: unused parameter 'opcode'
[-Werror=unused-parameter]
packet-ua3g.c: In function 'decode_led_command':
packet-ua3g.c:2155:32: error: unused parameter 'tree'
[-Werror=unused-parameter]
packet-ua3g.c:2160:15: error: unused parameter 'opcode'
[-Werror=unused-parameter]
packet-ua3g.c: In function 'decode_lcd_line_cmd':
packet-ua3g.c:2236:14: error: unused variable 'lcd_options_tab'
[-Werror=unused-variable]
packet-ua3g.c:2220:33: error: unused parameter 'tree'
[-Werror=unused-parameter]
packet-ua3g.c:2225:13: error: unused parameter 'opcode'
[-Werror=unused-parameter]
packet-ua3g.c: In function 'decode_main_voice_mode':
packet-ua3g.c:2377:36: error: unused parameter 'tree'
[-Werror=unused-parameter]
packet-ua3g.c:2382:16: error: unused parameter 'opcode'
[-Werror=unused-parameter]
packet-ua3g.c: In function 'decode_subdevice_metastate':
packet-ua3g.c:2534:40: error: unused parameter 'tree'
[-Werror=unused-parameter]
packet-ua3g.c:2536:23: error: unused parameter 'pinfo'
[-Werror=unused-parameter]
packet-ua3g.c:2539:17: error: unused parameter 'opcode'
[-Werror=unused-parameter]
packet-ua3g.c: In function 'decode_dwl_dtmf_clck_format':
packet-ua3g.c:2572:41: error: unused parameter 'tree'
[-Werror=unused-parameter]
packet-ua3g.c:2574:21: error: unused parameter 'pinfo'
[-Werror=unused-parameter]
packet-ua3g.c:2577:15: error: unused parameter 'opcode'
[-Werror=unused-parameter]
packet-ua3g.c: In function 'decode_set_clck':
packet-ua3g.c:2627:29: error: unused parameter 'tree'
[-Werror=unused-parameter]
packet-ua3g.c:2632:12: error: unused parameter 'opcode'
[-Werror=unused-parameter]
packet-ua3g.c: In function 'decode_voice_channel':
packet-ua3g.c:2742:34: error: unused parameter 'tree'
[-Werror=unused-parameter]
packet-ua3g.c:2744:20: error: unused parameter 'pinfo'
[-Werror=unused-parameter]
packet-ua3g.c:2747:14: error: unused parameter 'opcode'
[-Werror=unused-parameter]
packet-ua3g.c: In function 'decode_external_ringing':
packet-ua3g.c:2862:37: error: unused parameter 'tree'
[-Werror=unused-parameter]
packet-ua3g.c:2866:13: error: unused parameter 'length'
[-Werror=unused-parameter]
packet-ua3g.c:2867:14: error: unused parameter 'opcode'
[-Werror=unused-parameter]
packet-ua3g.c: In function 'decode_lcd_cursor':
packet-ua3g.c:2908:31: error: unused parameter 'tree'
[-Werror=unused-parameter]
packet-ua3g.c:2913:14: error: unused parameter 'opcode'
[-Werror=unused-parameter]
packet-ua3g.c: In function 'decode_dwl_special_char':
packet-ua3g.c:2957:37: error: unused parameter 'tree'
[-Werror=unused-parameter]
packet-ua3g.c:2959:20: error: unused parameter 'pinfo'
[-Werror=unused-parameter]
packet-ua3g.c:2962:14: error: unused parameter 'opcode'
[-Werror=unused-parameter]
packet-ua3g.c: In function 'decode_set_clck_timer_pos':
packet-ua3g.c:3011:39: error: unused parameter 'tree'
[-Werror=unused-parameter]
packet-ua3g.c:3013:22: error: unused parameter 'pinfo'
[-Werror=unused-parameter]
packet-ua3g.c:3016:16: error: unused parameter 'opcode'
[-Werror=unused-parameter]
packet-ua3g.c: In function 'decode_set_lcd_contrast':
packet-ua3g.c:3059:37: error: unused parameter 'tree'
[-Werror=unused-parameter]
packet-ua3g.c:3061:20: error: unused parameter 'pinfo'
[-Werror=unused-parameter]
packet-ua3g.c:3064:14: error: unused parameter 'opcode'
[-Werror=unused-parameter]
packet-ua3g.c: In function 'decode_beep':
packet-ua3g.c:3321:4: error: too many arguments for format
[-Werror=format-extra-args]
packet-ua3g.c:3096:25: error: unused parameter 'tree'
[-Werror=unused-parameter]
packet-ua3g.c: In function 'decode_sidetone':
packet-ua3g.c:3334:29: error: unused parameter 'tree'
[-Werror=unused-parameter]
packet-ua3g.c:3338:11: error: unused parameter 'length'
[-Werror=unused-parameter]
packet-ua3g.c:3339:12: error: unused parameter 'opcode'
[-Werror=unused-parameter]
packet-ua3g.c: In function 'decode_ringing_cadence':
packet-ua3g.c:3386:36: error: unused parameter 'tree'
[-Werror=unused-parameter]
packet-ua3g.c:3388:22: error: unused parameter 'pinfo'
[-Werror=unused-parameter]
packet-ua3g.c:3391:16: error: unused parameter 'opcode'
[-Werror=unused-parameter]
packet-ua3g.c: In function 'decode_mute':
packet-ua3g.c:3432:25: error: unused parameter 'tree'
[-Werror=unused-parameter]
packet-ua3g.c:3436:10: error: unused parameter 'length'
[-Werror=unused-parameter]
packet-ua3g.c:3437:11: error: unused parameter 'opcode'
[-Werror=unused-parameter]
packet-ua3g.c: In function 'decode_feedback':
packet-ua3g.c:3478:29: error: unused parameter 'tree'
[-Werror=unused-parameter]
packet-ua3g.c:3483:12: error: unused parameter 'opcode'
[-Werror=unused-parameter]
packet-ua3g.c: In function 'decode_r_w_peripheral':
packet-ua3g.c:3545:35: error: unused parameter 'tree'
[-Werror=unused-parameter]
packet-ua3g.c:3547:21: error: unused parameter 'pinfo'
[-Werror=unused-parameter]
packet-ua3g.c:3550:15: error: unused parameter 'opcode'
[-Werror=unused-parameter]
packet-ua3g.c: In function 'decode_icon_cmd':
packet-ua3g.c:3581:29: error: unused parameter 'tree'
[-Werror=unused-parameter]
packet-ua3g.c:3583:18: error: unused parameter 'pinfo'
[-Werror=unused-parameter]
packet-ua3g.c:3586:12: error: unused parameter 'opcode'
[-Werror=unused-parameter]
packet-ua3g.c: In function 'decode_audio_config':
packet-ua3g.c:3627:33: error: unused parameter 'tree'
[-Werror=unused-parameter]
packet-ua3g.c:3632:13: error: unused parameter 'opcode'
[-Werror=unused-parameter]
packet-ua3g.c: In function 'decode_audio_padded_path':
packet-ua3g.c:3889:38: error: unused parameter 'tree'
[-Werror=unused-parameter]
packet-ua3g.c:3891:21: error: unused parameter 'pinfo'
[-Werror=unused-parameter]
packet-ua3g.c:3894:15: error: unused parameter 'opcode'
[-Werror=unused-parameter]
packet-ua3g.c: In function 'decode_on_off_level':
packet-ua3g.c:3924:33: error: unused parameter 'tree'
[-Werror=unused-parameter]
packet-ua3g.c:3929:13: error: unused parameter 'opcode'
[-Werror=unused-parameter]
packet-ua3g.c: In function 'decode_ring':
packet-ua3g.c:3980:25: error: unused parameter 'tree'
[-Werror=unused-parameter]
packet-ua3g.c:3985:11: error: unused parameter 'opcode'
[-Werror=unused-parameter]
packet-ua3g.c: In function 'decode_ua_dwl_protocol':
packet-ua3g.c:4081:36: error: unused parameter 'tree'
[-Werror=unused-parameter]
packet-ua3g.c:4086:16: error: unused parameter 'opcode'
[-Werror=unused-parameter]
packet-ua3g.c: In function 'decode_digit_dialed':
packet-ua3g.c:4416:33: error: unused parameter 'tree'
[-Werror=unused-parameter]
packet-ua3g.c:4418:19: error: unused parameter 'pinfo'
[-Werror=unused-parameter]
packet-ua3g.c:4420:12: error: unused parameter 'length'
[-Werror=unused-parameter]
packet-ua3g.c:4421:13: error: unused parameter 'opcode'
[-Werror=unused-parameter]
packet-ua3g.c: In function 'decode_subdevice_msg':
packet-ua3g.c:4460:34: error: unused parameter 'tree'
[-Werror=unused-parameter]
packet-ua3g.c:4462:20: error: unused parameter 'pinfo'
[-Werror=unused-parameter]
packet-ua3g.c:4465:14: error: unused parameter 'opcode'
[-Werror=unused-parameter]
packet-ua3g.c: In function 'decode_cs_ip_device_routing':
packet-ua3g.c:4689:10: error: format not a string literal and no format
arguments [-Werror=format-security]
packet-ua3g.c:4708:11: error: format '%s' expects argument of type 'char *',
but argument 5 has type 'int' [-Werror=format]
packet-ua3g.c:4753:10: error: format '%llu' expects argument of type 'long long
unsigned int', but argument 4 has type 'guint64' [-Werror=format]
packet-ua3g.c:4952:10: error: format not a string literal and no format
arguments [-Werror=format-security]
packet-ua3g.c:4984:10: error: format not a string literal and no format
arguments [-Werror=format-security]
packet-ua3g.c:5060:11: error: format '%ld' expects argument of type 'long int',
but argument 5 has type 'guint32' [-Werror=format]
packet-ua3g.c:5157:9: error: format '%llu' expects argument of type 'long long
unsigned int', but argument 4 has type 'guint64' [-Werror=format]
packet-ua3g.c:4515:41: error: unused parameter 'tree'
[-Werror=unused-parameter]
packet-ua3g.c:4520:15: error: unused parameter 'opcode'
[-Werror=unused-parameter]
packet-ua3g.c: In function 'decode_unsolicited_msg':
packet-ua3g.c:5286:36: error: unused parameter 'tree'
[-Werror=unused-parameter]
packet-ua3g.c: In function 'decode_key_number':
packet-ua3g.c:5758:28: error: unused variable 'str_first_parameter'
[-Werror=unused-variable]
packet-ua3g.c:5757:17: warning: variable 'ua3g_body_tree' set but not used
[-Wunused-but-set-variable]
packet-ua3g.c:5749:31: error: unused parameter 'tree'
[-Werror=unused-parameter]
packet-ua3g.c:5751:20: error: unused parameter 'pinfo'
[-Werror=unused-parameter]
packet-ua3g.c:5754:14: error: unused parameter 'opcode'
[-Werror=unused-parameter]
packet-ua3g.c: In function 'decode_i_m_here':
packet-ua3g.c:5783:29: error: unused parameter 'tree'
[-Werror=unused-parameter]
packet-ua3g.c:5785:18: error: unused parameter 'pinfo'
[-Werror=unused-parameter]
packet-ua3g.c:5787:11: error: unused parameter 'length'
[-Werror=unused-parameter]
packet-ua3g.c:5788:12: error: unused parameter 'opcode'
[-Werror=unused-parameter]
packet-ua3g.c: In function 'decode_special_key':
packet-ua3g.c:5816:9: error: unused variable 'command'
[-Werror=unused-variable]
packet-ua3g.c:5808:32: error: unused parameter 'tree'
[-Werror=unused-parameter]
packet-ua3g.c:5810:21: error: unused parameter 'pinfo'
[-Werror=unused-parameter]
packet-ua3g.c: In function 'decode_subdevice_state':
packet-ua3g.c:5877:36: error: unused parameter 'tree'
[-Werror=unused-parameter]
packet-ua3g.c:5879:22: error: unused parameter 'pinfo'
[-Werror=unused-parameter]
packet-ua3g.c:5881:15: error: unused parameter 'length'
[-Werror=unused-parameter]
packet-ua3g.c:5882:16: error: unused parameter 'opcode'
[-Werror=unused-parameter]
packet-noe.c: In function 'decode_tlv':
packet-noe.c:1078:6: error: format '%llu' expects argument of type 'long long
unsigned int', but argument 6 has type 'guint64' [-Werror=format]
packet-noe.c:1095:6: error: format '%llu' expects argument of type 'long long
unsigned int', but argument 6 has type 'guint64' [-Werror=format]
packet-noe.c:973:10: error: unused variable 'property_index'
[-Werror=unused-variable]
packet-noe.c:970:30: warning: variable 'value_tree' set but not used
[-Wunused-but-set-variable]
packet-noe.c: In function 'decode_getproperty_tlv':
packet-noe.c:1140:14: warning: variable 'body_tree' set but not used
[-Wunused-but-set-variable]
packet-noe.c: In function 'decode_evt':
packet-noe.c:1273:5: error: format '%x' expects argument of type 'unsigned
int', but argument 8 has type 'guint64' [-Werror=format]
packet-noe.c:668:29: error: unknown escape sequence: '\9' [-Werror]
packet-noe.c:674:29: error: unknown escape sequence: '\9' [-Werror]

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.