[asterisk-bugs] [Asterisk 0014038]: apps/app_festival.c does not compile for PPC target
Asterisk Bug Tracker
noreply at bugs.digium.com
Tue Dec 9 14:44:28 CST 2008
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=14038
======================================================================
Reported By: ffloimair
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 14038
Category: Applications/app_festival
Reproducibility: always
Severity: minor
Priority: normal
Status: new
Asterisk Version: 1.6.0.2
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 2008-12-09 04:49 CST
Last Modified: 2008-12-09 14:44 CST
======================================================================
Summary: apps/app_festival.c does not compile for PPC target
Description:
When I try to cross compile Asterisk for a PowerPC based system (MPC
5200B), I get the error below.
Tested with Asterisk 1.6.0.2 and 1.6.0.3-rc1.
I identified the following lines in apps/app_festival.c
118: static int send_waveform_to_fd(char *waveform, int length, int fd)
119: {
120: int res;
121: int x;
122: #ifdef __PPC__
123: char c;
124: int x;
125: #endif
It's pretty obvious that 'int x' is declarated twice when __PPC__
evaluates to true.
======================================================================
----------------------------------------------------------------------
(0096029) svnbot (reporter) - 2008-12-09 14:44
http://bugs.digium.com/view.php?id=14038#c96029
----------------------------------------------------------------------
Repository: asterisk
Revision: 162273
U branches/1.4/apps/app_festival.c
------------------------------------------------------------------------
r162273 | file | 2008-12-09 14:44:27 -0600 (Tue, 09 Dec 2008) | 4 lines
Fix double declaration of 'x' on the PPC platform.
(closes issue http://bugs.digium.com/view.php?id=14038)
Reported by: ffloimair
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=162273
Issue History
Date Modified Username Field Change
======================================================================
2008-12-09 14:44 svnbot Checkin
2008-12-09 14:44 svnbot Note Added: 0096029
======================================================================
More information about the asterisk-bugs
mailing list