]> git.ipfire.org Git - thirdparty/asterisk.git/commit
build: Fixes for gcc 5 compilation 66/3266/3
authorGeorge Joseph <george.joseph@fairview5.com>
Mon, 6 Apr 2015 18:58:30 +0000 (18:58 +0000)
committerJoshua Colp <jcolp@digium.com>
Thu, 21 Jul 2016 12:35:14 +0000 (07:35 -0500)
commitabb37129d3bb57cdeaf9deab6f0b7235e64ab944
tree50c2a3d9f87dcee97f43ac81324f368299d686f2
parentd99d5c0f8358be6eeec35e49b044099e8d0dfd0f
build: Fixes for gcc 5 compilation

These are fixes for compilation under gcc 5.0...

chan_sip.c:    In parse_request needed to make 'lim' unsigned.
inline_api.h:  Needed to add a check for '__GNUC_STDC_INLINE__' to detect C99
               inline semantics (same as clang).
ccss.c:        In ast_cc_set_parm, needed to fix weird comparison.
dsp.c:         Needed to work around a possible compiler bug.  It was throwing
               an array-bounds error but neither
               sgriepentrog, rmudgett nor I could figure out why.
manager.c:     In action_atxfer, needed to correct an array allocation.

This patch will go to 11, 13, trunk.

Review: https://reviewboard.asterisk.org/r/4581/
Reported-by: Jeffrey Ollie
Tested-by: George Joseph
ASTERISK-24932 #close

Change-Id: I967d296cdf2c7834a2bdffd401b077a8a968d09b
channels/chan_sip.c
main/ccss.c
main/dsp.c
main/manager.c