From Bugzilla Helper:
User-Agent: Mozilla/4.6 [en-gb]C-CCK-MCD NetscapeOnline.co.uk (Win98; I)
Description of problem:
I have just tried to compile package FreeWnn-1.11-27
I got the following messages from the compiler.
cc: Info: js.c, line 2887: In this statement, an array is being accessed outside the bounds specified for the array type. (subscrbounds)
Here is an untested patch to shut up the compiler.
*** ./Xsi/Wnn/jlib/js.c.old Sat Dec 14 13:24:17 2002
--- ./Xsi/Wnn/jlib/js.c Sat Dec 14 13:25:11 2002
*** 2871,2877 ****
! static char s[EXPAND_PATH_LENGTH];
--- 2871,2877 ----
! static char s[ 7][EXPAND_PATH_LENGTH];
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. copy source code onto Compaq Alpha machine.
2. compile with Compaq compiler, using flags -w0 -fast
Compaq compiler is not significant. Just think of it as a
C compiler which has better warnings than the GNU compiler.
The FreeWnn source code fails to conform to the rules for ISO C.
Ok, thanks for the patch. Not sure whether this was
actually causing any problems, but I'll put the patch into
the next build.
Patch added to 1.11-35. Thanks :)
Adding to blocker bug 185486 and adding IBM group.
The last changes to these bugs were mistakenly made. Removing incorrect blocker
bug and confidential group.