Subject: | ActivePerl requires C89 code to pass tests |
http://code.activestate.com/ppm/Text-Levenshtein-Flexible/
Activestate's test server use Visual C for their compiler, which uses ancient C89. The code in the 3 modules below also suffered from this problem when they were coded more elegantly, but were afterwards reworked to conform to C89.
If you need any hints you can examine their code, but be aware that Text::Levenshtein::(Damerau::)?XS uses some optimized and quirky code like overriding perl's memory management (hence no use of Safefree). Text::Fuzzy even handles its objection orientation in C (no pure perl functions in Text::Fuzzy) if you want to learn how to speed your module up further.
http://code.activestate.com/ppm/Text-Levenshtein-XS/
http://code.activestate.com/ppm/Text-Levenshtein-Damerau-XS/
http://code.activestate.com/ppm/Text-Fuzzy/