Summary: | ASTERISK-03785: [patch] compile failure with (development) gcc 4 | ||
Reporter: | David Woodhouse (dwmw2) | Labels: | |
Date Opened: | 2005-03-27 11:08:02.000-0600 | Date Closed: | 2008-01-15 15:28:53.000-0600 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) channelfix.patch.txt | |
Description: | gcc4 doesn't compile channel.c due to incorrect syntax in a C99 structure initialiser: channel.c:290: error: syntax error before string constant ****** ADDITIONAL INFORMATION ****** disclaimer on file. | ||
Comments: | By: nick (nick) 2005-03-27 12:12:10.000-0600 GCC 4 hasn't been released yet. As a rule, I'd suggest not using unstable compilers to try to build Asterisk. Despite that, can you provide a provide a patch to make this work? Nick By: David Woodhouse (dwmw2) 2005-03-27 12:48:27.000-0600 The patch was already attached. By: nick (nick) 2005-03-27 14:55:46.000-0600 My bad, sorry. When you post bugs with patches, please put [patch] in the description so that we don't miss them :) Nick By: Mark Spencer (markster) 2005-03-27 16:04:24.000-0600 Fixed in CVS head, thanks. By: Russell Bryant (russell) 2005-03-28 00:55:33.000-0600 doesn't appear to be an issue in 1.0 By: Digium Subversion (svnbot) 2008-01-15 15:28:53.000-0600 Repository: asterisk Revision: 5274 U trunk/channel.c ------------------------------------------------------------------------ r5274 | markster | 2008-01-15 15:28:53 -0600 (Tue, 15 Jan 2008) | 2 lines GCC 4 fix (bug ASTERISK-3785) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=5274 |