Subject: | LevenshteinXS.xs won't compile on SGIs |
The SGI compiler (and probably many others) doesn't like
declarations following executable statements:
/lib/5.8.3/sgi6-irix/CORE" LevenshteinXS.c
cc-1241 cc: ERROR File = LevenshteinXS.xs, Line = 24
A declaration cannot appear after an executable statement in a block.
int k,i,j,n,m,cost,*d,distance;
^
1 error detected in the compilation of "LevenshteinXS.c".
*** Error code 2 (bu21)
The simple fix (patch attached) is to move the declaration ahead
of the executable.
Message body not shown because it is not plain text.