Summary: | ASTERISK-03149: [PATCH] fix compile error under GCC 2.95 | ||
Reporter: | wolfson (wolfson) | Labels: | |
Date Opened: | 2004-12-31 13:57:11.000-0600 | Date Closed: | 2008-01-15 15:19:14.000-0600 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) chan_sip.c.diff | |
Description: | A variable dummy of type struct ast_flags was defined after the start of the function. GCC 2.95 errors out on this. Patch moves the definition to start of function. Disclaimer is on file. | ||
Comments: | By: wolfson (wolfson) 2004-12-31 13:59:38.000-0600 This is as of the 12/31/04 version of CVS. By: Kevin P. Fleming (kpfleming) 2004-12-31 14:07:34.000-0600 This was a placement mistake on my part; there is no advantage in it being in the current location. Attached patch is the correct fix. By: Mark Spencer (markster) 2004-12-31 18:33:23.000-0600 Fixed in CVS By: Digium Subversion (svnbot) 2008-01-15 15:19:14.000-0600 Repository: asterisk Revision: 4624 U trunk/channels/chan_sip.c ------------------------------------------------------------------------ r4624 | markster | 2008-01-15 15:19:14 -0600 (Tue, 15 Jan 2008) | 2 lines Fix GCC 2.95 build (bug ASTERISK-3149) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=4624 |