A variable is not defined within a __PPC__ block in app_festival.c: [CC] app_festival.c -> app_festival.o app_festival.c: In function 'send_waveform_to_fd': app_festival.c:136: error: 'x' undeclared (first use in this function) app_festival.c:136: error: (Each undeclared identifier is reported only once app_festival.c:136: error: for each function it appears in.) make[1]: *** [app_festival.o] Error 1 make: *** [apps] Error 2 The code block is: #ifdef __PPC__ for (x = 0; x < length; x += 2) { c = *(waveform + x + 1); *(waveform + x + 1) = *(waveform + x); *(waveform + x) = c; } #endif Reproducible: Always Steps to Reproduce: emerge =net-misc/asterisk-1.6.1.1-r1
Created attachment 201946 [details, diff] Add missing variable for PPC in app_festival This patch adds the missing 'x' variable in the PPC-specific section of send_waveform_to_fd() from app_festival.c.
Was this reported upstream (where it belongs) please? If not, can you rebase for 1.6.1.6?
(In reply to comment #2) > Was this reported upstream (where it belongs) please? > If not, can you rebase for 1.6.1.6? It's fixed in SVN.