Fix compiler warnings on Fedora 26 / GCC 7.
authorCorey Farrell <git@cfware.com>
Fri, 28 Jul 2017 01:58:22 +0000 (21:58 -0400)
committerGeorge Joseph <gjoseph@digium.com>
Tue, 1 Aug 2017 21:42:38 +0000 (15:42 -0600)
commit58d032112b28294946427a379c40d51e5238999a
treed523247ac7e72502120025c6f7b56a99edd38d34
parent3f98488279dbc576c7569e8dd23e3120c07bbe7e
Fix compiler warnings on Fedora 26 / GCC 7.

GCC 7 has added capability to produce warnings, this fixes most of those
warnings.  The specific warnings are disabled in a few places:

* app_voicemail.c: truncation of paths more than 4096 chars in many places.
* chan_mgcp.c: callid truncated to 80 chars.
* cdr.c: two userfields are combined to cdr copy, fix would break ABI.
* tcptls.c: ignore use of deprecated method SSLv3_client_method().

ASTERISK-27156 #close

Change-Id: I65f280e7d3cfad279d16f41823a4d6fddcbc4c88
28 files changed:
addons/chan_ooh323.c
apps/Makefile
apps/app_chanspy.c
apps/app_followme.c
apps/app_minivm.c
apps/app_queue.c
apps/app_voicemail.c
channels/Makefile
channels/chan_iax2.c
channels/chan_motif.c
channels/chan_sip.c
channels/chan_unistim.c
channels/iax2/firmware.c
main/Makefile
main/ast_expr2.c
main/ast_expr2.y
main/asterisk.c
main/ccss.c
main/cli.c
main/libasteriskssl.c
main/manager.c
main/stdtime/localtime.c
main/utils.c
res/res_calendar.c
res/res_config_pgsql.c
res/res_monitor.c
utils/astman.c
utils/extconf.c