[Home]

Summary:DAHTOOL-00067: DAHDI-Tools fails to compile with GCC 5
Reporter:Anthony Messina (amessina)Labels:
Date Opened:2015-05-23 15:54:04Date Closed:2016-02-22 09:44:37.000-0600
Priority:MajorRegression?
Status:Closed/CompleteComponents:General
Versions:2.10.0 Frequency of
Occurrence
Constant
Related
Issues:
Environment:Fedora 22 x86_64 preparation builds with GCC 5Attachments:( 0) dahdi-tools-gcc5.patch
Description:DAHDI-Tools fails to compile on systems with GCC 5.  The initial error during compilation is reported as
{code}
mpptalk.c: In function 'mpp_send_seg':
mpptalk.c:515:28: error: logical not is only applied to the left hand side of comparison [-Werror=logical-not-parentheses]
 if(!astribank->burn_state == BURN_STATE_STARTED) {
{code}
Comments:By: Anthony Messina (amessina) 2015-05-24 15:00:54.315-0500

Patch to fix compilation with GCC 5.

By: Tzafrir Cohen (tzafrir) 2016-02-22 09:44:38.000-0600

Fixed in commit 9a181ccfbcfa846aab20bd1dcbea8f83356e2705 (included in 2.11).