]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Compiler fixes for gcc 10
authorKevin Harwell <kharwell@digium.com>
Wed, 3 Jun 2020 16:45:39 +0000 (11:45 -0500)
committerGeorge Joseph <gjoseph@digium.com>
Wed, 10 Jun 2020 18:56:03 +0000 (13:56 -0500)
commit654ec4b908f68e6970439216796f8109395f14de
tree21da2c7028131b947640bc979dbf84cd19d5bbf2
parent1e5ea08e0c6ee3d6b723a1cff934ecbd730819db
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
20 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/http.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