]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Compiler fixes for gcc 10
authorKevin Harwell <kharwell@digium.com>
Wed, 3 Jun 2020 14:51:24 +0000 (09:51 -0500)
committerGeorge Joseph <gjoseph@digium.com>
Wed, 10 Jun 2020 18:56:45 +0000 (13:56 -0500)
commitf59001d1717053a3a71984a9507146336e8975d2
treeb278b5338877a997391c98884c87d73984bc2a16
parentc7406a5b485cb06a1b0fc28cda3257c8db8fba83
Compiler fixes for gcc 10

This patch fixes a few compile warnings/errors that now occur when using gcc
10+.

Also, the Makefile.rules check to turn off partial inlining in gcc versions
greater or equal to 8.2.1 had a bug where it only it only checked against
versions with at least 3 numbers (ex: 8.2.1 vs 10). This patch now ensures
any version above the specified version is correctly compared.

Change-Id: I54718496eb0c3ce5bd6d427cd279a29e8d2825f9
22 files changed:
Makefile.rules
addons/ooh323c/src/decode.c
addons/ooh323c/src/ooSocket.c
addons/ooh323c/src/oochannels.c
apps/app_stack.c
apps/app_voicemail.c
include/asterisk/app.h
main/dns_srv.c
main/http.c
main/logger.c
main/message.c
main/pbx.c
main/pbx_variables.c
main/stasis.c
pbx/pbx_dundi.c
res/parking/parking_bridge_features.c
res/res_pjsip_registrar.c
tests/test_locale.c
utils/astman.c
utils/db1-ast/hash/ndbm.c
utils/extconf.c
utils/muted.c