[Home]

Summary:ASTERISK-03467: [patch] chap_zap.c in CVS doesn't compile on gcc 2.95.4
Reporter:kleptog (kleptog)Labels:
Date Opened:2005-02-10 03:48:33.000-0600Date Closed:2005-02-12 11:40:55.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) chan_zap.patch
Description:When compiling you 2.95.4 you get an error in chan_zap.c on line 7943. It's because there is a variable declaration in the middle of a block, which is illegal in strict C.

****** ADDITIONAL INFORMATION ******

The offending line was added in CVS on 28 Jan 2005 in version 1.405 of chan_zap.c. Attached is a patch to move the declaration up a few lines.
Comments:By: Mark Spencer (markster) 2005-02-10 11:39:18.000-0600

Fixed in CVS head, thanks!