]> git.ipfire.org Git - thirdparty/asterisk.git/commit
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:46:00 +0000 (15:46 -0600)
commitcc1180ed949e2810b4a86c6dcd91431a33f6fa18
tree60bdae0192a9be495d4dd566bc075b1c9aabde36
parente92c1988ead53a84da4908d3e807f45a1cbd2b3d
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